WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 276451
250283
RenderLayer::setHasVisibleContent shouldn't call dirtyZOrderLists()
https://bugs.webkit.org/show_bug.cgi?id=250283
Summary
RenderLayer::setHasVisibleContent shouldn't call dirtyZOrderLists()
Ahmad Saleem
Reported
2023-01-07 16:17:05 PST
Hi Team, I came across this clean-up patch from Blink and we still have this code, although I know Blink compositing is not same as WebKit but still good to ask for an opportunity to do code clean-up. Blink Commit -
https://chromium.googlesource.com/chromium/blink/+/3ae6522cf95a377050d18a8d8cc11c7db4ccf2b3
WebKit Source -
https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderLayer.cpp#1522
Unfortunately, it does not have any bug or testcase to confirm that it is dead code but just wanted to ask here, if it is something we can drop. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-01-14 16:18:17 PST
<
rdar://problem/104267662
>
Ahmad Saleem
Comment 2
2023-01-16 08:27:24 PST
PR -
https://github.com/WebKit/WebKit/pull/8695
Let's try on EWS..
Ahmad Saleem
Comment 3
2023-01-16 13:31:19 PST
Based on PR - (In reply to Ahmad Saleem from
comment #2
)
> PR -
https://github.com/WebKit/WebKit/pull/8695
> > Let's try on EWS..
Simon replied that this is something still required in WebKit legacy: ''' I think we may still need this code in WebKitLegacy. RenderLayer::collectLayers() only collects visibility:hidden layers if includeHiddenLayers is true, and that's only true when compositing is enabled. In WebKitLegacy, we enter compositing mode dynamically. ''' So I am closing my PR for time being but we can explore it in future when we don't support WebKit Legacy. It passes all tests right now even Mac-wk1 as well but it might have potential to introduce future regressions.
Ahmad Saleem
Comment 4
2024-07-12 13:04:10 PDT
Seems like this is taken care here:
https://github.com/WebKit/WebKit/pull/30666
Thanks Matt. *** This bug has been marked as a duplicate of
bug 276451
***
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