Closed Bug 311942 Opened 19 years ago Closed 6 years ago

SVG <image> should honor pointer-events="painted" on transparent areas

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bill, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1

images with pointer-events="painted" should not receive mouse clicks in
transparent areas.  Here is a reference:
http://www.w3.org/TR/SVG/interact.html#PointerEventsProperty

Reproducible: Always

Steps to Reproduce:
1.open link (http://p2pmud.com/testsvg.html)
2.click in transparent area of green brain
Actual Results:  
click alert appears

Expected Results:  
click alert should only appear when you click on a nontransparent area of the brain.

NOTE: visiblePanted modifies this behavior to honor the 'visibility' property of
the image
Assignee: nobody → general
Component: General → SVG
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.8 Branch
Here's an update of the link: http://p2pmud.com/quarantine/testsvg.html
Bill, the <svg> tag in that testcase is not in the SVG namespace, so it's completely ignored. The <image> tag is therefore the HTML <image> tag. In other words, your testcase actually doesn't include any SVG, despite appearances.
OS: Linux → All
Hardware: PC → All
Version: 1.8 Branch → Trunk
I have made a pure svg test case which demonstrates the error: http://p2pmud.com/quarantine/tst.xml
Not yet implemented. There is a XXX reminder in the nsSVGImageFrame.cpp code for it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: svg transparent images not honoring pointer-events="painted" setting → SVG <image> should honor pointer-events="painted" on transparent areas
Attached image Bill's testcase
(In reply to comment #4)
> Not yet implemented. There is a XXX reminder in the nsSVGImageFrame.cpp code
> for it.

For convenience, here's the link to that in the code: http://tinyurl.com/3nuyfg
Assignee: general → nobody
QA Contact: ian → general
An issue related to this bug is currently open in the spec issue tracker:

https://github.com/w3c/svgwg/issues/322
And per the latest update to https://github.com/w3c/svgwg/issues/322 we won't be doing this.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: