linkjump-5.html 845 B

123456789101112131415161718192021222324
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  2. "http://www.w3.org/TR/html4/strict.dtd">
  3. <html lang="en">
  4. <head>
  5. </head>
  6. <body>
  7. <p><b>BUG ID:</b> <a href="rdar://problem/4256060">4256060</a> Link scrolling to last object on the page doesn't work if the link being scrolled to contains an empty inline</p>
  8. <p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b>
  9. Manually resize window to about 800 x 600. Click the link below.
  10. </p>
  11. <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
  12. Page should scroll to the bottom.</p>
  13. <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
  14. Page will not scroll to the bottom.
  15. </p>
  16. <a href="#ccc">Click me</a>
  17. <div style="border: 1px solid red; height: 800px"></div>
  18. <a name="ccc"><b></b></a>
  19. </body>
  20. </html>