Skip to content

Commit

Permalink
[HTML5 ISSUE-158] Working Group decision applied
Browse files Browse the repository at this point in the history
  • Loading branch information
erikadoyle committed Aug 24, 2012
1 parent 0c63d68 commit 9e9d6ba
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -13363,14 +13363,12 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0

<p>Consider the following markup fragment:</p>

<pre>&lt;p>&lt;object>&lt;param>&lt;ins>&lt;map>&lt;a href="/">Apples&lt;/a>&lt;/map>&lt;/ins>&lt;/object>&lt;/p></pre>
<pre>&lt;p>&lt;ins>&lt;map>&lt;a href="/">Apples&lt;/a>&lt;/map>&lt;/ins>&lt;/p></pre>

<p>To check whether "Apples" is allowed inside the <code>a</code>
element, the content models are examined. The <code>a</code>
element's content model is transparent, as is the <code>map</code>
element's, as is the <code>ins</code> element's, as is the part of
the <code>object</code> element's in which the <code>ins</code>
element is found. The <code>object</code> element is found in the
element's, as is the <code>ins</code> element's. The <code>ins</code> element is found in the
<code>p</code> element, whose content model is <span>phrasing
content</span>. Thus, "Apples" is allowed, as text is phrasing
content.</p>
Expand Down Expand Up @@ -13566,7 +13564,21 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
of the first paragraph.</p>

<p>To avoid this confusion, explicit <code>p</code> elements can be
used.</p>
used. For example:</p>

<pre>&lt;section>
&lt;h1>My Fish&lt;/h1>
You can play with my fish simulator.
&lt;object data="fish.sim">
&lt;p>To see the fish simulator, use one of the following links:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="fish.sim">Download simulator file&lt;/a>
&lt;li>&lt;a href="http://sims.example.com/watch?v=LYds5xY4INU">Use online simulator&lt;/a>
&lt;/ul>
&lt;p>Alternatively, upgrade to the Mellblom Browser.&lt;/p>
&lt;/object>
I'm quite proud of it.
&lt;/section></pre>

</div>

Expand Down Expand Up @@ -28589,7 +28601,7 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
<dt><span title="element-dfn-contexts">Contexts in which this element can be used</span>:</dt>
<dd>Where <span>embedded content</span> is expected.</dd>
<dt><span title="element-dfn-content-model">Content model</span>:</dt>
<dd>Zero or more <code>param</code> elements, then, <span>transparent</span>.</dd>
<dd>Zero or more <code>param</code> elements, then <span>flow content</span> and/or <span>interactive content</span>.</dd>
<dt><span title="element-dfn-attributes">Content attributes</span>:</dt>
<dd><span>Global attributes</span></dd>
<dd><code title="attr-object-data">data</code></dd>
Expand Down

0 comments on commit 9e9d6ba

Please sign in to comment.