aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/xpath
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-12-07 20:12:25 +0100
committerGitHub <noreply@github.com>2024-12-07 19:12:25 +0000
commit264c0f972fd1a732ee1d1490d78a1d26a65c6f5f (patch)
tree29a4ec249b90b0364a6de7638b3c66b8ef23ef2f /components/script/xpath
parent97e9841d47fca9ff576b0af8ec08fdd8421b6915 (diff)
downloadservo-264c0f972fd1a732ee1d1490d78a1d26a65c6f5f.tar.gz
servo-264c0f972fd1a732ee1d1490d78a1d26a65c6f5f.zip
layout: Add `LayoutBoxBase` and use it for `IndependentFormattingContext` (#34507)
Add a new struct `LayoutBoxBase`, that will be used throughout the box tree. The idea of this struct is that we have a place to consistently store common layout information (style and node information) and also to cache layout results such as content sizes (inline and maybe later box sizes) and eventually layout results. In addition to the addition of this struct, `IndependentFormattingContext` is flattened slightly so that it directly holds the contents of both replaced and non-replaced elements. This is only added to independent formatting contexts, but will later be added to all block containers as well. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script/xpath')
0 files changed, 0 insertions, 0 deletions