Re: [whatwg] Can we make checkboxes readonly?

2012-07-11 Thread Markus Ernst
Am 11.07.2012 00:59 schrieb Ian Hickson: On Fri, 4 May 2012, Tab Atkins Jr. wrote: On Wed, May 2, 2012 at 3:57 PM, Ian Hicksoni...@hixie.ch 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,

Re: [whatwg] Can we make checkboxes readonly?

2012-07-11 Thread Ian Hickson
On Wed, 11 Jul 2012, Markus Ernst wrote: Am 11.07.2012 00:59 schrieb Ian Hickson: On Fri, 4 May 2012, Tab Atkins Jr. wrote: On Wed, May 2, 2012 at 3:57 PM, Ian Hicksoni...@hixie.ch wrote: On Wed, 6 Apr 2011, Tab Atkins Jr. wrote: An app may dynamically set inputs or groups of

Re: [whatwg] Can we make checkboxes readonly?

2012-07-10 Thread Ian Hickson
On Thu, 3 May 2012, Shaun Moss wrote: An obvious use case for readonly checkboxes came up a few weeks ago when I made this page: http://marssociety.org.au/membership The checklist at the bottom I could have made more simply/cheaply with readonly checkboxes. However I had to use images.

Re: [whatwg] Can we make checkboxes readonly?

2012-05-05 Thread Charles Pritchard
On May 4, 2012, at 9:05 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, May 2, 2012 at 3:57 PM, Ian Hickson i...@hixie.ch 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,

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 i...@hixie.ch 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

Re: [whatwg] Can we make checkboxes readonly?

2012-05-02 Thread Ian Hickson
On Wed, 6 Apr 2011, Tab Atkins Jr. wrote: Currently, the spec disallows checkboxes from being made readonly. Is there some good reason for this? If not, can we change it? Checkboxes being readonly would be useful for the same reasons that text inputs being readonly is. Radio buttons

Re: [whatwg] Can we make checkboxes readonly?

2012-05-02 Thread Glenn Maynard
On Wed, May 2, 2012 at 5:57 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 6 Apr 2011, Jonas Sicking wrote: What are the use cases for readonly on input type=text? I would imagine the use cases for checkbox isn't very different. (year+13mon) It's useful if you want to have an isolated block

Re: [whatwg] Can we make checkboxes readonly?

2011-05-02 Thread Maciej Stachowiak
On Apr 6, 2011, at 3:46 PM, Tab Atkins Jr. wrote: On Wed, Apr 6, 2011 at 3:39 PM, Lachlan Hunt lachlan.h...@lachy.id.au wrote: On 2011-04-07 00:28, Tab Atkins Jr. wrote: On Wed, Apr 6, 2011 at 3:12 PM, Lachlan Huntlachlan.h...@lachy.id.au wrote: What's wrong with using disabled?

Re: [whatwg] Can we make checkboxes readonly?

2011-04-07 Thread Alexandre Morgaut
What are the use cases for readonly oninput type=text? The primary one I've seen is to have a non-editable text input that the user can still select-and-copy from. Well... span could be enough for this use case ;-) Alexandre Morgaut Product Manager 4D SAS 60, rue d'Alsace 92110 Clichy

Re: [whatwg] Can we make checkboxes readonly?

2011-04-07 Thread Biju
On Thu, Apr 7, 2011 at 3:25 AM, Alexandre Morgaut alexandre.morg...@4d.com wrote: What are the use cases for readonly oninput type=text? The primary one I've seen is to have a non-editable text input that the user can still select-and-copy from. Well... span could be enough for this use

Re: [whatwg] Can we make checkboxes readonly?

2011-04-07 Thread Jesper Gustin
Den 2011-04-06 22:45:36 skrev Tab Atkins Jr. jackalm...@gmail.com: Currently, the spec disallows checkboxes from being made readonly. Is there some good reason for this? If not, can we change it? Checkboxes being readonly would be useful for the same reasons that text inputs being readonly

Re: [whatwg] Can we make checkboxes readonly?

2011-04-07 Thread Randy
@lists.whatwg.orgDate: Thu, 07 Apr 2011 00:39:04 To: Tab Atkins Jr.jackalm...@gmail.com Cc: WHATWG Listwha...@whatwg.org Subject: Re: [whatwg] Can we make checkboxes readonly? On 2011-04-07 00:28, Tab Atkins Jr. wrote: On Wed, Apr 6, 2011 at 3:12 PM, Lachlan Huntlachlan.h...@lachy.id.au wrote: What's

