OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 /* relative positioning ensures underlying RenderLayer */ | 5 /* relative positioning ensures underlying Layer */ |
6 .container { | 6 .container { |
7 position: relative; | 7 position: relative; |
8 } | 8 } |
9 </style> | 9 </style> |
10 <script> | 10 <script> |
11 function log(message) | 11 function log(message) |
12 { | 12 { |
13 document.getElementById("console").innerHTML += (message + "\n"); | 13 document.getElementById("console").innerHTML += (message + "\n"); |
14 } | 14 } |
15 | 15 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 </script> | 61 </script> |
62 </head> | 62 </head> |
63 <body onload="test()"> | 63 <body onload="test()"> |
64 <div id="test"> | 64 <div id="test"> |
65 <div class="container" id="targetContainer"><div id="target"></div></div> | 65 <div class="container" id="targetContainer"><div id="target"></div></div> |
66 <div class="container" id="refContainer"><div><div><span>Hello,</span><span>cont
ent</span><span>World.</span></div></div></div> | 66 <div class="container" id="refContainer"><div><div><span>Hello,</span><span>cont
ent</span><span>World.</span></div></div></div> |
67 </div> | 67 </div> |
68 <pre id="console"></pre> | 68 <pre id="console"></pre> |
69 </body> | 69 </body> |
70 </html> | 70 </html> |
OLD | NEW |