-1:000000000000 | 0:80fdd13f14d6 |
---|---|
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <script> | |
5 | |
6 function boom() | |
7 { | |
8 d.setAttribute('dir', "auto"); | |
9 c.setAttribute('dir', "auto"); | |
10 d.removeAttribute('dir'); | |
11 c.removeAttribute('dir'); | |
12 b.setAttribute('dir', "auto"); | |
13 } | |
14 | |
15 </script> | |
16 </head> | |
17 | |
18 <body onload="boom();"> | |
19 | |
20 <div id="a" dir="auto"><div id="b"><div id="c"><div id="d"></div></div></div></div> | |
21 | |
22 </body> | |
23 </html> |