8000 [css-values-4] Export or change all the unexported and unreferenced d… · w3c/csswg-drafts@7c2d642 · GitHub
Skip to content

Commit 7c2d642

Browse files
committed
[css-values-4] Export or change all the unexported and unreferenced definitions.
1 parent b9acffc commit 7c2d642

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

css-values-4/Overview.bs

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ Resource Locators: the <<url>> type</h3>
492492

493493
The <dfn>url()</dfn> <a>functional notation</a>,
494494
denoted by <<url>>,
495-
represents a <dfn>URL</dfn>,
495+
represents a <l spec=url>[=/URL=]</l>,
496496
which is a pointer to a resource.
497497
The typical syntax of a <<url>> is:
498498

@@ -1149,8 +1149,8 @@ Absolute lengths: the ''cm'', ''mm'', ''Q'', ''in'', ''pt'', ''pc'', ''px'' unit
11491149
and anchored to some physical measurement.
11501150
They are mainly useful when the output environment is known.
11511151
The absolute units consist of
1152-
the <dfn>physical units</dfn> (''in'', ''cm'', ''mm'', ''pt'', ''pc'', ''Q'')
1153-
and the <dfn>visual angle unit</dfn> (''px''):
1152+
the <dfn export lt="physical unit">physical units</dfn> (''in'', ''cm'', ''mm'', ''pt'', ''pc'', ''Q'')
1153+
and the <dfn export lt="pixel unit | visual angle unit">visual angle/pixel unit</dfn> (''px''):
11541154

11551155
<table class="data" export>
11561156
<thead>
@@ -1176,7 +1176,7 @@ Absolute lengths: the ''cm'', ''mm'', ''Q'', ''in'', ''pt'', ''pc'', ''px'' unit
11761176
<tr><th><dfn id="pt">pt</dfn>
11771177
<td>points
11781178
<td>1pt = 1/72th of 1in
1179-
<tr><th><dfn id="px" lt="px|pixel unit">px</dfn>
1179+
<tr><th><dfn id="px" lt="px">px</dfn>
11801180
<td>pixels
11811181
<td>1px = 1/96th of 1in
11821182
</table>
@@ -1196,33 +1196,33 @@ Absolute lengths: the ''cm'', ''mm'', ''Q'', ''in'', ''pt'', ''pc'', ''px'' unit
11961196
All of the absolute length units are <a>compatible</a>,
11971197
and ''px'' is their <a>canonical unit</a>.
11981198

1199-
For a CSS device, these dimensions are <dfn lt="anchor unit">anchored</dfn> either
1199+
For a CSS device, these dimensions are <dfn export lt="anchor unit">anchored</dfn> either
12001200

12011201
<ol type=i>
12021202
<li>by relating the <a>physical units</a> to their physical measurements, or
1203-
<li>by relating the <a value>pixel unit</a> to the <a>reference pixel</a>.
1203+
<li>by relating the <a>pixel unit</a> to the <a>reference pixel</a>.
12041204
</ol>
12051205

12061206
For print media at typical viewing distances,
1207-
the anchor unit should be one of the standard physical units (inches, centimeters, etc).
1207+
the [=anchor unit=] should be one of the [=physical units=] (inches, centimeters, etc).
12081208
For screen media (including high-resolution devices),
12091209
low-resolution devices,
12101210
and devices with unusual viewing distances),
1211-
it is recommended instead that the anchor unit be the pixel unit.
1212-
For such devices it is recommended that the pixel unit
1211+
it is recommended instead that the [=anchor unit=] be the [=pixel unit=].
1212+
For such devices it is recommended that the [=pixel unit=]
12131213
refer to the whole number of device pixels that best approximates the reference pixel.
12141214

1215-
Note: If the anchor unit is the pixel unit,
1216-
the physical units might not match their physical measurements.
1217-
Alternatively if the anchor unit is a physical unit,
1218-
the pixel unit might not map to a whole number of device pixels.
1215+
Note: If the [=anchor unit=] is the [=pixel unit=],
1216+
the [=physical units=] might not match their physical measurements.
1217+
Alternatively if the [=anchor unit=] is a [=physical unit=],
1218+
the [=pixel unit=] might not map to a whole number of device pixels.
12191219

1220-
Note: This definition of the pixel unit and the physical units
1220+
Note: This definition of the [=pixel unit=] and the [=physical units=]
12211221
differs from previous versions of CSS.
1222-
In particular, in previous versions of CSS the pixel unit and the physical units
1222+
In particular, in previous versions of CSS the [=pixel unit=] and the [=physical units=]
12231223
were not related by a fixed ratio:
1224-
the physical units were always tied to their physical measurements
1225-
while the pixel unit would vary to most closely match the reference pixel.
1224+
the [=physical units=] were always tied to their physical measurements
1225+
while the [=pixel unit=] would vary to most closely match the reference pixel.
12261226
(This change was made because too much existing content relies on the assumption of 96dpi,
12271227
and breaking that assumption broke the content.)
12281228

@@ -1984,7 +1984,7 @@ Serialization</h4>
19841984
Issue: This section is still <a href="https://lists.w3.org/Archives/Member/w3c-css-wg/2016AprJun/0239.html">under discussion</a>.
19851985

19861986
<div algorithm="serialize a calc() value">
1987-
To <dfn>serialize a ''calc()'' value</dfn>
1987+
To <dfn export>serialize a ''calc()'' value</dfn>
19881988

19891989
1. [=Simplify the expression=] inside of it.
19901990

@@ -2004,7 +2004,7 @@ Serialization</h4>
20042004
</div>
20052005

20062006
<div algorithm="serialize a min()/max() value">
2007-
To <dfn lt="serialize a min() value|serialize a max() value">serialize a ''min()'' or ''max()'' value</dfn>:
2007+
To <dfn export lt="serialize a min() value|serialize a max() value">serialize a ''min()'' or ''max()'' value</dfn>:
20082008

20092009
1. For each comma-separated expression inside of it,
20102010
[=simplify the expression=].
@@ -2021,7 +2021,7 @@ Serialization</h4>
20212021
</div>
20222022

20232023
<div algorithm="simplify an expression">
2024-
To <dfn lt="simplify an expression | simplify the expression" for="math function">simplify an expression</dfn>:
2024+
To <dfn export lt="simplify an expression | simplify the expression" for="math function">simplify an expression</dfn>:
20252025

20262026
1. Replace any ''calc()'' values with parentheses containing their contents.
20272027
2. Resolve all multiplications and divisions.
@@ -2038,7 +2038,7 @@ Serialization</h4>
20382038
</div>
20392039

20402040
<div algorithm="serialize a summation">
2041-
To <dfn lt="serialize a summation|serialize the summation" for="math function">serialize a summation</dfn>:
2041+
To <dfn export lt="serialize a summation|serialize the summation" for="math function">serialize a summation</dfn>:
20422042

20432043
1. Sort the terms in the following order:
20442044

0 commit comments

Comments
 (0)