[Webkit-unassigned] [Bug 244708] :has() selector does not accept forgiving selector list

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 2 05:26:15 PDT 2022


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

Antti Koivisto <koivisto at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |koivisto at iki.fi

--- Comment #2 from Antti Koivisto <koivisto at iki.fi> ---
We currently do use forgiving parsing for :has() but still fail the selector if the selector lists ends up empty. That is

:has(:foo, bar) { }

is valid and parses to

:has(bar) { }

but 

:has(:foo) is invalid.

-- 
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/20220902/fcb07d77/attachment.htm>


More information about the webkit-unassigned mailing list