[Webkit-unassigned] [Bug 114338] Nested opacity with overflow may display wrong results when composited

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 5 22:45:12 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=114338

Fujii Hironori <Hironori.Fujii at sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Hironori.Fujii at sony.com

--- Comment #6 from Fujii Hironori <Hironori.Fujii at sony.com> ---
This test isn't valid.

If an element has overflow:hidden and transform, it should clip positioned descendants.
nested-overlap-overflow.html has transform, but nested-overlap-overflow-expected.html.
Firefox, Chrome and Safari render same.

If I added 'transform' to nested-overlap-overflow-expected.html, Firefox and Chrome clip the green box like nested-overlap-overflow.html.

diff --git a/LayoutTests/compositing/overlap-blending/nested-overlap-overflow-expected.html b/LayoutTests/compositing/overlap-blending/nested-overlap-overflow-expected.html
index aaae129798aa..3430fedddac8 100644
--- a/LayoutTests/compositing/overlap-blending/nested-overlap-overflow-expected.html
+++ b/LayoutTests/compositing/overlap-blending/nested-overlap-overflow-expected.html
@@ -17,6 +17,7 @@
             body > div {
                 height: 100px;
                 overflow: hidden;
+                transform: translateX(0);
             }
             body > div > div {
                 width: 200px;


WebKit doesn't clip in that case. This is another bug tracked by bug#241641.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220706/1389f729/attachment.htm>


More information about the webkit-unassigned mailing list