Skip to content

Commit a92d279

Browse files
committed
[CSS2] Add data-dfn-type=type where appropriate
1 parent 46bd4d1 commit a92d279

File tree

10 files changed

+104
-104
lines changed

10 files changed

+104
-104
lines changed

css2/aural.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ <H2><span class="secno">A.2</span> <span id="aural-intro">Introduction to aural
145145

146146
<H3><span class="secno">A.2.1</span> <span id="angles">Angles</span></H3>
147147
<P>Angle values are denoted by <span class="index-def"
148-
title="&lt;angle&gt;::definition of"><span
149-
id="value-def-angle">&lt;angle&gt;</span></span> in the text.
148+
title="&lt;angle&gt;::definition of"><dfn
149+
id="value-def-angle" data-dfn-type="type">&lt;angle&gt;</dfn></span> in the text.
150150
Their format is a <span id="x4" class="index-inst"
151151
title="&lt;number&gt;"><a href="syndata.html#value-def-number" class="noxref"><span
152152
class="value-inst-number">&lt;number&gt;</span></a></span> immediately
@@ -172,7 +172,7 @@ <H3><span class="secno">A.2.1</span> <span id="angles">Angles</span></H3>
172172

173173
<H3><span class="secno">A.2.2</span> <span id="times">Times</span></H3>
174174

175-
<P>Time values are denoted by <span class="index-def" title="&lt;time&gt;::definition of"><span id="value-def-time">&lt;time&gt;</span></span> in the
175+
<P>Time values are denoted by <span class="index-def" title="&lt;time&gt;::definition of"><dfn id="value-def-time" data-dfn-type="type">&lt;time&gt;</dfn></span> in the
176176
text.
177177
Their format is a <span id="x6" class="index-inst"
178178
title="&lt;number&gt;"><a href="syndata.html#value-def-number" class="noxref"><span
@@ -194,8 +194,8 @@ <H3><span class="secno">A.2.2</span> <span id="times">Times</span></H3>
194194
<H3><span class="secno">A.2.3</span> <span id="frequencies">Frequencies</span></H3>
195195

196196
<P>Frequency values are denoted by <span class="index-def"
197-
title="&lt;frequency&gt;::definition of"><span
198-
id="value-def-frequency">&lt;frequency&gt;</span></span> in the text.
197+
title="&lt;frequency&gt;::definition of"><dfn
198+
id="value-def-frequency" data-dfn-type="type">&lt;frequency&gt;</dfn></span> in the text.
199199
Their format is a <span id="x8" class="index-inst"
200200
title="&lt;number&gt;"><a href="syndata.html#value-def-number" class="noxref"><span
201201
class="value-inst-number">&lt;number&gt;</span></a></span> immediately
@@ -856,11 +856,11 @@ <h2><span class="secno">A.9</span> <span id="voice-char-props">Voice characteris
856856

857857
<dl>
858858
<dt><span class="index-def" title="&lt;generic-voice&gt;,
859-
definition of"><span
860-
id="value-def-generic-voice"><strong>&lt;generic-voice&gt;</strong></span></span>
859+
definition of"><dfn
860+
id="value-def-generic-voice" data-dfn-type="type"><strong>&lt;generic-voice&gt;</strong></dfn></span>
861861
<dd>Values are voice families. Possible values
862862
are 'male', 'female', and 'child'.
863-
<dt><span class="index-def" title="&lt;specific-voice&gt;::definition of"><span id="value-def-specific-voice"><strong>&lt;specific-voice&gt;</strong></span></span>
863+
<dt><span class="index-def" title="&lt;specific-voice&gt;::definition of"><dfn id="value-def-specific-voice" data-dfn-type="type"><strong>&lt;specific-voice&gt;</strong></dfn></span>
864864
<dd>Values are specific instances (e.g., comedian, trinoids, carlos, lani).
865865
</dl>
866866

css2/aural.src

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ paragraphs of class "peter" from the right. Paragraphs with class
9696

