servo/components/layout_2020/fragment_tree
Oriol Brufau 76cdb0173e
Remove dead (and incorrect) logic about vertical overconstrainment (#33696)
BoxFragment::new() had some logic to mark relative positioned boxes with
both insets in the same axis set to something different than `auto` as
overconstrained.

However, this was dead code, since overconstrainment is checked for
getComputedStyle queries, but not for relative positioning.

Also, the logic was wrong: it was detecting vertical overconstrainment
by checking `left` and `bottom` (instead of `top` and `bottom`).

So it can just be removed.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-10-08 09:32:47 +00:00
..
base_fragment.rs layout: Non-auto z-index should always make stacking contexts for flex items (#32961) 2024-08-12 12:15:20 +00:00
box_fragment.rs Remove dead (and incorrect) logic about vertical overconstrainment (#33696) 2024-10-08 09:32:47 +00:00
containing_block.rs clippy: Fix various clippy warnings throughout the code (#33003) 2024-08-13 05:16:47 +00:00
fragment.rs layout: Add support for object-fit and object-position (#33479) 2024-09-18 06:20:28 +00:00
fragment_tree.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00
hoisted_shared_fragment.rs layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00
mod.rs clippy: Fix warnings in components/layout_2020 (#31611) 2024-03-11 14:24:33 +00:00
positioning_fragment.rs layout: Convert the FragmentTree to physical geometry (#33030) 2024-08-14 12:22:06 +00:00