mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-05 15:49:15 +00:00
LibWeb/CSS: Add CSS.registerProperty
JS method
This adds an *almost* complete implementation of `CSS.registerProperty` method enabling further progress on the `@property` feature.
This commit is contained in:
parent
038d8ade50
commit
90c0decd95
Notes:
github-actions[bot]
2025-07-22 09:59:17 +00:00
Author: https://github.com/Norbiros
Commit: 90c0decd95
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5507
Reviewed-by: https://github.com/AtkinsSJ ✅
7 changed files with 154 additions and 5 deletions
|
@ -133,4 +133,9 @@ RefPtr<CSS::Supports> parse_css_supports(CSS::Parser::ParsingParams const& conte
|
|||
return CSS::Parser::Parser::create(context, string).parse_as_supports();
|
||||
}
|
||||
|
||||
Vector<CSS::Parser::ComponentValue> parse_component_values_list(CSS::Parser::ParsingParams const& parsing_params, StringView string)
|
||||
{
|
||||
return CSS::Parser::Parser::create(parsing_params, string).parse_as_list_of_component_values();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue