| Summary: | [:has() pseudo-class] Not matching elements it should | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brandon McConnell <brandon> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Critical | CC: | koivisto |
| Priority: | P2 | ||
| Version: | Safari Technology Preview | ||
| Hardware: | Mac (Intel) | ||
| OS: | macOS 11 | ||
|
Description
Brandon McConnell
2021-12-28 14:42:07 PST
There is a small bug in the test case. There is a comma missing after &_09 y:has(+ x, + * + x, + * + * + x) which makes rules 8 and 9 invalid. With that fixed everything seems to work at least in trunk. rules 9 and 10 I mean. Neat test case. Ah yes, where would be without careless bugs like this 🤦🏻♂️ Thank you for finding that. Glad there wasn't an additional bug to resolve. Best case scenario. It appears most remaining bugs surrounding :has() will be resolved once the fix on Bug #234531 (https://bugs.webkit.org/show_bug.cgi?id=234531) is pushed. Thanks again! |