haikuwebkit/LayoutTests/compositing/video/video-border-radius-clippin...

67 lines
1.8 KiB
HTML
Raw Permalink Normal View History

Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
<!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 5px;
padding: 5px;
}
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
video {
box-shadow: -50px -50px 0px black;
background-color: red;
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
margin: 50px;
width: 640px;
height: 480px;
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
}
.obscurer {
position: absolute;
width: 10px;
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
height: 10px;
background-color: gray;
}
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
</style>
<script src="../../media/media-file.js"></script>
<script>
var requirePixelDump = true;
var video;
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
function testComplete()
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
{
if (window.testRunner)
testRunner.notifyDone();
}
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
function canplaythrough()
{
video.currentTime = 1;
}
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
function doTest()
{
findMediaElement();
waitForEvent('canplaythrough', () => requestAnimationFrame(() => { canplaythrough(); }));
waitForEvent('seeked', () => requestAnimationFrame(() => { testComplete(); }));
video.src = findMediaFile('video', '../../media/content/pure-color-green');
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
}
window.addEventListener('load', doTest, false);
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
</script>
<script src="../../media/video-test.js"></script>
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
</head>
<body>
<video></video>
<div class="obscurer" style="left: 5px; top: 5px;"></div>
<div class="obscurer" style="left: 5px; top: 485px;"></div>
<div class="obscurer" style="left: 645px; top: 5px;"></div>
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
<div class="obscurer" style="left: 55px; top: 55px;"></div>
<div class="obscurer" style="left: 55px; top: 535px;"></div>
<div class="obscurer" style="left: 695px; top: 55px;"></div>
<div class="obscurer" style="left: 695px; top: 535px;"></div>
Setting border-radius on <video> element clips top and left sections of video https://bugs.webkit.org/show_bug.cgi?id=202049 <rdar://problem/55570024> Reviewed by Dean Jackson. Source/WebCore: updateClippingStrategy() is called both when we're setting a mask layer on m_layer, and on m_contentsClippingLayer, and they disagreed on the coordinate space that the rounded rect was in. r246845 fixed rounded-rect scrollers, but broke video. Fix by declaring that the rounded rect is relative to the bounds of the layer argument. We don't try to size the shape layer to the rounded rect, because in some configurations (e.g. scroller with left scrollbar) the rounded rect hangs outside the clipping layer. Test: compositing/video/video-border-radius-clipping.html * platform/graphics/FloatRoundedRect.h: (WebCore::FloatRoundedRect::setLocation): * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::updateClippingStrategy): (WebCore::GraphicsLayerCA::updateContentsRects): The rounded rect is relative to the contentsClippingLayer, so set its location to zero. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateChildClippingStrategy): negate the offset, as we do in updateGeometry which has similar code. LayoutTests: * compositing/video/video-border-radius-clipping-expected.html: Added. * compositing/video/video-border-radius-clipping.html: Added. Canonical link: https://commits.webkit.org/216623@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-21 21:36:11 +00:00
</body>
</html>