Closed Bug 349999 Opened 20 years ago Closed 20 years ago

pointer-events attribute doesn't work correctly

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 347374

People

(Reporter: jwatt, Unassigned)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file)

We don't behave correctly for some values of pointer-events. The spec says that for: fill: "The values of the 'fill' and 'visibility' properties do not effect event processing." stroke: "The values of the 'stroke' and 'visibility' properties do not effect event processing." all: "The values of the 'fill', 'stroke' and 'visibility' properties do not effect event processing." So if we have <rect fill="none" pointer-events="fill"/> we should get the same result as for <rect fill-opacity="0" pointer-events="fill"/>. I.e. the area that would be painted if there was a fill should catch pointer events. Currently this is not the case.
Attached image testcase —
This works correctly in FF1.5, so we regressed somewhere.
Keywords: regression, testcase
*** This bug has been marked as a duplicate of 347374 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: