Skip to content

Commit

Permalink
Removed '(optional)' from all attribute definitions while we work out…
Browse files Browse the repository at this point in the history
… what we want to do there. Minor clarification in the ASSDOM spec.

git-svn-id: http://svn.whatwg.org/webapps@18 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 9, 2006
1 parent e144561 commit 67d00dc
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 95 deletions.
88 changes: 40 additions & 48 deletions index
Expand Up @@ -35,7 +35,7 @@

<h1 id="web-applications">Web Applications 1.0</h1>

<h2 class="no-num no-toc" id="working">Working Draft &mdash; 5 April 2006</h2>
<h2 class="no-num no-toc" id="working">Working Draft &mdash; 9 April 2006</h2>

<p>You can take part in this work. <a
href="http://www.whatwg.org/mailing-list">Join the working group's
Expand Down Expand Up @@ -2833,7 +2833,7 @@ class="main"> or <div class="content">. Why do we also need a body?

<dt>Element-specific attributes:

<dd><code><a href="#profile">profile</a></code> (optional)
<dd><code><a href="#profile">profile</a></code>

<dt>DOM interface:

Expand Down Expand Up @@ -2979,7 +2979,6 @@ class="main"> or <div class="content">. Why do we also need a body?
<dt>Element-specific attributes:

<dd><code title="attr-base-href"><a href="#href">href</a></code>
(optional)

<dt>DOM interface:

Expand Down Expand Up @@ -3037,18 +3036,15 @@ class="main"> or <div class="content">. Why do we also need a body?
<dt>Element-specific attributes:

<dd><code title="attr-link-href"><a href="#href1">href</a></code>
(optional)

<dd><code title="attr-link-rel"><a href="#rel">rel</a></code> (optional)
<dd><code title="attr-link-rel"><a href="#rel">rel</a></code>

<dd><code title="attr-link-media"><a href="#media">media</a></code>
(optional)

<dd><code title="attr-link-hreflang"><a
href="#hreflang">hreflang</a></code> (optional)
href="#hreflang">hreflang</a></code>

<dd><code title="attr-link-type"><a href="#type">type</a></code>
(optional)

<dd>Also, the <code title="attr-link-title"><a
href="#title3">title</a></code> attribute has special semantics on this
Expand Down Expand Up @@ -3290,13 +3286,11 @@ class="main"> or <div class="content">. Why do we also need a body?
<dt>Element-specific attributes:

<dd><code title="attr-meta-name"><a href="#name">name</a></code>
(optional)

<dd><code title="attr-meta-http-equiv"><a
href="#http-equiv">http-equiv</a></code> (HTML only, optional)

<dd><code title="attr-meta-content"><a href="#content0">content</a></code>
(optional)

<dt>DOM interface:

Expand Down Expand Up @@ -3398,10 +3392,8 @@ class="main"> or <div class="content">. Why do we also need a body?
<dt>Element-specific attributes:

<dd><code title="attr-style-type"><a href="#type1">type</a></code>
(optional)

<dd><code title="attr-style-media"><a href="#media1">media</a></code>
(optional)

<dd>Also, the <code title="attr-style-title"><a
href="#title4">title</a></code> attribute has special semantics on this
Expand Down Expand Up @@ -3724,7 +3716,6 @@ XXX attributes to give the date authored, date published
<dt>Element-specific attributes:

<dd><code title="attr-blockquote-cite"><a href="#cite0">cite</a></code>
(optional)

<dt>DOM interface:

Expand Down Expand Up @@ -4775,7 +4766,7 @@ To move the error from the markup to the rhyming.&lt;/p&gt;</pre>

<dt>Element-specific attributes:

<dd><code><a href="#start">start</a></code> (optional)
<dd><code><a href="#start">start</a></code>

<dt>DOM interface:

Expand Down Expand Up @@ -4891,7 +4882,7 @@ To move the error from the markup to the rhyming.&lt;/p&gt;</pre>
<dt>Element-specific attributes:

