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

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: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
mstensho (USE GERRIT) 2015/10/22 19:19:57 This test is beautiful!
2 <style>
3 .float
4 {
5 float: left;
6 width: 25px;
7 height: 50px;
8 background-color: green;
9 }
10 .block
mstensho (USE GERRIT) 2015/10/22 19:19:57 Maybe you could just name it "inline-block", since
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="block"></div>
21 <div id="first"></div>
22 <div id="second" class="float"></div>
mstensho (USE GERRIT) 2015/10/22 19:19:57 Nobody cares about #second as an ID.
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