RESOLVED FIXED Bug 233520
[:has() pseudo-class] Don't traverse descendants during selector matching unless needed
https://bugs.webkit.org/show_bug.cgi?id=233520
Summary [:has() pseudo-class] Don't traverse descendants during selector matching unl...
Antti Koivisto
Reported 2021-11-26 04:50:21 PST
It is sufficient to traverse direct children to match something like :has(> foo).
Attachments
Patch (10.70 KB, patch)
2021-11-26 05:06 PST, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2021-11-26 05:06:30 PST
EWS
Comment 2 2021-11-26 07:13:11 PST
Committed r286180 (244563@main): <https://commits.webkit.org/244563@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445189 [details].
Radar WebKit Bug Importer
Comment 3 2021-11-26 07:14:18 PST
Note You need to log in before you can comment on or make changes to this bug.