mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb/CSS: Correctly serialize the colorspace name of xyz and xyz-d65
This gives us a +40 subtests passes in: - css/css-color/parsing/color-valid-color-function.html
This commit is contained in:
committed by
Sam Atkins
parent
9240d38273
commit
3c60510896
@@ -51,7 +51,7 @@ StringView string_view_from_color_type(CSSColorValue::ColorType color_type)
|
||||
if (color_type == CSSColorValue::ColorType::XYZD50)
|
||||
return "xyz-d50"sv;
|
||||
if (color_type == CSSColorValue::ColorType::XYZD65)
|
||||
return "xyz"sv;
|
||||
return "xyz-d65"sv;
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user