On Tue, Jan 19, 2016 at 8:36 AM, Philip Jägenstedt <phi...@opera.com> wrote:On Fri, Jan 8, 2016 at 11:28 PM, Justin Novosad <ju...@chromium.org> wrote:On Fri, Jan 8, 2016 at 5:09 PM, Rick Byers <rby...@chromium.org> wrote:On Fri, Jan 8, 2016 at 11:15 AM, Justin Novosad <ju...@chromium.org> wrote:Hmm... the Blink implementation also adds the 'region' attribute to TouchEvent which is not in the W3C spec, and it also has the fillRule option.Can you point me to more details about the TouchEvent change? I quickly searched / skimmed the spec and current implementation in ToT, but I haven't yet found what you're referring to here.Yeah... you kinda need to know what to look for. The code is implemented as a partial interface in the canvas2D module:See also the EventHitRegion and MouseEventHitRegion classesThanks, I found the IDL files and from there the relevant spec sections:I see that the MouseEventInit extensions aren't in Blink, can you add that before shipping?Good catch! Filed a bug that is blocking the launch bug: crbug.com/579076
(The reason that TouchInit isn't extended is because Touch.prototype.region is defined (and implemented) to return a value based on the touch location, and not the value of an internal slot like MouseEvent.)
LGTM1 to ship!