[html5] r1154 - /
whatwg at whatwg.org
whatwg at whatwg.org
Fri Jan 11 17:32:14 PST 2008
Author: ianh
Date: 2008-01-11 17:32:08 -0800 (Fri, 11 Jan 2008)
New Revision: 1154
Modified:
index
source
Log:
[e] (0) Minor editorial fixes: cross references for 'the document's domain', and sectionRowIndex
Modified: index
===================================================================
--- index 2007-12-20 21:42:06 UTC (rev 1153)
+++ index 2008-01-12 01:32:08 UTC (rev 1154)
@@ -24,8 +24,7 @@
<h1 id=html-5>HTML 5</h1>
- <h2 class="no-num no-toc" id=working>Working Draft — 20 December
- 2007</h2>
+ <h2 class="no-num no-toc" id=working>Working Draft — 12 January 2008</h2>
<p>You can take part in this work. <a
href="http://www.whatwg.org/mailing-list">Join the working group's
@@ -2598,11 +2597,11 @@
xref -->.
<p>The <dfn id=domain title=dom-document-domain><code>domain</code></dfn>
- attribute must be initialised to <span>the document's domain</span>, if it
- has one, and null otherwise. On getting, the attribute must return its
- current value. On setting, if the new value is an allowed value (as
- defined below), the attribute's value must be changed to the new value. If
- the new value is not an allowed value, then a <a
+ attribute must be initialised to <a href="#domain0">the document's
+ domain</a>, if it has one, and null otherwise. On getting, the attribute
+ must return its current value. On setting, if the new value is an allowed
+ value (as defined below), the attribute's value must be changed to the new
+ value. If the new value is not an allowed value, then a <a
href="#security8">security exception</a> must be raised instead.
<p>A new value is an allowed value for the <code
@@ -2614,9 +2613,9 @@
<p>If the <code>Document</code> object's <span title="the document's
address">address</span><!-- XXX xref --> is hierarchical and uses a
- server-based naming authority, then its <dfn id=domain0 title="document's
- domain">domain</dfn> is the <host>/<ihost> part of that
- address. Otherwise, it has no domain.
+ server-based naming authority, then its <dfn id=domain0 title="the
+ document's domain">domain</dfn> is the <host>/<ihost> part of
+ that address. Otherwise, it has no domain.
<p class=note>The <code title=dom-document-domain><a
href="#domain">domain</a></code> attribute is used to enable pages on
@@ -18638,7 +18637,7 @@
<pre
class=idl>interface <dfn id=htmltablerowelement>HTMLTableRowElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
readonly attribute long <a href="#rowindex" title=dom-tr-rowIndex>rowIndex</a>;
- readonly attribute long <a href="#secondrowindex" title=dom-tr-sectionRowIndex>sectionRowIndex</a>;
+ readonly attribute long <a href="#sectionrowindex" title=dom-tr-sectionRowIndex>sectionRowIndex</a>;
readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#cells" title=dom-tr-cells>cells</a>;
<a href="#htmlelement">HTMLElement</a> <a href="#insertcell" title=dom-tr-insertCell>insertCell</a>(in long index);
void <span>deleteCell</span>(in long index);
@@ -18665,8 +18664,8 @@
is no such <code><a href="#table">table</a></code> element, then the
attribute must return 0.
- <p>The <dfn id=secondrowindex
- title=dom-tr-sectionRowIndex><code>secondRowIndex</code></dfn> DOM
+ <p>The <dfn id=sectionrowindex
+ title=dom-tr-sectionRowIndex><code>sectionRowIndex</code></dfn> DOM
attribute must, if the element has a parent <code><a
href="#table">table</a></code>, <code><a href="#tbody">tbody</a></code>,
<code><a href="#thead0">thead</a></code>, or <code><a
@@ -34496,13 +34495,13 @@
<p>User agents should use the <code>Cache-Control: no-cache</code> header
in requests to bypass any caches for requests of event sources.
- <p>For connections to domains other than the <a href="#domain0">document's
+ <p>For connections to domains other than <a href="#domain0">the document's
domain</a>, the semantics of the Access-Control HTTP header must be
followed. <a href="#refsACCESSCONTROL">[ACCESSCONTROL]</a>
<p>HTTP 200 OK responses with a <a href="#content-type8">Content-Type</a>
header specifying the type <code>application/x-dom-event-stream</code>
- that are either from the <a href="#domain0">document's domain</a> or
+ that are either from <a href="#domain0">the document's domain</a> or
explicitly allowed by the Access-Control HTTP headers must be processed
line by line <a href="#event-stream-interpretation">as described
below</a>.
@@ -35851,14 +35850,14 @@
title=dom-window-postMessage><a
href="#postmessage">postMessage()</a></code> method, the <code
title=dom-MessageEvent-domain><a href="#domain1">domain</a></code>
- attribute must be set to the domain of the document that the script that
- invoked the methods is associated with, the <code
- title=dom-MessageEvent-uri><a href="#uri">uri</a></code> attribute must be
- set to the URI of that document, and the <code
- title=dom-MessageEvent-source><a href="#source1">source</a></code>
- attribute must be set to the <code><a href="#window">Window</a></code>
- object of the default view of the browsing context with which that
- document is associated.
+ attribute must be set to the <a href="#domain0" title="the document's
+ domain">domain of the document</a> that the script that invoked the
+ methods is associated with, the <code title=dom-MessageEvent-uri><a
+ href="#uri">uri</a></code> attribute must be set to the URI of that
+ document, and the <code title=dom-MessageEvent-source><a
+ href="#source1">source</a></code> attribute must be set to the <code><a
+ href="#window">Window</a></code> object of the default view of the
+ browsing context with which that document is associated.
<p class=issue>Define 'domain' more exactly -- IDN vs no IDN, absence of
ports, effect of window.document.domain on its value, etc
Modified: source
===================================================================
--- source 2007-12-20 21:42:06 UTC (rev 1153)
+++ source 2008-01-12 01:32:08 UTC (rev 1154)
@@ -1018,7 +1018,7 @@
<p>If the <code>Document</code> object's <span title="the document's
address">address</span><!-- XXX xref --> is hierarchical and uses a
- server-based naming authority, then its <dfn title="document's
+ server-based naming authority, then its <dfn title="the document's
domain">domain</dfn> is the <host>/<ihost> part of that
address. Otherwise, it has no domain.</p>
@@ -16085,8 +16085,8 @@
<code>table</code> element, then the attribute must return 0.</p>
<p>The <dfn
- title="dom-tr-sectionRowIndex"><code>secondRowIndex</code></dfn> DOM
- attribute must, if the element has a parent <code>table</code>,
+ title="dom-tr-sectionRowIndex"><code>sectionRowIndex</code></dfn>
+ DOM attribute must, if the element has a parent <code>table</code>,
<code>tbody</code>, <code>thead</code>, or <code>tfoot</code>
element, return the index of the <code>tr</code> element in the
parent element's <code title="">rows</code> collection (for tables,
@@ -31807,13 +31807,13 @@
header in requests to bypass any caches for requests of event
sources.</p>
- <p>For connections to domains other than the <span>document's
+ <p>For connections to domains other than <span>the document's
domain</span>, the semantics of the Access-Control HTTP header must
be followed. <a href="#refsACCESSCONTROL">[ACCESSCONTROL]</a>
<p>HTTP 200 OK responses with a <span>Content-Type</span> header
specifying the type <code>application/x-dom-event-stream</code> that
- are either from the <span>document's domain</span> or explicitly
+ are either from <span>the document's domain</span> or explicitly
allowed by the Access-Control HTTP headers must be processed line by
line <a href="#event-stream-interpretation">as described
below</a>.</p>
@@ -33189,10 +33189,10 @@
the value passed as the <var title="">message</var> argument to the
<code title="dom-window-postMessage">postMessage()</code> method,
the <code title="dom-MessageEvent-domain">domain</code> attribute
- must be set to the domain of the document that the script that
- invoked the methods is associated with, the <code
- title="dom-MessageEvent-uri">uri</code> attribute must be set to the
- URI of that document, and the <code
+ must be set to the <span title="the document's domain">domain of the
+ document</span> that the script that invoked the methods is
+ associated with, the <code title="dom-MessageEvent-uri">uri</code>
+ attribute must be set to the URI of that document, and the <code
title="dom-MessageEvent-source">source</code> attribute must be set
to the <code>Window</code> object of the default view of the
browsing context with which that document is associated.</p>
More information about the Commit-Watchers
mailing list