3 crbug.com/
459533: Don't crash when changing an element to one that interacts with other floats to one that can't.
6 if (window
.testRunner
) {
7 testRunner
.dumpAsText();
8 testRunner
.waitUntilDone();
10 var iframe
= document
.createElement('iframe');
11 document
.body
.appendChild(iframe
);
12 iframe
.style
.cssFloat
='right';
13 document
.documentElement
.style
.padding
='913917816% 300vmin 0vmax';
14 var div
= document
.createElement('div');
15 div
.style
.webkitWritingMode
='horizontal-tb';
16 document
.documentElement
.appendChild(div
);
17 window
.setTimeout("updateStyle()",0);
19 function updateStyle() {
20 document
.body
.style
.webkitWritingMode
='vertical-rl';
21 iframe
.style
.all
='unset';
22 document
.documentElement
.clientWidth
;
23 iframe
.style
.webkitMarginAfter
='22vmin';
24 if (window
.testRunner
)
25 testRunner
.notifyDone();