about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/layout/color-functions.color.expected12
-rw-r--r--test/layout/color-functions.html16
2 files changed, 25 insertions, 3 deletions
diff --git a/test/layout/color-functions.color.expected b/test/layout/color-functions.color.expected
index b507512a..a65eb8a9 100644
--- a/test/layout/color-functions.color.expected
+++ b/test/layout/color-functions.color.expected
@@ -1 +1,13 @@
 test
+hsl
+test
+test
+test
+test
+test
+test
+test
+test
+test
+test
+test
diff --git a/test/layout/color-functions.html b/test/layout/color-functions.html
index 6947300e..2c83c227 100644
--- a/test/layout/color-functions.html
+++ b/test/layout/color-functions.html
@@ -1,4 +1,14 @@
 <!DOCTYPE html>
-<div style="color: rgba(100, 200, 30, 1)">
-test
-</div>
+<div style="color: rgba(100, 200, 30, 1)">test</div>
+<div style="color: hsl(40, 20, 41)">hsl</div>
+<div style="color: rgb(0 , 200 , 100)">test</div>
+<div style="color: rgb(200, 0, 0, 1)">test</div>
+<div style="color: rgb(200, 0, 0, 1 test test)">test</div>
+<div style="color: rgb(200%, 0%, 0%)">test</div>
+<div style="color: rgb(200%, 0%, 0)">test</div>
+<div style="color: rgb(200% 0% 0)">test</div>
+<div style="color: rgb(200% none none)">test</div>
+<div style="color: hsl(999 40 40)">test</div>
+<div style="color: hsl(445 40 40)">test</div>
+<div style="color: hsl(-445 20 40)">test</div>
+<div style="color: hsl(-445 9999 40)">test</div>