9797
<H3><span id="angles">Angles</span></H3>
9898
<P>Angle values are denoted by <span class="index-def"
99-
title="&lt;angle&gt;::definition of"><span
100-
id="value-def-angle">&lt;angle&gt;</span></span> in the text.
99+
title="&lt;angle&gt;::definition of"><dfn
100+
id="value-def-angle" data-dfn-type="type">&lt;angle&gt;</dfn></span> in the text.
101101
Their format is a <span class="index-inst"
102102
title="&lt;number&gt;"><span
103103
class="value-inst-number">&lt;number&gt;</span></span> immediately
@@ -123,7 +123,7 @@ zero: '0deg' may be written as '0'.
123123

124124
<H3><span id="times">Times</span></H3>
125125

126-
<P>Time values are denoted by <span class="index-def" title="&lt;time&gt;::definition of"><span id="value-def-time">&lt;time&gt;</span></span> in the
126+
<P>Time values are denoted by <span class="index-def" title="&lt;time&gt;::definition of"><dfn id="value-def-time" data-dfn-type="type">&lt;time&gt;</dfn></span> in the
127127
text.
128128
Their format is a <span class="index-inst"
129129
title="&lt;number&gt;"><span
@@ -145,8 +145,8 @@ zero: '0s' may be written as '0'.
145145
<H3><span id="frequencies">Frequencies</span></H3>
146146

147147
<P>Frequency values are denoted by <span class="index-def"
148-
title="&lt;frequency&gt;::definition of"><span
149-
id="value-def-frequency">&lt;frequency&gt;</span></span> in the text.
148+
title="&lt;frequency&gt;::definition of"><dfn
149+
id="value-def-frequency" data-dfn-type="type">&lt;frequency&gt;</dfn></span> in the text.
150150
Their format is a <span class="index-inst"
151151
title="&lt;number&gt;"><span
152152
class="value-inst-number">&lt;number&gt;</span></span> immediately
@@ -607,11 +607,11 @@ following meanings:</P>
607607

608608
<dl>
609609
<dt><span class="index-def" title="&lt;generic-voice&gt;,
610-
definition of"><span
611-
id="value-def-generic-voice"><strong>&lt;generic-voice&gt;</strong></span></span>
610+
definition of"><dfn
611+
id="value-def-generic-voice" data-dfn-type="type"><strong>&lt;generic-voice&gt;</strong></dfn></span>
612612
<dd>Values are voice families. Possible values
613613
are 'male', 'female', and 'child'.
614-
<dt><span class="index-def" title="&lt;specific-voice&gt;::definition of"><span id="value-def-specific-voice"><strong>&lt;specific-voice&gt;</strong></span></span>
614+
<dt><span class="index-def" title="&lt;specific-voice&gt;::definition of"><dfn id="value-def-specific-voice" data-dfn-type="type"><strong>&lt;specific-voice&gt;</strong></dfn></span>
615615
<dd>Values are specific instances (e.g., comedian, trinoids, carlos, lani).
616616
</dl>
617617

css2/box.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ <H2><span class="secno">8.3</span> <span id="margin-properties">Margin propertie
235235
elements.
236236

237237
<P>The properties defined in this section refer to the <span
238-
class="index-def" title="&lt;margin-width&gt;::definition of"><span
239-
id="value-def-margin-width"><strong>&lt;margin-width&gt;</strong></span></span>
238+
class="index-def" title="&lt;margin-width&gt;::definition of"><dfn
239+
id="value-def-margin-width" data-dfn-type="type"><strong>&lt;margin-width&gt;</strong></dfn></span>
240240
value type, which may take one of the following values:</p>
241241

242242
<dl>
@@ -516,9 +516,9 @@ <H2><span class="secno">8.4</span> <span id="padding-properties">Padding propert
516516
their respective side.
517517

