mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibWeb: Add serialization code for CSS{Media,Supports}Rule
The `CSSMediaRule::serialized()` code is to spec. The `CSSSupportsRule::serialized()` code has no spec right now, but I'm fairly confident it will be almost identical to media's, so I copied that for now.
This commit is contained in:
parent
46bba44f8b
commit
0f88a47e58
Notes:
sideshowbarker
2024-07-18 02:20:31 +09:00
Author: https://github.com/AtkinsSJ
Commit: 0f88a47e58
Pull-request: https://github.com/SerenityOS/serenity/pull/10489
Reviewed-by: https://github.com/linusg ✅
6 changed files with 53 additions and 8 deletions
|
@ -29,8 +29,6 @@ public:
|
|||
virtual void for_each_effective_style_rule(Function<void(CSSStyleRule const&)> const& callback) const;
|
||||
virtual bool for_first_not_loaded_import_rule(Function<void(CSSImportRule&)> const& callback);
|
||||
|
||||
virtual String serialized() const;
|
||||
|
||||
protected:
|
||||
explicit CSSGroupingRule(NonnullRefPtrVector<CSSRule>&&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue