This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 775350 - Update the overflow areas of the lines containing floats…
… based on the overflow areas of the floats in the containing block; r=dbaron
- Loading branch information
Showing
4 changed files
with
49 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<body> | ||
<div id="top"></div> | ||
<div> | ||
<div style="float: left; position: relative;"> | ||
<div id="inner" style="display: block; top: 100px; width: 100px; height: 100px; background: pink; position:absolute;"></div> | ||
</div> | ||
</div> | ||
</body> | ||
</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,30 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> | ||
<head> | ||
<script> | ||
|
||
function handleLoad() { | ||
setTimeout(f1, 0); | ||
} | ||
|
||
function f1() { | ||
document.getElementById("inner").style.top = "100px"; | ||
setTimeout(f2, 0); | ||
} | ||
|
||
function f2() { | ||
document.getElementById("top").style.display = "block"; | ||
document.documentElement.removeAttribute("class"); | ||
} | ||
|
||
</script> | ||
</head> | ||
<body onload="handleLoad()"> | ||
<div id="top" style="display: none;"></div> | ||
<div> | ||
<div style="float: left; position: relative;"> | ||
<div id="inner" style="display: block; top: 110px; width: 100px; height: 100px; background: pink; position:absolute;"></div> | ||
</div> | ||
</div> | ||
</body> | ||
</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