|
@@ -96,6 +96,8 @@ public:
|
|
|
virtual CSSPixelPoint calculate_static_position(Box const&) const;
|
|
|
bool can_skip_is_anonymous_text_run(Box&);
|
|
|
|
|
|
+ void compute_inset(NodeWithStyleAndBoxModelMetrics const&);
|
|
|
+
|
|
|
protected:
|
|
|
FormattingContext(Type, LayoutState&, Box const&, FormattingContext* parent = nullptr);
|
|
|
|
|
@@ -106,7 +108,6 @@ protected:
|
|
|
[[nodiscard]] bool should_treat_max_height_as_none(Box const&, AvailableSize const&) const;
|
|
|
|
|
|
OwnPtr<FormattingContext> layout_inside(Box const&, LayoutMode, AvailableSpace const&);
|
|
|
- void compute_inset(Box const& box);
|
|
|
|
|
|
struct SpaceUsedByFloats {
|
|
|
CSSPixels left { 0 };
|