mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
LibWeb: Convert FormattingContext to new pixel units
Just FormattingContext and AvailableSpace, and the minor adjustments to make everything else work.
This commit is contained in:
parent
4754204f01
commit
f5f25562d1
16 changed files with 174 additions and 175 deletions
|
@ -24,8 +24,8 @@ public:
|
|||
BlockContainer const& containing_block() const { return static_cast<BlockContainer const&>(context_box()); }
|
||||
|
||||
virtual void run(Box const&, LayoutMode, AvailableSpace const&) override;
|
||||
virtual float automatic_content_height() const override;
|
||||
virtual float automatic_content_width() const override;
|
||||
virtual CSSPixels automatic_content_height() const override;
|
||||
virtual CSSPixels automatic_content_width() const override;
|
||||
|
||||
void dimension_box_on_line(Box const&, LayoutMode);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue