Closed
Bug 975206
Opened 11 years ago
Closed 11 years ago
clip-path urls on SVG nodes without corresponding clipPath elements don't fire events
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: nross83, Assigned: longsonr)
Details
Attachments
(2 files, 1 obsolete file)
|
1.23 KB,
text/html
|
Details | |
|
2.75 KB,
patch
|
jwatt
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36
Steps to reproduce:
I created an SVG node with a clip-path url attribute that did not match a clipPath node. In my specific case, there was no clipPath element on the page. Here's a fiddle which demonstrates the problem:
http://jsfiddle.net/932Um/
Mousing over the black square should fire an event.
Actual results:
The SVG node with the clip-path url attribute did not fire any mouse events such as 'mouseover', 'mouseout', or 'click'.
Expected results:
The SVG node should still fire registered mouse events even if the clip-path url attribute is invalid. This is how WebKit handles it currently. It was difficult to figure out why events were not firing and required lots of troubleshooting before the solution was determined.
Updated•11 years ago
|
Component: Untriaged → SVG
Product: Firefox → Core
| Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → longsonr
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #8380145 -
Flags: review?(jwatt)
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8380145 -
Attachment is obsolete: true
Attachment #8380145 -
Flags: review?(jwatt)
Attachment #8380151 -
Flags: review?(jwatt)
Updated•11 years ago
|
Attachment #8380151 -
Flags: review?(jwatt) → review+
| Assignee | ||
Comment 3•11 years ago
|
||
Simplified the test so it runs more quickly. Code change is the same though.
https://tbpl.mozilla.org/?tree=Try&rev=d43facf0a553
| Assignee | ||
Comment 4•11 years ago
|
||
Flags: in-testsuite+
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•