Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Move disclosure element; update acks; add parse errors for EOF in tit…
…le elements, etc

git-svn-id: http://svn.whatwg.org/webapps@76 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 1, 2006
1 parent 8300c43 commit 6cfbd8c
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 74 deletions.
155 changes: 93 additions & 62 deletions index
Expand Up @@ -24,7 +24,7 @@

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

<h2 class="no-num no-toc" id="working">Working Draft &mdash; 27 June 2006</h2>
<h2 class="no-num no-toc" id="working">Working Draft &mdash; 1 July 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 @@ -514,50 +514,50 @@
examples</a>
</ul>

<li><a href="#disclosure"><span class="secno">3.19. </span>Disclosure
widget <span title="TBW">[TBW]</span></a>

<li><a href="#interactive1"><span class="secno">3.20. </span>Interactive
<li><a href="#interactive1"><span class="secno">3.19. </span>Interactive
elements</a>
<ul class="toc">
<li><a href="#scs-the"><span class="secno">3.20.1. </span><span
<li><a href="#disclosure"><span class="secno">3.19.1.
</span>Disclosure widget <span title="TBW">[TBW]</span></a>

<li><a href="#scs-the"><span class="secno">3.19.2. </span><span
title="SCS">[SCS]</span> The <dfn
id="datagrid"><code>datagrid</code></dfn> element</a>
<ul class="toc">
<li><a href="#the-datagrid"><span class="secno">3.20.1.1. </span>The
<li><a href="#the-datagrid"><span class="secno">3.19.2.1. </span>The
<code>datagrid</code> data model</a>

<li><a href="#the-data"><span class="secno">3.20.1.2. </span>The
<li><a href="#the-data"><span class="secno">3.19.2.2. </span>The
data provider interface</a>

<li><a href="#the-default"><span class="secno">3.20.1.3. </span>The
<li><a href="#the-default"><span class="secno">3.19.2.3. </span>The
default data provider</a>
<ul class="toc">
<li><a href="#commonDefaultDataGridMethodDefinitions"><span
class="secno">3.20.1.3.1. </span>Common default data provider
class="secno">3.19.2.3.1. </span>Common default data provider
method definitions for cells</a>
</ul>

<li><a href="#populating"><span class="secno">3.20.1.4.
<li><a href="#populating"><span class="secno">3.19.2.4.
</span>Populating the <code>datagrid</code> element</a>

<li><a href="#updating"><span class="secno">3.20.1.5.
<li><a href="#updating"><span class="secno">3.19.2.5.
</span>Updating the <code>datagrid</code></a>

<li><a href="#requirements"><span class="secno">3.20.1.6.
<li><a href="#requirements"><span class="secno">3.19.2.6.
</span>Requirements for interactive user agents</a>

<li><a href="#the-selection"><span class="secno">3.20.1.7.
<li><a href="#the-selection"><span class="secno">3.19.2.7.
</span>The selection</a>

<li><a href="#columns"><span class="secno">3.20.1.8. </span>Columns
<li><a href="#columns"><span class="secno">3.19.2.8. </span>Columns
and captions</a>
</ul>

<li><a href="#the-command"><span class="secno">3.20.2. </span>The <dfn
<li><a href="#the-command"><span class="secno">3.19.3. </span>The <dfn
id="command"><code>command</code></dfn> element</a>

<li><a href="#the-menu"><span class="secno">3.20.3. </span>The <dfn
<li><a href="#the-menu"><span class="secno">3.19.4. </span>The <dfn
id="menu"><code>menu</code></dfn> element</a>
</ul>
</ul>
Expand Down Expand Up @@ -8084,14 +8084,40 @@ interface <dfn id="htmlsectionelement">HTMLSectionElement</dfn> : <span><a href=
&Ccedil;elik." src="sample-card.png"></p>
</div>

<h3 id="disclosure"><span class="secno">3.19. </span>Disclosure widget
<span title="TBW"><a href="#tbw">[TBW]</a></span></h3>
<h3 id="interactive1"><span class="secno">3.19. </span>Interactive elements</h3>

<p class="big-issue">The "more details" widget.
<h4 id="disclosure"><span class="secno">3.19.1. </span>Disclosure widget
<span title="TBW"><a href="#tbw">[TBW]</a></span></h4>
<!-- XXXXXXXXXX
<p><span title="interactive elements">Interactive</span>,
<span title="block-level elements">block-level element</span>.</p>