518518
<P>The properties defined in this section refer to the <span
519-
class="index-def" title="&lt;padding-width&gt;::definition of"><span
520-
id="value-def-padding-width"><strong>&lt;padding-width&gt;</strong>
521-
</span></span> value type, which may take one of the following values:</p>
519+
class="index-def" title="&lt;padding-width&gt;::definition of"><dfn
520+
id="value-def-padding-width" data-dfn-type="type"><strong>&lt;padding-width&gt;</strong>
521+
</dfn></span> value type, which may take one of the following values:</p>
522522

523523
<dl>
524524
<dt><a href="syndata.html#value-def-length" class="noxref"><span class="value-inst-length"><strong>&lt;length&gt;</strong></span></a>
@@ -645,9 +645,9 @@ <H3><span class="secno">8.5.1</span> <span id="border-width-properties">Border w
645645
<P>The border width properties specify the width of the <a
646646
href="#box-border-area">border area</a>. The properties
647647
defined in this section refer to the <span class="index-def"
648-
title="&lt;border-width&gt;::definition of"><span
649-
id="value-def-border-width"
650-
class="value-def"><strong>&lt;border-width&gt;</strong></span></span>
648+
title="&lt;border-width&gt;::definition of"><dfn
649+
id="value-def-border-width" data-dfn-type="type"
650+
class="value-def"><strong>&lt;border-width&gt;</strong></dfn></span>
651651
value type, which may take one of the following values:</P>
652652

653653
<dl>
@@ -824,8 +824,8 @@ <H3><span class="secno">8.5.3</span> <span id="border-style-properties">Border s
824824
<P>The border style properties specify the line style of a box's
825825
border (solid, double, dashed, etc.). The properties defined in this
826826
section refer to the <span class="index-def"
827-
title="&lt;border-style&gt;, definition of"><span
828-
id="value-def-border-style"><strong>&lt;border-style&gt;</strong></span></span>
827+
title="&lt;border-style&gt;, definition of"><dfn
828+
id="value-def-border-style" data-dfn-type="type"><strong>&lt;border-style&gt;</strong></dfn></span>
829829
value type, which may take one of the following values:</p>
830830

831831
<dl>

css2/box.src

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ vertical margins will not have any effect on non-replaced inline
191191
elements.
192192

193193
<P>The properties defined in this section refer to the <span
194-
class="index-def" title="&lt;margin-width&gt;::definition of"><span
195-
id="value-def-margin-width"><strong>&lt;margin-width&gt;</strong></span></span>
194+
class="index-def" title="&lt;margin-width&gt;::definition of"><dfn
195+
id="value-def-margin-width" data-dfn-type="type"><strong>&lt;margin-width&gt;</strong></dfn></span>
196196
value type, which may take one of the following values:</p>
197197

198198
<dl>
@@ -424,9 +424,9 @@ padding for all four sides while the other padding properties only set
424424
their respective side.
425425

426426
<P>The properties defined in this section refer to the <span
427-
class="index-def" title="&lt;padding-width&gt;::definition of"><span
428-
id="value-def-padding-width"><strong>&lt;padding-width&gt;</strong>
429-
</span></span> value type, which may take one of the following values:</p>
427+
class="index-def" title="&lt;padding-width&gt;::definition of"><dfn
428+
id="value-def-padding-width" data-dfn-type="type"><strong>&lt;padding-width&gt;</strong>
429+
</dfn></span> value type, which may take one of the following values:</p>
430430

431431
<dl>
432432
<dt><span class="value-inst-length"><strong>&lt;length&gt;</strong></span>
@@ -523,9 +523,9 @@ class="propinst-border-bottom-width">'border-bottom-width'</span>,
523523
<P>The border width properties specify the width of the <a
524524
href="#box-border-area">border area</a>. The properties
525525
defined in this section refer to the <span class="index-def"
526-
title="&lt;border-width&gt;::definition of"><span
527-
id="value-def-border-width"
528-
class="value-def"><strong>&lt;border-width&gt;</strong></span></span>
526+
title="&lt;border-width&gt;::definition of"><dfn
527+
id="value-def-border-width" data-dfn-type="type"
528+
class="value-def"><strong>&lt;border-width&gt;</strong></dfn></span>
529529
value type, which may take one of the following values:</P>
530530

