Skip to content

Commit

Permalink
behold! placeholders for multimedia elements.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@236 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 1, 2006
1 parent 2b31fb4 commit ca90a8b
Show file tree
Hide file tree
Showing 2 changed files with 129 additions and 69 deletions.
185 changes: 116 additions & 69 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,24 @@
<ul class=toc>
<li><a href="#the-img"><span class=secno>3.12.1. </span>The <dfn
id=img><code>img</code></dfn> element</a>

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

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

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

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

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

<li><a href="#the-area"><span class=secno>3.12.7. </span>The <dfn
id=area><code>area</code></dfn> element</a>
</ul>

<li><a href="#tabular"><span class=secno>3.13. </span>Tabular data <span
Expand Down Expand Up @@ -2320,10 +2338,11 @@ should the click, focus, blur methods be recursible?
href="#htmlcollection0">HTMLCollection</a></code> rooted at the
<code>Document</code> node, whose filter matches only <code><a
href="#a0">a</a></code> elements with <code title=attr-a-href><a
href="#href3">href</a></code> attributes and <code>area</code> elements
with <code title=attr-area-href>href</code> attributes. (The same instance
of the <code><a href="#htmlcollection0">HTMLCollection</a></code> object
must be returned each time.)
href="#href3">href</a></code> attributes and <code><a
href="#area0">area</a></code> elements with <code
title=attr-area-href>href</code> attributes. (The same instance of the
<code><a href="#htmlcollection0">HTMLCollection</a></code> object must be
returned each time.)

<p>The <dfn id=forms1 title=dom-document-forms><code>forms</code></dfn>
attribute must return an <code><a
Expand All @@ -2348,13 +2367,14 @@ should the click, focus, blur methods be recursible?
title="">name</var>, and must return a live <code>NodeList</code>
containing all the <code><a href="#a0">a</a></code>, <code>applet</code>,
<code>button</code>, <code>form</code>, <!-- frame? frameset?
XXX--><code>iframe</code>,
<code><a href="#img0">img</a></code>, <code>input</code>,
<code>map</code>, <code><a href="#meta0">meta</a></code>,
<code>object</code>,<!-- param?
XXX--> <code>select</code>, and
<code>textarea</code> elements in that document that have a <code
title="">name</code> attribute whose value is
XXX--><code><a
href="#iframe0">iframe</a></code>, <code><a href="#img0">img</a></code>,
<code>input</code>, <code><a href="#map0">map</a></code>, <code><a
href="#meta0">meta</a></code>, <code><a
href="#object0">object</a></code>,<!-- param?
XXX-->
<code>select</code>, and <code>textarea</code> elements in that document
that have a <code title="">name</code> attribute whose value is
equal<!-- XXX case sensitivity --> to the <var title="">name</var>
argument.</p>
<!-- XXX what about XHTML? -->
Expand Down Expand Up @@ -2765,15 +2785,16 @@ should the click, focus, blur methods be recursible?
character.</p>

<p>If the child node is an <code title="">Element</code> with a tag
name that is one of <code>area</code>, <code><a
name that is one of <code><a href="#area0">area</a></code>, <code><a
href="#base0">base</a></code>, <code>basefont</code>,
<code>bgsound</code>, <code><a href="#br0">br</a></code>,
<code>col</code>, <code>embed</code>, <code>frame</code>, <code><a
href="#hr0">hr</a></code>, <code><a href="#img0">img</a></code>,
<code>input</code>, <code><a href="#link0">link</a></code>, <code><a
href="#meta0">meta</a></code>, <code>param</code>,
<code>spacer</code>, or <code>wbr</code>, then continue on to the next
child node at this point.</p>
<code>col</code>, <code><a href="#embed0">embed</a></code>,
<code>frame</code>, <code><a href="#hr0">hr</a></code>, <code><a
href="#img0">img</a></code>, <code>input</code>, <code><a
href="#link0">link</a></code>, <code><a href="#meta0">meta</a></code>,
<code><a href="#param0">param</a></code>, <code>spacer</code>, or
<code>wbr</code>, then continue on to the next child node at this
point.</p>
<!-- also, i guess:
image, isindex, and keygen, but we don't list those because we
don't consider those "elements", more "macros", and thus we
Expand All @@ -2795,11 +2816,12 @@ should the click, focus, blur methods be recursible?
<dd>
<p>If one of the ancestors of the child node is a <code><a
href="#style0">style</a></code>, <code><a
href="#script2">script</a></code>, <code>xmp</code>,
<code>iframe</code>, <code>noembed</code>, <code>noframes</code>, or
<code><a href="#noscript0">noscript</a></code> element, then append
the value of the <var title="">child</var> node's <code
title="">data</code> DOM attribute literally.</p>
href="#script2">script</a></code>, <code>xmp</code>, <code><a
href="#iframe0">iframe</a></code>, <code>noembed</code>,
<code>noframes</code>, or <code><a
href="#noscript0">noscript</a></code> element, then append the value
of the <var title="">child</var> node's <code title="">data</code> DOM
attribute literally.</p>

