1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4282,7 +4282,9 @@ Type Checking</h3>
4282
4282
[=multiply two types|multiplying=] the |left type| and |right type|.
4283
4283
4284
4284
* Anything else is a terminal value,
4285
- whose [=CSSNumericValue/type=] is determined based on its CSS type:
4285
+ whose [=CSSNumericValue/type=] is determined based on its CSS type.
4286
+ (Unless otherwise specified,
4287
+ the type's associated[=percent hint=] is null.)
4286
4288
4287
4289
<dl class=switch>
4288
4290
: <<number>>
@@ -4309,15 +4311,14 @@ Type Checking</h3>
4309
4311
<<percentage>> s are resolved relative to another type of value
4310
4312
(such as in 'width' , where <<percentage>> is resolved against a <<length>> ),
4311
4313
and that other type is <em> not</em> <<number>> ,
4312
- the [=CSSNumericValue/type=] is determined as the other type.
4314
+ the [=CSSNumericValue/type=] is determined as the other type,
4315
+ but with a [=percent hint=] set to that other type.
4313
4316
4314
4317
Otherwise,
4315
4318
the [=CSSNumericValue/type=] is «[ "percent" → 1 ] ».
4316
4319
: anything else
4317
4320
:: The [=calculation’s=] type is failure.
4318
4321
</dl>
4319
-
4320
- In all cases, the associated [=percent hint=] is null.
4321
4322
</div>
4322
4323
4323
4324
[=Math functions=] themselves have [=CSSNumericValue/types=] ,
0 commit comments