Skip to content

Commit 642e0f0

Browse files
committed
[css-values-3] Clarify that clamping is not performed on specified values. Linkify different types of values. #434
1 parent 808aec1 commit 642e0f0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

css-values-3/Overview.bs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1742,10 +1742,11 @@ Range Checking</h4>
17421742
and therefore out-of-range values do not cause the declaration to become invalid.
17431743
However, the value resulting from an expression
17441744
must be clamped to the range allowed in the target context.
1745-
Clamping is performed on computed values to the extent possible,
1746-
and also on used values
1745+
Clamping is performed on <a>computed values</a> to the extent possible,
1746+
and also on <a>used values</a>
17471747
if computation was unable to sufficiently simplify the expression
17481748
to allow range-checking.
1749+
(Clamping is not performed on <a>specified values</a>.)
17491750

17501751
Note: This requires all contexts accepting ''calc()''
17511752
to define their allowable values as a closed (not open) interval.

css-values-4/Overview.bs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1882,10 +1882,11 @@ Range Checking</h4>
18821882
and therefore out-of-range values do not cause the declaration to become invalid.
18831883
However, the value resulting from an expression
18841884
must be clamped to the range allowed in the target context.
1885-
Clamping is performed on computed values to the extent possible,
1886-
and also on used values
1885+
Clamping is performed on <a>computed values</a> to the extent possible,
1886+
and also on <a>used values</a>
18871887
if computation was unable to sufficiently simplify the expression
18881888
to allow range-checking.
1889+
(Clamping is not performed on <a>specified values</a>.)
18891890

18901891
Note: This requires all contexts accepting ''calc()''
18911892
to define their allowable values as a closed (not open) interval.

0 commit comments

Comments
 (0)