summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/oklch-l-over-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-color/oklch-l-over-1-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-color/oklch-l-over-1-ref.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-color/oklch-l-over-1-ref.html b/testing/web-platform/tests/css/css-color/oklch-l-over-1-ref.html
new file mode 100644
index 0000000000..2c7815c5f0
--- /dev/null
+++ b/testing/web-platform/tests/css/css-color/oklch-l-over-1-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Color 4: Verify lightness in Oklch is always clamped to a value between 0 to 1</title>
+<style>
+ .ref { background-color: oklch(1 0.5 50); width: 100px; height: 200px}
+</style>
+
+<body>
+ <p>Test passes if you see a single color.</p>
+ <div class="ref"></div>
+</body>