Re: [whatwg] Hit regions and events

2014-03-05 Thread Robert O'Callahan
On Wed, Mar 5, 2014 at 5:11 PM, Rik Cabanier caban...@gmail.com wrote: On Tue, Mar 4, 2014 at 6:51 PM, Robert O'Callahan rob...@ocallahan.org wrote: The question remains: what should happen in Rik's example? More generally, is this event rerouting supposed to be able to trigger browser

Re: [whatwg] Hit regions and events

2014-03-05 Thread Rik Cabanier
On Wed, Mar 5, 2014 at 2:27 AM, Robert O'Callahan rob...@ocallahan.orgwrote: On Wed, Mar 5, 2014 at 5:11 PM, Rik Cabanier caban...@gmail.com wrote: On Tue, Mar 4, 2014 at 6:51 PM, Robert O'Callahan rob...@ocallahan.org wrote: The question remains: what should happen in Rik's example? More

[whatwg] new autocomplete= values for authentication forms (was Re: Autocomplete and autofill features and feedback thereon)

2014-03-05 Thread Edward O'Connor
Hi, Ian wrote, in 2012: This might fall under the broader class of identity-related fields, which I think merit their own carefully thought out set of tokens. There was some work done on the beginnings of such a specification -- see https://wiki.mozilla.org/Identity-inputs -- but my current

[whatwg] new constructor method for Path2D

2014-03-05 Thread Rik Cabanier
While implementing the Path2D object in mozilla, we ran into a performance issue. The mozilla implementation uses different backends for the canvas 2D context. Even within the same document, different canvas objects can be on top of different graphics libraries. For best performance, the Path2D

Re: [whatwg] new constructor method for Path2D

2014-03-05 Thread Ian Hickson
On Wed, 5 Mar 2014, Rik Cabanier wrote: To work around this, we could add a couple of constructor methods to the 2D context: Path2D createPath(); Creates a new empty Path object [...] This used to be how many Web APIs worked, but over the years we've received enormous volumes of

Re: [whatwg] new constructor method for Path2D

2014-03-05 Thread Jeff Muizelaar
On Mar 5, 2014, at 5:34 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 5 Mar 2014, Rik Cabanier wrote: To work around this, we could add a couple of constructor methods to the 2D context: Path2D createPath(); Creates a new empty Path object [...] This used to be how many Web APIs

Re: [whatwg] new constructor method for Path2D

2014-03-05 Thread Ian Hickson
On Wed, 5 Mar 2014, Jeff Muizelaar wrote: On Mar 5, 2014, at 5:34 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 5 Mar 2014, Rik Cabanier wrote: To work around this, we could add a couple of constructor methods to the 2D context: Path2D createPath(); Creates a new empty Path

Re: [whatwg] new constructor method for Path2D

2014-03-05 Thread Rik Cabanier
On Wed, Mar 5, 2014 at 2:43 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 5 Mar 2014, Jeff Muizelaar wrote: On Mar 5, 2014, at 5:34 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 5 Mar 2014, Rik Cabanier wrote: To work around this, we could add a couple of constructor methods to the

Re: [whatwg] [2D Canvas] Do canvases in documents without a browsing context need to be rendered?

2014-03-05 Thread Rik Cabanier
On Mon, Mar 3, 2014 at 9:57 AM, Justin Novosad ju...@google.com wrote: Hello whatwg, Say you create a new document using document.implementation.createHTMLDocument(), you get a document without a browsing context. This means that style and layout will never be calculated on the document.

Re: [whatwg] [2D Canvas] Do canvases in documents without a browsing context need to be rendered?

2014-03-05 Thread Boris Zbarsky
On 3/5/14 11:42 PM, Rik Cabanier wrote: Since this is such a small edge case, it seems reasonable to disallow the creation of a 2d context and throw an exception. Going through all the APIs and flagging them as suitable for a context-less environment is not really worth the effort. What

Re: [whatwg] [2D Canvas] Do canvases in documents without a browsing context need to be rendered?

2014-03-05 Thread Rik Cabanier
On Wed, Mar 5, 2014 at 8:48 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 3/5/14 11:42 PM, Rik Cabanier wrote: Since this is such a small edge case, it seems reasonable to disallow the creation of a 2d context and throw an exception. Going through all the APIs and flagging them as suitable