servo/components/layout_2020/flow
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
..
construct.rs layout: Do whitespace collapse during breaking and shaping (#31322) 2024-02-13 23:08:00 +00:00
float.rs make ContainingBlock use Au for inline_size and block_size (#31370) 2024-02-20 09:14:44 +00:00
inline.rs layout: Add line height from preserved segment breaks in quirks mode (#31419) 2024-02-26 17:26:41 +00:00
line.rs layout: Place absolutes in IFCs at their hypothetical static position (#31418) 2024-02-23 17:55:18 +00:00
mod.rs Do not adjust margins in over-constrained cases (#31345) 2024-02-21 17:07:20 +00:00
root.rs make size of DefiniteContainingBlock use app units (#31369) 2024-02-17 01:10:14 +00:00
text_run.rs layout: Add initial support for text-transform (#31396) 2024-02-22 14:15:59 +00:00