<dd>If the element is a child of an <code><a href="#ol0">ol</a></code>
element: <code><a href="#value0">value</a></code> (optional)
element: <code><a href="#value0">value</a></code>

<dd>If the element is not the child of an <code><a
href="#ol0">ol</a></code> element: None.
Expand Down Expand Up @@ -5190,19 +5181,17 @@ To move the error from the markup to the rhyming.&lt;/p&gt;</pre>

<dt>Element-specific attributes:

<dd><code title="attr-a-href"><a href="#href3">href</a></code> (optional)
<dd><code title="attr-a-href"><a href="#href3">href</a></code>

<dd><code title="attr-a-rel"><a href="#rel1">rel</a></code> (optional)
<dd><code title="attr-a-rel"><a href="#rel1">rel</a></code>

<dd><code title="attr-a-media"><a href="#media3">media</a></code>
(optional)

<dd><code title="attr-a-hreflang"><a href="#hreflang1">hreflang</a></code>
(optional)

<dd><code title="attr-a-type"><a href="#type3">type</a></code> (optional)
<dd><code title="attr-a-type"><a href="#type3">type</a></code>

<dd><code title="attr-a-ping"><a href="#ping">ping</a></code> (optional)
<dd><code title="attr-a-ping"><a href="#ping">ping</a></code>

<dt>DOM interface:

Expand Down Expand Up @@ -5399,7 +5388,7 @@ To move the error from the markup to the rhyming.&lt;/p&gt;</pre>

<dt>Element-specific attributes:

<dd><code title="attr-q-cite"><a href="#cite2">cite</a></code> (optional)
<dd><code title="attr-q-cite"><a href="#cite2">cite</a></code>

<dt>DOM interface:

Expand Down Expand Up @@ -7007,10 +6996,9 @@ Address: &lt;input name="address"&gt;&lt;/p&gt;</pre>
<dt>Element-specific attributes:

<dd><code title="attr-mod-cite"><a href="#cite4">cite</a></code>
(optional)

<dd><code title="attr-mod-datetime"><a
href="#datetime">datetime</a></code> (optional)
href="#datetime">datetime</a></code>

<dt>DOM interface:

Expand Down Expand Up @@ -7089,10 +7077,9 @@ Address: &lt;input name="address"&gt;&lt;/p&gt;</pre>
<dt>Element-specific attributes:

<dd><code title="attr-mod-cite"><a href="#cite4">cite</a></code>
(optional)

<dd><code title="attr-mod-datetime"><a
href="#datetime">datetime</a></code> (optional)
href="#datetime">datetime</a></code>

<dt>DOM interface:

Expand Down Expand Up @@ -7224,13 +7211,13 @@ Address: &lt;input name="address"&gt;&lt;/p&gt;</pre>

<dd><code title="attr-img-alt">alt</code> (required)

<dd><code title="attr-img-height">height</code> (optional)
<dd><code title="attr-img-height">height</code>

<dd><code title="attr-img-width">width</code> (optional)
<dd><code title="attr-img-width">width</code>

<dd><code title="attr-img-usemap">usemap</code> (optional)
<dd><code title="attr-img-usemap">usemap</code>

<dd><code title="attr-img-ismap">ismap</code> (optional)
<dd><code title="attr-img-ismap">ismap</code>

<dt>DOM interface:

Expand Down Expand Up @@ -7303,10 +7290,17 @@ Address: &lt;input name="address"&gt;&lt;/p&gt;</pre>

<dt>Element-specific attributes:

<dd><code title="attr-script-src"><a href="#src">src</a></code> (optional)
<dd><code title="attr-script-src"><a href="#src">src</a></code>

<dd><code title="attr-script-type"><a href="#type5">type</a></code>
(optional)

<dd><code title="attr-script-defer">defer</code> (if the <code
title="attr-script-src"><a href="#src">src</a></code> attribute is
present)

<dd><code title="attr-script-async">async</code> (if the <code
title="attr-script-src"><a href="#src">src</a></code> attribute is
present)

<dt>DOM interface:

