OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <body> | |
4 Webkit Bug 81265: Crash due to layer tree information not updated when moving ru
n-in children.<br /> | |
5 Test passes if it does not crash. | |
6 <style> | |
7 #test0 { | |
8 -webkit-perspective: 1; | |
9 } | |
10 #test1:nth-last-child(3n) { | |
11 -webkit-box-reflect: right; | |
12 display: run-in; | |
13 } | |
14 #test2 { | |
15 display: inline-table; | |
16 } | |
17 #test2:first-child { | |
18 -webkit-box-reflect: below; | |
19 } | |
20 </style> | |
21 <script> | |
22 if (window.testRunner) | |
23 testRunner.dumpAsText(); | |
24 | |
25 onload = function() | |
26 { | |
27 test0 = document.createElement('div'); | |
28 test0.setAttribute('id','test0'); | |
29 document.body.appendChild(test0); | |
30 test1 = document.createElement('b'); | |
31 test1.setAttribute('id','test1'); | |
32 document.body.appendChild(test1); | |
33 test2 = document.createElement('div'); | |
34 test2.setAttribute('id','test2'); | |
35 test1.appendChild(test2); | |
36 test3 = document.createElement('div'); | |
37 document.body.appendChild(test3); | |
38 document.body.insertBefore(document.createElement('div'), test3); | |
39 document.designMode = 'on'; | |
40 document.execCommand('selectall'); | |
41 document.execCommand('removeFormat'); | |
42 } | |
43 </script> | |
44 </body> | |
45 </html> | |
46 | |
OLD | NEW |