servo/components/script/layout_dom
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
..
document.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
element.rs layout: Add line height from preserved segment breaks in quirks mode (#31419) 2024-02-26 17:26:41 +00:00
mod.rs Eliminate duplicate Layout DOM wrappers 2023-05-05 17:16:38 +02:00
node.rs layout: Add support for table rows, columns, rowgroups and colgroups (#31341) 2024-02-20 13:22:02 +00:00
shadow_root.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00