Html程序  |  25行  |  845 B

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
</head>
<body>
<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>

<p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> 
Manually resize window to about 800 x 600. Click the link below.
</p>

<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> 
Page should scroll to the bottom.</p>

<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>  
Page will not scroll to the bottom.
</p>

<a href="#ccc">Click me</a>
<div style="border: 1px solid red; height: 800px"></div>
<a name="ccc"><b></b></a>
</body>
</html>