[whatwg] Session history and discarding of Documents

2013-07-29 Thread Andrew Oakley
As far as I can tell when the user agent discards a Document in the session history may change the contents of the history. This seems wrong to me because it makes non-deterministic visible to scripting. The scenario that I'm thinking of is: index has a frame that is navigated to:

Re: [whatwg] Proposal:Improve internationalization in the autocomplete attribute

2013-07-29 Thread Ian Hickson
On Thu, 27 Jun 2013, Lara Rennie wrote: Re the CEDEX: it is a postal-code like thing, but it can't go in the postal-code field, or formatting would be bizarre; as pointed out, it should go after the locality field. However, if it was entered in the locality field, certain systems may

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-29 Thread Rik Cabanier
On Wed, Jul 24, 2013 at 4:14 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 24 Jul 2013, Dominic Mazzoni wrote: I'm looking into implementing drawSystemFocusRing http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-drawsystemfocusring in

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-29 Thread Ian Hickson
On Mon, 29 Jul 2013, Rik Cabanier 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 drawCustomFocusRing() and if it returns true they draw it themselves (using

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Ian Hickson
On Mon, 14 Jan 2013, Jonas Sicking wrote: On Jan 8, 2013 1:47 AM, Ian Hickson i...@hixie.ch wrote: On Tue, 27 Nov 2012, Mikko Rantalainen wrote: Ian Hickson, 2012-11-22 07:15 (Europe/Helsinki): On Wed, 21 Nov 2012, Mounir Lamouri wrote: Then, maybe a better naming could be

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-29 Thread Rik Cabanier
On Mon, Jul 29, 2013 at 2:48 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 29 Jul 2013, Rik Cabanier 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

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Jonas Sicking
Ian, has *any* implementer expressed a preference for implementing a picker which allows selecting date+time+timezone? I.e. one that returns UTC dates? And can you point any other platforms that has such a UI widget. I have seen plenty of date and time pickers. But never one that also allowed

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Tab Atkins Jr.
On Mon, Jul 29, 2013 at 4:50 PM, Jonas Sicking jo...@sicking.cc wrote: Ian, has *any* implementer expressed a preference for implementing a picker which allows selecting date+time+timezone? I.e. one that returns UTC dates? The Gmail time-picker (when you indicate that you want to set

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-29 Thread Ian Hickson
On Mon, 29 Jul 2013, Rik Cabanier wrote: Does that mean it should be stroked along the path? That depends on the platform. Some platforms render the focus as a highlight, some as a dotted line around the exact path of the control, some as a box around the bounding box of the focused control,

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Silvia Pfeiffer
On Tue, Jul 30, 2013 at 9:59 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Mon, Jul 29, 2013 at 4:50 PM, Jonas Sicking jo...@sicking.cc wrote: Ian, has *any* implementer expressed a preference for implementing a picker which allows selecting date+time+timezone? I.e. one that returns UTC

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Ian Hickson
On Mon, 29 Jul 2013, Jonas Sicking wrote: Ian, has *any* implementer expressed a preference for implementing a picker which allows selecting date+time+timezone? I.e. one that returns UTC dates? Your i.e. is a non-sequitur. A control that has date+time+timezone in the UI and a control that

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Ian Hickson
On Tue, 30 Jul 2013, Silvia Pfeiffer wrote: I actually think we need to distinguish between local and floating time zones. When using datetime-local, I would actually expect that the browser picks the local timezone as the default time zone, so doesn't expose a timezone entry in the

Re: [whatwg] Session history and discarding of Documents

2013-07-29 Thread Ian Hickson
On Mon, 29 Jul 2013, Andrew Oakley wrote: As far as I can tell when the user agent discards a Document in the session history may change the contents of the history. This seems wrong to me because it makes non-deterministic visible to scripting. The scenario that I'm thinking of is:

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Silvia Pfeiffer
On Tue, Jul 30, 2013 at 10:43 AM, Ian Hickson i...@hixie.ch wrote: On Tue, 30 Jul 2013, Silvia Pfeiffer wrote: I actually think we need to distinguish between local and floating time zones. When using datetime-local, I would actually expect that the browser picks the local timezone as the

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Ian Hickson
On Tue, 30 Jul 2013, Silvia Pfeiffer wrote: On Tue, Jul 30, 2013 at 10:43 AM, Ian Hickson i...@hixie.ch wrote: On Tue, 30 Jul 2013, Silvia Pfeiffer wrote: I actually think we need to distinguish between local and floating time zones. When using datetime-local, I would actually expect

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-29 Thread Rik Cabanier
On Mon, Jul 29, 2013 at 5:26 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 29 Jul 2013, Rik Cabanier wrote: Does that mean it should be stroked along the path? That depends on the platform. Some platforms render the focus as a highlight, some as a dotted line around the exact path of the

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-29 Thread Dominic Mazzoni
On Mon, Jul 29, 2013 at 7:51 PM, Rik Cabanier caban...@gmail.com wrote: Why not the style of the element? If the child element has a class of 'button' and the CSS has button:focus { color:red; } Shouldn't the focus be in red? While I also think there should probably be some way to

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-29 Thread Rik Cabanier
On Mon, Jul 29, 2013 at 9:21 PM, Dominic Mazzoni dmazz...@google.comwrote: On Mon, Jul 29, 2013 at 7:51 PM, Rik Cabanier caban...@gmail.com wrote: Why not the style of the element? If the child element has a class of 'button' and the CSS has button:focus { color:red; } Shouldn't the