[Webkit-unassigned] [Bug 258258] New: Update `:empty` pseudo-class to also match elements with only whitespace

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 17 18:29:52 PDT 2023


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

            Bug ID: 258258
           Summary: Update `:empty` pseudo-class to also match elements
                    with only whitespace
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: slipped-gazette.0w at icloud.com

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.

-- 
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/20230618/91ea6bd2/attachment.htm>


More information about the webkit-unassigned mailing list