Bug 1851451 [wpt PR 41799] - Fix WPT CSS Counters test, a=testonly
commit94e2399a9f4cf95137499a15207f648630713ce4
authorDaniil Sakhapov <sakhapov@chromium.org>
Wed, 4 Oct 2023 16:34:51 +0000 (4 16:34 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 5 Oct 2023 13:02:12 +0000 (5 13:02 +0000)
tree0d5cd560fccf06b7fa776a28f81c99eb00277ae8
parent7af169aa06fdee3b543ed92e3b0dd8134777b741
Bug 1851451 [wpt PR 41799] - Fix WPT CSS Counters test, a=testonly

Automatic update from web-platform-tests
Fix WPT CSS Counters test

As per:
https://drafts.csswg.org/css-contain/#example-6932a400
and
https://github.com/w3c/csswg-drafts/issues/9116
counter() and counters() can cross the style containment boundary,
so the result should be 13 from the body's counter-reset.

Bug: 990657
Change-Id: Iee313a5ed6f487865b1b7c754aa45b736f6b8f15
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4836162
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204571}

--

wpt-commits: dcb79ca1856efaa5ac6b455d1f96f63e3038e663
wpt-pr: 41799
testing/web-platform/tests/css/css-contain/contain-style-counters-004.html
testing/web-platform/tests/css/css-contain/reference/contain-style-counters-004-ref.html