Expand All @@ -7316,6 +7310,8 @@ Address: &lt;input name="address"&gt;&lt;/p&gt;</pre>
attribute DOMString <code title="dom-script-text"><a href="#text">text</a></code>;
attribute DOMString <code title="dom-script-src"><a href="#src0">src</a></code>;
attribute DOMString <code title="dom-script-type"><a href="#type6">type</a></code>;
attribute boolean <code title="dom-script-defer">defer</code>;
attribute boolean <code title="dom-script-async">async</code>;
};</pre>
</dl>

Expand Down Expand Up @@ -7381,7 +7377,8 @@ Address: &lt;input name="address"&gt;&lt;/p&gt;</pre>
href="#text">text</a></code> attribute (defined below) as the script to
execute. For XML-based scripting languages, user agents must use all the
children nodes of the <code><a href="#script1">script</a></code> element
as the script.
as the script.</p>
<!-- XXXXXXXXXXXX -->

<p>The DOM attributes <dfn id="src0"
title="dom-script-src"><code>src</code></dfn> and <dfn id="type6"
Expand Down Expand Up @@ -7983,10 +7980,10 @@ interface <dfn id="htmlsectionelement">HTMLSectionElement</dfn> : <span><a href=
<dt>Element-specific attributes:

<dd><code title="attr-datagrid-multiple"><a
href="#multiple0">multiple</a></code> (optional)
href="#multiple0">multiple</a></code>

<dd><code title="attr-datagrid-disabled"><a
href="#disabled2">disabled</a></code> (optional)
href="#disabled2">disabled</a></code>

<dt>DOM interface:

Expand Down Expand Up @@ -9897,28 +9894,24 @@ interface <dfn id="datagriddataprovider">DataGridDataProvider</dfn> {
<dt>Element-specific attributes:

<dd><code title="attr-command-type"><a href="#type7">type</a></code>
(optional)

<dd><code title="attr-command-label"><a href="#label">label</a></code>
(optional)

<dd><code title="attr-command-icon"><a href="#icon">icon</a></code>
(optional)

<dd><code title="attr-command-hidden"><a href="#hidden">hidden</a></code>
(optional)

<dd><code title="attr-command-disabled"><a
href="#disabled3">disabled</a></code> (optional)
href="#disabled3">disabled</a></code>

<dd><code title="attr-command-checked"><a
href="#checked0">checked</a></code> (optional)
href="#checked0">checked</a></code>

<dd><code title="attr-command-radiogroup"><a
href="#radiogroup">radiogroup</a></code> (optional)
href="#radiogroup">radiogroup</a></code>

<dd><code title="attr-command-default"><a
href="#default">default</a></code> (optional)
href="#default">default</a></code>

<dd>Also, the <code title="attr-command-title"><a
href="#title7">title</a></code> attribute has special semantics on this
Expand Down Expand Up @@ -10115,13 +10108,11 @@ interface <dfn id="datagriddataprovider">DataGridDataProvider</dfn> {
<dt>Element-specific attributes:

<dd><code title="attr-menu-type"><a href="#type9">type</a></code>
(optional)

<dd><code title="attr-menu-label"><a href="#label1">label</a></code>
(optional)

<dd><code title="attr-menu-autosubmit"><a
href="#autosubmit">autosubmit</a></code> (optional)
href="#autosubmit">autosubmit</a></code>

<dt>DOM interface:

Expand Down Expand Up @@ -12945,8 +12936,9 @@ interface <dfn id="documentstyle">DocumentStyle</dfn> {
Otherwise, if style sheets from different sets are enabled, then the
return value must be null (there is no way to determine what the
currently selected style sheet set is in those conditions). Otherwise,
either all style sheets are disabled, or there are no alternate style
sheets, and <code><a
either all style sheets that <span><a href="#have-a">have a
title</a></span> are disabled, or there are no alternate style sheets,
and <code><a
href="#selectedstylesheetset">selectedStylesheetSet</a></code> must
return the empty string.</p>

Expand Down

0 comments on commit 67d00dc

Please sign in to comment.