mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 11:48:06 +00:00
LibWeb/DOM: Serialize pseudo-elements in the correct order
Make Element responsible for serializing all its children, so it can put them in order.
This commit is contained in:
parent
4df472988c
commit
ffd5503dcb
Notes:
github-actions[bot]
2025-07-03 08:57:58 +00:00
Author: https://github.com/AtkinsSJ
Commit: ffd5503dcb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5274
4 changed files with 63 additions and 26 deletions
|
@ -288,7 +288,8 @@ public:
|
|||
bool has_pseudo_element(CSS::PseudoElement) const;
|
||||
bool has_pseudo_elements() const;
|
||||
void clear_pseudo_element_nodes(Badge<Layout::TreeBuilder>);
|
||||
void serialize_pseudo_elements_as_json(JsonArraySerializer<StringBuilder>& children_array) const;
|
||||
|
||||
void serialize_children_as_json(JsonObjectSerializer<StringBuilder>&) const;
|
||||
|
||||
i32 tab_index() const;
|
||||
void set_tab_index(i32 tab_index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue