Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-nesting] Reject invalid nested selectors from CSSOM.
Using CSSOM, we could add nested selectors that would be unparsable (those that start with a tag selector); plug that hole and add tests for it. Note that this probably also fixes that we wouldn't set the parent rule correctly in these cases. See w3c/csswg-drafts#7971. Bug: 1095675 Change-Id: Ieedde3a2b07873d940dcd0a3f0aa68159259b729 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4197343 Reviewed-by: Rune Lillesveen <[email protected]> Commit-Queue: Steinar H Gunderson <[email protected]> Cr-Commit-Position: refs/heads/main@{#1097886}
- Loading branch information