Hi Anne, On Mar 25, 2014, at 11:29 AM, Anne van Kesteren <ann...@annevk.nl> wrote:
> On Tue, Mar 25, 2014 at 3:53 AM, Rik Cabanier <caban...@gmail.com> wrote: >> It's defined as the "Path" object in the WhatWG spec [1] but after a long >> discussion and author feedback that name was considered too generic and >> renamed. > > Pointer? Almost none of the other <canvas>-related interfaces have a > suffix. Also, if there was agreement, why isn't the specification > updated? The main concern for most discussion participants was a name collision with JS libraries that introduce “Path” in the global space. In fact that happened for many authors with Paper.js. Just to name one example. The discussion about the name collision was brought up by Elliot Sprehn in September 2012[1]. Other threads started about the same topic and eventually most implementers agreed on Path2d in November 2013[2]. I can not say why the spec did not adapt to Path2d yet. It certainly was requested multiple times. Maybe Ian wanted to wait for two interoperable implementations to change. Now we have WebKit, Blink and Gecke (the latter two behind a runtime flag) that implement Path2d with the described subset from Rik. Greetings, Dirk [1] http://lists.w3.org/Archives/Public/public-whatwg-archive/2012Sep/0288.html [2] http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Nov/0204.html > > > -- > http://annevankesteren.nl/ _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform