summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-properties-values-api/crashtests/computed-property-universal-syntax.html
blob: b87f03b2df3d536ef2459d6498e0cd121bc4f06c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<meta charset=utf8>
<style>
@property --my-registered-property {
  syntax: "<color>";
  inherits: false;
  initial-value: #f0f2f5;
}

.outer {
  --unregistered-property: var(--my-registered-property);
}

.inner {
  --unregistered-property: #c6cfdb;
}
</style>
<div class="outer">
  <div class="inner"></div>
</div>