W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] [WF2] Readonly and default pseudoclass matching

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 29 Jul 2005 00:36:38 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0507290030200.4466@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 28 July 2005 17:36:38 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC