[whatwg] [wf2] :read-write pseudoclass description issue

Ian Hickson ian at hixie.ch
Wed Feb 11 00:41:03 PST 2009


On Mon, 24 Sep 2007, Rikkert Koppes wrote:
>
> http://www.whatwg.org/specs/web-forms/current-work/#relation
> 
> :read-only
>    Matches form control elements that have the |readonly
>    <http://www.whatwg.org/specs/web-forms/current-work/#readonly>|
>    attribute set, and to which the |readonly
>    <http://www.whatwg.org/specs/web-forms/current-work/#readonly>|
>    attribute applies (thus radio buttons will never match this,
>    regardless of the value of the attribute), as well as elements
>    defined by this specification that are not form controls (namely
>    |form|, |label|, |datalist
>    <http://www.whatwg.org/specs/web-forms/current-work/#datalist>|,
>    |option|, |optgroup|, and |fieldset| elements). :read-write
>    Matches form control elements that do not have the |readonly
>    <http://www.whatwg.org/specs/web-forms/current-work/#readonly>|
>    attribute set (including |password
>    <http://www.whatwg.org/specs/web-forms/current-work/#password>|
>    controls, although technically they should be called "writeonly"),
>    or to which the attribute doesn't apply (such as radio buttons). A
>    disabled control can still match this pseudo-class; the states are
>    orthogonal.
> 
> I believe the term "orthogonal" is incorrect here. Following (the rest of) the
> text, it occurs to me these pseusoclasses are opposite (mutually exclusive),
> while orthogonal means, they can both apply, independent of eachother.

The new text doesn't mention this. Let me know if it's ok:

  http://www.whatwg.org/specs/web-apps/current-work/#matching-html-elements-using-selectors

Cheers,
-- 
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