Closed
Bug 12231
Opened 25 years ago
Closed 25 years ago
[EVENTTARG] events going to wrong element: negative margins
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Core
DOM: UI Events & Focus Handling
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: dbaron, Assigned: joki)
Details
(Whiteboard: [TESTCASE])
Attachments
(1 file)
(deleted),
text/html
|
Details |
This is the first of two bugs I am filing on events going to the wrong
elements. Bug 1413 also deals with this problem (for floats), this one for
negative margins, and the next one for visibility: hidden. They are related,
but probably separate. There may be other existing bugs too...
DESCRIPTION: When two elements overlap because of negative margins, events are
going to the one that is covered. (I think) they should go to the one that is
visible.
STEPS TO REPRODUCE:
* Load attached testcase
* note that clicking in paragraph one causes an alert with a message that says
that you have clicked in paragraph one, and likewise for the area of paragraph
two that does not overlap with one
* click the area of paragraph two that covers part of one - i.e., near the
words "paragraph one".
ACTUAL RESULTS: The alert says: "You clicked on paragraph one."
EXPECTED RESULTS: The alert should say: "You clicked on paragraph two."
DOES NOT WORK CORRECTLY ON:
* Linux, apprunner, 1999-08-16-08-M9
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Updated•25 years ago
|
Whiteboard: [TESTCASE]
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M12
Reporter | ||
Updated•25 years ago
|
OS: Linux → All
Hardware: PC → All
Reporter | ||
Comment 2•25 years ago
|
||
ALSO DOES NOT WORK CORRECTLY ON:
* Windows, apprunner, 1999-08-24-09-M10
Marking All/All.
Assignee | ||
Updated•25 years ago
|
Target Milestone: M12 → M14
Assignee | ||
Comment 3•25 years ago
|
||
Cool bug but it'll have to wait a bit longer.
Reporter | ||
Updated•25 years ago
|
Summary: events going to wrong element: negative margins → [EVENTTARG]events going to wrong element: negative margins
Updated•25 years ago
|
Summary: [EVENTTARG]events going to wrong element: negative margins → [EVENTTARG] events going to wrong element: negative margins
Updated•25 years ago
|
Target Milestone: M14 → M16
Comment 4•25 years ago
|
||
Moving M16.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•25 years ago
|
||
Fixed.
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•