@@ -1649,10 +1649,10 @@ rather than on {{CSSNumericValue}} instances.
1649
1649
1650
1650
### Numeric Value Typing ### {#numeric-typing}
1651
1651
1652
- Each {{CSSNumericValue}} has an associated <dfn for=CSSNumericValue>type</dfn> ,
1652
+ Each {{CSSNumericValue}} has an associated <dfn export for=CSSNumericValue>type</dfn> ,
1653
1653
which is a [=ordered map|map=] of [=base types=] to integers,
1654
1654
and an associated [=percent hint=] .
1655
- The <dfn for=CSSNumericValue lt="base type">base types</dfn> are
1655
+ The <dfn export for=CSSNumericValue lt="base type">base types</dfn> are
1656
1656
"length",
1657
1657
"angle",
1658
1658
"time",
@@ -1661,11 +1661,11 @@ The <dfn for=CSSNumericValue lt="base type">base types</dfn> are
1661
1661
"flex",
1662
1662
and "percent".
1663
1663
The ordering of a [=type=] ’s entries always matches this [=base type=] ordering.
1664
- The <dfn for=CSSNumericValue>percent hint</dfn>
1664
+ The <dfn export for=CSSNumericValue>percent hint</dfn>
1665
1665
is either null or a [=base type=] other than "percent".
1666
1666
1667
1667
<div algorithm>
1668
- To <dfn lt="create a type|creating a type">create a type</dfn> from a string |unit|,
1668
+ To <dfn export for="CSSNumericValue" lt="create a type|creating a type">create a type</dfn> from a string |unit|,
1669
1669
follow the appropriate branch of the following:
1670
1670
1671
1671
<dl class=switch>
@@ -1693,7 +1693,7 @@ is either null or a [=base type=] other than "percent".
1693
1693
</div>
1694
1694
1695
1695
<div algorithm>
1696
- To <dfn local-lt="add | addition">add two types</dfn> |type1| and |type2|,
1696
+ To <dfn export for=CSSNumericValue local-lt="add | addition">add two types</dfn> |type1| and |type2|,
1697
1697
perform the following steps:
1698
1698
1699
1699
1. Replace |type1| with a fresh copy of |type1|,
@@ -1774,7 +1774,7 @@ is either null or a [=base type=] other than "percent".
1774
1774
</div>
1775
1775
1776
1776
<div algorithm>
1777
- To <dfn for=CSSNumericValue local-lt="multiply | multiplication">multiply two types</dfn> |type1| and |type2|,
1777
+ To <dfn export for=CSSNumericValue local-lt="multiply | multiplication">multiply two types</dfn> |type1| and |type2|,
1778
1778
perform the following steps:
1779
1779
1780
1780
1. Replace |type1| with a fresh copy of |type1|,
@@ -1805,7 +1805,7 @@ is either null or a [=base type=] other than "percent".
1805
1805
5. Return |finalType|.
1806
1806
</div>
1807
1807
1808
- A [=type=] is said to <dfn for=CSSNumericValue>match</dfn> a CSS production in some circumstances:
1808
+ A [=type=] is said to <dfn export for=CSSNumericValue>match</dfn> a CSS production in some circumstances:
1809
1809
1810
1810
* A [=type=] matches <<length>>
1811
1811
if its only non-zero [=map/entry=] is «[ "length" → 1 ] »
0 commit comments