[whatwg] [wf2] "required" attribute and pseudo-classes

On Sat, 21 Jan 2006, Anne van Kesteren wrote:
>
> In <http://whatwg.org/specs/web-forms/current-work/#relation> I think the text
> on :required and :optional should be clarified so that it is clear that these
> pseudo-classes only apply to elements to which the "required" attribute
> applies.
> 
> It is actually more or less clear. Just not the location I expected it 
> to be. This is probably because the section is not really consistent in 
> defining the pseudo-classes. For example, :read-only mentions this 
> explicit: "Matches form control elements that have the readonly 
> attribute set, and to which the readonly attribute applies[.]" :required 
> does not: "Matches form control elements that have the required 
> attribute set." It depends on a statement made later: "When the 
> definitions above refer to elements that have an attribute set on them, 
> they do not refer to elements on which that attribute is defined not to 
> apply."

I added the text to :required/:optional anyway, so it's now there twice.

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

Received on Monday, 14 August 2006 02:37:29 UTC