Automatic update from web-platform-tests
[css-nesting] Fix @scope part of conditional-rules.html
This subtest has an inner rules with says "@scope (.test-12)", which
is equivalent to to "@scope (& .test-12)", i.e. with an implied "&"
in the front. This matches no elements, so I'm pretty sure the intent
was to just use "&" here instead.
Change-Id: I60b61f16f2012b10ba121c7e93e1134d2c79e218
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5192022
Auto-Submit: Anders Hartvoll Ruud <[email protected]>
Commit-Queue: Rune Lillesveen <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1246468}
--
wpt-commits: a363c3c27f2794d96c8a092fae8e931fba0f1a36
wpt-pr: 43972
Automatic update from web-platform-tests
[css-nesting] Move towards syntax proposal 3.
Remove the demand to have @nest, and really all traces of it;
everything that's not an ident or at-rule will now start
parsing a selector. We support both implicit insertion of
descendant selectors, and parsing of relative nested selectors.
These should be serialized correctly.
Declarations are not explicitly allowed after rules (but rules
are always counted as after declarations), so we add some simple
WPT tests to that effect.
There are new error handling rules in [css-syntax-3], which we
follow. Specifically, semicolons abort parsing of qualified rules
within nesting context, to maintain that we only skip to the next
semicolon and no further when we hit random junk within a rule
(like before).
Change-Id: I097c4bb8fb1a93222820d84510057224173a83bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3987945
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Steinar H Gunderson <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1065492}
--
wpt-commits: b0c95fefa6f5f89c9374dfc736e762d8a4fbb8de
wpt-pr: 36692
Automatic update from web-platform-tests
[css-nesting] Add CSSOM support for nested style rules.
Allow CSSStyleRule to have child rules, which we can inspect,
add and delete.
This allows us to do easier testing from JavaScript, so we do
an overhaul of the WPT tests. They are moved into a new directory
css-nesting/, we split out the parts we don't support right now
(properties directly in conditional rules) into new tests,
add invalidation tests, and finally some CSSOM tests.
Bug: 1095675
Change-Id: Iaffd2a2820b75a57924b474868724eeef430df7d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3963170
Commit-Queue: Rune Lillesveen <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Auto-Submit: Steinar H Gunderson <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1061220}
--
wpt-commits: 4eea9bf182441d01a4c91cf7b08d8bdef7a9c38f
wpt-pr: 36520