Bug 1822331 [wpt PR 38990] - [@scope] Enable implicit :scope and relative selectors...
commit70d75b0b95dd707a3617c0ee74cf8c9448b89a01
authorAnders Hartvoll Ruud <andruud@chromium.org>
Mon, 20 Mar 2023 20:01:04 +0000 (20 20:01 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 29 Mar 2023 12:51:27 +0000 (29 12:51 +0000)
tree3491c236f75c34b03fa9ffc4777f8784fa196e3f
parent852902248082a0328be0e39755896b156c13b3b3
Bug 1822331 [wpt PR 38990] - [@scope] Enable implicit :scope and relative selectors for <scope-end>, a=testonly

Automatic update from web-platform-tests
[@scope] Enable implicit :scope and relative selectors for <scope-end>

By simply propagating the 'in_nested_style_rule' flag, we enable
the two features:

 - Implicitly prepending a :scope compound with a descendant
   combinator if the selector is not :scope-containing.
 - Relative selectors.

Bug: 1280240
Change-Id: I117378791b0034be3d2f168d067712acf744e3c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4291114
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Steinar H Gunderson <sesse@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1117080}

--

wpt-commits: 7c083dd76a0a8d9eb1e5a320fa6a2335d058ce34
wpt-pr: 38990
testing/web-platform/tests/css/css-cascade/at-scope-parsing.html
testing/web-platform/tests/css/css-cascade/scope-evaluation.html
testing/web-platform/tests/css/css-cascade/scope-nesting.html