From d0dfc0c3e1ba5d7dfc1977d714546e85460dc62a Mon Sep 17 00:00:00 2001 From: Lucas CHOLLET Date: Sat, 9 Nov 2024 11:08:54 -0500 Subject: [PATCH] Tests: Import WPT tests from css-color Specifically, they are related to parsing the `lab()`, `lch()` and `color(xyz-d50 ...)` color functions. --- .../input/wpt-import/css/css-color/lab-001.html | 15 +++++++++++++++ .../input/wpt-import/css/css-color/lch-001.html | 15 +++++++++++++++ .../wpt-import/css/css-color/xyz-d50-001.html | 15 +++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/css-color/lab-001.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/css-color/lch-001.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/css-color/xyz-d50-001.html diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/css-color/lab-001.html b/Tests/LibWeb/Ref/input/wpt-import/css/css-color/lab-001.html new file mode 100644 index 00000000000..3584883500e --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/css-color/lab-001.html @@ -0,0 +1,15 @@ + + +CSS Color 4: Specifying Lab and LCH + + + + + + +

Test passes if you see a green square, and no red.

+
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/css-color/lch-001.html b/Tests/LibWeb/Ref/input/wpt-import/css/css-color/lch-001.html new file mode 100644 index 00000000000..58291c774d4 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/css-color/lch-001.html @@ -0,0 +1,15 @@ + + +CSS Color 4: Specifying Lab and LCH + + + + + + +

Test passes if you see a green square, and no red.

+
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/css-color/xyz-d50-001.html b/Tests/LibWeb/Ref/input/wpt-import/css/css-color/xyz-d50-001.html new file mode 100644 index 00000000000..dc42b64c4dd --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/css-color/xyz-d50-001.html @@ -0,0 +1,15 @@ + + +CSS Color 4: xyz + + + + + + +

Test passes if you see a green square, and no red.

+
+