mirror of
https://github.com/servo/servo.git
synced 2025-07-29 10:10:34 +01:00
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> |
||
---|---|---|
.. | ||
base_fragment.rs | ||
box_fragment.rs | ||
containing_block.rs | ||
fragment.rs | ||
fragment_tree.rs | ||
hoisted_shared_fragment.rs | ||
mod.rs | ||
positioning_fragment.rs |