Skip to content

Commit a546412

Browse files
committed
[css-typed-om] Bunch of bikeshed fixes.
1 parent 4075a63 commit a546412

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

css-typed-om/Overview.bs

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ urlPrefix: http://www.ecma-international.org/ecma-262/6.0/#sec-; type: dfn; spec
4545
</pre>
4646

4747
<pre class=link-defaults>
48-
spec:css21; type:property;
48+
spec:css-sizing; type:property;
4949
text:max-height;
5050
text:max-width;
5151
text:min-height;
@@ -57,7 +57,9 @@ spec:cssom-1;
5757
text: CSS declaration block
5858
text: declarations; for: CSSStyleDeclaration
5959
spec:css-align-3; type:property; text:column-gap
60-
spec:css-color-3; type:property; text:color;
60+
spec:css-color-4;
61+
type:property; text:color;
62+
type:value; text:currentcolor;
6163
spec:css-position-3; type:value; for:left; text:auto;
6264
spec:css-shapes-1; type: property;
6365
text: shape-margin
@@ -673,7 +675,7 @@ partial interface Element {
673675
};
674676
</pre>
675677

676-
<dfn>Computed StylePropertyMap</dfn> objects
678+
<dfn export>Computed StylePropertyMap</dfn> objects
677679
represent the [=computed values=] of an {{Element}},
678680
and are accessed by calling the {{Element/computedStyleMap()}} method.
679681

@@ -1140,7 +1142,7 @@ The following are the arithmetic operations you can perform on dimensions:
11401142
if |values| is « 1, 2, 3, 4 »,
11411143
the result must be (((1 × 2) × 3) × 4).
11421144

1143-
5. Let |type| be the result of [=multiplying=] the [=types=] of every [=list/item=] in |values|.
1145+
5. Let |type| be the result of [=CSSNumericValue/multiplying=] the [=types=] of every [=list/item=] in |values|.
11441146
If |type| is failure,
11451147
[=throw=] a {{TypeError}}.
11461148

@@ -1623,7 +1625,7 @@ The following are the arithmetic operations you can perform on dimensions:
16231625
2. Set |type|’s sole [=map/value=] to |power|.
16241626
3. [=list/Append=] |type| to |types|.
16251627

1626-
3. Return the result of [=multiplying=] all the [=list/items=] of |types|.
1628+
3. Return the result of [=CSSNumericValue/multiplying=] all the [=list/items=] of |types|.
16271629
</div>
16281630

16291631
<div algorithm>
@@ -1939,7 +1941,7 @@ are represented as {{CSSUnitValue}}s.
19391941
</div>
19401942

19411943
<div algorithm>
1942-
The <dfn>[=type=] of a {{CSSUnitValue}}</dfn>
1944+
The <dfn export>[=type=] of a {{CSSUnitValue}}</dfn>
19431945
is the result of [=creating a type=] from its {{CSSUnitValue/unit}} internal slot.
19441946
</div>
19451947

@@ -2145,7 +2147,7 @@ of all the "math" operations.
21452147

21462148
The <dfn constructor for="CSSMathProduct">CSSMathProduct(...|args|)</dfn> constructor
21472149
is defined identically to the above,
2148-
except that in step 3 it [=multiplies=] the types instead of [=adding=],
2150+
except that in step 3 it [=CSSNumericValue/multiplies=] the types instead of [=adding=],
21492151
and in the last step
21502152
it returns a {{CSSMathProduct}}.
21512153
</div>
@@ -2186,7 +2188,7 @@ of all the "math" operations.
21862188
</div>
21872189

21882190
<div algorithm>
2189-
The <dfn>[=type=] of a CSSMathValue</dfn>
2191+
The <dfn export>[=type=] of a CSSMathValue</dfn>
21902192
depends on its class:
21912193

21922194
<dl class=switch>
@@ -2201,7 +2203,7 @@ of all the "math" operations.
22012203
of the {{CSSMathClamp/min}}, {{CSSMathClamp/val}}, and {{CSSMathClamp/max}} internal slots.
22022204

22032205
: {{CSSMathProduct}}
2204-
:: The [=type=] is the result of [=multiplying=] the [=types=]
2206+
:: The [=type=] is the result of [=CSSNumericValue/multiplying=] the [=types=]
22052207
of each of the [=list/items=] in its {{CSSMathProduct/values}} internal slot.
22062208

22072209
: {{CSSMathNegate}}
@@ -2215,7 +2217,7 @@ of all the "math" operations.
22152217

22162218
The <dfn attribute for=CSSNumericArray>length</dfn> attribute of {{CSSNumericArray}} indicates how many {{CSSNumericValue}}s are contained within the {{CSSNumericArray}}.
22172219

2218-
The <dfn for=CSSNumericArray>indexed getter</dfn> of {{CSSNumericArray}} retrieves the {{CSSNumericValue}} at the provided index.
2220+
The <dfn export for=CSSNumericArray>indexed getter</dfn> of {{CSSNumericArray}} retrieves the {{CSSNumericValue}} at the provided index.
22192221

22202222
<!--
22212223
██ ██ ██ ██ ██ ██ ██████ ██████ ██████

0 commit comments

Comments
 (0)