servo/components/layout_2020
Martin Robinson 2c341d9e69
Allow raising FloatContext ceiling after processing box with overflow (#30539)
When a box has overflow, any floats placed in that box will lower the
float ceiling into the overflow. If no float is placed in the box
though, the ceiling should be the block position where the overflow
starts. We already know where this is, because we might be passing a
negative value for the new block position after processing a box
(content_size - actual_size would be negative). This negative value
never raises the ceiling though since a maximum is used.

In the case that there is overflow, this change allows raising the
ceiling, but never passed the lowest float. This necessitates keeping
two values for the ceiling: one for floats and one for non-floats.

Fixes #30304.
2023-10-17 07:53:57 +00:00
..
display_list Fix filter clipping caused by overflow: hidden (#30517) 2023-10-09 12:51:51 +00:00
flexbox Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
flow Allow raising FloatContext ceiling after processing box with overflow (#30539) 2023-10-17 07:53:57 +00:00
fragment_tree Refactor scrolls on the window object (#29680) 2023-09-15 10:57:54 +00:00
tests Allow raising FloatContext ceiling after processing box with overflow (#30539) 2023-10-17 07:53:57 +00:00
Cargo.toml Fix painting order of atomic inline stacking containers (#30458) 2023-10-06 16:00:00 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
dom.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
dom_traversal.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
formatting_contexts.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
geom.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
layout_debug.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
lib.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
lists.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
positioned.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
query.rs Refactor scrolls on the window object (#29680) 2023-09-15 10:57:54 +00:00
replaced.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
sizing.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
style_ext.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
traversal.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00