Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 45f8986d119655e76b33627c7bd36191b69b1cce https://github.com/WebKit/WebKit/commit/45f8986d119655e76b33627c7bd36191b69b1cce Author: Youenn Fablet <youe...@gmail.com> Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths: A LayoutTests/fast/mediastream/video-srcObject-fit-fill-expected.txt A LayoutTests/fast/mediastream/video-srcObject-fit-fill.html M Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm Log Message: ----------- object-fit:fill doesn't work for a video element using a canvas stream srcObject https://bugs.webkit.org/show_bug.cgi?id=263036 rdar://116832514 Reviewed by Eric Carlson. We mistakenly removed setting videoGravity in rdar://109257177. Add it back to get back to past behavior. * LayoutTests/fast/mediastream/video-srcObject-fit-fill-expected.txt: Added. * LayoutTests/fast/mediastream/video-srcObject-fit-fill.html: Added. * Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm: (WebCore::LocalSampleBufferDisplayLayer::initialize): (WebCore::LocalSampleBufferDisplayLayer::updateSampleLayerBoundsAndPosition): Canonical link: https://commits.webkit.org/269568@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes