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

Unified Diff: LayoutTests/http/tests/shapes/crash-image-changed-during-layout.html

Issue 647953004: Don't delete objects from the floating list during layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/shapes/crash-image-changed-during-layout-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/shapes/crash-image-changed-during-layout.html
diff --git a/LayoutTests/http/tests/shapes/crash-image-changed-during-layout.html b/LayoutTests/http/tests/shapes/crash-image-changed-during-layout.html
new file mode 100644
index 0000000000000000000000000000000000000000..ca5fb825ec6308ea8141d39947d53a1ac0089c04
--- /dev/null
+++ b/LayoutTests/http/tests/shapes/crash-image-changed-during-layout.html
@@ -0,0 +1,30 @@
+<!doctype HTML>
+crbug.com/423891: Crashes if we remove a float from the
+floating objects list during layout.
+This test should not crash.
+<style>
+.c29 {
+ src: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAIAAABv85FHAAAABnRSTlMA/wAAAACkwsAdAAAAIUlEQVR4nGP4z8CAC+GUIEXuABhgkTuABEiRw2cmae4EAH05X7xDolNRAAAAAElFTkSuQmCC") format(attr(r));
+ float: left;
+ min-width: 30in;
+ border-top: solid rgba(185, 191, 175, 0.254400) 66em;
+ line-height: 30rem; shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'> fill='blue'/></svg>");
+}
+</style>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+var docElement = document.body;
+function init() {
+ fespotlight = document.createElementNS("http://www.w3.org/1999/xhtml", "fespotlight");
+ fespotlight.setAttribute("class", "c29");
+ docElement.appendChild(fespotlight);
+ picture = document.createElementNS("http://www.w3.org/1999/xhtml", "picture");
+ picture.setAttribute("class", "c29");
+ docElement.appendChild(picture);
+ text = document.createTextNode("If you see this that means the test has PASSED.");
+ docElement.appendChild(text);
+}
+document.addEventListener("DOMContentLoaded", init, false);
+</script>
« no previous file with comments | « no previous file | LayoutTests/http/tests/shapes/crash-image-changed-during-layout-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698