Skip to content

Commit 9b703d7

Browse files
committed
[css-values-4] Clarify/fix round(line-width) text. #13794
1 parent 93636fb commit 9b703d7

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

css-values-4/Overview.bs

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3347,11 +3347,15 @@ Stepped Value Functions: ''round()'', ''mod()'', and ''rem()''</h3>
33473347
:: If A is non-negative and B is omitted,
33483348
A is [=snapped as a border width=].
33493349

3350-
Otherwise, identical to ''<rounding-strategy>/nearest'',
3351-
except that if A is positive (non-zero)
3352-
and one of |lower B| or |upper B| is zero,
3353-
choose the non-zero one,
3354-
then [=snap as a border width=].
3350+
Otherwise, if A is non-negative and B is specified,
3351+
identical to ''<rounding-strategy>/nearest'',
3352+
except that if one of |lower B| or |upper B| is zero,
3353+
always choose the non-zero one.
3354+
Then [=snap as a border width=].
3355+
3356+
Otherwise (A is negative),
3357+
identical to ''<rounding-strategy>/nearest''.
3358+
(No snapping occurs.)
33553359
</dl>
33563360

33573361
If |lower B| would be zero,

0 commit comments

Comments
 (0)