The vertical scrollbar of an inner div is considered as part of the absolutely positioned outer div. At least, this is what an event listener on the event mousemove returns when identifying the target element. The expected behavior is that scrollbar should be considered as part of the element which generate scrollbar, as part of the element which has overflow:auto or overflow:scroll. This wrong behavior happens only when the capture boolean flag (of the event listener method) is true, when the event is captured when trickling down, not when it's bubbling upward. Windows XP Pro SP1, build 2002101015. A self-explanatory test case follows.
Created attachment 102716 [details] self-explanatory testcase When the event listener is on the capture mode, the bug can be seen. When the event listener is on the bubble mode, there is no bug.
Confirmed using Windows 2000, Mozilla 1.1.
Status: UNCONFIRMED → NEW
Ever confirmed: true
FWIW, when viewing the testcase with build Gecko/20030623 (1.4RC2) under XP Pro SP1, the behavior is correct. So it WFM.
Summary: [ABS POS] Scrollbar of inner div should not be considered as part of/belonging to the outer absolutely positioned div → [ABS POS] Scrollbar of iner div should not be considered as part of/belonging to the outer absolutely positioned div
The testcase WFM with Mozilla 1.6beta (build 2003120808). I'm RESOLVING as WORKSFORME.
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.