NEW 235240
Make a consistent way to compute applied opacity
https://bugs.webkit.org/show_bug.cgi?id=235240
Summary Make a consistent way to compute applied opacity
Simon Fraser (smfr)
Reported 2022-01-14 10:46:12 PST
Walking the renderer parent chain is wrong with top layer (dialog, ::backdrop).
Attachments
Radar WebKit Bug Importer
Comment 1 2022-01-14 10:46:24 PST
Simon Fraser (smfr)
Comment 2 2022-01-14 10:48:29 PST
HTMLPlugInElement::isReplacementObscured() and ContentChangeObserver::isVisuallyHidden() do the same thing.
Simon Fraser (smfr)
Comment 3 2022-01-14 10:53:06 PST
And RenderLayer::isTransparentRespectingParentFrames()
Simon Fraser (smfr)
Comment 4 2022-01-19 11:20:38 PST
HTMLPlugInElement::isReplacementObscured() and RenderLayer::isTransparentRespectingParentFrames() use the layer parent() chain so bug 235194 fixes them. ContentChangeObserver::isVisuallyHidden() is wrong.
Tim Nguyen (:ntim)
Comment 5 2022-01-19 12:25:40 PST
Would walking up the stacking context chain be a fix here?
Simon Fraser (smfr)
Comment 6 2022-01-19 13:02:33 PST
Walking paintOrderParent(), yes.
Tim Nguyen (:ntim)
Comment 7 2022-02-27 01:57:30 PST
AXObjectCache::isNodeVisible() was the example mentioned in the original bug title.
Note You need to log in before you can comment on or make changes to this bug.