[Webkit-unassigned] [Bug 270697] REGRESSION (iOS 17.4, macOS 14.4, 270890 at main): Shadow DOM with display: none still remain visible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 12 05:23:30 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=270697

--- Comment #4 from Antti Koivisto <koivisto at iki.fi> ---
The page performs a dance where it sets the root of the overlay containing tree (X-POPOVER)to display:none and immediately (before style recall) reinserts it into another position in the document, causing render tree teardown. When we recompute the style (applying display:none) we don't consider it a style change since there was no existing style due to the earlier teardown. In this case we fail to clear lastStyleChangeEventStyle which has been set by an animation on the element. 

Then another animation triggered style recalc comes along, takes the optimized AnimationOnly code path and picks up the lastStyleChangeEventStyle (which doesn't have display:none) bringing the element back alive.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240312/66a1d489/attachment.htm>


More information about the webkit-unassigned mailing list