Skip to content

Commit 045c8a6

Browse files
committed
[css-typed-om] Mark a bunch more terms as exported.
1 parent a6761ce commit 045c8a6

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

css-typed-om/Overview.bs

+15-15
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Introduction {#intro}
123123
=====================
124124

125125
CSS stylesheets are parsed into abstract UA-internal data structures,
126-
the <dfn>underlying values</dfn> of CSS,
126+
the <dfn for=CSS export>underlying values</dfn> of CSS,
127127
which various specification algorithms manipulate.
128128

129129
Underlying values can't be directly manipulated,
@@ -192,7 +192,7 @@ with property |property|, cssText |cssText|, and parseMultiple set to true,
192192
and return the result.
193193

194194
<div algorithm="parse a CSSStyleValue">
195-
To <dfn>parse a CSSStyleValue</dfn> given a [=string=] |property|, a [=string=] |cssText|,
195+
To <dfn export>parse a CSSStyleValue</dfn> given a [=string=] |property|, a [=string=] |cssText|,
196196
and a |parseMultiple| flag, run these steps:
197197

198198
1. If |property| is not a [=custom property name string=],
@@ -630,7 +630,7 @@ probably in an appendix.
630630
as defined in [[css-syntax-3#tokenization]].
631631
{{CSSStyleValue}} objects can also be matched against these grammars, however.
632632

633-
A {{CSSStyleValue}} is said to <dfn for=CSSStyleValue>match a grammar</dfn>
633+
A {{CSSStyleValue}} is said to <dfn for=CSSStyleValue export>match a grammar</dfn>
634634
based on the following rules:
635635

636636
* A {{CSSKeywordValue}} matches an [=ident=] specified in a grammar
@@ -654,14 +654,14 @@ probably in an appendix.
654654
this section will become more complex.
655655
</div>
656656

657-
A [=string=] is a <dfn>custom property name string</dfn>
657+
A [=string=] is a <dfn export>custom property name string</dfn>
658658
if it starts with two dashes (U+002D HYPHEN-MINUS), like <code>--foo</code>.
659659
(This corresponds to the <<custom-property-name>> production,
660660
but applies to [=strings=],
661661
rather than [=identifiers=];
662662
it can be used without invoking the CSS parser.)
663663

664-
A [=string=] is a <dfn>valid CSS property</dfn>
664+
A [=string=] is a <dfn export>valid CSS property</dfn>
665665
if it is a [=custom property name string=],
666666
or is a CSS property name recognized by the user agent.
667667

@@ -734,7 +734,7 @@ partial interface ElementCSSInlineStyle {
734734
};
735735
</pre>
736736

737-
<dfn>Declared StylePropertyMap</dfn> objects
737+
<dfn export>Declared StylePropertyMap</dfn> objects
738738
represent style property-value pairs embedded in a style rule or inline style,
739739
and are accessed via the <dfn attribute for=CSSStyleRule>styleMap</dfn> attribute of {{CSSStyleRule}} objects,
740740
or the <dfn attribute for="ElementCSSInlineStyle">attributeStyleMap</dfn> attribute
@@ -1084,7 +1084,7 @@ The following are the arithmetic operations you can perform on dimensions:
10841084
</div>
10851085

10861086
<div algorithm>
1087-
To <dfn noexport for=CSSMath>negate</dfn> a {{CSSNumericValue}} |this|:
1087+
To <dfn export for=CSSMath local-lt="negate">negate a {{CSSNumericValue}}</dfn> |this|:
10881088

10891089
1. If |this| is a {{CSSMathNegate}} object,
10901090
return |this|’s {{CSSMathNegate/value}} internal slot.
@@ -1164,7 +1164,7 @@ The following are the arithmetic operations you can perform on dimensions:
11641164
</div>
11651165

11661166
<div algorithm>
1167-
To <dfn noexport for=CSSMath>invert</dfn> a {{CSSNumericValue}} |this|:
1167+
To <dfn export for=CSSMath local-lt="invert">invert a {{CSSNumericValue}}</dfn> |this|:
11681168

11691169
1. If |this| is a {{CSSMathInvert}} object,
11701170
return |this|’s {{CSSMathInvert/value}} internal slot.
@@ -1439,15 +1439,15 @@ The following are the arithmetic operations you can perform on dimensions:
14391439
</div>
14401440

14411441
<div algorithm="sum value">
1442-
A <dfn>sum value</dfn>
1442+
A <dfn export for="CSSNumericValue">sum value</dfn>
14431443
is an abstract representation of a {{CSSNumericValue}}
14441444
as a sum of numbers with (possibly complex) units.
14451445
Not all {{CSSNumericValue}}s can be expressed as a [=sum value=].
14461446

14471447
A [=sum value=] is a [=list=].
1448-
Each entry in the list is a [=tuple=] of a <dfn for="sum value">value</dfn>,
1448+
Each entry in the list is a [=tuple=] of a <dfn export for="sum value">value</dfn>,
14491449
which is a number,
1450-
and a <dfn for="sum value">unit map</dfn>,
1450+
and a <dfn export for="sum value">unit map</dfn>,
14511451
which is a [=ordered map|map=] of units (strings) to powers (integers).
14521452

14531453
<div class=example>
@@ -1469,7 +1469,7 @@ The following are the arithmetic operations you can perform on dimensions:
14691469
* ''calc(1px * 2deg)'' becomes `«(2, «["deg" → 1, "px" → 1]»)»`
14701470
</div>
14711471

1472-
To <dfn lt="create a sum value|creating a sum value">create a sum value</dfn> from a {{CSSNumericValue}} |this|,
1472+
To <dfn export lt="create a sum value|creating a sum value">create a sum value</dfn> from a {{CSSNumericValue}} |this|,
14731473
the steps differ based on |this|’s class:
14741474

14751475
<dl class=switch>
@@ -1614,7 +1614,7 @@ The following are the arithmetic operations you can perform on dimensions:
16141614
</dl>
16151615

16161616
<div algorithm>
1617-
To <dfn>create a type from a unit map</dfn> |unit map|:
1617+
To <dfn export>create a type from a unit map</dfn> |unit map|:
16181618

16191619
1. Let |types| be an initially empty [=list=].
16201620

@@ -1628,7 +1628,7 @@ The following are the arithmetic operations you can perform on dimensions:
16281628
</div>
16291629

16301630
<div algorithm>
1631-
The <dfn>product of two unit maps</dfn> |units1| and |units2|
1631+
The <dfn export>product of two unit maps</dfn> |units1| and |units2|
16321632
is the result given by the following steps:
16331633

16341634
1. Let |result| be a copy of |units1|.
@@ -1800,7 +1800,7 @@ and to the CSS [=math functions=].
18001800
</div>
18011801

18021802
<div algorithm>
1803-
To <dfn>apply the percent hint</dfn> |hint| to a |type|,
1803+
To <dfn export>apply the percent hint</dfn> |hint| to a |type|,
18041804
perform the following steps:
18051805

18061806
1. If |type| doesn't [=map/contain=] |hint|, set |type|[|hint|] to 0.

0 commit comments

Comments
 (0)