Skip to content

Commit 233b780

Browse files
committed
[css-values] Add IDs to avoid breaking links. Export functional notation.
1 parent 4208e2a commit 233b780

1 file changed

Lines changed: 29 additions & 29 deletions

File tree

css-values/Overview.bs

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ Quoted Strings: the <<string>> type</h3>
501501
Resource Locators: the <<url>> type</h3>
502502

503503
A <dfn>URL</dfn> is a pointer to a resource
504-
and is a <a href="#functional-notation">functional notation</a>
504+
and is a <a>functional notation</a>
505505
denoted by <<url>>.
506506
The syntax of a <<url>> is:
507507

@@ -827,7 +827,7 @@ Font-relative lengths: the ''em'', ''ex'', ''ch'', ''rem'' units</h4>
827827
if the element has no parent).
828828

829829
<dl export dfn-type=value dfn-for="<length>">
830-
<dt><dfn lt="em">em unit</dfn>
830+
<dt><dfn id="em" lt="em">em unit</dfn>
831831
<dd>
832832
Equal to the computed value of the 'font-size' property of the element on which it is used.
833833

@@ -846,7 +846,7 @@ Font-relative lengths: the ''em'', ''ex'', ''ch'', ''rem'' units</h4>
846846
will be 20% greater than the computed font size inherited by <code>h1</code> elements.
847847
</div>
848848

849-
<dt><dfn lt="ex">ex unit</dfn>
849+
<dt><dfn id="ex" lt="ex">ex unit</dfn>
850850
<dd>
851851
Equal to the used x-height of the <a href="https://www.w3.org/TR/css3-fonts/#first-available-font">first available font</a> [[!CSS3-FONTS]].
852852
The x-height is so called because it is often equal to the height of the lowercase "x".
@@ -860,7 +860,7 @@ Font-relative lengths: the ''em'', ''ex'', ''ch'', ''rem'' units</h4>
860860
where it is impossible or impractical to determine the x-height,
861861
a value of 0.5em must be assumed.
862862

863-
<dt><dfn lt="ch">ch unit</dfn>
863+
<dt><dfn id="ch" lt="ch">ch unit</dfn>
864864
<dd>
865865
Equal to the used <a>advance measure</a> of the "0" (ZERO, U+0030) glyph
866866
found in the font used to render it.
@@ -877,7 +877,7 @@ Font-relative lengths: the ''em'', ''ex'', ''ch'', ''rem'' units</h4>
877877
(i.e. 'writing-mode' is ''vertical-rl'' or ''vertical-lr''
878878
and 'text-orientation' is ''text-orientation/upright'').
879879

880-
<dt><dfn lt="rem">rem unit</dfn>
880+
<dt><dfn id="rem" lt="rem">rem unit</dfn>
881881
<dd>
882882
Equal to the computed value of 'font-size' on the root element.
883883
When specified on the 'font-size' property of the root element,
@@ -909,7 +909,7 @@ Viewport-percentage lengths: the ''vw'', ''vh'', ''vmin'', ''vmax'' units</h4>
909909
is deferred to [[!CSS3PAGE]].
910910

911911
<dl export dfn-type=value dfn-for="<length>">
912-
<dt><dfn lt="vw">vw unit</dfn>
912+
<dt><dfn id="vw" lt="vw">vw unit</dfn>
913913
<dd>
914914
Equal to 1% of the width of the initial containing block.
915915

@@ -921,15 +921,15 @@ Viewport-percentage lengths: the ''vw'', ''vh'', ''vmin'', ''vmax'' units</h4>
921921
<pre>h1 { font-size: 8vw }</pre>
922922
</div>
923923

924-
<dt><dfn lt="vh">vh unit</dfn>
924+
<dt><dfn id="vh" lt="vh">vh unit</dfn>
925925
<dd>
926926
Equal to 1% of the height of the initial containing block.
927927

928-
<dt><dfn lt="vmin">vmin unit</dfn>
928+
<dt><dfn id="vmin" lt="vmin">vmin unit</dfn>
929929
<dd>
930930
Equal to the smaller of ''vw'' or ''vh''.
931931

