File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1105,17 +1105,22 @@ which represent individual <<transform-function>> values.
1105
1105
[Constructor(optional sequence<CSSTransformComponent> transforms)]
1106
1106
interface CSSTransformValue : CSSStyleValue {
1107
1107
iterable<CSSTransformComponent>;
1108
+ readonly attribute unsigned long length;
1109
+ getter CSSTransformComponent (unsigned long index);
1108
1110
readonly attribute boolean is2D;
1109
1111
readonly attribute DOMMatrixReadOnly matrix;
1110
1112
};
1111
1113
</xmp>
1112
1114
1113
- Issue(358): This *should* be an Array-like,
1114
- pending proper resolution of [the GitHub issue] (https://github.com/heycam/webidl/issues/291).
1115
-
1116
1115
A {{CSSTransformValue}} ’s [=values to iterate over=]
1117
1116
is a [=list=] of {{CSSTransformComponent}} s.
1118
1117
1118
+ The <dfn attribute for=CSSTransformValue>length</dfn> attribute indicates how many {{CSSTransformComponent}} objects
1119
+ in the [=values to iterate over=] [=list=] .
1120
+
1121
+ The <dfn for=CSSTransformValue>indexed getter</dfn> retrieves the {{CSSTransformComponent}} object at the provided index
1122
+ from the [=values to iterate over=] [=list=] .
1123
+
1119
1124
<div algorithm>
1120
1125
The <dfn constructor for=CSSTransformValue>CSSTransformValue(|transforms|)</dfn> constructor must,
1121
1126
when called,
You can’t perform that action at this time.
0 commit comments