<p>Otherwise, append the value of the <var title="">child</var> node's
<code title="">data</code> DOM attribute, <a href="#escapingString"
Expand Down Expand Up @@ -2958,9 +2980,10 @@ should the click, focus, blur methods be recursible?
<em>RCDATA</em>.

<dt>If it is a <code><a href="#style0">style</a></code>, <code><a
href="#script2">script</a></code>, <code>xmp</code>,
<code>iframe</code>, <code>noembed</code>, <code>noframes</code>, or
<code><a href="#noscript0">noscript</a></code> element
href="#script2">script</a></code>, <code>xmp</code>, <code><a
href="#iframe0">iframe</a></code>, <code>noembed</code>,
<code>noframes</code>, or <code><a
href="#noscript0">noscript</a></code> element

<dd>Set the <a href="#content2">content model flag</a> to
<em>CDATA</em>.
Expand Down Expand Up @@ -3281,8 +3304,9 @@ data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ alert('test

<ul>
<li>It is an <code><a href="#a0">a</a></code>, <code>applet</code>,
<code>area</code>, <code>form</code>, <code><a
href="#img0">img</a></code>, or <code>object</code> element with a <code
<code><a href="#area0">area</a></code>, <code>form</code>, <code><a
href="#img0">img</a></code>, or <code><a
href="#object0">object</a></code> element with a <code
title=attr-name>name</code> attribute equal to <var title="">key</var>,
or,

Expand Down Expand Up @@ -9568,6 +9592,24 @@ Address: &lt;input name="address"&gt;&lt;/p&gt;</pre>
attribute is present, it returns an absolute URI; when it's absent,
it returns the empty string. -->

<h4 id=the-iframe><span class=secno>3.12.2. </span>The <dfn
id=iframe0><code>iframe</code></dfn> element</h4>

<h4 id=the-embed><span class=secno>3.12.3. </span>The <dfn
id=embed0><code>embed</code></dfn> element</h4>

<h4 id=the-object><span class=secno>3.12.4. </span>The <dfn
id=object0><code>object</code></dfn> element</h4>

<h4 id=the-param><span class=secno>3.12.5. </span>The <dfn
id=param0><code>param</code></dfn> element</h4>

<h4 id=the-map><span class=secno>3.12.6. </span>The <dfn
id=map0><code>map</code></dfn> element</h4>

<h4 id=the-area><span class=secno>3.12.7. </span>The <dfn
id=area0><code>area</code></dfn> element</h4>

<h3 id=tabular><span class=secno>3.13. </span>Tabular data <a href="#tbw"
title=TBW>[TBW]</a></h3>
<!-- XXXX tables -->
Expand Down Expand Up @@ -14279,7 +14321,7 @@ XXX selection ranges -->
readonly attribute <a href="#storagelist">StorageList</a> <a href="#globalstorage" title=dom-globalStorage>globalStorage</a>;

// defined in other sections
attribute <span>Object</span> <a href="#onerror">onerror</a>;
attribute <a href="#object0">Object</a> <a href="#onerror">onerror</a>;

};</pre>
<!-- XXX XMLHttpRequest, Image, Audio, confirm, prompt, alert, ...
Expand All @@ -14299,8 +14341,8 @@ XXX selection ranges -->
<p><code><a href="#history1">History</a></code> objects provide a
representation of the pages in the session history of their
<code>Window</code> object's <a href="#browsing">browsing context</a>.
Each browsing context (<code>frame</code>, <code>iframe</code>, etc) has a
distinct session history.</p>
Each browsing context (<code>frame</code>, <code><a
href="#iframe0">iframe</a></code>, etc) has a distinct session history.</p>
<!-- conf crit for that last statement is in
the bit that defines browsing context -->

Expand Down Expand Up @@ -14757,9 +14799,10 @@ user reload must be equivalent to .reload()
href="#history0">history</a></code> object are derived from the actual
session history as seen from the user's perspective.

