mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
LibWeb: Store box's containing line box fragment in FormattingState
Layout should not change any properties of a box until the moment a FormattingState is committed.
This commit is contained in:
parent
aa72ebf7aa
commit
f8aa0c144f
5 changed files with 13 additions and 10 deletions
|
@ -236,7 +236,7 @@ const Gfx::FloatRect Box::absolute_rect() const
|
|||
return rect;
|
||||
}
|
||||
|
||||
void Box::set_containing_line_box_fragment(LineBoxFragmentCoordinate fragment_coordinate)
|
||||
void Box::set_containing_line_box_fragment(Optional<LineBoxFragmentCoordinate> fragment_coordinate)
|
||||
{
|
||||
m_containing_line_box_fragment = fragment_coordinate;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue