From fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:14:29 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- .../tests/css/css-view-transitions/only-child-image-pair.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'testing/web-platform/tests/css/css-view-transitions/only-child-image-pair.html') diff --git a/testing/web-platform/tests/css/css-view-transitions/only-child-image-pair.html b/testing/web-platform/tests/css/css-view-transitions/only-child-image-pair.html index 288d496346..d84b74f0ab 100644 --- a/testing/web-platform/tests/css/css-view-transitions/only-child-image-pair.html +++ b/testing/web-platform/tests/css/css-view-transitions/only-child-image-pair.html @@ -1,7 +1,7 @@ View transitions: ensure :only-child is supported on view-transition-image-pair - + @@ -38,8 +38,7 @@ promise_test(() => { return new Promise(async (resolve, reject) => { let transition = document.startViewTransition(); transition.ready.then(() => { - let style = getComputedStyle( - document.documentElement, ":view-transition-image-pair(root)"); + let style = getComputedStyle(document.documentElement, "::view-transition-image-pair(root)"); if (style.backgroundColor == "rgb(255, 0, 0)" && style.color == "rgb(255, 0, 0)") resolve(); else -- cgit v1.2.3