summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/only-child-group.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/only-child-group.html')
-rw-r--r--testing/web-platform/tests/css/css-view-transitions/only-child-group.html14
1 files changed, 5 insertions, 9 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/only-child-group.html b/testing/web-platform/tests/css/css-view-transitions/only-child-group.html
index 05275a3448..551e881611 100644
--- a/testing/web-platform/tests/css/css-view-transitions/only-child-group.html
+++ b/testing/web-platform/tests/css/css-view-transitions/only-child-group.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html class="reftest-wait foo">
<title>View transitions: ensure :only-child is supported on view-transition-group</title>
-<link rel="help" href="https://github.com/WICG/view-transitions">
+<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:khushalsagar@chromium.org">
<script src="/resources/testharness.js"></script>
@@ -54,8 +54,7 @@ promise_test(() => {
return new Promise(async (resolve, reject) => {
let transition = document.startViewTransition();
transition.ready.then(() => {
- let style = getComputedStyle(
- document.documentElement, ":view-transition-group(root)");
+ let style = getComputedStyle(document.documentElement, "::view-transition-group(root)");
if (style.backgroundColor == "rgb(255, 0, 0)" && style.color == "rgb(255, 0, 0)")
resolve();
else
@@ -70,8 +69,7 @@ promise_test(() => {
target.style.viewTransitionName = "target";
let transition = document.startViewTransition();
transition.ready.then(() => {
- let style = getComputedStyle(
- document.documentElement, ":view-transition-group(root)");
+ let style = getComputedStyle(document.documentElement, "::view-transition-group(root)");
if (style.backgroundColor == "rgb(0, 0, 255)" && style.color == "rgb(0, 0, 255)")
resolve();
else
@@ -87,8 +85,7 @@ promise_test(() => {
target.style.viewTransitionName = "target";
let transition = document.startViewTransition();
transition.ready.then(() => {
- let style = getComputedStyle(
- document.documentElement, ":view-transition-group(target)");
+ let style = getComputedStyle(document.documentElement, "::view-transition-group(target)");
if (style.backgroundColor == "rgb(255, 0, 0)" && style.color == "rgb(255, 0, 0)")
resolve();
else
@@ -105,8 +102,7 @@ promise_test(() => {
target2.style.viewTransitionName = "target2";
let transition = document.startViewTransition();
transition.ready.then(() => {
- let style = getComputedStyle(
- document.documentElement, ":view-transition-group(target)");
+ let style = getComputedStyle(document.documentElement, "::view-transition-group(target)");
if (style.backgroundColor == "rgb(0, 0, 255)" && style.color == "rgb(0, 0, 255)")
resolve();
else