W3C home > Mailing lists > Public > www-style@w3.org > January 2005

Re: [CSS3] UI element states pseudo-classes

From: Henri Sivonen <hsivonen@iki.fi>
Date: Mon, 10 Jan 2005 23:08:37 +0200
Message-Id: <CBDB75A8-634B-11D9-9F3F-003065B8CF0E@iki.fi>
To: W3C Style List <www-style@w3.org>

On Jan 9, 2005, at 03:33, Laurens Holst wrote:

> Regarding 1), the 'checked' attribute on input tags is a source thing 
> to
> denote a preselected radio button or checkbox. Checking different boxes
> will not change the source code (just like entering text in an input
> field will not change its 'value' attribute). So input[checked] will 
> not
> apply to the currently checked input fields.

The source code is not changed, sure, but why isn't the state of form 
widgets guaranteed to be reflected in the DOM Core view of the document 
tree? As it stands, the DOM HTML interfaces are not merely convenience 
interfaces but can expose data not available through the Core 
interfaces when the UA does not change the attributes to reflect the 
form state.

-- 
Henri Sivonen
hsivonen@iki.fi
http://iki.fi/hsivonen/
Received on Monday, 10 January 2005 21:09:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:35 GMT