- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 21 Jul 2009 00:57:11 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20958
Added Files:
microdata-0.html obsolete.html
Log Message:
initial add
--- NEW FILE: microdata-0.html ---
<!DOCTYPE HTML>
<html lang="en-US-x-Hixie"><head><title>HTML 5</title><style type="text/css">
pre { margin-left: 2em; white-space: pre-wrap; }
h2 { margin: 3em 0 1em 0; }
h3 { margin: 2.5em 0 1em 0; }
h4 { margin: 2.5em 0 0.75em 0; }
h5, h6 { margin: 2.5em 0 1em; }
h1 + h2, h1 + h2 + h2 { margin: 0.75em 0 0.75em; }
h2 + h3, h3 + h4, h4 + h5, h5 + h6 { margin-top: 0.5em; }
p { margin: 1em 0; }
hr:not(.top) { display: block; background: none; border: none; padding: 0; margin: 2em 0; height: auto; }
dl, dd { margin-top: 0; margin-bottom: 0; }
dt { margin-top: 0.75em; margin-bottom: 0.25em; clear: left; }
dt + dt { margin-top: 0; }
dd dt { margin-top: 0.25em; margin-bottom: 0; }
dd p { margin-top: 0; }
dd dl + p { margin-top: 1em; }
dd table + p { margin-top: 1em; }
p + * > li, dd li { margin: 1em 0; }
[...3980 lines suppressed...]
and time of the <code>Document</code>'s source file's last
modification, if it is known, or else of the moment that this
algorithm was invoked.</p>
</li>
<li>
<p>Insert an <code title="">updated</code> element in the
<a href="#atom-namespace">Atom namespace</a> into the root element of <var title="">R</var> before the first <code title="">entry</code> in
the <a href="#atom-namespace">Atom namespace</a> whose contents is a text node with
its data set to <var title="">global update date</var>.</p>
</li>
<li><p>Return the Atom document <var title="">R</var>.</p></li>
</ol><p>The <dfn id="atom-namespace">Atom namespace</dfn> is: <code>http://www.w3.org/2005/Atom</code></p>
</div></body></html>
--- NEW FILE: obsolete.html ---
<!DOCTYPE HTML>
<html lang="en-US-x-Hixie"><head><title>HTML 5</title><style type="text/css">
pre { margin-left: 2em; white-space: pre-wrap; }
h2 { margin: 3em 0 1em 0; }
h3 { margin: 2.5em 0 1em 0; }
h4 { margin: 2.5em 0 0.75em 0; }
h5, h6 { margin: 2.5em 0 1em; }
h1 + h2, h1 + h2 + h2 { margin: 0.75em 0 0.75em; }
h2 + h3, h3 + h4, h4 + h5, h5 + h6 { margin-top: 0.5em; }
p { margin: 1em 0; }
hr:not(.top) { display: block; background: none; border: none; padding: 0; margin: 2em 0; height: auto; }
dl, dd { margin-top: 0; margin-bottom: 0; }
dt { margin-top: 0.75em; margin-bottom: 0.25em; clear: left; }
dt + dt { margin-top: 0; }
dd dt { margin-top: 0.25em; margin-bottom: 0; }
dd p { margin-top: 0; }
dd dl + p { margin-top: 1em; }
dd table + p { margin-top: 1em; }
p + * > li, dd li { margin: 1em 0; }
[...1398 lines suppressed...]
JavaScript, the object returned for <code title="dom-document-all"><a href="#dom-document-all">all</a></code> is equal to the <code title="">undefined</code> value.</p></li>
<li><p>The user agent must act such that the <code title="">typeof</code> operator in JavaScript returns the string
<code title="">undefined</code> when applied to the object returned
for <code title="dom-document-all"><a href="#dom-document-all">all</a></code>.</p></li>
</ul><p class="note">These requirements are a <a href="introduction.html#willful-violation">willful
violation</a> of the JavaScript specification current at the time
of writing (ECMAScript edition 3). The JavaScript specification
requires that the ToBoolean() operator convert all objects to the
true value, and does not have provisions for objects acting as if
they were <code title="">undefined</code> for the purposes of
certain operators. This violation is motivated by a desire for
compatibility with two classes of legacy content: one that uses the
presence of <code title="dom-document-all"><a href="#dom-document-all">document.all</a></code> as a
way to detect legacy user agents, and one that only supports those
legacy user agents and uses the <code title="dom-document-all"><a href="#dom-document-all">document.all</a></code> object without testing
for its presence first. <a href="references.html#references">[ECMA262]</a></p>
</div></body></html>
Received on Tuesday, 21 July 2009 00:57:24 UTC