Bug 1839866 [wpt PR 40695] - [@scope] Support limits for implicit scopes, a=testonly
commit4c35c1f37ee309807fa089bf791ddceba8842957
authorAnders Hartvoll Ruud <andruud@chromium.org>
Wed, 28 Jun 2023 23:29:54 +0000 (28 23:29 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 6 Jul 2023 08:20:40 +0000 (6 08:20 +0000)
tree5e940b0cf0309b4775b2adec8c22fd2229218bbe
parent9eab4f43334944b2e08c14c76bd807a45f5be883
Bug 1839866 [wpt PR 40695] - [@scope] Support limits for implicit scopes, a=testonly

Automatic update from web-platform-tests
[@scope] Support limits for implicit scopes

This adds support for specifying scoping limits [1] for @scope rules
with no <scope-start> selector.

In other words, the following is now allowed.

  @scope to (.limit) { ... }

[1] https://drafts.csswg.org/css-cascade-6/#scoping-limit

Fixed: 1456331
Change-Id: Ia974a79ccc830570b878dc354a90d3d39b7ea9e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4628212
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1161144}

--

wpt-commits: 1c61dccefa97a57f905c2a60d557fdf86b12e0cb
wpt-pr: 40695
testing/web-platform/tests/css/css-cascade/at-scope-parsing.html
testing/web-platform/tests/css/css-cascade/scope-cssom.html
testing/web-platform/tests/css/css-cascade/scope-implicit.html