Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3483 from pcwalton/block-formatting-contexts-cont…
…aining-floats layout: Block formatting contexts should contain all their floats. Reviewed-by: glennw
- Loading branch information
Showing
4 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> | ||
|
10 changes: 10 additions & 0 deletions
10
tests/ref/block_formatting_context_containing_floats_ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> | ||
|