|
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> |
|
2 <head> |
|
3 |
|
4 <bindings xmlns="http://www.mozilla.org/xbl"><binding id="empty"><content></content></binding></bindings> |
|
5 |
|
6 <style> |
|
7 |
|
8 .bef:before { content: counter(c); } |
|
9 |
|
10 .fl:first-letter { } |
|
11 |
|
12 </style> |
|
13 |
|
14 <script> |
|
15 |
|
16 var xblize, div; |
|
17 |
|
18 function boom() |
|
19 { |
|
20 xblize = document.getElementById("xblize"); |
|
21 div = document.getElementById("div"); |
|
22 |
|
23 xblize.style.MozBinding = "url('#empty')"; |
|
24 |
|
25 // Give the XBL extra time to settle |
|
26 setTimeout(boom2, 200); |
|
27 } |
|
28 |
|
29 function boom2() |
|
30 { |
|
31 div.removeChild(xblize); |
|
32 div.appendChild(xblize); |
|
33 |
|
34 document.documentElement.removeAttribute("class"); |
|
35 } |
|
36 |
|
37 </script> |
|
38 </head> |
|
39 |
|
40 <body onload="boom();"> |
|
41 |
|
42 <div class="fl" id="div"><span class="bef" id="xblize"></span><span class="bef"></span></div> |
|
43 |
|
44 </body> |
|
45 </html> |