Closed Bug 765679 Opened 13 years ago Closed 5 years ago

Fennec does not respect pointer-events

Categories

(Firefox for Android Graveyard :: General, defect)

14 Branch
All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: birtles, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached image Test case
Fennec does not appear to support the pointer-events property. In the attached test case there are two squares, a red and a blue. Over the top of the squares are two overlays (for hit testing purposes; typically the shape underneath would be something much more complex). The red overlay has a fill of none and pointer-events="all". The blue overlay has a fill but the shape has zero opacity. An event handler is attached to each overlay. Clicking either of the shapes should produce a pop-up indicating the color that was clicked. This works in desktop Firefox (v15) and other browsers (e.g. Safari). On Fennec 14 running on Android 4.0 HTC Sense 4.0 I don't get any response when pressing the red square, only the blue. It appears the pointer-events property is not respected. Or that's my best guess anyway. For reference, pointer-events comes from SVG but can now be used in CSS on HTML content as well.
This also doesn't seem to work in XUL Fennec, so no regression. Not sure why pointer-events are not working in this case.
Keywords: testcase

Worksforme.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: