OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <style> | 4 <style> |
5 .class1 { position: relative; } | 5 .class1 { position: relative; } |
6 .class2 { position: absolute; } | 6 .class2 { position: absolute; } |
7 </style> | 7 </style> |
8 <script> | 8 <script> |
9 window.onload = function() { | 9 window.onload = function() { |
10 document.designMode="on"; | 10 document.designMode="on"; |
11 document.execCommand("SelectAll"); | 11 document.execCommand("SelectAll"); |
12 document.execCommand("Strikethrough"); | 12 document.execCommand("Strikethrough"); |
13 document.body.offsetTop; | 13 document.body.offsetTop; |
14 document.body.innerHTML = "PASS. WebKit didn't crash."; | 14 document.body.innerHTML = "PASS. WebKit didn't crash."; |
15 | 15 |
16 if (window.layoutTestController) | 16 if (window.layoutTestController) |
17 layoutTestController.dumpAsText(); | 17 layoutTestController.dumpAsText(); |
18 } | 18 } |
19 </script> | 19 </script> |
20 <i class="class1"> | 20 <i class="class1"> |
21 <span class="class2"></span> | 21 <span class="class2"></span> |
22 <div> | 22 <div> |
23 <xmp class="class2"> | 23 <xmp class="class2"> |
24 A | 24 A |
25 </xmp> | 25 </xmp> |
26 </div> | 26 </div> |
27 </i> | 27 </i> |
28 </body> | 28 </body> |
29 </html> | 29 </html> |
OLD | NEW |