servo/components/layout
Martin Robinson fd31da9102
Anonymous boxes that wrap inlines should not inherit overflow (#30579)
In legacy layout, anonymous text wrappers were inheriting the `overflow`
and `text-overflow` properties. This results in the creation of extra
clipping for these anonymous wrappers which could clip away floats. We
will likely implement `text-overflow` differently in non-legacy layout.

This change marks all legacy layout pseudo elements as "legacy" and also
adds a new pseudo element for non-legacy layout that does not inherit
`overflow`.

Fixes #30562.

Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2023-10-19 13:43:55 +00:00
..
display_list Only access hit test items for the current epoch in the compositor (#30491) 2023-10-04 16:33:18 +00:00
block.rs Temporarily convert existing cfg(debug_assertions) crashes to warnings (#30578) 2023-10-18 13:16:11 +00:00
Cargo.toml Format toml files (#30112) 2023-08-17 15:07:43 +00:00
construct.rs Anonymous boxes that wrap inlines should not inherit overflow (#30579) 2023-10-19 13:43:55 +00:00
context.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
data.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
flex.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
floats.rs Temporarily convert existing cfg(debug_assertions) crashes to warnings (#30578) 2023-10-18 13:16:11 +00:00
flow.rs Temporarily convert existing cfg(debug_assertions) crashes to warnings (#30578) 2023-10-18 13:16:11 +00:00
flow_list.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
flow_ref.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
fragment.rs Temporarily convert existing cfg(debug_assertions) crashes to warnings (#30578) 2023-10-18 13:16:11 +00:00
generated_content.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
incremental.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
inline.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
layout_debug.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
lib.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
linked_list.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
list_item.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
model.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
multicol.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
parallel.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
persistent_list.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
query.rs Refactor scrolls on the window object (#29680) 2023-09-15 10:57:54 +00:00
sequential.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
table.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
table_caption.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
table_cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
table_colgroup.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
table_row.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
table_rowgroup.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
table_wrapper.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
text.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
traversal.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
wrapper.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00