531531
<dl>
@@ -641,8 +641,8 @@ p {
641641
<P>The border style properties specify the line style of a box's
642642
border (solid, double, dashed, etc.). The properties defined in this
643643
section refer to the <span class="index-def"
644-
title="&lt;border-style&gt;, definition of"><span
645-
id="value-def-border-style"><strong>&lt;border-style&gt;</strong></span></span>
644+
title="&lt;border-style&gt;, definition of"><dfn
645+
id="value-def-border-style" data-dfn-type="type"><strong>&lt;border-style&gt;</strong></dfn></span>
646646
value type, which may take one of the following values:</p>
647647

648648
<dl>

css2/fonts.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,12 @@ <h2><span class="secno">15.3</span> <span id="font-family-prop">Font family</spa
197197
</p>
198198
<dl>
199199

200-
<dt><span id="value-def-family-name">&lt;family-name&gt;</span>
200+
<dt><dfn id="value-def-family-name" data-dfn-type="type">&lt;family-name&gt;</dfn>
201201
</dt>
202202
<dd>The name of a font family of choice. In the last example, "Gill"
203203
and "Helvetica" are font families.
204204
</dd>
205-
<dt><span id="value-def-generic-family">&lt;generic-family&gt;</span>
205+
<dt><dfn id="value-def-generic-family" data-dfn-type="type">&lt;generic-family&gt;</dfn>
206206
</dt>
207207
<dd>In the example above, the last value is a generic family name. The
208208
following generic families are defined:
@@ -707,7 +707,7 @@ <h2><span class="secno">15.7</span> <span id="font-size-props">Font size</span>:
707707
have the following meanings:</p>
708708

709709
<dl>
710-
<dt><b><span id="value-def-absolute-size">&lt;absolute-size&gt;</span></b>
710+
<dt><b><dfn id="value-def-absolute-size" data-dfn-type="type">&lt;absolute-size&gt;</dfn></b>
711711
</dt>
712712
<dd>An &lt;absolute-size&gt; keyword is an index to a table of font
713713
sizes computed and kept by the UA. Possible values are:
@@ -765,7 +765,7 @@ <h2><span class="secno">15.7</span> <span id="font-size-props">Font size</span>:
765765
fixed ratio.</em></p>
766766

767767
</dd>
768-
<dt><b><span id="value-def-relative-size">&lt;relative-size&gt;</span></b>
768+
<dt><b><dfn id="value-def-relative-size" data-dfn-type="type">&lt;relative-size&gt;</dfn></b>
769769
</dt>
770770
<dd>A &lt;relative-size&gt; keyword is interpreted relative to the
771771
table of font sizes and the font size of the parent element. Possible

css2/fonts.src

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ character's code point).
136136
</p>
137137
<dl>
138138

139-
<dt><span id="value-def-family-name">&lt;family-name&gt;</span>
139+
<dt><dfn id="value-def-family-name" data-dfn-type="type">&lt;family-name&gt;</dfn>
140140
</dt>
141141
<dd>The name of a font family of choice. In the last example, "Gill"
142142
and "Helvetica" are font families.
143143
</dd>
144-
<dt><span id="value-def-generic-family">&lt;generic-family&gt;</span>
144+
<dt><dfn id="value-def-generic-family" data-dfn-type="type">&lt;generic-family&gt;</dfn>
145145
</dt>
146146
<dd>In the example above, the last value is a generic family name. The
147147
following generic families are defined:
@@ -597,7 +597,7 @@ Note that certain glyphs may bleed outside their em squares. Values
597597
have the following meanings:</p>
598598

599599
<dl>
600-
<dt><b><span id="value-def-absolute-size">&lt;absolute-size&gt;</span></b>
600+
<dt><b><dfn id="value-def-absolute-size" data-dfn-type="type">&lt;absolute-size&gt;</dfn></b>
601601
</dt>
602602
<dd>An &lt;absolute-size&gt; keyword is an index to a table of font
603603
sizes computed and kept by the UA. Possible values are:
@@ -655,7 +655,7 @@ problematic, and this specification does <em>not</em> recommend such a
655655
fixed ratio.</em></p>
656656

657657
</dd>
658-
<dt><b><span id="value-def-relative-size">&lt;relative-size&gt;</span></b>
658+
<dt><b><dfn id="value-def-relative-size" data-dfn-type="type">&lt;relative-size&gt;</dfn></b>
659659
</dt>
660660
<dd>A &lt;relative-size&gt; keyword is interpreted relative to the
661661
table of font sizes and the font size of the parent element. Possible

css2/syndata.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ <h3><span class="secno">4.1.3</span> <span id="characters">Characters and case</
329329
</li>
330330

331331
<li> In CSS, <span class="index-def"
332-
title="identifier|identifier, definition of"><span
333-
id="value-def-identifier"><dfn>identifiers</dfn></span></span>
332+
title="identifier|identifier, definition of"><dfn
333+
id="value-def-identifier" data-dfn-type="type" data-lt="<identifier>"><dfn>identifiers</dfn></dfn></span>
334334
(including element names, classes, and IDs in <a
335335
href="selector.html">selectors</a>) can contain only the
336336
characters [a-zA-Z0-9] and ISO 10646 characters U+00A0 and higher,
@@ -868,11 +868,11 @@ <h2><span class="secno">4.3</span> <span id="values">Values</span></h2>
868868
<h3><span class="secno">4.3.1</span> <span id="numbers">Integers and real numbers</span></h3>
869869

870870
<p>Some value types may have integer values (denoted by <span
871-
class="index-def" title="&lt;integer&gt;::definition of"><span
872-
id="value-def-integer" class="value-def">&lt;integer&gt;</span></span>)
871+
class="index-def" title="&lt;integer&gt;::definition of"><dfn
872+
id="value-def-integer" data-dfn-type="type" class="value-def">&lt;integer&gt;</dfn></span>)
873873
or real number values (denoted by <span class="index-def"
874-
title="&lt;number&gt;::definition of"><span id="value-def-number"
875-
class="value-def">&lt;number&gt;</span></span>). Real numbers and
874+
title="&lt;number&gt;::definition of"><dfn id="value-def-number" data-dfn-type="type"
875+
class="value-def">&lt;number&gt;</dfn></span>). Real numbers and
876876
integers are specified in decimal notation only. An &lt;integer&gt;
877877
consists of one or more digits "0" to "9". A &lt;number&gt; can either
878878
be an &lt;integer&gt;, or it can be zero or more digits followed by a
@@ -890,8 +890,8 @@ <h3><span class="secno">4.3.2</span> <span id="length-units">Lengths</span></h3>
890890
<p>Lengths refer to distance measurements.</p>
891891

