@@ -18971,8 +18971,6 @@ first matching case):</p>
18971
18971
<dd>Uses <code>HTMLElement</code>.</dd>
18972
18972
</dl>
18973
18973
18974
- <!-- v2: Add a <credit> element for photo credits -->
18975
-
18976
18974
<p>The <code>figure</code> element <span>represents</span> some <span>flow content</span>,
18977
18975
optionally with a caption, that is self-contained (like a complete sentence) and is typically
18978
18976
<span>referenced</span> as a single unit from the main flow of the document.</p>
@@ -18982,25 +18980,24 @@ first matching case):</p>
18982
18980
be inappropriate for <code>figure</code>, but an entire sentence made of images would be
18983
18981
fitting.</p>
18984
18982
18985
- <p>The element can thus be used to annotate illustrations, diagrams, photos, code listings, etc.</p>
18983
+ <p>The element can thus be used to annotate illustrations, diagrams, photos, code listings,
18984
+ etc.</p>
18986
18985
18987
18986
<div class="note" id="figure-note-about-references">
18988
-
18989
18987
<p>When a <code>figure</code> is referred to from the main content of the document by identifying
18990
- it by its caption (e.g. by figure number), it enables such content to be easily moved away from
18991
- that primary content, e.g. to the side of the page, to dedicated pages, or to an appendix, without
18992
- affecting the flow of the document.</p>
18988
+ it by its caption (e.g., by figure number), it enables such content to be easily moved away from
18989
+ that primary content, e.g., to the side of the page, to dedicated pages, or to an appendix,
18990
+ without affecting the flow of the document.</p>
18993
18991
18994
- <p>If a <code>figure</code> element is <span>referenced</span> by its relative position, e.g. "in
18995
- the photograph above" or "as the next figure shows", then moving the figure would disrupt the
18992
+ <p>If a <code>figure</code> element is <span>referenced</span> by its relative position, e.g.,
18993
+ "in the photograph above" or "as the next figure shows", then moving the figure would disrupt the
18996
18994
page's meaning. Authors are encouraged to consider using labels to refer to figures, rather than
18997
18995
using such relative references, so that the page can easily be restyled without affecting the
18998
18996
page's meaning.</p>
18999
-
19000
18997
</div>
19001
18998
19002
- <p>The <span w-nodev>first</span> <code>figcaption</code> element child of the element, if
19003
- any, represents the caption of the <code>figure</code> element's contents. If there is no child
18999
+ <p>The <span w-nodev>first</span> <code>figcaption</code> element child of the element, if any,
19000
+ represents the caption of the <code>figure</code> element's contents. If there is no child
19004
19001
<code>figcaption</code> element, then there is no caption.</p>
19005
19002
19006
19003
<p>A <code>figure</code> element's contents are part of the surrounding flow. If the purpose of
@@ -19014,7 +19011,6 @@ first matching case):</p>
19014
19011
the purposes of enticing readers or highlighting key topics.</p>
19015
19012
19016
19013
<div class="example">
19017
-
19018
19014
<p>This example shows the <code>figure</code> element to mark up a code listing.</p>
19019
19015
19020
19016
<pre><p>In <a href="#l4">listing 4</a> we see the primary core interface
@@ -19028,11 +19024,9 @@ API declaration.</p>
19028
19024
}</code></pre>
19029
19025
</figure>
19030
19026
<p>The API is designed to use UTF-8.</p></pre>
19031
-
19032
19027
</div>
19033
19028
19034
19029
<div class="example">
19035
-
19036
19030
<p>Here we see a <code>figure</code> element to mark up a photo that is the main content of the
19037
19031
page (as in a gallery).</p>
19038
19032
@@ -19046,11 +19040,9 @@ API declaration.</p>
19046
19040
<figcaption>Bubbles at work</figcaption>
19047
19041
</figure>
19048
19042
<nav><a href="19414.html">Prev</a> — <a href="19416.html">Next</a></nav></pre>
19049
-
19050
19043
</div>
19051
19044
19052
19045
<div class="example">
19053
-
19054
19046
<p>In this example, we see an image that is <em>not</em> a figure, as well as an image and a
19055
19047
video that are. The first image is literally part of the example's second sentence, so it's not a
19056
19048
self-contained unit, and thus <code>figure</code> would be inappropriate.</p>
@@ -19080,11 +19072,9 @@ included with Exhibit B.
19080
19072
</figure>
19081
19073
19082
19074
<p>The case was resolved out of court.</pre>
19083
-
19084
19075
</div>
19085
19076
19086
19077
<div class="example">
19087
-
19088
19078
<p>Here, a part of a poem is marked up using <code>figure</code>.</p>
19089
19079
19090
19080
<pre><figure>
@@ -19094,11 +19084,9 @@ included with Exhibit B.
19094
19084
And the mome raths outgrabe.</p>
19095
19085
<figcaption><cite>Jabberwocky</cite> (first verse). Lewis Carroll, 1832-98</figcaption>
19096
19086
</figure></pre>
19097
-
19098
19087
</div>
19099
19088
19100
19089
<div class="example">
19101
-
19102
19090
<p>In this example, which could be part of a much larger work discussing a castle, nested
19103
19091
<code>figure</code> elements are used to provide both a group caption and individual captions for
19104
19092
each figure in the group:</p>
@@ -19118,11 +19106,9 @@ included with Exhibit B.
19118
19106
<img src="castle1999.jpeg" alt="The castle lies in ruins, the original tower all that remains in one piece.">
19119
19107
</figure>
19120
19108
</figure></pre>
19121
-
19122
19109
</div>
19123
19110
19124
19111
<div class="example">
19125
-
19126
19112
<p>The previous example could also be more succinctly written as follows (using <code
19127
19113
data-x="attr-title">title</code> attributes in place of the nested
19128
19114
<code>figure</code>/<code>figcaption</code> pairs):</p>
@@ -19136,11 +19122,9 @@ included with Exhibit B.
19136
19122
alt="The castle lies in ruins, the original tower all that remains in one piece.">
19137
19123
<figcaption>The castle through the ages: 1423, 1858, and 1999 respectively.</figcaption>
19138
19124
</figure></pre>
19139
-
19140
19125
</div>
19141
19126
19142
19127
<div class="example">
19143
-
19144
19128
<p>The figure is sometimes <span>referenced</span> only implicitly from the content:</p>
19145
19129
19146
19130
<!-- from http://www.reuters.com/article/us-usa-fiscal-idUSBRE98N11220131017 -->
@@ -19156,7 +19140,6 @@ included with Exhibit B.
19156
19140
Thursday deadline drawing near.</p>
19157
19141
...
19158
19142
</article></pre>
19159
-
19160
19143
</div>
19161
19144
19162
19145
@@ -19179,6 +19162,19 @@ included with Exhibit B.
19179
19162
the contents of the <code>figcaption</code> element's parent <code>figure</code> element<span
19180
19163
w-nodev>, if any</span>.</p>
19181
19164
19165
+ <div class="example">
19166
+ <p>The element can contain additional information about the source:</p>
19167
+
19168
+ <pre><figcaption>
19169
+ <p>A duck.</p>
19170
+ <p><small>Photograph courtesy of 🌟 News.</small></p>
19171
+ </figcaption></pre>
19172
+
19173
+ <pre><figcaption>
19174
+ <p>Average rent for 3-room apartments, excluding non-profit apartments</p>
19175
+ <p>Zürich’s Statistics Office — <time datetime=2017-11-14>14 November 2017</time></p>
19176
+ </figcaption></pre>
19177
+ </div>
19182
19178
19183
19179
19184
19180
<h4>The <dfn><code>main</code></dfn> element</h4>
@@ -120939,7 +120935,7 @@ INSERT INTERFACES HERE
120939
120935
Evgeny Kapun,
120940
120936
Ezequiel Garzón,
120941
120937
fantasai,
120942
- Felix Sanz,
120938
+ Félix Sanz,
120943
120939
Felix Sasaki,
120944
120940
Fernando Altomare Serboncini,
120945
120941
Forbes Lindesay,
0 commit comments