W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2006

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

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 14 Aug 2006 09:37:29 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0608140937070.5340@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:28 UTC