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

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

Issue 1406163003: Fold out-of-flow objects into anonymous blocks when removing children (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@523282-3
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 .block {
4 width: 25px;
5 height: 50px;
6 background-color: green;
7 }
8
9 .float {
10 width: 25px;
11 height: 50px;
12 background-color: green;
13 display: inline;
mstensho (USE GERRIT) 2015/10/29 20:00:26 Not needed. 'float' overrides this to 'block'.
14 float: left;
15 }
16 </style>
17 <p>crbug.com/322039: There should be a green <em>square</em> below.</p>
18 <div>
19 <br>
20 <div id="first" class="block"></div>
21 <div class="float"></div>
22 </div>
23 <script>
24 document.body.offsetTop;
25 document.getElementById("first").style.display = "inline-block";
26 </script>
27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698