NEW 291434
display: none on shadow DOM elements computed incorrectly
https://bugs.webkit.org/show_bug.cgi?id=291434
Summary display: none on shadow DOM elements computed incorrectly
Matt Clough
Reported 2025-04-11 10:10:11 PDT
Overview: Some selectors which result in an element toggling between `display: none` and `display: block` in the light DOM, do not render correctly once toggled to `display: block` and back to `display: none` in a shadow DOM. Reproduction/Demo: https://codepen.io/mattclough/pen/LEYwEmz Expected Results: Rendered elements with an active style rule `display: none` should always be hidden. Build Date & Hardware: Build 20621.1.15.11.10 on macOS Sequoia 15.4 (24E248)
Attachments
Radar WebKit Bug Importer
Comment 1 2025-04-18 10:11:16 PDT
Note You need to log in before you can comment on or make changes to this bug.