[html5] r1589 - /
whatwg at whatwg.org
whatwg at whatwg.org
Mon May 12 02:06:22 PDT 2008
Author: ianh
Date: 2008-05-12 02:06:21 -0700 (Mon, 12 May 2008)
New Revision: 1589
Modified:
index
source
Log:
[e] (0) Clear some stuff up, since this wasn't well written before.
Modified: index
===================================================================
--- index 2008-05-12 09:00:41 UTC (rev 1588)
+++ index 2008-05-12 09:06:21 UTC (rev 1589)
@@ -3054,11 +3054,12 @@
time offset, then the content attribute must be parsed according to <a
href="#rules4" title="rules for parsing time offsets">the rules for
parsing time ofsets</a> first. If that fails, or if the attribute is
- absent, the default value must be returned instead, or the not-a-number
- value (NaN) if there is no default value. On setting, the given value must
- be converted to a string using the <a href="#time-offset">time offset
- serialisation rules</a>, and that string must be used as the new content
- attribute value.
+ absent, the default value must be returned, or the not-a-number value
+ (NaN) if there is no default value. Otherwise, the parsed value in
+ milliseconds must be returned. On setting, the given value, interpreted as
+ a time offset in milliseconds, must be converted to a string using the <a
+ href="#time-offset">time offset serialisation rules</a>, and that string
+ must be used as the new content attribute value.
<p>If a reflecting DOM attribute is of the type <code><a
href="#domtokenlist0">DOMTokenList</a></code>, then on getting it must
Modified: source
===================================================================
--- source 2008-05-12 09:00:41 UTC (rev 1588)
+++ source 2008-05-12 09:06:21 UTC (rev 1589)
@@ -1360,11 +1360,12 @@
a time offset, then the content attribute must be parsed according
to <span title="rules for parsing time offsets">the rules for
parsing time ofsets</span> first. If that fails, or if the attribute
- is absent, the default value must be returned instead, or the
- not-a-number value (NaN) if there is no default value. On setting,
- the given value must be converted to a string using the <span>time
- offset serialisation rules</span>, and that string must be used as
- the new content attribute value.</p>
+ is absent, the default value must be returned, or the not-a-number
+ value (NaN) if there is no default value. Otherwise, the parsed
+ value in milliseconds must be returned. On setting, the given value,
+ interpreted as a time offset in milliseconds, must be converted to a
+ string using the <span>time offset serialisation rules</span>, and
+ that string must be used as the new content attribute value.</p>
<p>If a reflecting DOM attribute is of the type
<code>DOMTokenList</code>, then on getting it must return a
More information about the Commit-Watchers
mailing list