Skip to content

Commit ba2a8fd

Browse files
committed
[typed-om] Export several numeric-type terms, so CSS V&U can refer to them.
1 parent 426c610 commit ba2a8fd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

css-typed-om/Overview.bs

+7-7
Original file line numberDiff line numberDiff line change
@@ -1649,10 +1649,10 @@ rather than on {{CSSNumericValue}} instances.
16491649

16501650
### Numeric Value Typing ### {#numeric-typing}
16511651

1652-
Each {{CSSNumericValue}} has an associated <dfn for=CSSNumericValue>type</dfn>,
1652+
Each {{CSSNumericValue}} has an associated <dfn export for=CSSNumericValue>type</dfn>,
16531653
which is a [=ordered map|map=] of [=base types=] to integers,
16541654
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
16561656
"length",
16571657
"angle",
16581658
"time",
@@ -1661,11 +1661,11 @@ The <dfn for=CSSNumericValue lt="base type">base types</dfn> are
16611661
"flex",
16621662
and "percent".
16631663
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>
16651665
is either null or a [=base type=] other than "percent".
16661666

16671667
<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|,
16691669
follow the appropriate branch of the following:
16701670

16711671
<dl class=switch>
@@ -1693,7 +1693,7 @@ is either null or a [=base type=] other than "percent".
16931693
</div>
16941694

16951695
<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|,
16971697
perform the following steps:
16981698

16991699
1. Replace |type1| with a fresh copy of |type1|,
@@ -1774,7 +1774,7 @@ is either null or a [=base type=] other than "percent".
17741774
</div>
17751775

17761776
<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|,
17781778
perform the following steps:
17791779

17801780
1. Replace |type1| with a fresh copy of |type1|,
@@ -1805,7 +1805,7 @@ is either null or a [=base type=] other than "percent".
18051805
5. Return |finalType|.
18061806
</div>
18071807

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:
18091809

18101810
* A [=type=] matches <<length>>
18111811
if its only non-zero [=map/entry=] is «[ "length" → 1 ]»

0 commit comments

Comments
 (0)