NEW 282688
`:not(:defined)` match error content in shadow dom
https://bugs.webkit.org/show_bug.cgi?id=282688
Summary `:not(:defined)` match error content in shadow dom
Keith Cirkel
Reported 2024-11-06 06:32:09 PST
Steps to reproduce the problem Open https://codepen.io/mantou132/pen/eYoyBgZ?editors=1000 Check if red text is displayed Problem Description :not(:defined) seems to match shadowroot Summary :not(:defined) match error content in shadow dom
Attachments
Radar WebKit Bug Importer
Comment 1 2024-11-13 06:33:12 PST
Karl Dubost
Comment 2 2024-11-17 18:59:55 PST
* Safari, Firefox behaves the same way. No why after hello on the same line. * Chrome is showing a red "why?" sticked to hello https://html.spec.whatwg.org/multipage/semantics-other.html#selector-defined
Note You need to log in before you can comment on or make changes to this bug.