W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: What is a "state"?

From: Dão Gottwald <dao@design-noir.de>
Date: Sun, 01 Jul 2007 22:08:15 +0200
Message-ID: <468809AF.6090504@design-noir.de>
To: Henri Sivonen <hsivonen@iki.fi>, "public-html@w3.org" <public-html@w3.org>

Henri Sivonen schrieb:
> On Jun 15, 2007, at 04:11, Ben Boyle wrote:
>> If so... The concept of default values goes way back into DTDs (and I
>> suspect SGML). It's pretty standard practice to define defaults when
>> defining a language I think. It's expected.
> HTML5 does not do SGML-style attribute defaulting because real browsers 
> don't do it. That is, if you examine the DOM with the DOM Core methods, 
> you don't get spec-defined default value when an attribute is absent or 
> has an unrecognized value.


> The default state says what state the UA is required to assume when the 
> attribute is absent or has an unrecognized value. This does not change 
> the value in the DOM.

It doesn't change the attribute, but it does change the corresponding
DOM property which is also defined by the spec; it represents the
"state" in all circumstances.

Received on Monday, 2 July 2007 15:51:24 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:23 UTC