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

Unified Diff: third_party/WebKit/LayoutTests/fast/block/float/assert-when-moving-float.html

Issue 2479333002: Ensure line-break is on correct object if trailing collapsed whitespace pushes us over line-end (Closed)
Patch Set: Ensure line-break is on correct object if trailing collapsed whitespace pushes us over line-end Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/block/float/assert-when-moving-float.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/assert-when-moving-float.html b/third_party/WebKit/LayoutTests/fast/block/float/assert-when-moving-float.html
new file mode 100644
index 0000000000000000000000000000000000000000..c9ae80e10adb2da5d766ab6f9614c58c76d60571
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/float/assert-when-moving-float.html
@@ -0,0 +1,12 @@
+<div style="width: 5px;">
+ <img id="makeTaller" style="height: 50px; width: 1px"><img id="removeThis" style="width: 5px; height: 5px;">
+ <div style="float: left; background-color: green;">foo</div>
+ crbug.com/641334: Passes if it does not assert.
+</div>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+removeThis.offsetTop;
+removeThis.parentNode.removeChild(removeThis);
+makeTaller.style.height = '55px';
+</script>

Powered by Google App Engine
This is Rietveld 408576698