Re: [whatwg] Can we make checkboxes readonly?

2011-04-07 Thread David McMurray
On 6 April 2011 23:39, Lachlan Hunt lachlan.h...@lachy.id.au wrote: On 2011-04-07 00:28, Tab Atkins Jr. wrote: On Wed, Apr 6, 2011 at 3:12 PM, Lachlan Huntlachlan.h...@lachy.id.au wrote: What's wrong with using disabled? input type=checkbox disabled input type=checkbox disabled checked

[whatwg] Can we make checkboxes readonly?

2011-04-06 Thread Tab Atkins Jr.
Currently, the spec disallows checkboxes from being made readonly. Is there some good reason for this? If not, can we change it? Checkboxes being readonly would be useful for the same reasons that text inputs being readonly is. Radio buttons can't be readonly either, but they have the obvious

Re: [whatwg] Can we make checkboxes readonly?

2011-04-06 Thread Peter Kasting
On Wed, Apr 6, 2011 at 1:45 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Checkboxes being readonly would be useful for the same reasons that text inputs being readonly is. As someone who spends a lot of time writing native UIs, I agree. It's useful to be able to dim out a checkbox that no

Re: [whatwg] Can we make checkboxes readonly?

2011-04-06 Thread Lachlan Hunt
On 2011-04-06 22:45, Tab Atkins Jr. wrote: Currently, the spec disallows checkboxes from being made readonly. Is there some good reason for this? If not, can we change it? Checkboxes being readonly would be useful for the same reasons that text inputs being readonly is. What's wrong with

Re: [whatwg] Can we make checkboxes readonly?

2011-04-06 Thread Tab Atkins Jr.
On Wed, Apr 6, 2011 at 3:12 PM, Lachlan Hunt lachlan.h...@lachy.id.au wrote: On 2011-04-06 22:45, Tab Atkins Jr. wrote: Currently, the spec disallows checkboxes from being made readonly.  Is there some good reason for this?  If not, can we change it? Checkboxes being readonly would be useful

Re: [whatwg] Can we make checkboxes readonly?

2011-04-06 Thread Lachlan Hunt
On 2011-04-07 00:28, Tab Atkins Jr. wrote: On Wed, Apr 6, 2011 at 3:12 PM, Lachlan Huntlachlan.h...@lachy.id.au wrote: What's wrong with using disabled? input type=checkbox disabled input type=checkbox disabled checked Disabled elements don't participate in form submission. That's true,

Re: [whatwg] Can we make checkboxes readonly?

2011-04-06 Thread Jonas Sicking
On Wed, Apr 6, 2011 at 3:28 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, Apr 6, 2011 at 3:12 PM, Lachlan Hunt lachlan.h...@lachy.id.au wrote: On 2011-04-06 22:45, Tab Atkins Jr. wrote: Currently, the spec disallows checkboxes from being made readonly.  Is there some good reason for

Re: [whatwg] Can we make checkboxes readonly?

2011-04-06 Thread Jonas Sicking
On Wed, Apr 6, 2011 at 3:39 PM, Lachlan Hunt lachlan.h...@lachy.id.au wrote: On 2011-04-07 00:28, Tab Atkins Jr. wrote: On Wed, Apr 6, 2011 at 3:12 PM, Lachlan Huntlachlan.h...@lachy.id.au  wrote: What's wrong with using disabled? input type=checkbox disabled input type=checkbox disabled

Re: [whatwg] Can we make checkboxes readonly?

2011-04-06 Thread Tab Atkins Jr.
On Wed, Apr 6, 2011 at 3:39 PM, Lachlan Hunt lachlan.h...@lachy.id.au wrote: On 2011-04-07 00:28, Tab Atkins Jr. wrote: On Wed, Apr 6, 2011 at 3:12 PM, Lachlan Huntlachlan.h...@lachy.id.au  wrote: What's wrong with using disabled? input type=checkbox disabled input type=checkbox disabled

Re: [whatwg] Can we make checkboxes readonly?

2011-04-06 Thread Boris Zbarsky
On 4/6/11 3:43 PM, Jonas Sicking wrote: What are the use cases for readonly oninput type=text? The primary one I've seen is to have a non-editable text input that the user can still select-and-copy from. -Boris