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

Rikkert Koppes rikkert at finalist.com
Mon Sep 24 05:15:07 PDT 2007


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.

Proposal: exchange "orthogonal" with "mutually exclusive", unless I 
completely misunderstood

Regards,
Rikkert Koppes



More information about the whatwg mailing list