932-
<dt><dfn lt="vmax">vmax unit</dfn>
932+
<dt><dfn id="vmax" lt="vmax">vmax unit</dfn>
933933
<dd>
934934
Equal to the larger of ''vw'' or ''vh''.
935935
</dl>
@@ -960,25 +960,25 @@ Absolute lengths: the ''cm'', ''mm'', ''q'', ''in'', ''pt'', ''pc'', ''px'' unit
960960
<th>name
961961
<th>equivalence
962962
<tbody dfn-type=value dfn-for="<length>">
963-
<tr><th><dfn>cm</dfn>
963+
<tr><th><dfn id="cm">cm</dfn>
964964
<td>centimeters
965965
<td>1cm = 96px/2.54
966-
<tr><th><dfn>mm</dfn>
966+
<tr><th><dfn id="mm">mm</dfn>
967967
<td>millimeters
968968
<td>1mm = 1/10th of 1cm
969-
<tr><th><dfn>q</dfn>
969+
<tr><th><dfn id="q">Q</dfn>
970970
<td>quarter-millimeters
971971
<td>1q = 1/40th of 1cm
972-
<tr><th><dfn>in</dfn>
972+
<tr><th><dfn id="in">in</dfn>
973973
<td>inches
974974
<td>1in = 2.54cm = 96px
975-
<tr><th><dfn>pc</dfn>
975+
<tr><th><dfn id="pc">pc</dfn>
976976
<td>picas
977977
<td>1pc = 1/6th of 1in
978-
<tr><th><dfn>pt</dfn>
978+
<tr><th><dfn id="pt">pt</dfn>
979979
<td>points
980980
<td>1pt = 1/72th of 1in
981-
<tr><th><dfn lt="px|pixel unit">px</dfn>
981+
<tr><th><dfn id="px" lt="px|pixel unit">px</dfn>
982982
<td>pixels
983983
<td>1px = 1/96th of 1in
984984
</table>
@@ -1094,20 +1094,20 @@ Angle Units: the <<angle>> type and ''deg'', ''grad'', ''rad'', ''turn'' units</
10941094
The angle unit identifiers are:
10951095

10961096
<dl export dfn-type=value dfn-for="<angle>">
1097-
<dt><dfn>deg</dfn>
1097+
<dt><dfn id="deg">deg</dfn>
10981098
<dd>
10991099
Degrees. There are 360 degrees in a full circle.
11001100

1101-
<dt><dfn>grad</dfn>
1101+
<dt><dfn id="grad">grad</dfn>
11021102
<dd>
11031103
Gradians, also known as "gons" or "grades".
11041104
There are 400 gradians in a full circle.
11051105

1106-
<dt><dfn>rad</dfn>
1106+
<dt><dfn id="rad">rad</dfn>
11071107
<dd>
11081108
Radians. There are 2&pi; radians in a full circle.
11091109

1110-
<dt><dfn>turn</dfn>
1110+
<dt><dfn id="turn">turn</dfn>
11111111
<dd>
11121112
Turns. There is 1 turn in a full circle.
11131113
</dl>
@@ -1145,9 +1145,9 @@ Duration Units: the <<time>> type and ''s'', ''ms'' units</h3>
11451145
The time unit identifiers are:
11461146

11471147
<dl export dfn-type=value dfn-for="<time>">
1148-
<dt><dfn>s</dfn>
1148+
<dt><dfn id="s">s</dfn>
11491149
<dd>Seconds.
1150-
<dt><dfn>ms</dfn>
1150+
<dt><dfn id="ms">ms</dfn>
11511151
<dd>Milliseconds. There are 1000 milliseconds in a second.
11521152
</dl>
11531153

@@ -1172,9 +1172,9 @@ Frequency Units: the <<frequency>> type and ''Hz'', ''kHz'' units</h3>
11721172
The frequency unit identifiers are:
11731173

11741174
<dl export dfn-type=value dfn-for="<frequency>">
1175-
<dt><dfn>Hz</dfn>
1175+
<dt><dfn id="Hz">Hz</dfn>
11761176
<dd>Hertz. It represents the number of occurrences per second.
1177-
<dt><dfn>kHz</dfn>
1177+
<dt><dfn id="kHz>kHz</dfn>
11781178
<dd>KiloHertz. A kiloHertz is 1000 Hertz.
11791179
</dl>
11801180

@@ -1198,13 +1198,13 @@ Resolution Units: the <<resolution>> type and ''dpi'', ''dpcm'', ''dppx'' units<
11981198
The resolution unit identifiers are:
11991199

12001200
<dl export dfn-type=value dfn-for="<frequency>">
1201-
<dt><dfn>dpi</dfn>
1201+
<dt><dfn id="dpi">dpi</dfn>
12021202
<dd>Dots per inch.
12031203

1204-
<dt><dfn>dpcm</dfn>
1204+
<dt><dfn id="dpcm">dpcm</dfn>
12051205
<dd>Dots per centimeter.
12061206

1207-
<dt><dfn>dppx</dfn>
1207+
<dt><dfn id="dppx">dppx</dfn>
12081208
<dd>Dots per ''px'' unit.
12091209
</dl>
12101210

@@ -1283,7 +1283,7 @@ Images: the <<image>> type</h3>
12831283
<h2 id="functional-notations">
12841284
Functional Notations</h2>
12851285

1286-
A <dfn>functional notation</dfn> is a type of component value
1286+
A <dfn export>functional notation</dfn> is a type of component value
12871287
that can represent more complex types or invoke special processing.
12881288
The syntax starts with the name of the function
12891289
immediately followed by a left parenthesis
@@ -1295,7 +1295,7 @@ Functional Notations</h2>
12951295
Functions can take multiple arguments,
12961296
which are formatted similarly to a CSS property value.
12971297

1298-
Some legacy functional notations, such as ''rgba()'', use commas unnecessarily,
1298+
Some legacy <a>functional notations</a>, such as ''rgba()'', use commas unnecessarily,
12991299
but generally commas are only used to separate items in a list,
13001300
or pieces of a grammar that would be ambiguous otherwise.
13011301
If a comma is used to separate arguments,

0 commit comments

Comments
 (0)