Skip to content

Commit 1823793

Browse files
committed
[css-values-4] Require <<ratio>> to be serialized with both components, per WG resolution. w3c#5561
1 parent 0bf3674 commit 1823793

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

css-values-4/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,8 +1250,9 @@ Ratios: the <<ratio>> type</h3>
12501250
<<ratio>> = <<number [0,Infinity]>> [ / <<number [0,Infinity]>> ]?
12511251
</pre>
12521252

1253-
If only one <<number>> is provided,
1254-
the second defaults to ''1''.
1253+
The second <<number>> is optional,
1254+
defaulting to ''1''.
1255+
However, <<ratio>> is always serialized with both components.
12551256

12561257
The computed value of a <<ratio>> is the pair of numbers provided,
12571258
unless both numbers are zero,

0 commit comments

Comments
 (0)