mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 08:57:35 +00:00
LibWeb: Remove specified style from layout nodes
Layout nodes now only carry CSS computer values with them. The main idea here is to give them only what they need to perform layout, and leave the rest back in the DOM.
This commit is contained in:
parent
cc024bdcc0
commit
d9b2650dcc
10 changed files with 57 additions and 38 deletions
|
@ -47,8 +47,6 @@ public:
|
|||
|
||||
virtual void split_into_lines(InlineFormattingContext&, LayoutMode) override;
|
||||
|
||||
const CSS::StyleProperties& specified_style() const { return parent()->specified_style(); }
|
||||
|
||||
private:
|
||||
void split_into_lines_by_rules(InlineFormattingContext&, LayoutMode, bool do_collapse, bool do_wrap_lines, bool do_wrap_breaks);
|
||||
void paint_cursor_if_needed(PaintContext&, const LineBoxFragment&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue