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

Unified Diff: LayoutTests/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box.html

Issue 1310253005: Strip anonymous wrappers when a block flow no longer requires them (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 3 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/add-inline-between-floats-with-preceding-anonymous-box.html
diff --git a/LayoutTests/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box.html b/LayoutTests/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box.html
new file mode 100644
index 0000000000000000000000000000000000000000..151f4bb50d2de77456fe4908726dd3f2ef515b8b
--- /dev/null
+++ b/LayoutTests/fast/block/float/add-inline-between-floats-with-preceding-anonymous-box.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<style>
+#a, #d {
+ display: inline-block;
+}
+#b, #c {
+ width:25px;
+ height:50px;
+ background: blue;
+ float: left;
+}
+</style>
+<p>There should be a blue <em>square</em> below.</p>
+<div id="container">
+ <div></div><div id="a"></div><div></div><div id="b"></div><div id="c"></div>
+</div>
+<script>
+ document.body.offsetTop;
+ var inline = document.createElement('div');
+ inline.setAttribute("id", "d");
+ container.insertBefore(inline, document.getElementById("c"));
+</script>

Powered by Google App Engine
This is Rietveld 408576698