mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
Even though we were continuing the parent BFC, we weren't updating the SequentialLayoutState to have the correct containing block info. That caused problem in the presence of floats. This patch establishes an independent BFC, which avoids the problem. This seems reasonable since outside markers are out-of-flow-ish, and it matches Firefox. Blink implements them as inline-blocks, so they should also establish a BFC. Testing: Adding new tests. Some still fail because of a different issue. Also, adding an expectation for several existing tests that were missing it. Fixes: #37222 Signed-off-by: Oriol Brufau <obrufau@igalia.com> |
||
---|---|---|
.. | ||
inline | ||
construct.rs | ||
float.rs | ||
mod.rs | ||
root.rs |