Closed Bug 576986 Opened 14 years ago Closed 14 years ago

pointer-events on foreignObject with ClipPath

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Jeremie, Assigned: longsonr)

References

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; Windows NT 5.1; en-US; rv:2.0b2pre) Gecko/20100704 Minefield/4.0b2pre Build Identifier: Mozilla/5.0 (Windows; Windows NT 5.1; en-US; rv:2.0b2pre) Gecko/20100704 Minefield/4.0b2pre When you apply a ClipPath to a foreignObject Element, the element is well clipped but the pointer events is captured over the clipped areas. As I know, the SVG specification said that it should not. (See http://www.w3.org/TR/SVG/interact.html#PointerEventsProperty) Reproducible: Always Steps to Reproduce: 1. Open the joined test case 2. click on the white part of the red squares Actual Results: A script alert is shown Expected Results: No script alert should be visible
Red square show the issue, Green square show how it works well with regular SVG elements.
Attached patch patchSplinter Review
Assignee: nobody → longsonr
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #456098 - Flags: review?(roc)
OS: Windows XP → All
Hardware: x86 → All
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Thanks for the testcase Jeremie. Very helpful.
Blocks: 580983
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: