diff options
author | Andreas Kling <kling@serenityos.org> | 2021-10-17 18:24:07 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-17 22:18:59 +0200 |
commit | dabbade05ce2ba959abf1e9dea22810f9e5b1918 (patch) | |
tree | 5edfb8b3dbdd3314fcf14c18d0d93f6c85864cfa /Userland/Libraries/LibImageDecoderClient | |
parent | f2d0e8d0ee5377a38df448d3333179f8e99cb790 (diff) | |
download | serenity-dabbade05ce2ba959abf1e9dea22810f9e5b1918.zip |
LibWeb: Factor out creation of independent formatting contexts
This patch breaks FormattingContext::layout_inside() into two functions,
one that creates an independent formatting context (if needed), and
another that calls the former and then performs the inside layout within
the appropriate context.
The main goal here was to make layout_inside() return the independent
formatting context if one was created. This will allow us to defer
certain operations in child contexts until the parent context has
finished formatting the child root box.
Diffstat (limited to 'Userland/Libraries/LibImageDecoderClient')
0 files changed, 0 insertions, 0 deletions