mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
LibWeb/CSS: Factorize the parsing code for lch-like color functions
This commit is contained in:
parent
2c5cfbb968
commit
7a94709cd2
Notes:
github-actions[bot]
2024-10-28 22:38:15 +00:00
Author: https://github.com/LucasChollet
Commit: 7a94709cd2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2013
2 changed files with 56 additions and 38 deletions
|
@ -253,6 +253,7 @@ private:
|
|||
Optional<Array<RefPtr<CSSStyleValue>, 4>> parse_lab_like_color_value(TokenStream<ComponentValue>&, StringView);
|
||||
RefPtr<CSSStyleValue> parse_lab_color_value(TokenStream<ComponentValue>&);
|
||||
RefPtr<CSSStyleValue> parse_oklab_color_value(TokenStream<ComponentValue>&);
|
||||
Optional<Array<RefPtr<CSSStyleValue>, 4>> parse_lch_like_color_value(TokenStream<ComponentValue>&, StringView);
|
||||
RefPtr<CSSStyleValue> parse_oklch_color_value(TokenStream<ComponentValue>&);
|
||||
RefPtr<CSSStyleValue> parse_color_function(TokenStream<ComponentValue>&);
|
||||
RefPtr<CSSStyleValue> parse_color_value(TokenStream<ComponentValue>&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue