[whatwg] [WF2] Readonly and default pseudoclass matching

Ian Hickson ian at hixie.ch
Thu Jul 28 17:36:38 PDT 2005


On Thu, 28 Jul 2005, Boris Zbarsky wrote:
> >
> > Why would you want the borders to change?
> 
> That's a good question, but on the other hand why would you want a 
> disabled readonly field to ever look different from a disabled 
> read-write field?  From the user's point of view they're the same.

The case I gave is in fact what you see in Windows today.


> > It seems much more useful to treat them independently, otherwise when 
> > you disable something you can no longer style it based on what it 
> > would act as if it is was enabled.
> 
> Right.  What are the use cases for that, though?

Well, properties sheets in Windows have that kind of UI, for instance. But 
even if that was not the case, what is the use case for _not_ doing this? 
It seems like it would be better to make this useful rather than not 
useful.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list