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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-after-anonymous-block.html

Issue 1423573002: Remove anonymous block wrapper when all children become inline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .float
4 {
5 float: left;
6 width: 25px;
7 height: 50px;
8 background-color: green;
9 }
10 .inline-block
11 {
12 width: 25px;
13 height: 50px;
14 background-color: green;
15 display: inline-block;
16 }
17 </style>
18 <p>crbug.com/523282: There should be a green <em>square</em> below.</p>
19 <div>
20 <div class="inline-block"></div>
21 <div id="first"></div>
22 <div class="float"></div>
23 </div>
24 <script>
25 document.body.offsetTop;
26 document.getElementById("first").style.display = "inline-block";
27 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698