<p>Similarly, a page containing two <code>iframe</code>s has a <code
title=dom-history><a href="#history0">history</a></code> object distinct
from the <code>iframe</code>s' <code title=dom-history><a
<p>Similarly, a page containing two <code><a
href="#iframe0">iframe</a></code>s has a <code title=dom-history><a
href="#history0">history</a></code> object distinct from the <code><a
href="#iframe0">iframe</a></code>s' <code title=dom-history><a
href="#history0">history</a></code> objects, despite the fact that typical
Web browsers present the user with just one "Back" button, with a session
history that interleaves the navigation of the two inner frames and the
Expand Down Expand Up @@ -15371,12 +15414,13 @@ interface <dfn id=storage1>Storage</dfn> {
href="#storage1">Storage</a></code> objects must support dereferencing
such that getting a property that is not a member of the object (i.e. is
neither a member of the <code><a href="#storage1">Storage</a></code>
interface nor of <code>Object</code>) must invoke the <code
title=dom-Storage-getItem><a href="#getitem">getItem()</a></code> method
with the property's name as the argument, and setting such a property must
invoke the <code title=dom-Storage-setItem><a
href="#setitem">setItem()</a></code> method with the property's name as
the first argument and the given value as the second argument.
interface nor of <code><a href="#object0">Object</a></code>) must invoke
the <code title=dom-Storage-getItem><a
href="#getitem">getItem()</a></code> method with the property's name as
the argument, and setting such a property must invoke the <code
title=dom-Storage-setItem><a href="#setitem">setItem()</a></code> method
with the property's name as the first argument and the given value as the
second argument.

