- From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
- Date: Fri, 09 Nov 2018 19:49:07 +0000
- To: public-svg-issues@w3.org
dirkschulze has just labeled an issue for https://github.com/w3c/svgwg as "Agenda+": == Remove un-implemented `pointer-events` "painted" rules for images == The [`pointer-events` definition](https://www.w3.org/TR/SVG2/interact.html#PointerEventsProp) contains detailed rules for "raster images" (presumably, any image embedded with `<image>`). A key feature is that an image should only be considered "painted" in areas where it doesn't have full transparency. There are two problems with this: - it provides access to per-pixel image data without any requirements for cross-origin security restrictions - none of the browser engines (as far as I can tell) implements it this way Based on my testing ([CodePen demo](https://codepen.io/AmeliaBR/pen/qjEKXe?editors=1100)) browsers treat an `<image>` element with transparent regions as interactive over its full rectangular dimensions, regardless of whether the image is same or cross-origin. See https://github.com/w3c/svgwg/issues/322
Received on Friday, 9 November 2018 19:49:08 UTC