mirror of
https://github.com/servo/servo.git
synced 2025-09-04 20:18:21 +01:00
layout: Block formatting contexts should contain all their floats.
Improves Pinterest considerably.
This commit is contained in:
parent
20f5fdd000
commit
36f3f5a0ab
4 changed files with 24 additions and 2 deletions
|
@ -147,3 +147,4 @@ flaky_gpu,flaky_linux == acid2_noscroll.html acid2_ref_broken.html
|
|||
== floated_table_with_margin_a.html floated_table_with_margin_ref.html
|
||||
== margins_inside_floats_a.html margins_inside_floats_ref.html
|
||||
== block_formatting_context_complex_a.html block_formatting_context_complex_ref.html
|
||||
== block_formatting_context_containing_floats_a.html block_formatting_context_containing_floats_ref.html
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div style="overflow: hidden; background: green;">
|
||||
<div style="width: 250px; height: 250px; float: left; background: blue;"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div style="background: green;">
|
||||
<div style="width: 250px; height: 250px; float: left; background: blue;"></div>
|
||||
<div style="clear: left;">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue