Skip to content

Commit e1ea3e0

Browse files
emiliomoz-wptsync-bot
authored andcommitted
Fix an accent-color test.
No other property returns `currentcolor` in the computed style, and Chrome agrees with us on this test. Differential Revision: https://phabricator.services.mozilla.com/D120725 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1722031 gecko-commit: 2a0274aa40148b9d89d79d844aa27b3ae2430bd8 gecko-reviewers: mstange
1 parent 3dda657 commit e1ea3e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css/css-ui/accent-color-computed.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<script src="/resources/testharnessreport.js"></script>
55
<script src="/css/support/computed-testcommon.js"></script>
66
<style>
7-
#outer { accent-color: red; }
7+
#outer { accent-color: red; color: black; }
88
</style>
99
<div id="outer">
1010
<div id="target"></div>
@@ -16,7 +16,7 @@
1616
test_computed_value('accent-color', 'red', 'rgb(255, 0, 0)');
1717
test_computed_value('accent-color', 'blue', 'rgb(0, 0, 255)');
1818
test_computed_value('accent-color', 'auto', 'auto');
19-
test_computed_value('accent-color', 'currentcolor', 'currentcolor');
19+
test_computed_value('accent-color', 'currentcolor', 'rgb(0, 0, 0)');
2020
test_computed_value('accent-color', '#fff', 'rgb(255, 255, 255)');
2121

2222
// When accent-color isn't specified, it should return 'auto'

0 commit comments

Comments
 (0)