Re: [svgwg] Remove un-implemented `pointer-events` "painted" rules for images

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>
&lt;myles> TOPIC: Remove un-implemented `pointer-events` "painted" rules for images<br>
&lt;myles> GitHub: https://github.com/w3c/svgwg/issues/322<br>
&lt;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>
&lt;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>
&lt;myles> krit: it's a good excuse.<br>
&lt;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>
&lt;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>
&lt;myles> AmeliaBR: I haven't looked at the PR, but it sounds good<br>
&lt;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