mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1722031 - Fix an accent-color test. r=mstange
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
This commit is contained in:
parent
11f130af70
commit
3f0667829d
@ -1,4 +0,0 @@
|
||||
[accent-color-computed.html]
|
||||
[Property accent-color value 'currentcolor']
|
||||
expected: FAIL
|
||||
|
@ -4,7 +4,7 @@
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/computed-testcommon.js"></script>
|
||||
<style>
|
||||
#outer { accent-color: red; }
|
||||
#outer { accent-color: red; color: black; }
|
||||
</style>
|
||||
<div id="outer">
|
||||
<div id="target"></div>
|
||||
@ -16,7 +16,7 @@ test_computed_value('accent-color', 'inherit', 'rgb(255, 0, 0)');
|
||||
test_computed_value('accent-color', 'red', 'rgb(255, 0, 0)');
|
||||
test_computed_value('accent-color', 'blue', 'rgb(0, 0, 255)');
|
||||
test_computed_value('accent-color', 'auto', 'auto');
|
||||
test_computed_value('accent-color', 'currentcolor', 'currentcolor');
|
||||
test_computed_value('accent-color', 'currentcolor', 'rgb(0, 0, 0)');
|
||||
test_computed_value('accent-color', '#fff', 'rgb(255, 255, 255)');
|
||||
|
||||
// When accent-color isn't specified, it should return 'auto'
|
||||
|
Loading…
Reference in New Issue
Block a user