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

Unified Diff: third_party/WebKit/LayoutTests/fast/block/float/line-break-after-white-space-crash.html

Issue 2553923003: Never position a float after it has been placed. (Closed)
Patch Set: Check for floatingObject->isPlaced() instead. Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/block/float/line-break-after-white-space-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/line-break-after-white-space-crash.html b/third_party/WebKit/LayoutTests/fast/block/float/line-break-after-white-space-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..5193be03754c4025666f3df5e91bb8d0ad1342d2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/float/line-break-after-white-space-crash.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<div style="columns:4; column-gap:0; column-fill:auto; width:120px; height:50px; orphans:1; widows:1; font:8px/20px Ahem; -webkit-line-break:after-white-space;">
+ <br>
+ <br>
+ xx
+ <div style="float:left; width:1px; height:20px;"><br></div>
+ <div style="float:left; width:100%; height:10px;"></div>
+</div>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script>
+test(() => {}, "PASS if no assertion failure or heap-use-after-free");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698