Skip to content

Commit b491175

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

File tree

13 files changed

+132
-132
lines changed

13 files changed

+132
-132
lines changed

css2/box.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -829,33 +829,33 @@ <H3><span class="secno">8.5.3</span> <span id="border-style-properties">Border s
829829
value type, which may take one of the following values:</p>
830830

831831
<dl>
832-
<dt><strong><span class="index-def" title="'none'::as border style"><span id="value-def-bo-none" class="value-def">none</span></span></strong>
832+
<dt><strong><span class="index-def" title="'none'::as border style"><dfn id="value-def-bo-none" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">none</dfn></span></strong>
833833
<dd>No border; the computed border width is zero.
834-
<dt><strong><span class="index-def" title="'hidden'"><span id="value-def-hidden" class="value-def">hidden</span></span></strong>
834+
<dt><strong><span class="index-def" title="'hidden'"><dfn id="value-def-hidden" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">hidden</dfn></span></strong>
835835
<dd>Same as 'none', except in terms of <a
836836
href="tables.html#border-conflict-resolution">border conflict
837837
resolution</a> for <a href="tables.html">table elements</a>.
838-
<dt><strong><span class="index-def" title="'dotted'"><span id="value-def-dotted" class="value-def">dotted</span></span></strong>
838+
<dt><strong><span class="index-def" title="'dotted'"><dfn id="value-def-dotted" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">dotted</dfn></span></strong>
839839
<dd>The border is a series of dots.
840-
<dt><strong><span class="index-def" title="'dashed'"><span id="value-def-dashed" class="value-def">dashed</span></span></strong>
840+
<dt><strong><span class="index-def" title="'dashed'"><dfn id="value-def-dashed" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">dashed</dfn></span></strong>
841841
<dd>The border is a series of short line segments.
842-
<dt><strong><span class="index-def" title="'solid'"><span id="value-def-solid" class="value-def">solid</span></span></strong>
842+
<dt><strong><span class="index-def" title="'solid'"><dfn id="value-def-solid" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">solid</dfn></span></strong>
843843
<dd>The border is a single line segment.
844-
<dt><strong><span class="index-def" title="'double'"><span id="value-def-double" class="value-def">double</span></span></strong>
844+
<dt><strong><span class="index-def" title="'double'"><dfn id="value-def-double" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">double</dfn></span></strong>
845845
<dd>The border is two solid lines. The sum of
846846
the two lines and the space between them
847847
equals the value of <a href="box.html#propdef-border-width" class="noxref"><span
848848
class="propinst-border-width">'border-width'</span></a>.
849-
<dt><strong><span class="index-def" title="'groove'"><span id="value-def-groove" class="value-def">groove</span></span></strong>
849+
<dt><strong><span class="index-def" title="'groove'"><dfn id="value-def-groove" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">groove</dfn></span></strong>
850850
<dd>The border looks as though it were carved
851851
into the canvas.
852-
<dt><strong><span class="index-def" title="'ridge'"><span id="value-def-ridge" class="value-def">ridge</span></span></strong>
852+
<dt><strong><span class="index-def" title="'ridge'"><dfn id="value-def-ridge" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">ridge</dfn></span></strong>
853853
<dd>The opposite of 'groove': the border
854854
looks as though it were coming out of the canvas.
855-
<dt><strong><span class="index-def" title="'inset'"><span id="value-def-inset" class="value-def">inset</span></span></strong>
855+
<dt><strong><span class="index-def" title="'inset'"><dfn id="value-def-inset" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">inset</dfn></span></strong>
856856
<dd>The border makes the box look as though
857857
it were embedded in the canvas.
858-
<dt><strong><span class="index-def" title="'outset'"><span id="value-def-outset" class="value-def">outset</span></span></strong>
858+
<dt><strong><span class="index-def" title="'outset'"><dfn id="value-def-outset" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">outset</dfn></span></strong>
859859
<dd>The opposite of 'inset': the
860860
border makes the box look as though
861861
it were coming out of the canvas.

css2/box.src

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -646,33 +646,33 @@ id="value-def-border-style" data-dfn-type="type"><strong>&lt;border-style&gt;</s
646646
value type, which may take one of the following values:</p>
647647

