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

Unified Diff: third_party/WebKit/LayoutTests/fast/block/float/add-float-after-anonymous-block-being-destroyed.html

Issue 1543283002: Re-land 'Fold out-of-flow objects into anonymous blocks when removing children' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 5 years 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-float-after-anonymous-block-being-destroyed.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/add-float-after-anonymous-block-being-destroyed.html b/third_party/WebKit/LayoutTests/fast/block/float/add-float-after-anonymous-block-being-destroyed.html
new file mode 100644
index 0000000000000000000000000000000000000000..8c0e7d57d9fa2da5bcafde9aad81dbe3a6faece6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/float/add-float-after-anonymous-block-being-destroyed.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<style>
+.float { float: right; }
+.span { content: ""; }
+</style>
+<body>
+ <p>crbug.com/322039: Don't attempt to fold a float into an anonymous block if it is being destroyed. The test should not crash.</p>
+ <span id="span" class="span"><div></div></span>
+ <div id="div"></div>
+ <div class="float"></div>
+</body>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ document.body.offsetTop;
+ span.setAttribute('class', '');
+ div.setAttribute('class', 'float');
+</script>
+

Powered by Google App Engine
This is Rietveld 408576698