Re: [CSS3] UI element states pseudo-classes

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 UTC