diff options
author | Andreas Kling <kling@serenityos.org> | 2022-07-16 23:30:32 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-17 14:11:36 +0200 |
commit | 52862c72d00e50ae51197e18917b1950643b5f08 (patch) | |
tree | db3c71b6de5714ea8341ef9064dcbf5491040fa9 /Documentation | |
parent | 0d8f9019c8d464bddddc627becb2f809e21b12d7 (diff) | |
download | serenity-52862c72d00e50ae51197e18917b1950643b5f08.zip |
LibWeb: Rename FormattingState to LayoutState
This seems a bit more descriptive (and also a bit shorter).
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/Browser/LibWebFromLoadingToPainting.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/Browser/LibWebFromLoadingToPainting.md b/Documentation/Browser/LibWebFromLoadingToPainting.md index bf52ceba96..9b405aa281 100644 --- a/Documentation/Browser/LibWebFromLoadingToPainting.md +++ b/Documentation/Browser/LibWebFromLoadingToPainting.md @@ -139,7 +139,7 @@ When a line box is filled up, we insert a break and begin a new box after it. We always keep track of how much space is available on the current line. When starting a new line, this is reset by computing the width of the IFC's containing block and then subtracting the size occupied by floating boxes on both sides. We get this information by querying the parent BFC about floating boxes intersecting the Y coordinate of the new line. -The result of performing a layout is a FormattingState object. This object contains final metrics (including line boxes) for all layout nodes that were in scope of the layout. The FormattingState can either be committed (via `commit()`) or simply discarded. This allows us to perform non-destructive (or "immutable") layouts if we're only interested in measuring something. +The result of performing a layout is a LayoutState object. This object contains the CSS "used values" (final metrics, including line boxes) for all box that were in scope of the layout. The LayoutState can either be committed (via `commit()`) or simply discarded. This allows us to perform non-destructive (or "immutable") layouts if we're only interested in measuring something. ### Paintable and the paint tree |