mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb+LibGfx: Move CSS sRGB color serialization function to LibGfx
This commit is contained in:
parent
633fc45e0f
commit
ebd802f6fc
Notes:
github-actions[bot]
2025-10-26 17:56:37 +00:00
Author: https://github.com/tcl3
Commit: ebd802f6fc
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6593
Reviewed-by: https://github.com/gmta ✅
8 changed files with 74 additions and 73 deletions
|
|
@ -23,13 +23,11 @@ WEB_API void serialize_an_identifier(StringBuilder&, StringView ident);
|
|||
void serialize_a_string(StringBuilder&, StringView string);
|
||||
WEB_API void serialize_a_url(StringBuilder&, StringView url);
|
||||
void serialize_unicode_ranges(StringBuilder&, Vector<Gfx::UnicodeRange> const& unicode_ranges);
|
||||
void serialize_a_srgb_value(StringBuilder&, Color color);
|
||||
void serialize_a_number(StringBuilder&, double value);
|
||||
|
||||
String serialize_an_identifier(StringView ident);
|
||||
String serialize_a_string(StringView string);
|
||||
String serialize_a_url(StringView url);
|
||||
String serialize_a_srgb_value(Color color);
|
||||
String serialize_a_number(double value);
|
||||
|
||||
// https://www.w3.org/TR/cssom/#serialize-a-comma-separated-list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue