servo/components/layout_2020/flow
Martin Robinson d941d2fd67
layout: Convert the FragmentTree to physical geometry (#33030)
This converts all geometry in the FragmentTree into physical geometry,
doing conversions ahead of time instead of when traversing the fragment
tree. This is necessary to properly implement BiDi in Servo as we need
to know what side borders are on in mixed RTL and LTR contexts.

In addition, fragments are laid out in a particular context and only
that context knows its writing mode. There were issues where were using
one writing mode to lay out and another to convert to phyisical
coordinates. This isn't an issue now since we only use the default
writing mode, but starts to be an issue with BiDi text.

Closes #25564.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-08-14 12:22:06 +00:00
..
inline layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
construct.rs layout: Allow rendering LineItems independent of inline box (#32666) 2024-07-03 15:15:31 +00:00
float.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
mod.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
root.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00