|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
|
2 "http://www.w3.org/TR/html4/loose.dtd"> |
|
3 <html class="reftest-wait"> |
|
4 <head> |
|
5 |
|
6 <style> |
|
7 #cat { float: left; } |
|
8 #zebra { background: lightgreen; } |
|
9 #zebra:after { content: "a b c d e"; } |
|
10 #zebra:first-letter { display: none; } |
|
11 </style> |
|
12 |
|
13 <script> |
|
14 function boom1() |
|
15 { |
|
16 document.getElementById("cat").style.outline = "1px solid yellow"; |
|
17 setTimeout(boom2, 30); |
|
18 } |
|
19 |
|
20 function boom2() |
|
21 { |
|
22 document.getElementById("cat").style.overflow = "auto"; |
|
23 document.documentElement.removeAttribute("class") |
|
24 } |
|
25 </script> |
|
26 |
|
27 </head> |
|
28 |
|
29 <body onload="setTimeout(boom1, 30)" style="overflow: scroll"> |
|
30 <div id="zebra"><b id="cat">Cat</b></div> |
|
31 <div style="direction: rtl">This is an RTL div</div> |
|
32 </body> |
|
33 </html> |