Skip to content

Commit

Permalink
[e] (0) Minor clarifications based on overnight comments on IRC.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3076 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 10, 2009
1 parent 555e522 commit 34e00da
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 29 deletions.
28 changes: 15 additions & 13 deletions index
Expand Up @@ -40595,7 +40595,7 @@ explain that only direct children of the <menu> matter

<p><em>This section is non-normative.</em></p>

<p>Sometimes, it is desireable to annotate content with specific
<p>Sometimes, it is desirable to annotate content with specific
machine-readable labels, e.g. to allow generic scripts to provide
services that are customised to the page, or to enable content from
a variety of cooperating authors to be processed by a single script
Expand Down Expand Up @@ -40638,7 +40638,9 @@ explain that only direct children of the <menu> matter
</div>

<p>Properties can also have values that are URLs. This is achieved
using the <code title="">a</code> element and its <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute.</p>
using the <code title="">a</code> element and its <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, the
<code><a href=#the-img-element>img</a></code> element and its <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute, or other elements that
link to or embed external resources.</p>

<div class=example>

Expand Down Expand Up @@ -40776,10 +40778,14 @@ explain that only direct children of the <menu> matter
determined by its position in the DOM and by any <code title=attr-subject><a href=#attr-subject>subject</a></code> attributes on the element, and
is defined as follows:</p>

<dl><dt>If the element has neither <code title=attr-subject><a href=#attr-subject>subject</a></code> attribute nor an ancestor with
an <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute specified</dt>
<dl><dt>If the element has a <code title=attr-subject><a href=#attr-subject>subject</a></code>
attribute</dt>

<dd><p>The element has no <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
<dd><p>If there is an element in the document with an ID equal to
the value of the <code title=attr-subject><a href=#attr-subject>subject</a></code>
attribute, and if the first such element has an <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute specified, then that
element is the <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
item</a>. Otherwise, there is no <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
item</a>.</dd>

<dt>If the element has no <code title=attr-subject><a href=#attr-subject>subject</a></code>
Expand All @@ -40789,14 +40795,10 @@ explain that only direct children of the <menu> matter
<a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
item</a>.</dd>

<dt>If the element has a <code title=attr-subject><a href=#attr-subject>subject</a></code>
attribute</dt>
<dt>If the element has neither <code title=attr-subject><a href=#attr-subject>subject</a></code> attribute nor an ancestor with
an <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute specified</dt>

<dd><p>If there is an element in the document with an ID equal to
the value of the <code title=attr-subject><a href=#attr-subject>subject</a></code>
attribute, and if the first such element has an <code title=attr-item><a href=#items:-the-item-attribute>item</a></code> attribute specified, then that
element is the <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
item</a>. Otherwise, there is no <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
<dd><p>The element has no <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding
item</a>.</dd>

</dl><p>The list of elements that create <a href=#concept-item title=concept-item>items</a> but do not themselves have a <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding item</a> forms
Expand Down Expand Up @@ -41171,7 +41173,7 @@ explain that only direct children of the <menu> matter
steps:</p>

<ol><li><p>If there is exactly one element whose <a href=#concept-item-corresponding title=concept-item-corresponding>corresponding item</a> is
<var title="">item</var> and that has as one of its <a href=#property-names>property
<var title="">item</var>, that has as one of its <a href=#property-names>property
names</a> the string "<code title="">about</code>", and the
<a href=#concept-property-value title=concept-property-value>property value</a> of that
element is an <a href=#absolute-url>absolute URL</a>, let <var title="">subject</var> be that <a href=#absolute-url>absolute
Expand Down
35 changes: 19 additions & 16 deletions source
Expand Up @@ -45810,7 +45810,7 @@ explain that only direct children of the <menu> matter

<p><em>This section is non-normative.</em></p>

<p>Sometimes, it is desireable to annotate content with specific
<p>Sometimes, it is desirable to annotate content with specific
machine-readable labels, e.g. to allow generic scripts to provide
services that are customised to the page, or to enable content from
a variety of cooperating authors to be processed by a single script
Expand Down Expand Up @@ -45855,7 +45855,10 @@ explain that only direct children of the <menu> matter

<p>Properties can also have values that are URLs. This is achieved
using the <code title="">a</code> element and its <code
title="attr-hyperlink-href">href</code> attribute.</p>
title="attr-hyperlink-href">href</code> attribute, the
<code>img</code> element and its <code
title="attr-img-src">src</code> attribute, or other elements that
link to or embed external resources.</p>

<div class="example">

Expand Down Expand Up @@ -46009,11 +46012,16 @@ explain that only direct children of the <menu> matter

<dl>

<dt>If the element has neither <code
title="attr-subject">subject</code> attribute nor an ancestor with
an <code title="attr-item">item</code> attribute specified</dt>
<dt>If the element has a <code title="attr-subject">subject</code>
attribute</dt>

<dd><p>The element has no <span
<dd><p>If there is an element in the document with an ID equal to
the value of the <code title="attr-subject">subject</code>
attribute, and if the first such element has an <code
title="attr-item">item</code> attribute specified, then that
element is the <span
title="concept-item-corresponding">corresponding
item</span>. Otherwise, there is no <span
title="concept-item-corresponding">corresponding
item</span>.</p></dd>

Expand All @@ -46026,16 +46034,11 @@ explain that only direct children of the <menu> matter
<span title="concept-item-corresponding">corresponding
item</span>.</p></dd>

<dt>If the element has a <code title="attr-subject">subject</code>
attribute</dt>
<dt>If the element has neither <code
title="attr-subject">subject</code> attribute nor an ancestor with
an <code title="attr-item">item</code> attribute specified</dt>

<dd><p>If there is an element in the document with an ID equal to
the value of the <code title="attr-subject">subject</code>
attribute, and if the first such element has an <code
title="attr-item">item</code> attribute specified, then that
element is the <span
title="concept-item-corresponding">corresponding
item</span>. Otherwise, there is no <span
<dd><p>The element has no <span
title="concept-item-corresponding">corresponding
item</span>.</p></dd>

Expand Down Expand Up @@ -46513,7 +46516,7 @@ explain that only direct children of the <menu> matter

<li><p>If there is exactly one element whose <span
title="concept-item-corresponding">corresponding item</span> is
<var title="">item</var> and that has as one of its <span>property
<var title="">item</var>, that has as one of its <span>property
names</span> the string "<code title="">about</code>", and the
<span title="concept-property-value">property value</span> of that
element is an <span>absolute URL</span>, let <var
Expand Down

0 comments on commit 34e00da

Please sign in to comment.