648648
<dl>
649-
<dt><strong><span class="index-def" title="'none'::as border style"><span id="value-def-bo-none" class="value-def">none</span></span></strong>
649+
<dt><strong><span class="index-def" title="'none'::as border style"><dfn id="value-def-bo-none" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">none</dfn></span></strong>
650650
<dd>No border; the computed border width is zero.
651-
<dt><strong><span class="index-def" title="'hidden'"><span id="value-def-hidden" class="value-def">hidden</span></span></strong>
651+
<dt><strong><span class="index-def" title="'hidden'"><dfn id="value-def-hidden" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">hidden</dfn></span></strong>
652652
<dd>Same as 'none', except in terms of <a
653653
href="tables.html#border-conflict-resolution">border conflict
654654
resolution</a> for <a href="tables.html">table elements</a>.
655-
<dt><strong><span class="index-def" title="'dotted'"><span id="value-def-dotted" class="value-def">dotted</span></span></strong>
655+
<dt><strong><span class="index-def" title="'dotted'"><dfn id="value-def-dotted" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">dotted</dfn></span></strong>
656656
<dd>The border is a series of dots.
657-
<dt><strong><span class="index-def" title="'dashed'"><span id="value-def-dashed" class="value-def">dashed</span></span></strong>
657+
<dt><strong><span class="index-def" title="'dashed'"><dfn id="value-def-dashed" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">dashed</dfn></span></strong>
658658
<dd>The border is a series of short line segments.
659-
<dt><strong><span class="index-def" title="'solid'"><span id="value-def-solid" class="value-def">solid</span></span></strong>
659+
<dt><strong><span class="index-def" title="'solid'"><dfn id="value-def-solid" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">solid</dfn></span></strong>
660660
<dd>The border is a single line segment.
661-
<dt><strong><span class="index-def" title="'double'"><span id="value-def-double" class="value-def">double</span></span></strong>
661+
<dt><strong><span class="index-def" title="'double'"><dfn id="value-def-double" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">double</dfn></span></strong>
662662
<dd>The border is two solid lines. The sum of
663663
the two lines and the space between them
664664
equals the value of <span
665665
class="propinst-border-width">'border-width'</span>.
666-
<dt><strong><span class="index-def" title="'groove'"><span id="value-def-groove" class="value-def">groove</span></span></strong>
666+
<dt><strong><span class="index-def" title="'groove'"><dfn id="value-def-groove" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">groove</dfn></span></strong>
667667
<dd>The border looks as though it were carved
668668
into the canvas.
669-
<dt><strong><span class="index-def" title="'ridge'"><span id="value-def-ridge" class="value-def">ridge</span></span></strong>
669+
<dt><strong><span class="index-def" title="'ridge'"><dfn id="value-def-ridge" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">ridge</dfn></span></strong>
670670
<dd>The opposite of 'groove': the border
671671
looks as though it were coming out of the canvas.
672-
<dt><strong><span class="index-def" title="'inset'"><span id="value-def-inset" class="value-def">inset</span></span></strong>
672+
<dt><strong><span class="index-def" title="'inset'"><dfn id="value-def-inset" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">inset</dfn></span></strong>
673673
<dd>The border makes the box look as though
674674
it were embedded in the canvas.
675-
<dt><strong><span class="index-def" title="'outset'"><span id="value-def-outset" class="value-def">outset</span></span></strong>
675+
<dt><strong><span class="index-def" title="'outset'"><dfn id="value-def-outset" data-dfn-type="value" data-dfn-for="<border-style>" class="value-def">outset</dfn></span></strong>
676676
<dd>The opposite of 'inset': the
677677
border makes the box look as though
678678
it were coming out of the canvas.

css2/cascade.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ <h2><span class="secno">6.2</span> <span id="inheritance">Inheritance</span></h2
190190

191191

192192
<h3><span class="secno">6.2.1</span> The <span class="index-def" title="inherit, definition
193-
of"><span id="value-def-inherit">'inherit'</span></span>
193+
of"><dfn id="value-def-inherit" data-dfn-type="value" data-dfn-for="all" data-lt="inherit">'inherit'</dfn></span>
194194
value</h3>
195195

196196
<P>Each property may also have a cascaded value of 'inherit', which

css2/cascade.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ href="visuren.html#box-gen">anonymous boxes.</a></span>
143143

144144

145145
<h3>The <span class="index-def" title="inherit, definition
146-
of"><span id="value-def-inherit">'inherit'</span></span>
146+
of"><dfn id="value-def-inherit" data-dfn-type="value" data-dfn-for="all" data-lt="inherit">'inherit'</dfn></span>
147147
value</h3>
148148

149149
<P>Each property may also have a cascaded value of 'inherit', which

css2/cover.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
<p><a href="https://www.w3.org/"><img height="48" width="72" alt="W3C" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C"/></a>
2929

3030
<h1 id="title">Cascading Style Sheets Level 2 Revision 2 (CSS&nbsp;2.2) Specification</h1>
31-
<h2 id="W3C-doctype">W3C Editors Draft 17 March 2020</h2>
31+
<h2 id="W3C-doctype">W3C Editors Draft 18 March 2020</h2>
3232

