NEW258258
Update `:empty` pseudo-class to also match elements with only whitespace
https://bugs.webkit.org/show_bug.cgi?id=258258
Summary Update `:empty` pseudo-class to also match elements with only whitespace
Niklas Ljunglöf
Reported 2023-06-17 18:29:52 PDT
According to Selectors Level 4 (https://www.w3.org/TR/selectors-4/#the-empty-pseudo), the `:empty` pseudo-class should match whitespace-only elements. Currently it only matches elements with no child elements or content nodes.
Attachments
Tim Nguyen (:ntim)
Comment 1 2023-06-17 19:09:01 PDT
Radar WebKit Bug Importer
Comment 2 2023-06-24 18:30:16 PDT
Note You need to log in before you can comment on or make changes to this bug.