Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Unified Diff: LayoutTests/fast/block/float/overhanging-from-second-last-sibling.html

Issue 228663014: Iterate Through Fewer Children When Seeking Overhanging Floats (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/block/float/overhanging-from-second-last-sibling.html
diff --git a/LayoutTests/fast/block/float/overhanging-from-second-last-sibling.html b/LayoutTests/fast/block/float/overhanging-from-second-last-sibling.html
new file mode 100644
index 0000000000000000000000000000000000000000..798aa08fbee3c8651b332914b8eb622521b15568
--- /dev/null
+++ b/LayoutTests/fast/block/float/overhanging-from-second-last-sibling.html
@@ -0,0 +1,21 @@
+<html>
+<script src="../../../resources/check-layout.js"></script>
+<style>
+ body {
+ margin: 0px;
+ padding: 0px;
+ }
+</style>
+<body onload="checkLayout('#line')">
+ <div style="height: 20px;">
+ <div style="background-color: gray; height: 40px;">
+ <div style="float: left; height: 30px; background-color: blue; width: 100px;"></div>
+ </div>
+ <div style="background-color: gray; height: 40px;">
+ </div>
+ </div>
+ <div style="background-color: silver; height: 80px;">
+ <div id="line" data-total-x=100 style="display:inline-block;">This line should not overlap the blue box.</div>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698