css: Add some parser tests for oklab() etc

This commit is contained in:
Matthias Clasen 2024-05-29 11:57:50 -04:00
parent 5c92d5e081
commit 15bb77472d
2 changed files with 24 additions and 0 deletions

View File

@ -111,3 +111,15 @@ aa {
ab {
color: color(srgb-linear 1 0.5 0 / 50%);
}
ac {
color: oklab(0.8 0 0.3 / 0.5);
}
ad {
color: oklch(0.8 0.3 200 / 0.5);
}
ae {
color: hwb(200 10 90 / 0.5);
}

View File

@ -111,3 +111,15 @@ aa {
ab {
color: color(srgb-linear 1 0.5 0 / 0.5);
}
ac {
color: oklab(0.80000001192092896 0 0.30000001192092896 / 0.5);
}
ad {
color: oklch(0.80000001192092896 0.30000001192092896 200 / 0.5);
}
ae {
color: rgba(26,26,26,0.5);
}