commit c976b97f859cf378693c8054d84c3fc2b6d9d4d1
parent d77ae193bcd87a2cb8cbce6bcf84ea4b504d5670
Author: Steinar H. Gunderson <sesse@chromium.org>
Date: Sat, 22 Nov 2025 21:11:07 +0000
Bug 2001306 [wpt PR 56136] - Fix test names in highlight-cascade-009.html., a=testonly
Automatic update from web-platform-tests
Fix test names in highlight-cascade-009.html.
An earlier WPT update inverted the behavior of two tests (because the
spec changed), but kept the old descriptions, leading to very confusing
test failures.
Fixed: 461993670
Change-Id: Ic8e30a2fedd823cb9400f05e7e7c3fd401708ba1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7173720
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Steinar H Gunderson <sesse@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1547687}
--
wpt-commits: a2a59ec6b707520e1ec3e2ad9c06d61a3758d964
wpt-pr: 56136
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testing/web-platform/tests/css/css-pseudo/highlight-cascade/highlight-cascade-009.html b/testing/web-platform/tests/css/css-pseudo/highlight-cascade/highlight-cascade-009.html
@@ -34,11 +34,11 @@
test(() => void assert_equals(body_selection.getPropertyValue("--background-color"), "green"),
"body ::selection uses the originating custom property");
test(() => void assert_equals(body_selection.getPropertyValue("--decoration-color"), "purple"),
- "body ::selection does not use its own custom property");
+ "body ::selection uses its own custom property");
test(() => void assert_equals(div_selection.getPropertyValue("--decoration-color"), "green"),
"div::selection uses the originating element custom property");
test(() => void assert_equals(div_selection.getPropertyValue("--background-color"), "blue"),
- "div::selection does not use its own custom property");
+ "div::selection uses its own custom property");
test(() => void assert_equals(div_style.getPropertyValue("--background-color"), "green"),
"div::selection properties are not present on the originating element");
</script>