Commit Graph
5 Commits
Author SHA1 Message Date
Matthieu Dubet 1cf6baa2b7 Bug 1874323 [wpt PR 43956] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=265288, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=265288 (#43956)

--

wpt-commits: 23ed0c7015082f21dd29dd09a545e2979dc3e08c
wpt-pr: 43956
2024-01-16 09:09:29 +00:00
Anders Hartvoll Ruud 558f2366cf Bug 1874433 [wpt PR 43972] - [css-nesting] Fix @scope part of conditional-rules.html, a=testonly
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
2024-01-15 09:07:08 +00:00
Matthieu Dubet e2f8e367b9 Bug 1831085 [wpt PR 39819] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=256202, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=256202 (#39819)

Co-authored-by: Matthieu Dubet <[email protected]>
--

wpt-commits: 0c201940ea50a8ae71013d0c043ae2134ccb4341
wpt-pr: 39819
2023-05-21 22:44:21 +00:00
Steinar H. Gunderson d651218759 Bug 1797797 [wpt PR 36692] - [css-nesting] Move towards syntax proposal 3., a=testonly
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
2022-11-11 12:33:00 +00:00
Steinar H. Gunderson b0231c203e Bug 1795863 [wpt PR 36520] - [css-nesting] Add CSSOM support for nested style rules., a=testonly
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
2022-11-07 10:53:28 +00:00