<h3 id="interactive1"><span class="secno">3.20. </span>Interactive elements</h3>
<dl class="element">
<dt>Contexts in which this element may be used:</dt>
<dd>Where <span>block-level elements</span> are expected.</dd>
<dt>Content model:</dt>

<dd>Zero or more <span>block-level elements</span>, or <span>inline-level content</span> (but not both).</dd>

<dt>Element-specific attributes:</dt>
<dd><code title="attr-script-src">src</code></dd>
<dd><code title="attr-script-type">type</code></dd>
<dd><code title="attr-script-defer">defer</code> (if the <code title="attr-script-src">src</code> attribute is present)</dd>
<dd><code title="attr-script-async">async</code> (if the <code title="attr-script-src">src</code> attribute is present)</dd>
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLScriptElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <code title="dom-script-text">text</code>;
attribute DOMString <code title="dom-script-src">src</code>;
attribute DOMString <code title="dom-script-type">type</code>;
attribute boolean <code title="dom-script-defer">defer</code>;
attribute boolean <code title="dom-script-async">async</code>;
};</pre>
</dd>
</dl>
-->

<h4 id="scs-the"><span class="secno">3.20.1. </span><span title="SCS"><a
<h4 id="scs-the"><span class="secno">3.19.2. </span><span title="SCS"><a
href="#scs">[SCS]</a></span> The <dfn
id="datagrid0"><code>datagrid</code></dfn> element</h4>

Expand Down Expand Up @@ -8177,7 +8203,7 @@ interface <dfn id="htmlsectionelement">HTMLSectionElement</dfn> : <span><a href=
and <code title="attr-datagrid-disabled"><a
href="#disabled2">disabled</a></code> content attributes respectively.

<h5 id="the-datagrid"><span class="secno">3.20.1.1. </span>The <code><a
<h5 id="the-datagrid"><span class="secno">3.19.2.1. </span>The <code><a
href="#datagrid0">datagrid</a></code> data model</h5>

<p><em>This section is non-normative.</em>
Expand Down Expand Up @@ -8225,7 +8251,7 @@ interface <dfn id="htmlsectionelement">HTMLSectionElement</dfn> : <span><a href=
providers.</p>
<!-- XXX check xrefs -->

<h5 id="the-data"><span class="secno">3.20.1.2. </span>The data provider
<h5 id="the-data"><span class="secno">3.19.2.2. </span>The data provider
interface</h5>

