WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
222124
RenderLayer::calculateLayerBounds() is wrong with clipping
https://bugs.webkit.org/show_bug.cgi?id=222124
Summary
RenderLayer::calculateLayerBounds() is wrong with clipping
Simon Fraser (smfr)
Reported
2021-02-18 11:42:55 PST
Created
attachment 420859
[details]
Test case The UseLocalClipRectIfPossible code path in RenderLayer::calculateLayerBounds() assumes that all descendants are affected by the clip, but that'd wrong; this layer might not be in the containing block ancestry of descendant layers.
Attachments
Test case
(912 bytes, text/html)
2021-02-18 11:42 PST
,
Simon Fraser (smfr)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2021-02-18 11:52:35 PST
I think it needs to call clipRectRelativeToAncestor() with the ancestorLayer all the way down, rather than resetting ancestorLayer at each level.
Radar WebKit Bug Importer
Comment 2
2021-02-25 11:43:44 PST
<
rdar://problem/74753726
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug