OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <div style="display: -webkit-inline-box"> | 4 <div style="display: -webkit-inline-box"> |
5 <div id="start" style="display: -webkit-inline-box"> | 5 <div id="start" style="display: -webkit-inline-box"> |
6 <i> | 6 <i> |
7 <div style="display: run-in; height: 1px"></div> | 7 <div style="display: run-in; height: 1px"></div> |
8 <span id="span1" style="width: 1px">A</span> | 8 <span id="span1" style="width: 1px">A</span> |
9 </i> | 9 </i> |
10 </div> | 10 </div> |
11 <i>B</i> | 11 <i>B</i> |
12 </div> | 12 </div> |
13 <script> | 13 <script> |
14 if (window.layoutTestController) | 14 if (window.layoutTestController) |
15 layoutTestController.dumpAsText(); | 15 layoutTestController.dumpAsText(); |
16 | 16 |
17 document.body.offsetTop; | 17 document.body.offsetTop; |
18 document.designMode = 'on'; | 18 document.designMode = 'on'; |
19 document.execCommand('selectall'); | 19 document.execCommand('selectall'); |
20 document.body.offsetTop; | 20 document.body.offsetTop; |
21 span1.style.display = 'block'; | 21 span1.style.display = 'block'; |
22 | 22 |
23 document.body.offsetTop; | 23 document.body.offsetTop; |
24 document.body.innerHTML = "PASS. WebKit didn't crash."; | 24 document.body.innerHTML = "PASS. WebKit didn't crash."; |
25 </script> | 25 </script> |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |