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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-into-anonymous-block-container.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-after-anonymous-block.html b/third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-into-anonymous-block-container.html
similarity index 66%
copy from third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-after-anonymous-block.html
copy to third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-into-anonymous-block-container.html
index dc3cda65299bc30dbc6727858fa9af30ebbecd38..1780f6e5895454269997d9402f585af595c63535 100644
--- a/third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-after-anonymous-block.html
+++ b/third_party/WebKit/LayoutTests/fast/block/float/add-inline-before-float-and-into-anonymous-block-container.html
@@ -1,27 +1,27 @@
<!DOCTYPE html>
<style>
-.float
-{
- float: left;
+.block {
width: 25px;
height: 50px;
background-color: green;
}
-.inline-block
-{
+
+.float {
width: 25px;
height: 50px;
background-color: green;
- display: inline-block;
+ float: left;
}
</style>
-<p>crbug.com/523282: There should be a green <em>square</em> below.</p>
+<p>crbug.com/322039: There should be a green <em>square</em> below.</p>
<div>
- <div class="inline-block"></div>
- <div id="first"></div>
+ <div></div>
+ <br>
+ <div id="first" class="block"></div>
<div class="float"></div>
</div>
<script>
document.body.offsetTop;
document.getElementById("first").style.display = "inline-block";
</script>
+

Powered by Google App Engine
This is Rietveld 408576698