servo/components/shared/script_layout
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
..
Cargo.toml script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
lib.rs script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
message.rs script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
rpc.rs Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
wrapper_traits.rs layout: Add line height from preserved segment breaks in quirks mode (#31419) 2024-02-26 17:26:41 +00:00