Re: [whatwg] Can we make checkboxes readonly?

2012-05-04 Thread Charles Pritchard
On May 4, 2012, at 9:05 PM, "Tab Atkins Jr." wrote: > On Wed, May 2, 2012 at 3:57 PM, Ian Hickson wrote: >> On Wed, 6 Apr 2011, Tab Atkins Jr. wrote: >>> An app may dynamically set inputs or groups of inputs to readonly based >>> on app state. When you submit, though, it's impossible to tell (w

Re: [whatwg] Can we make checkboxes readonly?

2012-05-04 Thread Tab Atkins Jr.
On Wed, May 2, 2012 at 3:57 PM, Ian Hickson wrote: > On Wed, 6 Apr 2011, Tab Atkins Jr. wrote: >> An app may dynamically set inputs or groups of inputs to readonly based >> on app state.  When you submit, though, it's impossible to tell (without >> hacks) whether a checkbox was checked-but-disable

Re: [whatwg] [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

2012-05-04 Thread Tab Atkins Jr.
On Fri, May 4, 2012 at 3:26 PM, Ian Hickson wrote: > On Fri, 4 May 2012, Rafael Weinstein wrote: >> On Fri, May 4, 2012 at 2:46 PM, Ian Hickson wrote: >> > On Fri, 4 May 2012, Rafael Weinstein wrote: >> >> >> >> This is the current proposal: >> >> >> >> http://lists.w3.org/Archives/Public/public-

Re: [whatwg] Search-suggestions without scripting

2012-05-04 Thread Ian Hickson
On Sun, 14 Aug 2011, Timo Beermann wrote: > > The search-suggestions of search-fields as in Google or Wikipedia should > be able without scripting, only with HTML/CSS. Because some users > deactivate Scripting (for security or whatever other reason) and on > other computers (school, university,

Re: [whatwg] input type=barcode?

2012-05-04 Thread Jonas Sicking
On Fri, May 4, 2012 at 3:28 PM, Ian Hickson wrote: > On Fri, 5 Aug 2011, Jonas Sicking wrote: >> >> Something like could allow the >> browser to use a built-in barcode reader if it has one, or fire up a web >> app using webintents/webactivities which would use the camera to read >> the barcode. >

Re: [whatwg] input type=barcode?

2012-05-04 Thread Ian Hickson
On Wed, 3 Aug 2011, Mikko Rantalainen wrote: > > A form author expects user to enter some kind of code (e.g. driver id > number, bank transfer code, product serial for warranty etc.) that is > accompanied with a barcode on paper. The end user finds it hard to > manually type the code. > > Poss

Re: [whatwg] [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

2012-05-04 Thread Ian Hickson
On Fri, 4 May 2012, Rafael Weinstein wrote: > On Fri, May 4, 2012 at 2:46 PM, Ian Hickson wrote: > > On Fri, 4 May 2012, Rafael Weinstein wrote: > >> > >> This is the current proposal: > >> > >> http://lists.w3.org/Archives/Public/public-webapps/2012AprJun/0334.html > > > > I don't really understa

Re: [whatwg] [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

2012-05-04 Thread Ian Hickson
On Fri, 4 May 2012, Rafael Weinstein wrote: > > This is the current proposal: > > http://lists.w3.org/Archives/Public/public-webapps/2012AprJun/0334.html I don't really understand the proposal. How does it relate to the template feature? What does it do in the case of: var frag = document.

Re: [whatwg] Device proximity and light events

2012-05-04 Thread Doug Turner
Right, but they haven't been a real problem in practice. Doug On May 4, 2012, at 2:32 PM, JOSE MANUEL CANTERA FONSECA wrote: > but you have the same issue as with motion and orientation which is that you > cannot control the watch parameters for the sensor and the side effects of > addEventLis

Re: [whatwg] Device proximity and light events

2012-05-04 Thread JOSE MANUEL CANTERA FONSECA
but you have the same issue as with motion and orientation which is that you cannot control the watch parameters for the sensor and the side effects of addEventListener De: whatwg-boun...@lists.whatwg.org [whatwg-boun...@lists.whatwg.org] En nombre de Dou

[whatwg] Localisation of form fields

2012-05-04 Thread Ian Hickson
On Thu, 12 Jan 2012, Schalk Neethling wrote: > > Is there a way to specify the locale input type=daye should use or does > it simply use the current locale? If so, does it choose the server > locale or the user locale? It should use the user's locale for input (as determined by the user agent

Re: [whatwg] Device proximity and light events

2012-05-04 Thread Doug Turner
I looked at the Sensor API. I was hoping to have something very simple and lightweight. I most likely will implement other sensor types in the same way - simple dom events with attributes that are specific to the event. This is what we did for device motion and orientation, and it has worked

Re: [whatwg] Form element invalid message

2012-05-04 Thread Ian Hickson
On Thu, 28 Jul 2011, Ian Hickson wrote (I'm replying to myself here...): > On Fri, 29 Apr 2011, Jonas Sicking wrote: > > On Fri, Apr 29, 2011 at 3:42 PM, Ian Hickson wrote: > > > On Wed, 29 Dec 2010, Mounir Lamouri wrote: > > >> On 12/29/2010 07:41 AM, Ian Hickson wrote: > > >> >> > > >> >> I actu

[whatwg] password-related feedback on forms

2012-05-04 Thread Ian Hickson
On Thu, 16 Jun 2011, Sean Connelly wrote: > > Websites commonly need to store login information for users. Web > developers may naively store the password in non-secure ways > (plain-text, md5 with no salt, etc). It has become common for hacker > groups to target websites to get a data-dump o

Re: [whatwg] Device proximity and light events

2012-05-04 Thread Tran, Dzung D
Hello Doug, Proximity and Light is currently in the Sensor API spec at: http://dvcs.w3.org/hg/dap/raw-file/tip/sensor-api/Overview.html This spec is in process of revising. I am planning to update this in the next couple of days. Thanks Tran -Original Message- From: whatwg-boun...@l

[whatwg] Device proximity and light events

2012-05-04 Thread Doug Turner
I have added two new events to Firefox which allow web apps to detect light and proximity changes. http://dougturner.wordpress.com/2012/03/22/device-proximity-sensor/ http://dougturner.wordpress.com/2012/03/26/device-light-sensor/ I'd like feedback and to see if there was any interest in suppor

Re: [whatwg] classList should perhaps move from HTMLElement to Element

2012-05-04 Thread Erik Dahlstrom
On Thu, 03 May 2012 02:31:40 +0200, Cameron McCormack wrote: Rik Cabanier: There was a discussion in the SVG WG about dropping the SVGAnimatedxxx objects and have replace them with regular values. We would need some tricks so we can change the DOM, but make it backward compatible at the same