892892
<p> The format of a length value (denoted by <span class="index-def"
893-
title="&lt;length&gt;::definition of"><span id="value-def-length"
894-
class="value-def">&lt;length&gt;</span></span> in this specification) is
893+
title="&lt;length&gt;::definition of"><dfn id="value-def-length" data-dfn-type="type"
894+
class="value-def">&lt;length&gt;</dfn></span> in this specification) is
895895
a <a href="syndata.html#value-def-number" class="noxref"><span
896896
class="value-inst-number">&lt;number&gt;</span></a> (with or without a
897897
decimal point) immediately followed by a unit identifier (e.g., px,
@@ -1098,9 +1098,9 @@ <h3><span class="secno">4.3.2</span> <span id="length-units">Lengths</span></h3>
10981098
<h3><span class="secno">4.3.3</span> <span id="percentage-units">Percentages</span></h3>
10991099

11001100
<p> The format of a percentage value (denoted by <span
1101-
class="index-def" title="&lt;percentage&gt;::definition of"><span
1102-
id="value-def-percentage"
1103-
class="value-def">&lt;percentage&gt;</span></span> in this specification)
1101+
class="index-def" title="&lt;percentage&gt;::definition of"><dfn
1102+
id="value-def-percentage" data-dfn-type="type"
1103+
class="value-def">&lt;percentage&gt;</dfn></span> in this specification)
11041104
is a <span id="x43" class="index-inst"
11051105
title="&lt;number&gt;"><a href="syndata.html#value-def-number" class="noxref"><span
11061106
class="value-inst-number">&lt;number&gt;</span></a></span> immediately
@@ -1136,8 +1136,8 @@ <h3><span class="secno">4.3.4</span> <span id="uri">URLs and URIs</span></h3>
11361136

