← Back to release summary
CSS :has() : Non-forgiving parsing
- Category
- CSS
- Type
- No developer-visible change
- Status
- In developer trial (Behind a flag) (Chrome 112)
- Intent stage
- Prepare to ship
Summary
Make :has() unforgiving - ':has()' will be invalid if there is an invalid selector in its argument.
CSSWG issue resolution: https://github.com/w3c/csswg-drafts/issues/7676#issuecomment-1341347244
Standards & signals
View on chromestatus.com