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

Unified Diff: LayoutTests/fast/block/float/float-on-empty-line.html

Issue 1156063002: Floats on an empty line should still get positioned. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/block/float/float-on-empty-line-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/block/float/float-on-empty-line.html
diff --git a/LayoutTests/fast/block/float/float-on-empty-line.html b/LayoutTests/fast/block/float/float-on-empty-line.html
new file mode 100644
index 0000000000000000000000000000000000000000..acdfbab95eec0440521192fc52b1a0b6d59493c2
--- /dev/null
+++ b/LayoutTests/fast/block/float/float-on-empty-line.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+.float{float:left; width: 200px; height: 20px; background-color: blue;}
+.container{width: 100px; background-color: green; border: 5px solid black;}
+b {vertical-align:10%;}
+div { font: 20px Ahem; }
+</style>
+<script src="../../../resources/check-layout.js"></script>
+<div class="container" data-expected-height=30>
+ <br style="clear: both;"><b><div class="float"></div>
+</div>
+<p>crbug.com/477814: A float on an empty line should get positioned and not cause an ASSERT. </p>
+<p id="test-output"></p>
+<script>
+ window.checkLayout("div", document.getElementById("test-output"));
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/block/float/float-on-empty-line-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698