11371137
<p>URI values (Uniform Resource Identifiers, see <a href="refs.html#ref-RFC3986" class="noxref"><span class="normref">[RFC3986]</span></a>, which
11381138
includes URLs, URNs, etc) in this specification are denoted by <span
1139-
class="index-def" title="&lt;uri&gt;::definition of"><span
1140-
id="value-def-uri" class="value-def">&lt;uri&gt;</span></span>. The
1139+
class="index-def" title="&lt;uri&gt;::definition of"><dfn
1140+
id="value-def-uri" data-dfn-type="type" class="value-def">&lt;uri&gt;</dfn></span>. The
11411141
functional notation used to designate URIs in property values is
11421142
"url()", as in:
11431143
</p>
@@ -1208,8 +1208,8 @@ <h3><span class="secno">4.3.4</span> <span id="uri">URLs and URIs</span></h3>
12081208
</p>
12091209
<h3><span class="secno">4.3.5</span> <span id="counter">Counters</span></h3>
12101210

1211-
<p><span class="index-def" title="&lt;counter&gt;, definition of"><span
1212-
id="value-def-counter">Counters</span></span> are denoted by
1211+
<p><span class="index-def" title="&lt;counter&gt;, definition of"><dfn
1212+
id="value-def-counter" data-dfn-type="type" data-lt="<counter>">Counters</dfn></span> are denoted by
12131213
case-sensitive identifiers (see the <a href="generate.html#propdef-counter-increment" class="noxref"><span
12141214
class="propinst-counter-increment">'counter-increment'</span></a> and
12151215
<a href="generate.html#propdef-counter-reset" class="noxref"><span class="propinst-counter-reset">'counter-reset'</span></a>
@@ -1251,8 +1251,8 @@ <h3><span class="secno">4.3.5</span> <span id="counter">Counters</span></h3>
12511251

12521252
<h3><span class="secno">4.3.6</span> <span id="color-units">Colors</span></h3>
12531253
<p>
1254-
A <span class="index-def" title="&lt;color&gt;::definition of"><span
1255-
id="value-def-color" class="value-def">&lt;color&gt;</span></span>
1254+
A <span class="index-def" title="&lt;color&gt;::definition of"><dfn
1255+
id="value-def-color" data-dfn-type="type" class="value-def">&lt;color&gt;</dfn></span>
12561256
is either a keyword or a numerical RGB specification.
12571257
</p>
12581258
<p> The list of color keywords is: aqua, black, blue, fuchsia,
@@ -1373,8 +1373,8 @@ <h3><span class="secno">4.3.6</span> <span id="color-units">Colors</span></h3>
13731373

13741374
<h3><span class="secno">4.3.7</span> <span id="strings">Strings</span></h3>
13751375

1376-
<p><span class="index-def" title="&lt;string&gt;, definition of"><span
1377-
id="value-def-string">Strings</span></span> can either be written
1376+
<p><span class="index-def" title="&lt;string&gt;, definition of"><dfn
1377+
id="value-def-string" data-dfn-type="type" data-lt="<string>">Strings</dfn></span> can either be written
13781378
with double quotes or with single quotes. Double quotes cannot occur
13791379
inside double quotes, unless escaped (e.g., as '\"' or as
13801380
'\22'). Analogously for single quotes (e.g., "\'" or "\27").

0 commit comments

Comments
 (0)