servo/components/layout_2020
Oriol Brufau 9e4377af47
Fix interaction of margins and clearance for PlacementAmongFloats (#30038)
Consumers of PlacementAmongFloats weren't handling margins properly.
They were assuming that they would either get a positive adjustment,
or zero for no-op.

However, just like the regular clearance triggered by 'clear', the
clearance added onto blocks that establish an independent FC can be
zero or negative, and the effect is different than having no clearance.
2023-07-31 21:07:24 +00:00
..
display_list Use explicit WebRender hit test items in legacy layout (#29981) 2023-07-17 09:11:09 +00:00
flexbox Add initial support for css-text-3 whitespace handling (#29828) 2023-07-20 18:34:31 +00:00
flow Fix interaction of margins and clearance for PlacementAmongFloats (#30038) 2023-07-31 21:07:24 +00:00
fragment_tree Try to use WebRender types more 2023-07-10 17:35:50 +02:00
tests Remove ClearSide enum (#30035) 2023-07-27 09:46:15 +00:00
Cargo.toml Add initial support for css-text-3 whitespace handling (#29828) 2023-07-20 18:34:31 +00:00
cell.rs Implement Default for ArcRefCell 2020-03-17 11:15:17 -07:00
context.rs Combine DOM-related concepts in Layout 2020 into dom.rs 2023-05-13 11:52:59 +02:00
dom.rs Combine DOM-related concepts in Layout 2020 into dom.rs 2023-05-13 11:52:59 +02:00
dom_traversal.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
formatting_contexts.rs Simplify layout of absolutes with static insets 2023-06-20 11:44:25 +02:00
geom.rs Place floats in layout 2020, but don't flow text around the floats yet. 2023-06-03 06:09:21 +02:00
layout_debug.rs Layout 2020: Move all Fragment code to the fragment_tree directory 2023-06-04 18:12:11 +02:00
lib.rs Layout 2020: Move all Fragment code to the fragment_tree directory 2023-06-04 18:12:11 +02:00
lists.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
positioned.rs Remove rayon_croissant and clean up contains_floats (#29960) 2023-07-19 07:01:55 +00:00
query.rs Try to use WebRender types more 2023-07-10 17:35:50 +02:00
replaced.rs Layout 2020: Move all Fragment code to the fragment_tree directory 2023-06-04 18:12:11 +02:00
sizing.rs Handle floats in BlockContainer::inline_content_sizes 2023-06-19 16:02:35 +02:00
style_ext.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
traversal.rs Combine DOM-related concepts in Layout 2020 into dom.rs 2023-05-13 11:52:59 +02:00