[whatwg] Can we make checkboxes readonly?
    Glenn Maynard 
    glenn at zewt.org
       
    Wed May  2 16:17:05 PDT 2012
    
    
  
On Wed, May 2, 2012 at 5:57 PM, Ian Hickson <ian at 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 of text that's easy to
copy-and-paste, without the selection spilling into adjacent text; you just
double-click the input, or focus it and hit ^A.  That isn't relevant for
checkboxes and radio buttons, of course.
-- 
Glenn Maynard
    
    
More information about the whatwg
mailing list