[ABS POS] Scrollbar of iner div should not be considered as part of/belonging to the outer absolutely positioned div

RESOLVED WORKSFORME

Status

()

Core
DOM: Events
P4
normal
RESOLVED WORKSFORME
16 years ago
15 years ago

People

(Reporter: Gérard Talbot, Assigned: joki (gone))

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
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.
(Reporter)

Comment 1

16 years ago
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.

Comment 2

16 years ago
Confirmed using Windows 2000, Mozilla 1.1.
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

16 years ago
Priority: -- → P4
(Reporter)

Comment 3

15 years ago
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
(Reporter)

Comment 4

15 years ago
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.