diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-properties-values-api/crashtests/computed-property-universal-syntax.html')
-rw-r--r-- | testing/web-platform/tests/css/css-properties-values-api/crashtests/computed-property-universal-syntax.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-properties-values-api/crashtests/computed-property-universal-syntax.html b/testing/web-platform/tests/css/css-properties-values-api/crashtests/computed-property-universal-syntax.html new file mode 100644 index 0000000000..b87f03b2df --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/crashtests/computed-property-universal-syntax.html @@ -0,0 +1,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> |