summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/color-mix-currentcolor-nested-for-color-property-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-color/color-mix-currentcolor-nested-for-color-property-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-color/color-mix-currentcolor-nested-for-color-property-ref.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-color/color-mix-currentcolor-nested-for-color-property-ref.html b/testing/web-platform/tests/css/css-color/color-mix-currentcolor-nested-for-color-property-ref.html
new file mode 100644
index 0000000000..0d2f49c2e2
--- /dev/null
+++ b/testing/web-platform/tests/css/css-color/color-mix-currentcolor-nested-for-color-property-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Reference: currentColor is inherited correctly with a nested color-mix() for the color attribute</title>
+<style>
+div {
+ color: color(srgb 0.5 0.75 0.75);
+}
+</style>
+<div>
+ <div>This text should be a light blue-green</div>
+</div>