[html5] r8223 - [e] (0) <figure> examples Affected topics: HTML

whatwg at whatwg.org whatwg at whatwg.org
Tue Oct 15 12:46:04 PDT 2013


Author: ianh
Date: 2013-10-15 12:46:03 -0700 (Tue, 15 Oct 2013)
New Revision: 8223

Modified:
   complete.html
   index
   source
Log:
[e] (0) <figure> examples
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-10-15 17:28:02 UTC (rev 8222)
+++ complete.html	2013-10-15 19:46:03 UTC (rev 8223)
@@ -18916,14 +18916,18 @@
 
   <div class=example>
 
-   <p>Here we see a <code><a href=#the-figure-element>figure</a></code> element to mark up a photo.</p>
+   <p>Here we see a <code><a href=#the-figure-element>figure</a></code> element to mark up a photo that is the main content of the
+   page (as in a gallery).</p>
 
-   <pre><figure>
+   <pre><!DOCTYPE HTML>
+<title>Bubbles at work — My Gallery™</title>
+<figure>
  <img src="bubbles-work.jpeg"
       alt="Bubbles, sitting in his office chair, works on his
            latest project intently.">
  <figcaption>Bubbles at work</figcaption>
-</figure></pre>
+</figure>
+<nav><a href="19414.html">Prev</a> — <a href="19416.html">Next</a></nav></pre>
 
   </div>
 
@@ -19016,7 +19020,27 @@
 
   </div>
 
+  <div class=example>
 
+   <p>The figure is sometimes referenced only implicitly from the content:</p>
+
+   <!-- from http://www.reuters.com/article/2013/10/15/us-usa-fiscal-idUSBRE98N11220131015 -->
+
+   <pre><article>
+ <h1>Fiscal negotiations stumble in Congress as deadline nears
+ <figure>
+  <img src="obama-reid.jpeg" alt="Obama and Reid sit together smiling in the Oval Office.">
+  <figcaption>Barrak Obama and Harry Reid. White House press photograph.</figcaption>
+ </figure>
+ <p>Negotiations in Congress to end the fiscal impasse sputtered on Tuesday, leaving both chambers
+ grasping for a way to reopen the government and raise the country's borrowing authority with a
+ Thursday deadline drawing near.</p>
+ ...
+</article></pre>
+
+  </div>
+
+
   <h4 id=the-figcaption-element><span class=secno>4.5.12 </span>The <dfn><code>figcaption</code></dfn> element</h4>
 
   <dl class=element><dt><a href=#element-dfn-categories title=element-dfn-categories>Categories</a>:</dt>

Modified: index
===================================================================
--- index	2013-10-15 17:28:02 UTC (rev 8222)
+++ index	2013-10-15 19:46:03 UTC (rev 8223)
@@ -18916,14 +18916,18 @@
 
   <div class=example>
 
-   <p>Here we see a <code><a href=#the-figure-element>figure</a></code> element to mark up a photo.</p>
+   <p>Here we see a <code><a href=#the-figure-element>figure</a></code> element to mark up a photo that is the main content of the
+   page (as in a gallery).</p>
 
-   <pre><figure>
+   <pre><!DOCTYPE HTML>
+<title>Bubbles at work — My Gallery™</title>
+<figure>
  <img src="bubbles-work.jpeg"
       alt="Bubbles, sitting in his office chair, works on his
            latest project intently.">
  <figcaption>Bubbles at work</figcaption>
-</figure></pre>
+</figure>
+<nav><a href="19414.html">Prev</a> — <a href="19416.html">Next</a></nav></pre>
 
   </div>
 
@@ -19016,7 +19020,27 @@
 
   </div>
 
+  <div class=example>
 
+   <p>The figure is sometimes referenced only implicitly from the content:</p>
+
+   <!-- from http://www.reuters.com/article/2013/10/15/us-usa-fiscal-idUSBRE98N11220131015 -->
+
+   <pre><article>
+ <h1>Fiscal negotiations stumble in Congress as deadline nears
+ <figure>
+  <img src="obama-reid.jpeg" alt="Obama and Reid sit together smiling in the Oval Office.">
+  <figcaption>Barrak Obama and Harry Reid. White House press photograph.</figcaption>
+ </figure>
+ <p>Negotiations in Congress to end the fiscal impasse sputtered on Tuesday, leaving both chambers
+ grasping for a way to reopen the government and raise the country's borrowing authority with a
+ Thursday deadline drawing near.</p>
+ ...
+</article></pre>
+
+  </div>
+
+
   <h4 id=the-figcaption-element><span class=secno>4.5.12 </span>The <dfn><code>figcaption</code></dfn> element</h4>
 
   <dl class=element><dt><a href=#element-dfn-categories title=element-dfn-categories>Categories</a>:</dt>

Modified: source
===================================================================
--- source	2013-10-15 17:28:02 UTC (rev 8222)
+++ source	2013-10-15 19:46:03 UTC (rev 8223)
@@ -19722,14 +19722,18 @@
 
   <div class="example">
 
-   <p>Here we see a <code>figure</code> element to mark up a photo.</p>
+   <p>Here we see a <code>figure</code> element to mark up a photo that is the main content of the
+   page (as in a gallery).</p>
 
-   <pre><figure>
+   <pre><!DOCTYPE HTML>
+<title>Bubbles at work — My Gallery™</title>
+<figure>
  <img src="bubbles-work.jpeg"
       alt="Bubbles, sitting in his office chair, works on his
            latest project intently.">
  <figcaption>Bubbles at work</figcaption>
-</figure></pre>
+</figure>
+<nav><a href="19414.html">Prev</a> — <a href="19416.html">Next</a></nav></pre>
 
   </div>
 
@@ -19823,7 +19827,27 @@
 
   </div>
 
+  <div class="example">
 
+   <p>The figure is sometimes referenced only implicitly from the content:</p>
+
+   <!-- from http://www.reuters.com/article/2013/10/15/us-usa-fiscal-idUSBRE98N11220131015 -->
+
+   <pre><article>
+ <h1>Fiscal negotiations stumble in Congress as deadline nears</h1>
+ <figure>
+  <img src="obama-reid.jpeg" alt="Obama and Reid sit together smiling in the Oval Office.">
+  <figcaption>Barrak Obama and Harry Reid. White House press photograph.</figcaption>
+ </figure>
+ <p>Negotiations in Congress to end the fiscal impasse sputtered on Tuesday, leaving both chambers
+ grasping for a way to reopen the government and raise the country's borrowing authority with a
+ Thursday deadline drawing near.</p>
+ ...
+</article></pre>
+
+  </div>
+
+
   <h4>The <dfn><code>figcaption</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list