3333
<dl>
3434
<dt>This version:
35-
<dd><a href="https://www.w3.org/TR/2020/ED-CSS2-20200317/">
36-
https://www.w3.org/TR/2020/ED-CSS2-20200317/</a>
35+
<dd><a href="https://www.w3.org/TR/2020/ED-CSS2-20200318/">
36+
https://www.w3.org/TR/2020/ED-CSS2-20200318/</a>
3737
<dt>Latest version:
3838
<dd><a href="https://www.w3.org/TR/CSS2/">
3939
https://www.w3.org/TR/CSS2/</a>
@@ -74,7 +74,7 @@ <h2 id="W3C-doctype">W3C Editors Draft 17 March 2020</h2>
7474

7575
<!--
7676
<p>Please refer to the <a
77-
href="https://www.w3.org/Style/css2-updates/ED-CSS2-20200317-errata.html"><strong>
77+
href="https://www.w3.org/Style/css2-updates/ED-CSS2-20200318-errata.html"><strong>
7878
errata</strong></a> for this document.
7979
-->
8080

css2/generate.html

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -462,10 +462,10 @@ <H3><span class="secno">12.3.2</span> <span id="quotes-insert">Inserting quotes<
462462
class="propinst-content">'content'</span></a> property</H3>
463463

464464
<p>Quotation marks are inserted in appropriate places in a document
465-
with the <span class="index-def" title="open-quote"><span
466-
class="value-def" id="value-def-open-quote">'open-quote'</span></span>
467-
and <span class="index-def" title="close-quote"><span class="value-def"
468-
id="value-def-close-quote">'close-quote'</span></span> values of the
465+
with the <span class="index-def" title="open-quote"><dfn
466+
class="value-def" id="value-def-open-quote" data-dfn-type="value" data-dfn-for="content" data-lt="open-quote">'open-quote'</dfn></span>
467+
and <span class="index-def" title="close-quote"><dfn class="value-def"
468+
id="value-def-close-quote" data-dfn-type="value" data-dfn-for="content" data-lt="close-quote">'close-quote'</dfn></span> values of the
469469
<a href="generate.html#propdef-content" class="noxref"><span class="propinst-content">'content'</span></a> property. Each
470470
occurrence of 'open-quote' or 'close-quote' is replaced by one of the
471471
strings from the value of <a href="generate.html#propdef-quotes" class="noxref"><span
@@ -494,9 +494,9 @@ <H3><span class="secno">12.3.2</span> <span id="quotes-insert">Inserting quotes<
494494
before every paragraph of a quote spanning several paragraphs, but
495495
only the last paragraph ends with a closing quotation mark. In CSS,
496496
this can be achieved by inserting "phantom" closing quotes. The
497-
keyword <span class="index-def" title="no-close-quote"><span
497+
keyword <span class="index-def" title="no-close-quote"><dfn
498498
class="value-def"
499-
id="value-def-no-close-quote">'no-close-quote'</span></span> decrements
499+
id="value-def-no-close-quote" data-dfn-type="value" data-dfn-for="content" data-lt="no-close-quote">'no-close-quote'</dfn></span> decrements
500500
the quoting level, but does not insert a quotation mark.
501501

502502

@@ -515,8 +515,8 @@ <H3><span class="secno">12.3.2</span> <span id="quotes-insert">Inserting quotes<
515515
</div>
516516

517517
<p>For symmetry, there is also a <span class="index-def"
518-
title="no-open-quote"><span class="value-def"
519-
id="value-def-no-open-quote">'no-open-quote'</span></span> keyword,
518+
title="no-open-quote"><dfn class="value-def"
519+
id="value-def-no-open-quote" data-dfn-type="value" data-dfn-for="content" data-lt="no-open-quote">'no-open-quote'</dfn></span> keyword,
520520
which inserts nothing, but increments the quotation depth by one.
521521

522522

@@ -885,47 +885,47 @@ <h3><span class="secno">12.5.1</span> <span id="list-style">Lists:</span> the <a
885885
systems.
886886

887887
<P>Glyphs are specified with
888-
<strong><span class="index-def" title="disc"><span class="value-def"
889-
id="value-def-disc">disc</span></span></strong>,
890-
<strong><span class="index-def" title="circle"><span class="value-def"
891-
id="value-def-circle">circle</span></span></strong>, and
892-
<strong><span class="index-def" title="square"><span class="value-def"
893-
id="value-def-square">square</span></span></strong>. Their exact
888+
<strong><span class="index-def" title="disc"><dfn class="value-def"
889+
id="value-def-disc" data-dfn-type="value" data-dfn-for="list-style-type">disc</dfn></span></strong>,
890+
<strong><span class="index-def" title="circle"><dfn class="value-def"
891+
id="value-def-circle" data-dfn-type="value" data-dfn-for="list-style-type">circle</dfn></span></strong>, and
892+
<strong><span class="index-def" title="square"><dfn class="value-def"
893+
id="value-def-square" data-dfn-type="value" data-dfn-for="list-style-type">square</dfn></span></strong>. Their exact
894894
rendering depends on the user agent.
895895

