RESOLVED CONFIGURATION CHANGED 234980
Various RenderLayer issue with <dialog>
https://bugs.webkit.org/show_bug.cgi?id=234980
Summary Various RenderLayer issue with <dialog>
Tim Nguyen (:ntim)
Reported 2022-01-07 13:02:15 PST
Why? - Avoid a myriad of establishesTopLayer() checks over the place - Avoids needing to think about top layer later on Tasks: - Make RenderLayer::addChild/updateLayerPosition and anything else that relies on renderer hierarchy - Need to look into a bunch of new assertions - Fix visibility code to not be affected by layer reparenting (DOM/flat tree hierarchy should be followed for visibility, like for display)
Attachments
Radar WebKit Bug Importer
Comment 1 2022-01-13 11:08:30 PST
Simon Fraser (smfr)
Comment 2 2022-01-14 11:44:54 PST
These are the ancestor tree walks I've found that need thinking about in terms of top layer: setAncestorChainHasSelfPaintingLayerDescendant setAncestorChainHasVisibleDescendant SVGRenderingContext::calculateTransformationToOutermostCoordinateSystem enclosingScrollableLayer() RenderElement::moveLayers RenderElement::findNextLayer traverseAncestorLayers enclosingFragmentedFlowAncestor
Simon Fraser (smfr)
Comment 3 2022-01-19 12:08:24 PST
I think all the examples above are taken care of by RenderLayer reparenting (fixed in bug 235194). So the only remaining issue is an incorrect opacity computation in ContentChangeObserver::isVisuallyHidden() (bug 235240).
Simon Fraser (smfr)
Comment 4 2022-01-19 12:20:56 PST
Closing since this is covered by other bugs.
Note You need to log in before you can comment on or make changes to this bug.