<h4 id=the-storageitem><span class=secno>5.3.3. </span>The <code><a
href="#storageitem">StorageItem</a></code> interface</h4>
Expand Down Expand Up @@ -15533,8 +15577,8 @@ interface <dfn id=storageitem>StorageItem</dfn> {
href="#storagelist">StorageList</a></code> objects must support
dereferencing such that getting a property that is not a member of the
object (i.e. is neither a member of the <code><a
href="#storagelist">StorageList</a></code> interface nor of
<code>Object</code>) must invoke the <code
href="#storagelist">StorageList</a></code> interface nor of <code><a
href="#object0">Object</a></code>) must invoke the <code
title=dom-Storagelist-namedItem><a
href="#nameditem2">namedItem()</a></code> method with the property's name
as the argument.
Expand Down Expand Up @@ -19474,9 +19518,10 @@ interface <dfn id=imagedata>ImageData</dfn> {

<p>The <code><a href="#audio">Audio</a></code> interface allows scripts to
play sound clips. This interface is intended for sound effects, not for
streaming audio or multimedia; for the latter, the <code>object</code>
element is more appropriate. <span class=issue>We need to add an API for
object to support pausing, etc, of streaming APIs.</span>
streaming audio or multimedia; for the latter, the <code><a
href="#object0">object</a></code> element is more appropriate. <span
class=issue>We need to add an API for object to support pausing, etc, of
streaming APIs.</span>

<p>There is no markup element that corresponds to <code><a
href="#audio">Audio</a></code> objects, they are only accessible from
Expand Down Expand Up @@ -20997,8 +21042,9 @@ document.getElementById('stock').addEventListener('stock change',
by hostile sites.

<div class=example>
<p>For example, if document A contains an <code>object</code> element that
contains document B, and script in document A calls <code><a
<p>For example, if document A contains an <code><a
href="#object0">object</a></code> element that contains document B, and
script in document A calls <code><a
href="#postmessage">postMessage()</a></code> on document B, then a
message event will be fired on that element, marked as originating from
document A. The script in document A might look like:</p>
Expand Down Expand Up @@ -22490,21 +22536,21 @@ function receiver(e) {

<dd>
<p>The following HTML elements have varying levels of special parsing
rules: <code><a href="#address0">address</a></code>, <code>area</code>,
<code><a href="#base0">base</a></code>, <code>basefont</code>,
<code>bgsound</code>, <code><a
rules: <code><a href="#address0">address</a></code>, <code><a
href="#area0">area</a></code>, <code><a href="#base0">base</a></code>,
<code>basefont</code>, <code>bgsound</code>, <code><a
href="#blockquote0">blockquote</a></code>, <code><a
href="#body1">body</a></code>, <code><a href="#br0">br</a></code>,
<code>center</code>, <code>col</code>, <code>colgroup</code>, <code><a
href="#dd0">dd</a></code>, <code>dir</code>, <code>div</code>, <code><a
href="#dl0">dl</a></code>, <code><a href="#dt0">dt</a></code>,
<code>embed</code>, <code>fieldset</code>, <code>form</code>,
<code>frame</code>, <code>frameset</code>, <code><a
href="#dl0">dl</a></code>, <code><a href="#dt0">dt</a></code>, <code><a
href="#embed0">embed</a></code>, <code>fieldset</code>,
<code>form</code>, <code>frame</code>, <code>frameset</code>, <code><a
href="#h10">h1</a></code>, <code><a href="#h20">h2</a></code>, <code><a
href="#h30">h3</a></code>, <code><a href="#h40">h4</a></code>, <code><a
href="#h50">h5</a></code>, <code><a href="#h60">h6</a></code>, <code><a
href="#head0">head</a></code>, <code><a href="#hr0">hr</a></code>,
<code>iframe</code>,
<code><a href="#iframe0">iframe</a></code>,
<code>image</code><!-- XXX ? this isn't an element that can end up
on the stack-->,
<code><a href="#img0">img</a></code>, <code>input</code>,
Expand All @@ -22514,24 +22560,24 @@ function receiver(e) {
<code>noembed</code>, <code>noframes</code>, <code><a
href="#noscript0">noscript</a></code>, <code><a
href="#ol0">ol</a></code>, <code>optgroup</code>, <code>option</code>,
<code><a href="#p0">p</a></code>, <code>param</code>,
<code>plaintext</code>, <code><a href="#pre0">pre</a></code>, <code><a
href="#script2">script</a></code>, <code>select</code>,
<code>spacer</code>, <code><a href="#style0">style</a></code>,
<code>tbody</code>, <code>textarea</code>, <code>tfoot</code>,
<code>thead</code>, <code><a href="#title2">title</a></code>,
<code>tr</code>, <code><a href="#ul0">ul</a></code>, and
<code>wbr</code>.
<code><a href="#p0">p</a></code>, <code><a
href="#param0">param</a></code>, <code>plaintext</code>, <code><a
href="#pre0">pre</a></code>, <code><a href="#script2">script</a></code>,
<code>select</code>, <code>spacer</code>, <code><a
href="#style0">style</a></code>, <code>tbody</code>,
<code>textarea</code>, <code>tfoot</code>, <code>thead</code>, <code><a
href="#title2">title</a></code>, <code>tr</code>, <code><a
href="#ul0">ul</a></code>, and <code>wbr</code>.

<dt><dfn id=scoping>Scoping</dfn>

<dd>
<p>The following HTML elements introduce new <a href="#have-an"
title="has an element in scope">scopes</a> for various parts of the
parsing: <code>button</code>, <code>caption</code>, <code><a
href="#html0">html</a></code>, <code>marquee</code>,
<code>object</code>, <code>table</code>, <code>td</code> and
<code>th</code>.
href="#html0">html</a></code>, <code>marquee</code>, <code><a
href="#object0">object</a></code>, <code>table</code>, <code>td</code>
and <code>th</code>.

<dt><dfn id=formatting>Formatting</dfn>

Expand Down Expand Up @@ -22596,7 +22642,7 @@ function receiver(e) {

<li><code>marquee</code>

<li><code>object</code>
<li><code><a href="#object0">object</a></code>
</ul>

<li>
Expand Down Expand Up @@ -22633,9 +22679,10 @@ function receiver(e) {

<p>The list contains elements in the <a href="#formatting">formatting</a>
category, and scope markers. The scope markers are inserted when entering
buttons, <code>object</code> elements, marquees, table cells, and table
captions, and are used to prevent formatting from "leaking" into tables,
buttons, <code>object</code> elements, and marquees.
buttons, <code><a href="#object0">object</a></code> elements, marquees,
table cells, and table captions, and are used to prevent formatting from
"leaking" into tables, buttons, <code><a href="#object0">object</a></code>
elements, and marquees.

<p>When the steps below require the UA to <dfn id=reconstruct>reconstruct
the active formatting elements</dfn>, the UA must perform the following
Expand Down
13 changes: 13 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -8225,6 +8225,19 @@ Address: &lt;input name="address"&gt;&lt;/p&gt;</pre>
it returns the empty string. -->


<h4>The <dfn><code>iframe</code></dfn> element</h4>

<h4>The <dfn><code>embed</code></dfn> element</h4>

<h4>The <dfn><code>object</code></dfn> element</h4>

<h4>The <dfn><code>param</code></dfn> element</h4>

<h4>The <dfn><code>map</code></dfn> element</h4>

<h4>The <dfn><code>area</code></dfn> element</h4>


<h3>Tabular data <span title="TBW">[TBW]</span></h3>
<!-- XXXX tables -->

Expand Down

0 comments on commit ca90a8b

Please sign in to comment.