[whatwg] [WF2] Readonly and default pseudoclass matching

Boris Zbarsky bzbarsky at mit.edu
Thu Jul 28 13:52:06 PDT 2005


Ian Hickson wrote:
>> Further, it would make sense to me if a disabled form control matched 
>> :readonly (since it _is_ readonly; it doesn't so much matter how it got 
>> there, imo).  So for example a disabled radio button would match 
>> readonly...
> 
> :disabled/:enabled is orthogonal to :read-only/:read-write.

I realize that, but it still seems to me that a disabled control also becomes 
read-only... is there a reason for that not to match :read-only?

-Boris



More information about the whatwg mailing list