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

Unified Diff: LayoutTests/fast/shapes/crash-caused-by-dirtying-a-shape-while-computing-it-requires-a-long-filename-to-crash.html

Issue 635533003: Don't delete nodes in the float interval tree while traversing it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add correct png! Created 6 years, 2 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: LayoutTests/fast/shapes/crash-caused-by-dirtying-a-shape-while-computing-it-requires-a-long-filename-to-crash.html
diff --git a/LayoutTests/fast/shapes/crash-caused-by-dirtying-a-shape-while-computing-it-requires-a-long-filename-to-crash.html b/LayoutTests/fast/shapes/crash-caused-by-dirtying-a-shape-while-computing-it-requires-a-long-filename-to-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..ed28210234681ec5171e0070d7e84c538f8aef40
--- /dev/null
+++ b/LayoutTests/fast/shapes/crash-caused-by-dirtying-a-shape-while-computing-it-requires-a-long-filename-to-crash.html
@@ -0,0 +1,20 @@
+<!doctype HTML>
+<div id=start><br><br></div>
+<div id=end></div>
+<script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+ }
+ // crbug.com/409508: Crashes if we attempt to delete a node in the interval tree of floats while traversing it.
+ var selection = window.getSelection();
+ selection.setBaseAndExtent(start, 0, end, end.childNodes.length);
+ if (window.testRunner)
+ testRunner.notifyDone();
+</script>
+<style>
+div,br {
+ shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'></svg>");
+ float: left;
+}
+</style>

Powered by Google App Engine
This is Rietveld 408576698