servo/components
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
..
allocator Preliminary Android build support (#31086) 2024-01-22 13:00:15 +00:00
atoms Further changes required by Servo 2023-11-06 09:35:57 +01:00
background_hang_monitor BHM: Support aarch64 for Mac sampler (#31298) 2024-02-09 13:55:28 +00:00
bluetooth Preliminary Android build support (#31086) 2024-01-22 13:00:15 +00:00
canvas canvas2d: Implement .reset() (#31258) 2024-02-05 08:53:00 +00:00
compositing script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
config style: Remove dependency on servo_config (was #31409) (#31411) 2024-02-23 08:40:54 +00:00
config_plugins Remove use of proc_macro_diagnostics feature (#30745) 2023-11-17 10:36:09 +00:00
constellation script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
deny_public_fields Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
derive_common Revert remaining Stylo changes (#31408) 2024-02-22 09:56:26 +00:00
devtools rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
dom_struct Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
domobject_derive Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
geometry deps: Stop vendoring WebRender (#31212) 2024-01-30 08:10:13 +00:00
gfx script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
hyper_serde Revert "Replace time with std::time in components/net (#31079)" (#31120) 2024-01-18 15:10:48 +00:00
jstraceable_derive Update to syn 2 where possible (#30387) 2023-09-19 15:57:37 +00:00
layout script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
layout_2020 layout: Add line height from preserved segment breaks in quirks mode (#31419) 2024-02-26 17:26:41 +00:00
layout_thread script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
layout_thread_2020 script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
malloc_size_of Revert remaining Stylo changes (#31408) 2024-02-22 09:56:26 +00:00
media chore: re-export servo-media types (#31180) 2024-01-26 23:25:38 +00:00
metrics script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
net script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
pixels Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
profile Preliminary Android build support (#31086) 2024-01-22 13:00:15 +00:00
rand Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
range Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
remutex rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
script layout: Add line height from preserved segment breaks in quirks mode (#31419) 2024-02-26 17:26:41 +00:00
selectors Revert remaining Stylo changes (#31408) 2024-02-22 09:56:26 +00:00
servo script: Do not run layout in a thread (#31346) 2024-02-23 08:14:10 +00:00
servo_arc Revert changes to servo_arc, style_derive, and style_traits (#31387) 2024-02-22 04:40:37 +00:00
shared layout: Add line height from preserved segment breaks in quirks mode (#31419) 2024-02-26 17:26:41 +00:00
size_of_test Further changes required by Servo 2023-08-16 17:46:41 +02:00
style style: Remove dependency on servo_config (was #31409) (#31411) 2024-02-23 08:40:54 +00:00
style_config style: Remove dependency on servo_config (was #31409) (#31411) 2024-02-23 08:40:54 +00:00
style_derive Revert changes to servo_arc, style_derive, and style_traits (#31387) 2024-02-22 04:40:37 +00:00
style_static_prefs style: Add a static_prefs implementation (#31351) 2024-02-14 17:02:13 +00:00
style_traits Revert changes to servo_arc, style_derive, and style_traits (#31387) 2024-02-22 04:40:37 +00:00
to_shmem style: Reduce Servo's diff with upstream to_shmem (#31349) 2024-02-14 11:17:00 +00:00
to_shmem_derive style: Reduce Servo's diff with upstream to_shmem (#31349) 2024-02-14 11:17:00 +00:00
url style: Remove dependency on servo_url (#31358) 2024-02-16 11:56:35 +00:00
webdriver_server deps: Remove unused crate dependencies (#31185) 2024-01-26 23:18:26 +00:00
webgpu Fix failed request for adapter when not available (#31002) 2024-01-09 09:12:53 +00:00