Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /css/css-color-adjust/inheritance.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Inheritance of CSS Color Adjust properties</title>
<meta name="assert" content="Properties inherit according to the spec.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/inheritance-testcommon.js"></script>
<div id="container">
<div id="target"></div>
</div>
<script>
assert_inherited('color-scheme', 'normal', 'light dark');
assert_inherited('color-adjust', 'economy', 'exact');
assert_inherited('forced-color-adjust', 'auto', 'preserve-parent-color');
assert_inherited('print-color-adjust', 'economy', 'exact');
</script>