W3C home > Mailing lists > Public > public-html@w3.org > May 2008

Re: Reflecting attributes: float, DOMTimeStamp (detailed review of the DOM)

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 12 May 2008 09:30:08 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: public-html <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0805120907540.22257@hixie.dreamhostps.com>

On Mon, 16 Jul 2007, Simon Pieters wrote:
> 
> The spec says in reflecting attributes: [...]
> 
> I can't see any attributes that are of type float and are defined to 
> contain a time offset.

All attributes defined to contain a time offset are reflected in 
attributes of type float, namely the media.start, .end, etc, attributes.


> The attributes that contain a time offset are DOMTimeStamp, AFAICT. 
> Shouldn't the above paragraph talk about DOMTimeStamp instead? (If not, 
> it is not defined what should happen with attributes that are of type 
> DOMTimeStamp, like HTMLTimeElement.date.)

There are no DOM attributes of type DOMTimeStamp defined to reflect 
anything. (HTMLTimeElement.date, etc, are defined explicitly.)


> In any case, it is not defined what should happen with attributes that 
> are of type float but don't contain a time offset (like 
> HTMLProgressElement.value).

Fixed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 12 May 2008 09:31:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:54 UTC