OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 | |
3 <style> | |
4 body { font: 16px/16px monospace; } | |
5 | |
6 .region { | |
7 border: 1px solid red; | |
8 padding: 2px; | |
9 width: 450px; | |
10 height: 40px; | |
11 } | |
12 | |
13 #region4 { | |
14 height: 308px; | |
15 } | |
16 | |
17 p { | |
18 margin: 0px; | |
19 } | |
20 | |
21 #container { | |
22 overflow: auto; | |
23 border: 3px solid blue; | |
24 width: 470px; | |
25 height: 250px; | |
26 padding: 30px; | |
27 } | |
28 | |
29 #inner_scroll { | |
30 height: 75px; | |
31 border: 2px solid green; | |
32 margin: 5px; | |
33 overflow: scroll; | |
34 padding: 5px; | |
35 } | |
36 </style> | |
37 | |
38 <script> | |
39 onload = function() { | |
40 if (window.eventSender) { | |
41 eventSender.mouseMoveTo(100, 300); | |
42 eventSender.continuousMouseScrollBy(0, -10000); | |
43 eventSender.mouseMoveTo(100, 100); | |
44 eventSender.continuousMouseScrollBy(0, -10000); | |
45 eventSender.mouseMoveTo(0, 0); | |
46 } | |
47 } | |
48 </script> | |
49 | |
50 <body> | |
51 <p><b>The text passes if everything can be scrolled normally using the mouse
wheel. Scrolling inside the green div should work until it reaches the end and
then the blue container should scroll.</b></p></br> | |
52 | |
53 <div id="container"> | |
54 <div class="region"> | |
55 <p>Assume that there is enough content in the flow to fill the regio
ns and the size of the </p> | |
56 </div> | |
57 <div class="region"> | |
58 <p style="margin-top: 1px">container is less than the size of region
s so that the container gets vertical scrollbar.</p> | |
59 </div> | |
60 <div class="region"> | |
61 <p style="margin-top: 1px">Case1. If the mouse cursor is over the fl
ow thread fragmented content inside a region,</p> | |
62 </div> | |
63 <div class="region" id="region4"> | |
64 <p style="margin-top: 1px">the user is unable to scroll the content
inside the container. Case2. However, if the mouse is outside the flow thread co
ntent but still inside the container, then the user is able to scroll the contai
ner content.</p> | |
65 <div id="inner_scroll"> | |
66 <p>Assume that there is enough content in the flow to fill the r
egions and the size of the container is less than the size of regions so that th
e container gets vertical scrollbar. Case1. If the mouse cursor is over the flow
thread fragmented content inside a region, the user is unable to scroll the con
tent inside the container. Case2. However, if the mouse is outside the flow thre
ad content but still inside the container, then the user is able to scroll the c
ontainer content. There *should be* a possibility to scroll the container conten
t even when the mouse cursor is over the flow thread content in regions. (Case1)
</p> | |
67 <p>Assume that there is enough content in the flow to fill the r
egions and the size of the container is less than the size of regions so that th
e container gets vertical scrollbar. Case1. If the mouse cursor is over the flow
thread fragmented content inside a region, the user is unable to scroll the con
tent inside the container. Case2. However, if the mouse is outside the flow thre
ad content but still inside the container, then the user is able to scroll the c
ontainer content. There *should be* a possibility to scroll the container conten
t even when the mouse cursor is over the flow thread content in regions. (Case1)
</p> | |
68 <p>Assume that there is enough content in the flow to fill the r
egions and the size of the container is less than the size of regions so that th
e container gets vertical scrollbar. Case1. If the mouse cursor is over the flow
thread fragmented content inside a region, the user is unable to scroll the con
tent inside the container. Case2. However, if the mouse is outside the flow thre
ad content but still inside the container, then the user is able to scroll the c
ontainer content. There *should be* a possibility to scroll the container conten
t even when the mouse cursor is over the flow thread content in regions. (Case1)
</p> | |
69 </div> | |
70 <p>Assume that there is enough content in the flow to fill the regio
ns and the size of the container is less than the size of regions so that the co
ntainer gets vertical scrollbar. Case1. If the mouse cursor is over the flow thr
ead fragmented content inside a region, the user is unable to scroll the content
inside the container. Case2.</p> | |
71 </div> | |
72 </div> | |
73 </body> | |
OLD | NEW |