Skip to content

Commit 4dddda2

Browse files
committed
[css-values-3][editorial] Fixed Bikeshed issues
1 parent a5aedf4 commit 4dddda2

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

css-values-3/Overview.bs

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,20 @@ Ignored Vars: Cn+1, n
1818
Inline Github Issues: no
1919
Default Highlight: css
2020
WPT Display: open
21+
Ignore MDN Failure: calc-constants, exponent-funcs, funcdef-mod, funcdef-rem, funcdef-round, sign-funcs, trig-funcs
2122
</pre>
2223
<pre class='link-defaults'>
23-
spec: css-backgrounds-3; type: type; text: <position>
24-
spec: css-backgrounds-3; type: property; text: border-color
25-
spec: css-backgrounds-3; type: property; text: box-shadow
26-
spec: css2; type: property; text: border-collapse
24+
spec: css-backgrounds-3;
25+
type: property;
26+
text: border-color
27+
text: box-shadow
28+
type: type; text: <position>
2729
spec: css-color-4; type: value; text: currentcolor
30+
spec: css2; type: property; text: border-collapse
2831
spec: infra; type: dfn; text: string
2932
</pre>
3033
<pre class="ignored-specs">
34+
spec: css-borders-4;
3135
spec: css-device-adapt-1;
3236
</pre>
3337

@@ -819,15 +823,15 @@ Range Restrictions and Range Definition Notation</h3>
819823
however in reality implementations have finite capacity.
820824
[=UAs=] should support reasonably useful ranges and precisions.
821825
Range extremes that are ideally unlimited
822-
are indicated using &infin; or &minus;&infin; as appropriate.
823-
For example, <<length [0, &infin;]>> indicates a non-negative length.
826+
are indicated using or &minus; as appropriate.
827+
For example, <<length [0, ]>> indicates a non-negative length.
824828

825829
If no range is indicated,
826830
either by using the <a>bracketed range notation</a>
827831
or in the property description,
828-
then <code>[&minus;&infin;,&infin;]</code> is assumed.
832+
then <code>[&minus;∞,∞]</code> is assumed.
829833

830-
Values of &minus;&infin; or &infin; must be written without units,
834+
Values of &minus; or must be written without units,
831835
even if the value type uses units.
832836
Values of ''0'' <em>can</em> be written without units,
833837
even if the value type doesn't allow “unitless zeroes”
@@ -839,7 +843,7 @@ Range Restrictions and Range Definition Notation</h3>
839843
any range limitations are described only in prose.
840844
(For example, “Negative values are not allowed” or
841845
“Negative values are invalid”
842-
indicate a <code>[0,&infin;]</code> range.)
846+
indicate a <code>[0,]</code> range.)
843847
This does not make them any less binding.
844848

845849
<!--
@@ -1333,7 +1337,6 @@ Viewport-percentage Lengths: the ''vw'', ''vh'', ''vmin'', ''vmax'' units</h4>
13331337
css/css-values/vh-support-transform-origin.html
13341338
css/css-values/vh-support-transform-translate.html
13351339
css/css-values/vh-zero-support.html
1336-
css/css-values/vh_not_refreshing_on_chrome.html
13371340
css/css-values/viewport-relative-lengths-scaled-viewport.html
13381341
css/css-values/viewport-unit-011.html
13391342
css/css-values/viewport-units-css2-001.html
@@ -1414,7 +1417,7 @@ Absolute Lengths: the ''cm'', ''mm'', ''Q'', ''in'', ''pt'', ''pc'', ''px'' unit
14141417
are sometimes written like <code>2p3</code>,
14151418
indicating a length of 2 picas and 3 points.
14161419
These can be written in CSS as ''calc(2pc + 3pt)''
1417-
(see [[#calc-notation]]).
1420+
(see [[#calc-func]]).
14181421

14191422
All of the absolute length units are <a>compatible</a>,
14201423
and ''px'' is their <a>canonical unit</a>.
@@ -1476,7 +1479,7 @@ Absolute Lengths: the ''cm'', ''mm'', ''Q'', ''in'', ''pt'', ''pc'', ''px'' unit
14761479
results in a reference pixel of 1.3&nbsp;mm.
14771480

14781481
<figure>
1479-
<img src="images/pixel1.png"
1482+
<img src="images/pixel1.png" width="500" height="360"
14801483
alt="This diagram illustrates how the definition of a pixel
14811484
depends on the users distance from the viewing surface
14821485
(paper or screen).
@@ -1500,7 +1503,7 @@ Absolute Lengths: the ''cm'', ''mm'', ''Q'', ''in'', ''pt'', ''pc'', ''px'' unit
15001503
(such as a printer).
15011504

15021505
<figure>
1503-
<img src="images/pixel2.png"
1506+
<img src="images/pixel2.png" width="412" height="321"
15041507
alt="This diagram illustrates the relationship between
15051508
the reference pixel and device pixels (called “dots” below).
15061509
The image depicts
@@ -1704,7 +1707,7 @@ Resolution Units: the <<resolution>> type and ''<resolution>/dpi'', ''<resolutio
17041707
or the 'image-resolution' property defined in [[CSS3-IMAGES]].
17051708

17061709
All <<resolution>> units are <a>compatible</a>,
1707-
and ''&lt;resolution>/dppx'' is their <a>canonical unit</a>.
1710+
and ''<resolution>/dppx'' is their <a>canonical unit</a>.
17081711

17091712
The allowed range of <<resolution>> values
17101713
<em>always</em> excludes negative values,
@@ -1865,7 +1868,7 @@ Functional Notations</h2>
18651868
███▌ █▌ █▌ █████ ███▌ ██ ██
18661869
-->
18671870

1868-
<h3 id="calc-notation">
1871+
<h3 id="calc-func" oldids="calc-notation">
18691872
Mathematical Expressions: ''calc()''</h3>
18701873

18711874
The <dfn>calc()</dfn> function
@@ -2376,7 +2379,7 @@ Changes</h2>
23762379
(<a href="https://github.com/w3c/csswg-drafts/issues/7287">Issue 7287</a>)
23772380
* Cleaned up interaction of this specification and [[CSS-CASCADE-3]] in defining the [=CSS-wide keywords=].
23782381
(<a href="https://github.com/w3c/csswg-drafts/issues/7439">Issue 7439</a>)
2379-
* Removed definition of <<length-number>>, since it is impossible to combine them with ''calc()''.
2382+
* Removed definition of <css>&lt;length-number></css>, since it is impossible to combine them with ''calc()''.
23802383
(<a href="https://github.com/w3c/csswg-drafts/issues/2789">Issue 2789</a>)
23812384
* Fixed definition of [=numbers=] to allow decimals in combination with scientific notation,
23822385
as originally intended and as defined in [[CSS-SYNTAX-3]].

0 commit comments

Comments
 (0)