mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
Issue #2982 - clamp oklab/oklch to [0,1] before conversion to closer match spec
This commit is contained in:
parent
956b9caced
commit
8c4b5a0e58
2 changed files with 8 additions and 3 deletions
|
|
@ -401,8 +401,10 @@ var noframe_container = document.getElementById("content");
|
|||
["hsl(0 0% 0% / 0.5)", "rgba(0, 0, 0, 0.5)"],
|
||||
["oklab(0 0 0 / 1)", "rgb(0, 0, 0)"],
|
||||
["oklab(0 0 0 / 0.5)", "rgba(0, 0, 0, 0.5)"],
|
||||
["oklab(150% 0.5 0.2 / 1)", "rgb(255, 0, 0)"],
|
||||
["oklch(0 0 0 / 1)", "rgb(0, 0, 0)"],
|
||||
["oklch(0 0 0 / 0.5)", "rgba(0, 0, 0, 0.5)"],
|
||||
["oklch(150% 0.5 50 / 1)", "rgb(255, 0, 0)"],
|
||||
];
|
||||
|
||||
var p = document.createElement("p");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue