mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb/CSS: Add support for the a98-rgb
color space in color()
This makes us pass the following WPT tests: - css/css-color/a98rgb-001.html - css/css-color/a98rgb-002.html - css/css-color/a98rgb-003.html - css/css-color/a98rgb-004.html - css/css-color/predefined-007.html - css/css-color/predefined-008.html
This commit is contained in:
parent
c0ae3aa884
commit
a59d9a3986
Notes:
github-actions[bot]
2024-11-16 09:31:06 +00:00
Author: https://github.com/LucasChollet
Commit: a59d9a3986
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2374
13 changed files with 146 additions and 1 deletions
|
@ -182,6 +182,7 @@ public:
|
|||
return Color(r_u8, g_u8, b_u8, a_u8);
|
||||
}
|
||||
|
||||
static Color from_a98rgb(float r, float g, float b, float alpha = 1.0f);
|
||||
static Color from_lab(float L, float a, float b, float alpha = 1.0f);
|
||||
static Color from_xyz50(float x, float y, float z, float alpha = 1.0f);
|
||||
static Color from_xyz65(float x, float y, float z, float alpha = 1.0f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue