mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: Disallow margins from collapsing through blocks with clearance
per CSS 2.1 § 8.3.1. Fixes the test failure in #10458.
This commit is contained in:
parent
e32455f7b8
commit
a3fd226341
37 changed files with 223 additions and 94 deletions
|
@ -413,6 +413,10 @@ impl Floats {
|
|||
}
|
||||
clearance
|
||||
}
|
||||
|
||||
pub fn is_present(&self) -> bool {
|
||||
self.list.is_present()
|
||||
}
|
||||
}
|
||||
|
||||
/// The speculated inline sizes of floats flowing through or around a flow (depending on whether
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue