servo/components/layout_2020/fragment_tree
Martin Robinson e5598590ba
layout: Add line height from preserved segment breaks in quirks mode (#31419)
In quirks mode, preserved segment breaks should add line height to
lines. This matches the behavior of WebKit and Blink, but not Gecko.

This also handles the special-case of `<br>` elements, which are
implemented with preserved segment breaks via `white-space: pre-line`.
This is an implementation detail though because `<br>` has a special
behavior if the line isn't empty -- it doesn't add any line height in
this case.
2024-02-26 17:26:41 +00:00
..
base_fragment.rs layout: Add line height from preserved segment breaks in quirks mode (#31419) 2024-02-26 17:26:41 +00:00
box_fragment.rs layout: Add support for table rows, columns, rowgroups and colgroups (#31341) 2024-02-20 13:22:02 +00:00
containing_block.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
fragment.rs layout: Add support for table rows, columns, rowgroups and colgroups (#31341) 2024-02-20 13:22:02 +00:00
fragment_tree.rs layout: Add support for table rows, columns, rowgroups and colgroups (#31341) 2024-02-20 13:22:02 +00:00
hoisted_shared_fragment.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
mod.rs layout: Add support for table rows, columns, rowgroups and colgroups (#31341) 2024-02-20 13:22:02 +00:00
positioning_fragment.rs layout: Add support for table rows, columns, rowgroups and colgroups (#31341) 2024-02-20 13:22:02 +00:00