- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Mon, 12 Nov 2018 21:23:44 +0000
- To: public-svg-issues@w3.org
The SVG Working Group just discussed ``Remove un-implemented `pointer-events` "painted" rules for images``, and agreed to the following: * `RESOLVED: Image pixel data isn't used for hit testing` <details><summary>The full IRC log of that discussion</summary> <myles> TOPIC: Remove un-implemented `pointer-events` "painted" rules for images<br> <myles> GitHub: https://github.com/w3c/svgwg/issues/322<br> <myles> krit: This is about the part of pointer events for raster images. I don't know why it's specific to raster images. ANyway, the spec says you look at the pixels inside the raster image and check the transparency. If the pixel is transparent, it isn't considered in the image for pointer events. Suggestion: Drop this requirement because it's not implemented anywhere<br> <myles> AmeliaBR: It's not implemented anywhere, that's the deciding factor. The reason it's not implemented is because of security concerns, not wanting script to be able to access the pixel data of an image that might be cross origin.<br> <myles> krit: it's a good excuse.<br> <myles> AmeliaBR: The main thing it comes down to: It's not implemented, it's not consistent with HTML, and I can't see anyone out there relying on it because there aren't really any other interactive implementations other than browsers<br> <myles> krit: Proposal: Just rely on the bounding box of the element. I made a pull request to just remove the spec text about transparent pixels<br> <myles> AmeliaBR: I haven't looked at the PR, but it sounds good<br> <myles> RESOLVED: Image pixel data isn't used for hit testing<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/svgwg/issues/322#issuecomment-438033299 using your GitHub account
Received on Monday, 12 November 2018 21:23:45 UTC