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="http://bugs.webkit.org/show_bug.cgi?id=5829">http://bugs.webkit.org/show_bug.cgi?id=5829</a> REGRESSION: cursor tracking and hit testing in scrollable block don't take borders into account</p> 8 9 <p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> <br> 10 1. Scroll down by clicking in the empty space below the scroll thumb. <br> 11 2. Scroll up by clicking in the empty space above the scroll thumb.</p> 12 13 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> 14 Scroll thumb will move back up to the top. 15 </p> 16 17 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> 18 Scroll thumb will NOT move back up to the top. 19 </p> 20 21 <div style="overflow: auto; height:300px; width:50px; border-bottom: solid red 50px; border-top: solid green 20px;"> 22 <div style="height:400px;"></div> 23 </div> 24 25 </body> 26 </html> 27