[Webkit-unassigned] [Bug 216701] WebKit incorrectly composites hundreds of elements when using position: relative

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 22 15:07:10 PDT 2020


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

--- Comment #3 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
The relative-positioned elements end up in layers because the scroller is not a CSS stacking context, so conceptually the relative elements render as siblings (not descendants). There's an optimization to avoid this (layer backing sharing) but the transformed element defeats it.

If you test with the transformed element in the middle of the list you should see no layers for relative elements that come before it.

-- 
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/20200922/1bd6421c/attachment-0001.htm>


More information about the webkit-unassigned mailing list