[Webkit-unassigned] [Bug 199258] Some elements disappear when there is a video or canvas inside a scaled overflow:hidden ancestor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 21 20:20:05 PDT 2022


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

--- Comment #13 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
The bug here is that in RenderLayerCompositor::addToOverlapMap() we're comparing a transformed layer bounds with a non-transformed clip rect.

RenderLayerCompositor::computeExtent() takes ancestor transforms into account when mapping them to absolute coordinates via overlapMap.geometryMap().absoluteRect(layerBounds) - all rects in the overlap map are absolute.

But RenderLayerCompositor::addToOverlapMap() gets the clipRect via layer.backgroundClipRect() which ignores transforms.

-- 
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/20220722/aaed9712/attachment-0001.htm>


More information about the webkit-unassigned mailing list