scrollbar-hittest.html   [plain text]

<html lang="en">
<p><b>BUG ID:</b> <a href=""></a> REGRESSION: cursor tracking and hit testing in scrollable block don't take borders into account</p>

<p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> <br>
1. Scroll down by clicking in the empty space below the scroll thumb.  <br>
2. Scroll up by clicking in the empty space above the scroll thumb.</p>

<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> 
Scroll thumb will move back up to the top.

<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>  
Scroll thumb will NOT move back up to the top.

    <div style="overflow: auto; height:300px; width:50px; border-bottom: solid red 50px; border-top: solid green 20px;">
        <div style="height:400px;"></div>