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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/block/float/remove-div-after-float-and-before-anonymous-block-container.html

Issue 1411543009: Manually revert "Fold out-of-flow objects into anonymous blocks when removing children" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: 50px;
5 height: 25px;
6 background-color: green;
7 }
8
9 .float {
10 width: 50px;
11 height: 25px;
12 background-color: green;
13 float: left;
14 }
15 </style>
16 <p>crbug.com/322039: There should be a green <em>square</em> below. In the layou t tree the float should be inside the anonymous block.</p>
17 <div style="width: 150px;">
18 <div class="block"></div>
19 <div class="float"></div>
20 <div id="div"></div>
21 Text.
22 </div>
23 <script>
24 document.body.offsetTop;
25 var div = document.getElementById("div");
26 div.parentNode.removeChild(div);
27 </script>
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698