From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- .../css/css-view-transitions/only-child-old.html | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'testing/web-platform/tests/css/css-view-transitions/only-child-old.html') diff --git a/testing/web-platform/tests/css/css-view-transitions/only-child-old.html b/testing/web-platform/tests/css/css-view-transitions/only-child-old.html index 7a55af7397..4d57121aa1 100644 --- a/testing/web-platform/tests/css/css-view-transitions/only-child-old.html +++ b/testing/web-platform/tests/css/css-view-transitions/only-child-old.html @@ -1,7 +1,7 @@ View transitions: ensure :only-child is supported on view-transition-old - + @@ -61,8 +61,7 @@ promise_test(() => { }); transition.ready.then(() => { - let style = getComputedStyle( - document.documentElement, ":view-transition-old(root)"); + let style = getComputedStyle(document.documentElement, "::view-transition-old(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-old(root)"); + let style = getComputedStyle(document.documentElement, "::view-transition-old(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-old(root)"); + let style = getComputedStyle(document.documentElement, "::view-transition-old(root)"); if (style.backgroundColor == notMatchedColor && style.color == notMatchedColor) resolve(); else @@ -121,7 +118,7 @@ promise_test(() => { transition.ready.then(() => { let style = getComputedStyle( - document.documentElement, ":view-transition-old(target)"); + document.documentElement, "::view-transition-old(target)"); if (style.backgroundColor == matchedColor && style.color == matchedColor) resolve(); else @@ -141,8 +138,7 @@ promise_test(() => { }); transition.ready.then(() => { - let style = getComputedStyle( - document.documentElement, ":view-transition-old(root)"); + let style = getComputedStyle(document.documentElement, "::view-transition-old(root)"); if (style.backgroundColor == notMatchedColor && style.color == notMatchedColor) resolve(); else @@ -159,8 +155,7 @@ promise_test(() => { let transition = document.startViewTransition(); transition.ready.then(() => { - let style = getComputedStyle( - document.documentElement, ":view-transition-old(target)"); + let style = getComputedStyle(document.documentElement, "::view-transition-old(target)"); if (style.backgroundColor == notMatchedColor && style.color == notMatchedColor) resolve(); else -- cgit v1.2.3