Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-ui/accent-color-parsing.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>Parsing of accent-color</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<div id="target"></div>
<script>
test_valid_value('accent-color', 'initial');
test_valid_value('accent-color', 'inherit');
test_valid_value('accent-color', 'unset');
test_valid_value('accent-color', 'revert');
test_valid_value('accent-color', 'auto');
test_valid_value('accent-color', 'red');
test_valid_value('accent-color', 'blue');
test_valid_value('accent-color', 'currentcolor');
test_valid_value('accent-color', '#fff', 'rgb(255, 255, 255)');
test_invalid_value('accent-color', 'auto auto');
</script>