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

Unified Diff: LayoutTests/fast/block/float/trailing-float-with-content.html

Issue 1132103007: Remove obsolete float-management code from line layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 5 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/trailing-float-with-content.html
diff --git a/LayoutTests/fast/block/float/trailing-float-with-content.html b/LayoutTests/fast/block/float/trailing-float-with-content.html
new file mode 100644
index 0000000000000000000000000000000000000000..2aae0ecbea4d7fe23cd365631e7584c22b767541
--- /dev/null
+++ b/LayoutTests/fast/block/float/trailing-float-with-content.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<style>
+body {
+ margin: 0px;
+}
+#container {
+ position: absolute;
+ top: 50px;
+ width: 300px;
+ font: 10px/1 Ahem;
+}
+</style>
+<p>crbug.com/487775: There should be a green square to the right (and no assertion failures).</p>
+<div id="container">
+ <div id="firstChild" style="display:inline-block; width:100px;"></div>
+ <div style="display:inline-block; width:100%; height:100px;"></div>
+ <div style="float:right;">
+ <div id="elm" style="width:100px; height:10px; background:green;"></div>
+ </div>
+</div>
+<script>
+ onload = function() {
+ document.body.offsetTop;
+ document.getElementById("elm").style.height = "100px";
+ document.getElementById("firstChild").style.width = "101px";
+ }
+</script>

Powered by Google App Engine
This is Rietveld 408576698