Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / shapes / crash-image-changed-during-layout.html
blobca5fb825ec6308ea8141d39947d53a1ac0089c04
1 <!doctype HTML>
2 crbug.com/423891: Crashes if we remove a float from the
3 floating objects list during layout.
4 This test should not crash.
5 <style>
6 .c29 {
7 src: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAIAAABv85FHAAAABnRSTlMA/wAAAACkwsAdAAAAIUlEQVR4nGP4z8CAC+GUIEXuABhgkTuABEiRw2cmae4EAH05X7xDolNRAAAAAElFTkSuQmCC") format(attr(r));
8 float: left;
9 min-width: 30in;
10 border-top: solid rgba(185, 191, 175, 0.254400) 66em;
11 line-height: 30rem; shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'> fill='blue'/></svg>");
13 </style>
14 <script>
15 if (window.testRunner)
16 testRunner.dumpAsText();
18 var docElement = document.body;
19 function init() {
20 fespotlight = document.createElementNS("http://www.w3.org/1999/xhtml", "fespotlight");
21 fespotlight.setAttribute("class", "c29");
22 docElement.appendChild(fespotlight);
23 picture = document.createElementNS("http://www.w3.org/1999/xhtml", "picture");
24 picture.setAttribute("class", "c29");
25 docElement.appendChild(picture);
26 text = document.createTextNode("If you see this that means the test has PASSED.");
27 docElement.appendChild(text);
29 document.addEventListener("DOMContentLoaded", init, false);
30 </script>