File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -1700,8 +1700,16 @@ rather than on {{CSSNumericValue}} instances.
1700
1700
### Numeric Value Typing ### {#numeric-typing}
1701
1701
1702
1702
Each {{CSSNumericValue}} has an associated <dfn export for=CSSNumericValue>type</dfn> ,
1703
- which is a [=ordered map|map=] of [=base types=] to integers,
1704
- and an associated [=percent hint=] .
1703
+ which is a [=ordered map|map=] of [=base types=] to integers
1704
+ (denoting the exponent of each type,
1705
+ so a <<length>> <sup> 2</sup> ,
1706
+ such as from ''calc(1px * 1em)'' ,
1707
+ is «[ "length" → 2 ] »),
1708
+ and an associated [=percent hint=]
1709
+ (indicating that the type actually holds a percentage,
1710
+ but that percentage will eventually resolve to the hinted [=base type=] ,
1711
+ and so has been replaced with it in the type).
1712
+
1705
1713
The <dfn export for=CSSNumericValue lt="base type">base types</dfn> are
1706
1714
"length",
1707
1715
"angle",
You can’t perform that action at this time.
0 commit comments