summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/only-child-old.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /testing/web-platform/tests/css/css-view-transitions/only-child-old.html
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-upstream/125.0.1.tar.xz
firefox-upstream/125.0.1.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/only-child-old.html')
-rw-r--r--testing/web-platform/tests/css/css-view-transitions/only-child-old.html19
1 files changed, 7 insertions, 12 deletions
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 @@
<!DOCTYPE html>
<html class="reftest-wait foo">
<title>View transitions: ensure :only-child is supported on view-transition-old</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-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