| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta http-equiv="Content-Type" content="text/html; charset=gbk"/> | 4 <meta http-equiv="Content-Type" content="text/html; charset=gbk"/> |
| 5 <script src="../../../js-test-resources/js-test-pre.js"></script> | 5 <script src="../../../js-test-resources/js-test-pre.js"></script> |
| 6 <script> | 6 <script> |
| 7 function runTest() { | 7 function runTest() { |
| 8 description('Tests that loading a frame with a URL that contains a fragmen
t pointed at a named anchor actually scrolls to that anchor.'); | 8 description('Tests that loading a frame with a URL that contains a fragmen
t pointed at a named anchor actually scrolls to that anchor.'); |
| 9 | 9 |
| 10 // Check scroll position in a timeout to make sure that the anchor has | 10 // Check scroll position in a timeout to make sure that the anchor has |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 </head> | 29 </head> |
| 30 <body onload="runTest()"> | 30 <body onload="runTest()"> |
| 31 <p id="description"></p> | 31 <p id="description"></p> |
| 32 <div id="console"></div> | 32 <div id="console"></div> |
| 33 | 33 |
| 34 <div style="height: 2000px"> | 34 <div style="height: 2000px"> |
| 35 <!-- Spacer to make sure that the named anchor below requires scrolling --> | 35 <!-- Spacer to make sure that the named anchor below requires scrolling --> |
| 36 </div> | 36 </div> |
| 37 | 37 |
| 38 <a name="塯">This is an anchor point named as the Unicode equivalent of the
GBK sequence %a9g (test trailing low byte)</a>. | 38 <a name="塯">This is an anchor point named as the Unicode equivalent of the
GBK sequence %a9g (test trailing low byte)</a>. |
| 39 <script src="../../../js-test-resources/js-test-post.js"></script> | |
| 40 </body> | 39 </body> |
| 41 </html> | 40 </html> |
| OLD | NEW |