summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color-adjust/inheritance.html
blob: f834d7bb54cd7b8adf32ce56a3b0fe1acbd58a0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<title>Inheritance of CSS Color Adjust properties</title>
<link rel="help" href="https://drafts.csswg.org/css-color-adjust/#property-index">
<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>