aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/css/css-text
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2025-04-25 15:38:05 +0200
committerGitHub <noreply@github.com>2025-04-25 13:38:05 +0000
commitb63a1818c437cc748f0c0a0829ffe26339af706d (patch)
treec774f96b4c9721e2c3426561ec858918995ee48e /tests/wpt/meta/css/css-text
parentcc9139539752ce428e5eb16f2a047667d443a7ea (diff)
downloadservo-main.tar.gz
servo-main.zip
layout: Implement node geometry queries against `BoxTree`'s `Fragment` (#36663)HEADmain
This is a followup to #36629, continuing to implement script-based layout queries using the `Fragment`s attached to the `BoxTree`. In this change, geometry queris (apart from parent offset) are calculated using `Fragment`s hanging of the `BoxTree`. In order to make this work, all `Fragment`s for inlines split by blocks, need to be accessible in the `BoxTree`. This required some changes to the way that box tree items were stored in DOM `BoxSlot`s. Now every inline level item can have more than a single `BoxTree` item. These are carefully collected by the `InlineFormattingContextBuilder` -- currently a bit fragile, but with more documentation. Testing: There are tests for these changes. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'tests/wpt/meta/css/css-text')
0 files changed, 0 insertions, 0 deletions