896896
<P>Numbering systems are specified with:</P>
897897

898898
<dl>
899899

900-
<dt><span class="index-def" title="decimal"><span class="value-def" id="value-def-decimal"><strong>decimal</strong></span></span><dd>Decimal numbers, beginning with 1.
900+
<dt><span class="index-def" title="decimal"><dfn class="value-def" id="value-def-decimal" data-dfn-type="value" data-dfn-for="list-style-type"><strong>decimal</strong></dfn></span><dd>Decimal numbers, beginning with 1.
901901

902-
<dt><strong><span class="index-def" title="decimal-leading-zero"><span class="value-def" id="value-def-decimal-leading-zero">decimal-leading-zero</span></span></strong>
902+
<dt><strong><span class="index-def" title="decimal-leading-zero"><dfn class="value-def" id="value-def-decimal-leading-zero" data-dfn-type="value" data-dfn-for="list-style-type">decimal-leading-zero</dfn></span></strong>
903903
<dd>Decimal numbers padded by initial zeros (e.g., 01, 02, 03, ..., 98, 99).
904904

905905

906906

907-
<dt><strong><span class="index-def" title="lower-roman"><span class="value-def" id="value-def-lower-roman">lower-roman</span></span></strong>
907+
<dt><strong><span class="index-def" title="lower-roman"><dfn class="value-def" id="value-def-lower-roman" data-dfn-type="value" data-dfn-for="list-style-type">lower-roman</dfn></span></strong>
908908
<dd>Lowercase roman numerals (i, ii, iii, iv, v, etc.).
909909

910-
<dt><strong><span class="index-def" title="upper-roman"><span class="value-def" id="value-def-upper-roman">upper-roman</span></span></strong>
910+
<dt><strong><span class="index-def" title="upper-roman"><dfn class="value-def" id="value-def-upper-roman" data-dfn-type="value" data-dfn-for="list-style-type">upper-roman</dfn></span></strong>
911911
<dd>Uppercase roman numerals (I, II, III, IV, V, etc.).
912912

913-
<dt><strong><span class="index-def" title="georgian"><span class="value-def" id="value-def-georgian">georgian</span></span></strong>
913+
<dt><strong><span class="index-def" title="georgian"><dfn class="value-def" id="value-def-georgian" data-dfn-type="value" data-dfn-for="list-style-type">georgian</dfn></span></strong>
914914
<dd>Traditional Georgian numbering
915915
(an, ban, gan, ..., he, tan, in, in-an, ...).
916-
<dt><strong><span class="index-def" title="armenian"><span class="value-def" id="value-def-armenian">armenian</span></span></strong>
916+
<dt><strong><span class="index-def" title="armenian"><dfn class="value-def" id="value-def-armenian" data-dfn-type="value" data-dfn-for="list-style-type">armenian</dfn></span></strong>
917917
<dd>Traditional uppercase Armenian numbering.
918918
</dl>
919919

920920

921921
<P>Alphabetic systems are specified with:</P>
922922

923923
<dl>
924-
<dt><strong><span class="index-def" title="lower-latin"><span class="value-def" id="value-def-lower-latin">lower-latin</span></span></strong> or <strong>lower-alpha</strong>
924+
<dt><strong><span class="index-def" title="lower-latin"><dfn class="value-def" id="value-def-lower-latin" data-dfn-type="value" data-dfn-for="list-style-type">lower-latin</dfn></span></strong> or <strong>lower-alpha</strong>
925925
<dd>Lowercase ascii letters (a, b, c, ... z).
926-
<dt><strong><span class="index-def" title="upper-latin"><span class="value-def" id="value-def-upper-latin">upper-latin</span></span></strong> or <strong>upper-alpha</strong>
926+
<dt><strong><span class="index-def" title="upper-latin"><dfn class="value-def" id="value-def-upper-latin" data-dfn-type="value" data-dfn-for="list-style-type">upper-latin</dfn></span></strong> or <strong>upper-alpha</strong>
927927
<dd>Uppercase ascii letters (A, B, C, ... Z).
928-
<dt><strong><span class="index-def" title="lower-greek"><span class="value-def" id="value-def-lower-greek">lower-greek</span></span></strong>
928+
<dt><strong><span class="index-def" title="lower-greek"><dfn class="value-def" id="value-def-lower-greek" data-dfn-type="value" data-dfn-for="list-style-type">lower-greek</dfn></span></strong>
929929
<dd>Lowercase classical Greek
930930
alpha, beta, gamma, ... (&#945;, &#946;, &#947;, ...)
931931
</dl>

0 commit comments

Comments
 (0)