mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb/CSS: Un-template parse_comma_separated_value_list()
This doesn't need to be a template. Changing it means we can use it from any FooParsing.cpp file, and also move it ValueParsing.cpp where it belongs.
This commit is contained in:
parent
fd4f4f425d
commit
79093291b5
Notes:
github-actions[bot]
2025-04-04 09:42:24 +00:00
Author: https://github.com/AtkinsSJ
Commit: 79093291b5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4206
3 changed files with 25 additions and 25 deletions
|
@ -358,7 +358,7 @@ private:
|
|||
RefPtr<CSSStyleValue> parse_time_value(TokenStream<ComponentValue>&);
|
||||
RefPtr<CSSStyleValue> parse_time_percentage_value(TokenStream<ComponentValue>&);
|
||||
|
||||
template<typename ParseFunction>
|
||||
using ParseFunction = AK::Function<RefPtr<CSSStyleValue>(TokenStream<ComponentValue>&)>;
|
||||
RefPtr<CSSStyleValue> parse_comma_separated_value_list(TokenStream<ComponentValue>&, ParseFunction);
|
||||
RefPtr<CSSStyleValue> parse_simple_comma_separated_value_list(PropertyID, TokenStream<ComponentValue>&);
|
||||
RefPtr<CSSStyleValue> parse_all_as_single_keyword_value(TokenStream<ComponentValue>&, Keyword);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue