On 2/24/2014 4:05 PM, Rik Cabanier wrote:
>
>
>
> On Mon, Feb 24, 2014 at 3:45 PM, Dominic Mazzoni <dmazzoni@google.com
> <mailto:dmazzoni@google.com>> wrote:
>
> Wait, to clarify, addHitRegion would not actually provide hit testing?
>
> Is the idea that it'd be added in the next spec revision? It seems
> odd to do this, the feature would ship in a way that doesn't
> really match the original intent of the spec.
>
> I thought Mozilla already implemented some of the actual hit
> testing features.
>
>
> No,
> the only part that is implemented is that you associate a region with
> a fallback element.
> We plan to add real hit testing to the mozilla implementation but were
> contemplating of leaving this out of the spec for now.
>
Was there any feedback on the implementation approach?
A naive implementation simply being a stack of regions which use
isPointInPath?
Seemed like there are some quadtree/other styles that would improve
performance, but in typical use, it's not all that important.