Skip to content

Commit

Permalink
[e] (0) Add example for 'seamless' that uses the word 'inclusion'.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17875
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7605 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 29, 2012
1 parent 83a4e50 commit b0b5d7b
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
18 changes: 18 additions & 0 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -26119,6 +26119,24 @@ <h4 id=the-iframe-element><span class=secno>4.8.2 </span>The <dfn><code>iframe</
<a href=#browsing-context>browsing context</a> is to be rendered in a manner that makes it appear to be part of the
containing document (seamlessly included in the parent document).</p>

<div class=example>

<p id=inclusion>An HTML inclusion is effected using this attribute as in the following example.
In this case, the inclusion is of a site-wide navigation bar.</p>

<pre>&lt;!DOCTYPE HTML&gt;
&lt;title&gt;Mirror Mirror &mdash; MovieInfo&trade;&lt;/title&gt;
&lt;header&gt;
&lt;h1&gt;Mirror Mirror&lt;/h1&gt;
&lt;p&gt;Part of the MovieInfo&trade; Database&lt;/p&gt;
&lt;nav&gt;
<strong>&lt;iframe seamless src="nav.inc"&gt;&lt;/iframe&gt;</strong>
&lt;/nav&gt;
&lt;/header&gt;
...</pre>

</div>

<div class=impl>

<p>An <code><a href=#the-iframe-element>iframe</a></code> element is said to be <dfn id=in-seamless-mode>in seamless mode</dfn> when all of the
Expand Down
18 changes: 18 additions & 0 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -26119,6 +26119,24 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<a href=#browsing-context>browsing context</a> is to be rendered in a manner that makes it appear to be part of the
containing document (seamlessly included in the parent document).</p>

<div class=example>

<p id=inclusion>An HTML inclusion is effected using this attribute as in the following example.
In this case, the inclusion is of a site-wide navigation bar.</p>

<pre>&lt;!DOCTYPE HTML&gt;
&lt;title&gt;Mirror Mirror &mdash; MovieInfo&trade;&lt;/title&gt;
&lt;header&gt;
&lt;h1&gt;Mirror Mirror&lt;/h1&gt;
&lt;p&gt;Part of the MovieInfo&trade; Database&lt;/p&gt;
&lt;nav&gt;
<strong>&lt;iframe seamless src="nav.inc"&gt;&lt;/iframe&gt;</strong>
&lt;/nav&gt;
&lt;/header&gt;
...</pre>

</div>

<div class=impl>

<p>An <code><a href=#the-iframe-element>iframe</a></code> element is said to be <dfn id=in-seamless-mode>in seamless mode</dfn> when all of the
Expand Down
18 changes: 18 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -27871,6 +27871,24 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
<span>browsing context</span> is to be rendered in a manner that makes it appear to be part of the
containing document (seamlessly included in the parent document).</p>

<div class="example">

<p id="inclusion">An HTML inclusion is effected using this attribute as in the following example.
In this case, the inclusion is of a site-wide navigation bar.</p>

<pre>&lt;!DOCTYPE HTML>
&lt;title>Mirror Mirror &mdash; MovieInfo&trade;&lt;/title>
&lt;header>
&lt;h1>Mirror Mirror&lt;/h1>
&lt;p>Part of the MovieInfo&trade; Database&lt;/p>
&lt;nav>
<strong>&lt;iframe seamless src="nav.inc">&lt;/iframe></strong>
&lt;/nav>
&lt;/header>
...</pre>

</div>

<div class="impl">

<p>An <code>iframe</code> element is said to be <dfn>in seamless mode</dfn> when all of the
Expand Down

0 comments on commit b0b5d7b

Please sign in to comment.