diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/only-child-new.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/only-child-new.html | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/only-child-new.html b/testing/web-platform/tests/css/css-view-transitions/only-child-new.html index 9f36528219..7bc8a447ce 100644 --- a/testing/web-platform/tests/css/css-view-transitions/only-child-new.html +++ b/testing/web-platform/tests/css/css-view-transitions/only-child-new.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html class="reftest-wait foo"> <title>View transitions: ensure :only-child is supported on view-transition-new</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> @@ -61,8 +61,7 @@ promise_test(() => { }); transition.ready.then(() => { - let style = getComputedStyle( - document.documentElement, ":view-transition-new(root)"); + let style = getComputedStyle(document.documentElement, "::view-transition-new(root)"); if (style.backgroundColor == matchedColor && style.color == matchedColor) resolve(); else @@ -79,8 +78,7 @@ promise_test(() => { let transition = document.startViewTransition(); transition.ready.then(() => { - let style = getComputedStyle( - document.documentElement, ":view-transition-new(root)"); + let style = getComputedStyle(document.documentElement, "::view-transition-new(root)"); if (style.backgroundColor == notMatchedColor && style.color == notMatchedColor) resolve(); else @@ -100,8 +98,7 @@ promise_test(() => { }); transition.ready.then(() => { - let style = getComputedStyle( - document.documentElement, ":view-transition-new(root)"); + let style = getComputedStyle(document.documentElement, "::view-transition-new(root)"); if (style.backgroundColor == notMatchedColor && style.color == notMatchedColor) resolve(); else @@ -120,8 +117,7 @@ promise_test(() => { }); transition.ready.then(() => { - let style = getComputedStyle( - document.documentElement, ":view-transition-new(target)"); + let style = getComputedStyle(document.documentElement, "::view-transition-new(target)"); if (style.backgroundColor == matchedColor && style.color == matchedColor) resolve(); else @@ -141,8 +137,7 @@ promise_test(() => { }); transition.ready.then(() => { - let style = getComputedStyle( - document.documentElement, ":view-transition-new(root)"); + let style = getComputedStyle(document.documentElement, "::view-transition-new(root)"); if (style.backgroundColor == notMatchedColor && style.color == notMatchedColor) resolve(); else @@ -159,8 +154,7 @@ promise_test(() => { let transition = document.startViewTransition(); transition.ready.then(() => { - let style = getComputedStyle( - document.documentElement, ":view-transition-new(target)"); + let style = getComputedStyle(document.documentElement, "::view-transition-new(target)"); if (style.backgroundColor == notMatchedColor && style.color == notMatchedColor) resolve(); else |