|
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> |
|
2 <head> |
|
3 |
|
4 <style type="text/css"> |
|
5 .pad { padding: 3ch; } |
|
6 .fl:first-letter { } |
|
7 </style> |
|
8 |
|
9 |
|
10 <style id="s" type="text/css"></style> |
|
11 |
|
12 <script type="text/javascript"> |
|
13 |
|
14 function boom() |
|
15 { |
|
16 document.getElementById("td").nextSibling.splitText(11); |
|
17 document.getElementById("td").style.padding = "11px"; |
|
18 |
|
19 setTimeout(boom2, 10); |
|
20 } |
|
21 |
|
22 function boom2() |
|
23 { |
|
24 document.body.style.counterReset = "chicken"; |
|
25 |
|
26 setTimeout(boom3, 10); |
|
27 } |
|
28 |
|
29 function boom3() |
|
30 { |
|
31 document.getElementById("s").textContent = "#xxx { }"; |
|
32 |
|
33 setTimeout(boom4, 10); |
|
34 } |
|
35 |
|
36 function boom4() |
|
37 { |
|
38 document.getElementById("td").style.padding = ""; |
|
39 setTimeout(boom5, 10); |
|
40 } |
|
41 |
|
42 function boom5() |
|
43 { |
|
44 document.documentElement.removeAttribute("class"); |
|
45 } |
|
46 |
|
47 </script> |
|
48 </head> |
|
49 |
|
50 <body style="width: 10em;" dir="rtl" onload="boom();"> |
|
51 |
|
52 <div class="pad fl"><span><td class="pad fl" id="td"><span>abcd</span></td>ghi jklmnop 2 qrs tuvwxy</span></div> |
|
53 |
|
54 </body> |
|
55 </html> |