mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-02 22:29:10 +00:00
LibWeb/CSS: Make CSSStyleRule be a CSSGroupingRule
As part of this, we can now fill in the missing serialization steps. The parsing is a stub for now, and will be filled out in a subsequent commit.
This commit is contained in:
parent
9241f37823
commit
7723873016
Notes:
github-actions[bot]
2024-10-14 06:09:48 +00:00
Author: https://github.com/AtkinsSJ
Commit: 7723873016
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1729
5 changed files with 59 additions and 40 deletions
|
@ -51,11 +51,12 @@ public:
|
|||
template<typename T>
|
||||
bool fast_is() const = delete;
|
||||
|
||||
// https://drafts.csswg.org/cssom-1/#serialize-a-css-rule
|
||||
virtual String serialized() const = 0;
|
||||
|
||||
protected:
|
||||
explicit CSSRule(JS::Realm&);
|
||||
|
||||
virtual String serialized() const = 0;
|
||||
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
[[nodiscard]] FlyString const& parent_layer_internal_qualified_name() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue