Re: [whatwg] Stack trace in window.onerror

2013-07-26 Thread Ian Hickson
On Fri, 26 Jul 2013, James Greene wrote: > > My last name ends with an 'e' ('Greene' vs. 'Green'). Please correct > that when you get a chance. Thanks! Oops, my apologies. Fixed. > You had mentioned earlier that there is already a window 'error' event > that can be listened to via `window.add

[whatwg] Parser-related philosophy

2013-07-26 Thread Ian Hickson
(I think these e-mails have largely been overtaken by events, but I promised to reply to all substantive feedback, so here we go.) On Sat, 12 Jan 2013, Vipul S. Chawathe wrote: > > It's okay for authors who leave deploying content to publisher to stop > with looking at html appearance from brow

Re: [whatwg] Stack trace in window.onerror

2013-07-26 Thread James Greene
Ian — So Paul Irish pointed out to me that the spec has just been updated to include this: http://html5.org/tools/web-apps-tracker?from=8085&to=8086 Yay, that's awesome! :) *Two things:* * * *#1.* My last name ends with an 'e' ('Greene' vs. 'Green'). Please correct that when you get a cha

[whatwg] Proposal: Locale Preferences API

2013-07-26 Thread Marcos Caceres
tl;dr: Mozilla would like your feedback on the following proposal to extend HTML to expose the user's locale preferences - which would allow for more dynamic localization of content. To HTML, we would like to add a `navigator.languages` attribute and a `languageschange` event (and corresponding

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-26 Thread Ian Hickson
On Fri, 26 Jul 2013, Dominic Mazzoni wrote: > > On Fri, Jul 26, 2013 at 11:13 AM, Ian Hickson wrote: > > > > Well we can't use the CSS styles, because you might not have an > > element (e.g. if you're drawing in a worker). > > I'm not quite sure what you mean - doesn't drawSystemFocusRing requi

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-26 Thread Dominic Mazzoni
On Fri, Jul 26, 2013 at 11:13 AM, Ian Hickson wrote: > Well we can't use the CSS styles, because you might not have an element > (e.g. if you're drawing in a worker). I'm not quite sure what you mean - doesn't drawSystemFocusRing require an element as a parameter (so that it only draws if the e

Re: [whatwg] HTML: A DOM attribute that returns the language of a node

2013-07-26 Thread Ian Hickson
On Wed, 24 Jul 2013, Ryosuke Niwa wrote: > On Jul 16, 2013, at 11:25 AM, Ian Hickson wrote: > > On Tue, 16 Jul 2013, Takayoshi Kochi (河内 隆仁) wrote: > >> > >> IIUC WebKit uses internally node's language to determine which font > >> to use to render text, e.g for Han unification > >> (https://en.

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-26 Thread Ian Hickson
On Wed, 24 Jul 2013, Dominic Mazzoni wrote: > On Wed, Jul 24, 2013 at 4:14 PM, Ian Hickson wrote: > > > > The idea is it's supposed to be the system style (hence the name of > > the method, draw _system_ focus ring), and that if the authors wants a > > special style, they use drawCustomFocusRin

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-07-26 Thread Glenn Maynard
On Fri, Jul 26, 2013 at 11:24 AM, Rik Cabanier wrote: > - First, add the inner and/or outer stroke modes. This seems useful in >> and of itself, but the purpose here is to make it so integer coordinates >> give hard edges, whether or not you have a 1px stroke. >> > > I'm unsure why this is a req

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-07-26 Thread Rik Cabanier
On Fri, Jul 26, 2013 at 7:45 AM, Glenn Maynard wrote: > On Thu, Jul 25, 2013 at 10:29 PM, Rik Cabanier wrote: > >> We're getting a bit off track here :-) >> > > We're figuring out an unclear use case. That's as on-track as it gets. :) > > >> No, you need to scale, otherwise the content of your

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-07-26 Thread Glenn Maynard
On Thu, Jul 25, 2013 at 10:29 PM, Rik Cabanier wrote: > We're getting a bit off track here :-) > We're figuring out an unclear use case. That's as on-track as it gets. :) > No, you need to scale, otherwise the content of your canvas won't scale > up. > For instance, if you have a 100x100 dev