[html5] r7605 - [e] (0) Add example for 'seamless' that uses the word 'inclusion'. Fixing https: [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Dec 29 09:49:30 PST 2012


Author: ianh
Date: 2012-12-29 09:49:29 -0800 (Sat, 29 Dec 2012)
New Revision: 7605

Modified:
   complete.html
   index
   source
Log:
[e] (0) Add example for 'seamless' that uses the word 'inclusion'.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17875
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-12-29 17:17:25 UTC (rev 7604)
+++ complete.html	2012-12-29 17:49:29 UTC (rev 7605)
@@ -26119,6 +26119,24 @@
   <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><!DOCTYPE HTML>
+<title>Mirror Mirror — MovieInfo™</title>
+<header>
+ <h1>Mirror Mirror</h1>
+ <p>Part of the MovieInfo™ Database</p>
+ <nav>
+  <strong><iframe seamless src="nav.inc"></iframe></strong>
+ </nav>
+</header>
+...</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

Modified: index
===================================================================
--- index	2012-12-29 17:17:25 UTC (rev 7604)
+++ index	2012-12-29 17:49:29 UTC (rev 7605)
@@ -26119,6 +26119,24 @@
   <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><!DOCTYPE HTML>
+<title>Mirror Mirror — MovieInfo™</title>
+<header>
+ <h1>Mirror Mirror</h1>
+ <p>Part of the MovieInfo™ Database</p>
+ <nav>
+  <strong><iframe seamless src="nav.inc"></iframe></strong>
+ </nav>
+</header>
+...</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

Modified: source
===================================================================
--- source	2012-12-29 17:17:25 UTC (rev 7604)
+++ source	2012-12-29 17:49:29 UTC (rev 7605)
@@ -27871,6 +27871,24 @@
   <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><!DOCTYPE HTML>
+<title>Mirror Mirror — MovieInfo™</title>
+<header>
+ <h1>Mirror Mirror</h1>
+ <p>Part of the MovieInfo™ Database</p>
+ <nav>
+  <strong><iframe seamless src="nav.inc"></iframe></strong>
+ </nav>
+</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




More information about the Commit-Watchers mailing list