@@ -3259,7 +3259,7 @@ Stepped Value Functions: ''round()'', ''mod()'', and ''rem()''</h3>
32593259 according to another "step value",
32603260 in different ways.
32613261
3262- The <dfn lt="round()">round(<<rounding-strategy>>?, A, B)</dfn> function
3262+ The <dfn lt="round()">round(<<rounding-strategy>>?, A, B? )</dfn> function
32633263 contains an optional rounding strategy,
32643264 and two [=calculations=] A and B,
32653265 and returns the value of A,
@@ -3302,6 +3302,11 @@ Stepped Value Functions: ''round()'', ''mod()'', and ''rem()''</h3>
33023302 If <<rounding-strategy>> is omitted,
33033303 it defaults to ''nearest'' .
33043304 (Aka [=rounding to the nearest integer=] .)
3305+ If the [=CSSNumericValue/type=] of A
3306+ matches <<number>> ,
3307+ then B may be omitted,
3308+ and defaults to ''1'' ;
3309+ omitting B is otherwise invalid.
33053310
33063311 Issue(5689): CSSOM needs to specify how it rounds,
33073312 and it's probably good for CSS functions to round the same way by default.
@@ -5531,6 +5536,8 @@ Recent Changes</h3>
55315536 and added one on 'scrollbar-gutter'
55325537 to make it possible for 100 of these units to actually match the [=initial containing block=] .
55335538 (<a href="https://github.com/w3c/csswg-drafts/issues/6026">Issue 6026</a> )
5539+ * Allow B to be omitted in ''round()'' if the A's type is <<number>> .
5540+ (<a href="https://github.com/w3c/csswg-drafts/issues/9668">Issue 9668</a> )
55345541
55355542 Substantial changes since <a href="https://www.w3.org/TR/2023/WD-css-values-4-20231027/">27 October 2023 WD</a> :
55365543
0 commit comments