servo/components/layout
Martin Robinson 60b4b6c9f0
layout: Add support for white-space-collapse: break-spaces (#32388)
This change adds support for `white-space-collapse: break-spaces` and
adds initial parsing support for `overflow-wrap` and `word-break`. The
later two properties are not fully supported, only in their interaction
with `break-spaces`. This is a preliminary change preparing to implement
them.

In addition, `break_and_shape` is now forked and added to Layout 2020.
This function is going to change a lot soon and forking is preparation
for this. More code that is only used by Layout 2013 is moved from `gfx`
to that crate.

Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
2024-05-30 05:33:07 +00:00
..
display_list layout: Add support for white-space-collapse: break-spaces (#32388) 2024-05-30 05:33:07 +00:00
block.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
Cargo.toml layout: Add support for white-space-collapse: break-spaces (#32388) 2024-05-30 05:33:07 +00:00
construct.rs fonts: Make FontContext thread-safe and share it per-Layout (#32205) 2024-05-02 10:34:10 +00:00
context.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
data.rs script: Split style and layout data in DOM nodes (#31985) 2024-04-04 07:56:51 +00:00
flex.rs Lint layout_2013 with clippy (#31221) 2024-01-30 11:46:35 +00:00
floats.rs Lint layout_2013 with clippy (#31221) 2024-01-30 11:46:35 +00:00
flow.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
flow_list.rs Lint layout_2013 with clippy (#31221) 2024-01-30 11:46:35 +00:00
flow_ref.rs Address issues uncovered by rust-1.78 beta (#32130) 2024-04-22 18:20:47 +00:00
fragment.rs layout: Add support for white-space-collapse: break-spaces (#32388) 2024-05-30 05:33:07 +00:00
generated_content.rs fonts: Make FontContext thread-safe and share it per-Layout (#32205) 2024-05-02 10:34:10 +00:00
incremental.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
inline.rs layout: Add support for white-space-collapse: break-spaces (#32388) 2024-05-30 05:33:07 +00:00
layout_debug.rs Lint layout_2013 with clippy (#31221) 2024-01-30 11:46:35 +00:00
lib.rs layout: Add support for white-space-collapse: break-spaces (#32388) 2024-05-30 05:33:07 +00:00
linked_list.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
list_item.rs fonts: Make FontContext thread-safe and share it per-Layout (#32205) 2024-05-02 10:34:10 +00:00
model.rs clippy: Fix warnings in components/layout (#31612) 2024-03-11 10:24:36 +00:00
multicol.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
parallel.rs clippy: Fix warnings in components/layout (#31612) 2024-03-11 10:24:36 +00:00
persistent_list.rs Lint layout_2013 with clippy (#31221) 2024-01-30 11:46:35 +00:00
query.rs Let legacy layout serialize shorthands in getComputedStyle (#32149) 2024-04-26 15:37:46 +00:00
sequential.rs dependencies: Upgrade to WebRender 0.64 (#31486) 2024-03-14 17:40:54 +00:00
table.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
table_caption.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
table_cell.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
table_colgroup.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
table_row.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
table_rowgroup.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
table_wrapper.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
text.rs layout: Add support for white-space-collapse: break-spaces (#32388) 2024-05-30 05:33:07 +00:00
text_run.rs layout: Add support for white-space-collapse: break-spaces (#32388) 2024-05-30 05:33:07 +00:00
traversal.rs script: Split style and layout data in DOM nodes (#31985) 2024-04-04 07:56:51 +00:00
wrapper.rs Upgrade stylo to 2024-05-15 (#32334) 2024-05-27 15:24:34 +00:00