Skip to content

Commit 9ebbe6f

Browse files
committed
[cssom][meta] Export a bunch of terms.
1 parent f777165 commit 9ebbe6f

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

cssom-1/Overview.bs

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Unless otherwise stated, string comparisons are done in a <a>case-sensitive</a>
198198
Common Serializing Idioms {#common-serializing-idioms}
199199
------------------------------------------------------
200200

201-
To <dfn>escape a character</dfn> means to create a string of
201+
To <dfn export>escape a character</dfn> means to create a string of
202202
"<code>\</code>" (U+005C), followed by the character.
203203

204204
To <dfn lt="escape a character as code point|escaped as code point">escape a character as code point</dfn> means to create a
@@ -277,7 +277,7 @@ empty string.
277277
CSSOMString {#cssomstring-type}
278278
===============================
279279

280-
Most strings in CSSOM interfaces use the <dfn>CSSOMString</dfn> type.
280+
Most strings in CSSOM interfaces use the <dfn interface>CSSOMString</dfn> type.
281281
Each implementation chooses to define it as either {{USVString}} or {{DOMString}}:
282282

283283
<pre class=idl>
@@ -948,7 +948,7 @@ Below various new concepts are defined that are associated with each
948948

949949
Each {{Document}} has an associated list of zero or more
950950
<a>CSS style sheets</a>, named the
951-
<dfn>document CSS style sheets</dfn>. This is
951+
<dfn export for=Document>document CSS style sheets</dfn>. This is
952952
an ordered list that contains all
953953
<a>CSS style sheets</a> associated with the
954954
{{Document}}, in
@@ -957,7 +957,7 @@ an ordered list that contains all
957957
<code>Link</code> headers first, if any, in header
958958
order.
959959

960-
To <dfn>create a CSS style sheet</dfn>, run these
960+
To <dfn export>create a CSS style sheet</dfn>, run these
961961
steps:
962962

963963
<ol>
@@ -971,7 +971,7 @@ steps:
971971
intranet.
972972
</ol>
973973

974-
To <dfn>add a CSS style sheet</dfn>, run these
974+
To <dfn export>add a CSS style sheet</dfn>, run these
975975
steps:
976976

977977
<ol>
@@ -1007,7 +1007,7 @@ steps:
10071007
<li>Set the <a>disabled flag</a>.
10081008
</ol>
10091009

1010-
To <dfn>remove a CSS style sheet</dfn>, run these steps:
1010+
To <dfn export>remove a CSS style sheet</dfn>, run these steps:
10111011

10121012
<ol>
10131013
<li>Remove the <a>CSS style sheet</a> from the list of <a>document CSS style sheets</a>.
@@ -1020,25 +1020,25 @@ To <dfn>remove a CSS style sheet</dfn>, run these steps:
10201020
<!-- XXX does anything need to happen wrt alternate style sheets? what if the last style sheet with the preferred style sheet set name is removed? -->
10211021
</ol>
10221022

1023-
A <dfn>persistent CSS style sheet</dfn> is a
1023+
A <dfn export>persistent CSS style sheet</dfn> is a
10241024
<a>CSS style sheet</a> from the <a>document CSS style sheets</a>
10251025
whose <a>title</a> is the empty string and whose
10261026
<a>alternate flag</a> is unset.
10271027

1028-
A <dfn>CSS style sheet set</dfn> is an ordered
1028+
A <dfn export>CSS style sheet set</dfn> is an ordered
10291029
collection of one or more <a>CSS style sheets</a>
10301030
from the <a>document CSS style sheets</a> which have an identical
10311031
<a>title</a> that is not the empty string.
10321032

1033-
A <dfn>CSS style sheet set name</dfn> is the
1033+
A <dfn export>CSS style sheet set name</dfn> is the
10341034
<a>title</a> the <a>CSS style sheet set</a> has in
10351035
common.
10361036

1037-
An <dfn>enabled CSS style sheet set</dfn> is a
1037+
An <dfn export>enabled CSS style sheet set</dfn> is a
10381038
<a>CSS style sheet set</a> of which each <a>CSS style sheet</a> has
10391039
its <a>disabled flag</a> unset.
10401040

1041-
To <dfn>enable a CSS style sheet set</dfn>
1041+
To <dfn export>enable a CSS style sheet set</dfn>
10421042
with name <var>name</var>, run these steps:
10431043

10441044
<ol>
@@ -1055,7 +1055,7 @@ with name <var>name</var>, run these steps:
10551055
<a>CSS style sheet set</a>.
10561056
</ol>
10571057

1058-
To <dfn>select a CSS style sheet set</dfn>
1058+
To <dfn export>select a CSS style sheet set</dfn>
10591059
with name <var>name</var>, run these steps:
10601060

10611061
<ol>
@@ -1066,20 +1066,20 @@ with name <var>name</var>, run these steps:
10661066
<var>name</var>.
10671067
</ol>
10681068

1069-
A <dfn>last CSS style sheet set name</dfn>
1069+
A <dfn export>last CSS style sheet set name</dfn>
10701070
is a concept to determine what <a>CSS style sheet set</a> was last
10711071
<a lt="select a CSS style sheet set">selected</a>. Initially its
10721072
value is null.
10731073

10741074
A
1075-
<dfn>preferred CSS style sheet set name</dfn>
1075+
<dfn export>preferred CSS style sheet set name</dfn>
10761076
is a concept to determine which
10771077
<a>CSS style sheets</a> need to have their
10781078
<a>disabled flag</a> unset. Initially its value
10791079
is the empty string.
10801080

10811081
To
1082-
<dfn>change the preferred CSS style sheet set name</dfn>
1082+
<dfn export>change the preferred CSS style sheet set name</dfn>
10831083
with name <var>name</var>, run these steps:
10841084

10851085
<ol>
@@ -1165,7 +1165,7 @@ relation type is an
11651165

11661166
### Fetching CSS style sheets ### {#fetching-css-style-sheets}
11671167

1168-
To <dfn>fetch a CSS style sheet</dfn> with parsed URL <var>parsed URL</var>, referrer <var>referrer</var>, document
1168+
To <dfn export>fetch a CSS style sheet</dfn> with parsed URL <var>parsed URL</var>, referrer <var>referrer</var>, document
11691169
<var>document</var>, optionally a set of parameters <var>parameters</var> (used as input to creating a
11701170
<a>request</a>), follow these steps:
11711171

@@ -1195,7 +1195,7 @@ To <dfn>fetch a CSS style sheet</dfn> with parsed URL <var>parsed URL</var>, ref
11951195

11961196
### The {{LinkStyle}} Interface ### {#the-linkstyle-interface}
11971197

1198-
The <dfn>associated CSS style sheet</dfn> of a node is the <a>CSS style sheet</a> in the list of
1198+
The <dfn export>associated CSS style sheet</dfn> of a node is the <a>CSS style sheet</a> in the list of
11991199
<a>document CSS style sheets</a> of which the <a for=CSSStyleSheet>owner node</a> implements the {{LinkStyle}}
12001200
interface.
12011201

@@ -1437,7 +1437,7 @@ and the user agent hasn't given up on that particular style sheet yet. A user ag
14371437
CSS Rules {#css-rules}
14381438
----------------------
14391439

1440-
A <dfn>CSS rule</dfn> is an abstract concept that
1440+
A <dfn export>CSS rule</dfn> is an abstract concept that
14411441
denotes a rule as defined by the CSS specification. A
14421442
<a for=/>CSS rule</a> is represented as an object that implements a subclass of
14431443
the {{CSSRule}} interface, and which has the following
@@ -1468,7 +1468,7 @@ This item is initialized to reference an associated style sheet when the rule is
14681468
In addition to the above state, each <a for=/>CSS rule</a> may be associated
14691469
with other state in accordance with its <a for=CSSRule>type</a>.
14701470

1471-
To <dfn>parse a CSS rule</dfn> from a string <var>string</var>, run the following steps:
1471+
To <dfn export>parse a CSS rule</dfn> from a string <var>string</var>, run the following steps:
14721472

14731473
<ol>
14741474
<li>Let <var>rule</var> be the return value of invoking <a>parse a rule</a> with <var>string</var>.
@@ -1478,7 +1478,7 @@ To <dfn>parse a CSS rule</dfn> from a string <var>string</var>, run the followin
14781478
<li>Return <var>parsed rule</var>.
14791479
</ol>
14801480

1481-
To <dfn>serialize a CSS rule</dfn>, perform one of the following in accordance with the <a for=/>CSS rule</a>'s
1481+
To <dfn export>serialize a CSS rule</dfn>, perform one of the following in accordance with the <a for=/>CSS rule</a>'s
14821482
<a for=CSSRule>type</a>:
14831483

14841484
<dl class="switch">
@@ -1824,8 +1824,8 @@ The {{CSSMediaRule}} interface is defined in <cite>CSS Conditional Rules</cite>.
18241824
The <code>CSSPageRule</code> interface represents an <code>@page</code> at-rule.
18251825

18261826
Issue: Need to define the rules for
1827-
<dfn>parse a list of CSS page selectors</dfn> and
1828-
<dfn>serialize a list of CSS page selectors</dfn>.
1827+
<dfn export>parse a list of CSS page selectors</dfn> and
1828+
<dfn export>serialize a list of CSS page selectors</dfn>.
18291829

18301830
<pre class=idl>
18311831
[Exposed=Window]
@@ -1910,7 +1910,7 @@ empty string if there is no prefix.
19101910
CSS Declarations {#css-declarations}
19111911
------------------------------------
19121912

1913-
A <dfn>CSS declaration</dfn> is an abstract concept that is not exposed as an object in the DOM. A <a>CSS declaration</a> has the following associated
1913+
A <dfn export>CSS declaration</dfn> is an abstract concept that is not exposed as an object in the DOM. A <a>CSS declaration</a> has the following associated
19141914
properties:
19151915

19161916
<dl>
@@ -1928,13 +1928,13 @@ properties:
19281928
CSS Declaration Blocks {#css-declaration-blocks}
19291929
------------------------------------------------
19301930

1931-
A <dfn>CSS declaration block</dfn> is an ordered collection of CSS
1931+
A <dfn export>CSS declaration block</dfn> is an ordered collection of CSS
19321932
properties with their associated values, also named <a>CSS declarations</a>. In
19331933
the DOM a <a>CSS declaration block</a> is a
19341934
<code>CSSStyleDeclaration</code> object. A
19351935
<a>CSS declaration block</a> has the following associated properties:
19361936

1937-
<dl dfn-for="CSSStyleDeclaration">
1937+
<dl dfn-for="CSSStyleDeclaration" export>
19381938
<dt><dfn>readonly flag</dfn>
19391939
<dd>Unset if the object can be manipulated. Set if it can not be
19401940
manipulated. Unless otherwise stated it is unset.
@@ -1954,7 +1954,7 @@ the DOM a <a>CSS declaration block</a> is a
19541954
the <a for="CSSStyleDeclaration">owner node</a>'s <code>style</code> attribute.
19551955
</dl>
19561956

1957-
To <dfn>parse a CSS declaration block</dfn> from a string <var>string</var>, follow these steps:
1957+
To <dfn export>parse a CSS declaration block</dfn> from a string <var>string</var>, follow these steps:
19581958

19591959
<ol>
19601960
<li>Let <var>declarations</var> be the return value of invoking <a>parse a list of declarations</a> with <var>string</var>.
@@ -1968,7 +1968,7 @@ To <dfn>parse a CSS declaration block</dfn> from a string <var>string</var>, fol
19681968
<li>Return <var>parsed declarations</var>.
19691969
</ol>
19701970

1971-
To <dfn>serialize a CSS declaration</dfn> with property name <var>property</var>, value <var>value</var> and optionally an <i>important</i> flag set, follow
1971+
To <dfn export>serialize a CSS declaration</dfn> with property name <var>property</var>, value <var>value</var> and optionally an <i>important</i> flag set, follow
19721972
these steps:
19731973

19741974
<ol>
@@ -1982,7 +1982,7 @@ these steps:
19821982
<li>Return <var>s</var>.
19831983
</ol>
19841984

1985-
To <dfn>serialize a CSS declaration block</dfn> <var>declaration block</var> means to run the steps below:
1985+
To <dfn export>serialize a CSS declaration block</dfn> <var>declaration block</var> means to run the steps below:
19861986

19871987
<ol>
19881988
<li>Let <var>list</var> be an empty array.
@@ -2057,7 +2057,7 @@ When a <a>CSS declaration block</a> object is created, then:
20572057
<a>parse a CSS declaration block</a> from a string <var>value</var>.
20582058
</ol>
20592059

2060-
To <dfn>update style attribute for</dfn> <var>declaration block</var> means to run the steps below:
2060+
To <dfn export>update style attribute for</dfn> <var>declaration block</var> means to run the steps below:
20612061

20622062
<ol>
20632063
<li>Assert: <var>declaration block</var>'s <a for="CSSStyleDeclaration">readonly flag</a> is unset.
@@ -2069,7 +2069,7 @@ To <dfn>update style attribute for</dfn> <var>declaration block</var> means to r
20692069
<li>Unset <var>declaration block</var>'s <a for="CSSStyleDeclaration">updating flag</a>.
20702070
</ol>
20712071

2072-
The <dfn id=concept-shorthands-preferred-order>preferred order</dfn> of a list of shorthand properties <var>shorthands</var> is as follows:
2072+
The <dfn export id=concept-shorthands-preferred-order>preferred order</dfn> of a list of shorthand properties <var>shorthands</var> is as follows:
20732073

20742074
<ol>
20752075
<li>Order <var>shorthands</var> lexicographically.
@@ -2200,7 +2200,7 @@ The <dfn method for=CSSStyleDeclaration>setProperty(<var>property</var>, <var>va
22002200
<li><a>Update style attribute for</a> the <a>CSS declaration block</a>.
22012201
</ol>
22022202

2203-
To <dfn>set a CSS declaration</dfn> <var>property</var> with a value <var>component value list</var> and optionally with an <i>important</i> flag set, in
2203+
To <dfn export>set a CSS declaration</dfn> <var>property</var> with a value <var>component value list</var> and optionally with an <i>important</i> flag set, in
22042204
a list of declarations <var>declarations</var>, follow these steps:
22052205

22062206
<ol>
@@ -2321,7 +2321,7 @@ exceptions thrown must be re-thrown.
23212321
<pre><var>element</var>.style['font-size'];</pre>
23222322
</div>
23232323

2324-
The <dfn>CSS property to IDL attribute</dfn> algorithm for <var>property</var>, optionally with a
2324+
The <dfn export>CSS property to IDL attribute</dfn> algorithm for <var>property</var>, optionally with a
23252325
<i>lowercase first</i> flag set, is as follows:
23262326

23272327
<ol>
@@ -2345,7 +2345,7 @@ The <dfn>CSS property to IDL attribute</dfn> algorithm for <var>property</var>,
23452345
<li>Return <var>output</var>.
23462346
</ol>
23472347

2348-
The <dfn>IDL attribute to CSS property</dfn> algorithm for <var>attribute</var>, optionally with a
2348+
The <dfn export>IDL attribute to CSS property</dfn> algorithm for <var>attribute</var>, optionally with a
23492349
<i>dash prefix</i> flag set, is as follows:
23502350

23512351
<ol>
@@ -2372,7 +2372,7 @@ CSS Values {#css-values}
23722372

23732373
### Parsing CSS Values ### {#parsing-css-values}
23742374

2375-
To <dfn>parse a CSS value</dfn> <var>value</var> for a given
2375+
To <dfn export>parse a CSS value</dfn> <var>value</var> for a given
23762376
<var>property</var> means to follow these steps:
23772377

23782378
<ol>
@@ -2391,7 +2391,7 @@ part of the property value space and will therefore cause
23912391

23922392
<!-- based on http://damowmow.com/playground/canon.txt -->
23932393

2394-
To <dfn>serialize a CSS value</dfn> of a <a>CSS declaration</a> |declaration|
2394+
To <dfn export>serialize a CSS value</dfn> of a <a>CSS declaration</a> |declaration|
23952395
or a list of longhand <a lt="CSS declaration">CSS declarations</a> |list|,
23962396
follow these rules:
23972397

@@ -2436,7 +2436,7 @@ follow these rules:
24362436

24372437

24382438
To
2439-
<dfn>serialize a CSS component value</dfn>
2439+
<dfn export>serialize a CSS component value</dfn>
24402440
depends on the component, as follows:
24412441

24422442
<dl class="switch">

0 commit comments

Comments
 (0)