Skip to content

Commit 7098317

Browse files
graoutsmoz-wptsync-bot
authored andcommitted
Bug 1947251 [wpt PR 50612] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=287415, a=testonly
Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=287415 (#50612) -- wpt-commits: 26b440ee857315fcef02338ccebef82b1e6300a2 wpt-pr: 50612
1 parent 64b0baa commit 7098317

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

testing/web-platform/tests/scroll-animations/css/timeline-scope-computed.tentative.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
<script src="/css/support/computed-testcommon.js"></script>
66
</head>
77
<style>
8-
#outer { timeline-scope: foo; }
9-
#target { timeline-scope: bar; }
8+
#outer { timeline-scope: --foo; }
9+
#target { timeline-scope: --bar; }
1010
</style>
1111
<div id="outer">
1212
<div id="target"></div>
1313
</div>
1414
<script>
1515
test_computed_value('timeline-scope', 'initial', 'none');
16-
test_computed_value('timeline-scope', 'inherit', 'foo');
16+
test_computed_value('timeline-scope', 'inherit', '--foo');
1717
test_computed_value('timeline-scope', 'unset', 'none');
1818
test_computed_value('timeline-scope', 'revert', 'none');
1919
test_computed_value('timeline-scope', 'none');
20-
test_computed_value('timeline-scope', 'test');
21-
test_computed_value('timeline-scope', 'foo, bar');
22-
test_computed_value('timeline-scope', 'bar, foo');
23-
test_computed_value('timeline-scope', 'a, b, c, D, e');
20+
test_computed_value('timeline-scope', '--test');
21+
test_computed_value('timeline-scope', '--foo, --bar');
22+
test_computed_value('timeline-scope', '--bar, --foo');
23+
test_computed_value('timeline-scope', '--a, --b, --c, --D, --e');
2424

2525
test(() => {
2626
let style = getComputedStyle(document.getElementById('target'));

testing/web-platform/tests/scroll-animations/css/timeline-scope-parsing.tentative.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,24 @@
1212
test_valid_value('timeline-scope', 'revert');
1313

1414
test_valid_value('timeline-scope', 'none');
15-
test_valid_value('timeline-scope', 'abc');
16-
test_valid_value('timeline-scope', ' abc', 'abc');
17-
test_valid_value('timeline-scope', 'aBc');
18-
test_valid_value('timeline-scope', 'foo, bar');
19-
test_valid_value('timeline-scope', 'bar, foo');
20-
test_valid_value('timeline-scope', 'auto');
15+
test_valid_value('timeline-scope', '--abc');
16+
test_valid_value('timeline-scope', ' --abc', '--abc');
17+
test_valid_value('timeline-scope', '--aBc');
18+
test_valid_value('timeline-scope', '--foo, --bar');
19+
test_valid_value('timeline-scope', '--bar, --foo');
20+
test_valid_value('timeline-scope', '--auto');
2121

2222
test_invalid_value('timeline-scope', 'none, abc');
2323
test_invalid_value('timeline-scope', '10px');
2424
test_invalid_value('timeline-scope', 'foo bar');
2525
test_invalid_value('timeline-scope', '"foo" "bar"');
2626
test_invalid_value('timeline-scope', 'rgb(1, 2, 3)');
2727
test_invalid_value('timeline-scope', '#fefefe');
28+
test_invalid_value('timeline-scope', 'abc');
29+
test_invalid_value('timeline-scope', ' abc', 'abc');
30+
test_invalid_value('timeline-scope', 'aBc');
31+
test_invalid_value('timeline-scope', 'foo, bar');
32+
test_invalid_value('timeline-scope', 'bar, foo');
33+
test_invalid_value('timeline-scope', 'auto');
2834

2935
</script>

0 commit comments

Comments
 (0)