mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
LibWeb: Parse @property
CSS directives
This is not a complete parse, as it doesn't validate or take into account the parsed syntax. Enough to get us a few more WPT tests though :)
This commit is contained in:
parent
50d64b0fb7
commit
a4c72f50c0
Notes:
github-actions[bot]
2024-10-23 05:56:40 +00:00
Author: https://github.com/a-ungurianu
Commit: a4c72f50c0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1777
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/AtkinsSJ ✅
6 changed files with 178 additions and 0 deletions
|
@ -187,6 +187,7 @@ private:
|
|||
JS::GCPtr<CSSMediaRule> convert_to_media_rule(AtRule const&, Nested);
|
||||
JS::GCPtr<CSSNamespaceRule> convert_to_namespace_rule(AtRule const&);
|
||||
JS::GCPtr<CSSSupportsRule> convert_to_supports_rule(AtRule const&, Nested);
|
||||
JS::GCPtr<CSSPropertyRule> convert_to_property_rule(AtRule const& rule);
|
||||
|
||||
PropertyOwningCSSStyleDeclaration* convert_to_style_declaration(Vector<Declaration> const&);
|
||||
Optional<StyleProperty> convert_to_style_property(Declaration const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue