WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
92580
RenderLayer::calculateLayerBounds() should be smarter about composited, visible descendants
https://bugs.webkit.org/show_bug.cgi?id=92580
Summary
RenderLayer::calculateLayerBounds() should be smarter about composited, visib...
Simon Fraser (smfr)
Reported
2012-07-28 11:23:13 PDT
Via
bug 92569
, I'm going to be adding: // FIXME: This could be improved to do a check hasVisibleNonCompositingDescendantLayers(). if ((flags & ExcludeHiddenDescendants) && layer != ancestorLayer && !layer->hasVisibleContent() && !layer->hasVisibleDescendant()) return IntRect(); The !layer->hasVisibleDescendant() check could be improved to know wether those visible descendants are separately composited (the kind of check that hasVisibleNonCompositingDescendantLayers() does).
Attachments
Testcase
(1.53 KB, text/html)
2012-07-28 11:23 PDT
,
Simon Fraser (smfr)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2012-07-28 11:23:32 PDT
Created
attachment 155135
[details]
Testcase
Ahmad Saleem
Comment 2
2023-02-24 14:58:04 PST
We still have this FIXME but using attached testcase, I see Safari Technology Preview 164 render it similar to Chrome Canary 112. Just wanted to update. Thanks!
Ahmad Saleem
Comment 3
2023-02-24 14:58:22 PST
FIXME link -
https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderLayer.cpp#4883
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