<p><em>The conformance criteria in this section apply to any implementation
Expand Down Expand Up @@ -8706,7 +8732,7 @@ interface <dfn id="datagriddataprovider">DataGridDataProvider</dfn> {
-->
</table>

<h5 id="the-default"><span class="secno">3.20.1.3. </span>The default data
<h5 id="the-default"><span class="secno">3.19.2.3. </span>The default data
provider</h5>

<p>The user agent must supply a default data provider for the case where
Expand Down Expand Up @@ -9155,7 +9181,7 @@ interface <dfn id="datagriddataprovider">DataGridDataProvider</dfn> {
</dl>

<h6 id="commonDefaultDataGridMethodDefinitions"><span
class="secno">3.20.1.3.1. </span>Common default data provider method
class="secno">3.19.2.3.1. </span>Common default data provider method
definitions for cells</h6>

<p>These definitions are used for the cell-specific methods of the default
Expand Down Expand Up @@ -9292,7 +9318,7 @@ interface <dfn id="datagriddataprovider">DataGridDataProvider</dfn> {
</dl>
<!-- XXX Calculated cells, like in spreadsheets? -->

<h5 id="populating"><span class="secno">3.20.1.4. </span>Populating the
<h5 id="populating"><span class="secno">3.19.2.4. </span>Populating the
<code><a href="#datagrid0">datagrid</a></code> element</h5>

<p>A <code><a href="#datagrid0">datagrid</a></code> must be disabled until
Expand Down Expand Up @@ -9647,7 +9673,7 @@ interface <dfn id="datagriddataprovider">DataGridDataProvider</dfn> {
<!-- XXX speaking of which, do we actually want that
limitation? -->

<h5 id="updating"><span class="secno">3.20.1.5. </span>Updating the
<h5 id="updating"><span class="secno">3.19.2.5. </span>Updating the
<code><a href="#datagrid0">datagrid</a></code></h5>

<p>Whenever the <code title="dom-datagrid-data"><a
Expand Down Expand Up @@ -9722,7 +9748,7 @@ interface <dfn id="datagriddataprovider">DataGridDataProvider</dfn> {
actually inserting or removing rows from the data provider is likely to
result in inconsistent renderings.

<h5 id="requirements"><span class="secno">3.20.1.6. </span>Requirements for
<h5 id="requirements"><span class="secno">3.19.2.6. </span>Requirements for
interactive user agents</h5>

<p><em>This section only applies to interactive user agents.</em>
Expand Down Expand Up @@ -9795,7 +9821,7 @@ interface <dfn id="datagriddataprovider">DataGridDataProvider</dfn> {
invoked, with the same row and column specified.</p>
<!-- XXXPA <p class="big-issue">define actions (performAction(), etc)</p> -->

<h5 id="the-selection"><span class="secno">3.20.1.7. </span>The selection</h5>
<h5 id="the-selection"><span class="secno">3.19.2.7. </span>The selection</h5>

<p><em>This section only applies to interactive user agents. For other user
agents, the <code title="dom-datagrid-selection"><a
Expand Down Expand Up @@ -9962,7 +9988,7 @@ interface <dfn id="datagriddataprovider">DataGridDataProvider</dfn> {
relation to the <code><a href="#selection1">Selection</a></code> and
<code>Range</code> interfaces.

<h5 id="columns"><span class="secno">3.20.1.8. </span>Columns and captions</h5>
<h5 id="columns"><span class="secno">3.19.2.8. </span>Columns and captions</h5>

<p><em>This section only applies to interactive user agents.</em>

Expand Down Expand Up @@ -10014,7 +10040,7 @@ interface <dfn id="datagriddataprovider">DataGridDataProvider</dfn> {
<p class="big-issue">define drag and drop in datagrids; selectiondraggable, etc.</p>
-->

<h4 id="the-command"><span class="secno">3.20.2. </span>The <dfn
<h4 id="the-command"><span class="secno">3.19.3. </span>The <dfn
id="command1"><code>command</code></dfn> element</h4>

<p><span title="metadata elements"><a href="#metadata">Metadata
Expand Down Expand Up @@ -10228,7 +10254,7 @@ interface <dfn id="datagriddataprovider">DataGridDataProvider</dfn> {
<p class="note"><code><a href="#command1">command</a></code> elements are
not rendered unless they <a href="#menus">form part of a menu</a>.

<h4 id="the-menu"><span class="secno">3.20.3. </span>The <dfn
<h4 id="the-menu"><span class="secno">3.19.4. </span>The <dfn
id="menu0"><code>menu</code></dfn> element</h4>

<p><span title="block-level elements"><a href="#block-level1">Block-level
Expand Down Expand Up @@ -19587,7 +19613,8 @@ function receiver(e) {
flag</a></span> will have switched back to the PCDATA state.</p>

<p>If the next token is an end tag token with the tag name "title",
ignore it.</p>
ignore it. Otherwise, this is a <span><a href="#parse">parse
error</a></span>.</p>

<dt>A start tag with the tag name "style"

Expand Down Expand Up @@ -19617,7 +19644,8 @@ function receiver(e) {
flag</a></span> will have switched back to the PCDATA state.</p>

<p>If the next token is an end tag token with the tag name "style",
ignore it.</p>
ignore it. Otherwise, this is a <span><a href="#parse">parse
error</a></span>.</p>

<dt>A start tag with the tag name "script"

Expand All @@ -19643,13 +19671,15 @@ function receiver(e) {
flag</a></span> will have switched back to the PCDATA state.</p>

<p>If the next token is not an end tag token with the tag name
"script", then mark the <code><a href="#script1">script</a></code>
element as <span><a href="#already">"already executed"</a></span>,
otherwise, the token is the <code><a
href="#script1">script</a></code> element's end tag, so ignore it.
(Marking the <code><a href="#script1">script</a></code> element as
"already executed" prevents it from executing when it is inserted
into the document in the next paragraph.)</p>
"script", then this is a <span><a href="#parse">parse
error</a></span>; mark the <code><a
href="#script1">script</a></code> element as <span><a
href="#already">"already executed"</a></span>. Otherwise, the token
is the <code><a href="#script1">script</a></code> element's end tag,
so ignore it. (Marking the <code><a
href="#script1">script</a></code> element as "already executed"
prevents it from executing when it is inserted into the document in
the next paragraph.)</p>

<p>Append the new element to the <span><a href="#current3">current
node</a></span>, unless the <span><a href="#insertion">insertion
Expand Down Expand Up @@ -23378,26 +23408,27 @@ interface <dfn id="timeouthandler">TimeoutHandler</dfn> {

<h2 class="no-num" id="acknowledgements">Acknowledgements</h2>

<p>Thanks to Aankhen, Aaron Leventhal, Anne van Kesteren, Asbj&oslash;rn
Ulsberg, Ben Godfrey, Ben Meadowcroft, Bjoern Hoehrmann, Boris Zbarsky,
Brad Fults, Brad Neuberg, Brendan Eich, Channy Yun, Christian Biesinger,
Chriswa, Darin Fisher, David Baron, David Hyatt, Derek Featherstone, David
Flanagan, Dimitri Glazkov, dolphinling, Doron Rosenberg, Eira Monstad,
Erik Arvidsson, fantasai, Franck 'Shift' Qu&eacute;lain, Henri Sivonen,
Henrik Lied, H&aring;kon Wium Lie, James Graham, James Perrett, Jan-Klaas
Kollhof, Jasper Bryant-Greene, Jens Bannmann, Joel Spolsky, Johnny
Stenback, Jon Perlow, Jukka K. Korpela, Kai Hendry, Kornel Lesinski,
Lachlan Hunt, Larry Page, Laurens Holst, Lenny Domnitser, L&eacute;onard
Bouchet, Maciej Stachowiak, Malcolm Rowe, Mark Nottingham, Mark Schenk,
Martijn Wargers, Martin Honnen, Matthew Mastracci, Matthew Raymond,
Matthew Thomas, Mattias Waldau, Max Romantschuk, Michael A. Nachbaur,
Michael Gratton, Michael 'Ratt' Iannarelli, Mihai
&#x015E;ucan<!-- from ROBO Design -->, Mike Shaver, Mikko Rantalainen,
Neil Deakin, Olav Junker Kj&aelig;r, Rimantas Liubertas, Robert
O'Callahan, Roman Ivanov, S. Mike Dierken, Shaun Inman, Simon Pieters,
Steven Garrity, Stuart Parmenter, Tantek &Ccedil;elik, Thomas O'Connor,
Tim Altman, Vladimir Vuki&#x0107;evi&#x0107;, and everyone on the WHATWG
mailing list for their useful and substantial comments.
<p>Thanks to Aankhen, Aaron Leventhal, Alexey Feldgendler, Anne van
Kesteren, Asbj&oslash;rn Ulsberg, Ben Godfrey, Ben Meadowcroft, Bjoern
Hoehrmann, Boris Zbarsky, Brad Fults, Brad Neuberg, Brendan Eich, Channy
Yun, Christian Biesinger, Chriswa, Darin Fisher, David Baron, David Hyatt,
Derek Featherstone, David Flanagan, Dimitri Glazkov, dolphinling, Doron
Rosenberg, Eira Monstad, Erik Arvidsson, fantasai, Franck 'Shift'
Qu&eacute;lain, Henri Sivonen, Henrik Lied, H&aring;kon Wium Lie, James
Graham, James Perrett, Jan-Klaas Kollhof, Jasper Bryant-Greene, Jens
Bannmann, Joel Spolsky, Johnny Stenback, Jon Perlow, Jukka K. Korpela, Kai
Hendry, Kornel Lesinski, Lachlan Hunt, Larry Page, Laurens Holst, Lenny
Domnitser, L&eacute;onard Bouchet, Maciej Stachowiak, Malcolm Rowe, Mark
Nottingham, Mark Schenk, Martijn Wargers, Martin Honnen, Matthew
Mastracci, Matthew Raymond, Matthew Thomas, Mattias Waldau, Max
Romantschuk, Michael A. Nachbaur, Michael Gratton, Michael 'Ratt'
Iannarelli, Mihai &#x015E;ucan<!-- from ROBO Design -->, Mike Shaver,
Mikko Rantalainen, Neil Deakin, Olav Junker Kj&aelig;r, Rimantas
Liubertas, Robert O'Callahan, Roman Ivanov, S. Mike Dierken, Shaun Inman,
Simon Pieters, Steven Garrity, Stuart Parmenter, Tantek &Ccedil;elik,
Thomas O'Connor, Tim Altman, Vladimir Vuki&#x0107;evi&#x0107;, and
everyone on the WHATWG mailing list for their useful and substantial
comments.

<p>Special thanks to Richard Williamson for creating the first
implementation of <code><a href="#canvas">canvas</a></code> in Safari,
Expand Down

0 comments on commit 6cfbd8c

Please sign in to comment.