[svgwg] Issue: isPointInFill/isPointInStroke and display: none and other specifics marked as Agenda+

dirkschulze has just labeled an issue for https://github.com/w3c/svgwg as "Agenda+":

== isPointInFill/isPointInStroke and display: none and other specifics ==
WebKit (in nightly) and Blink return `false` always for:

`isPointInFill`
* if `display: none`
* (if `fill: none`) only on Blink
* the element is _not_ attached to the current document context

`isPointInStroke`
* if `display: none`
* if `stroke: none`
* the element is _not_ attached to the current document context

Both, webkit and blink, would not be able to compute `isPointIn*` for `display: none` or not-attached elements. This is an implementation detail that both engines can't easily work around. I believe Firefox has the same issue. CC @longsonr.

For `stroke: none` and `fill: none` there probably is no implementation issue. At least on WebKit. We just need to decide if `none` values on `stroke` or `fill` will have an effect for the 2 methods.

Spec text: https://svgwg.org/svg2-draft/types.html#InterfaceSVGGeometryElement
Test case: https://codepen.io/krit/pen/VxEbdp



See https://github.com/w3c/svgwg/issues/456

Received on Sunday, 11 November 2018 15:42:15 UTC