@@ -180,7 +180,7 @@ interface StylePropertyMap : StylePropertyMapReadOnly {
180
180
void append(DOMString property, (CSSStyleValue or DOMString)... values);
181
181
void delete(DOMString property);
182
182
void set(DOMString property, (CSSStyleValue or DOMString)... values);
183
- void update(DOMString property, UpdateFunction updateFunction);
183
+ void update(DOMString property, UpdateFunction updateFunction);
184
184
};
185
185
</pre>
186
186
@@ -203,10 +203,13 @@ future without breaking code that relies on calling
203
203
{{StylePropertyMap/set()}} for those properties.
204
204
</div>
205
205
206
- <div algorithm="append to a StylePropertyMap">
207
- The <dfn method for=StylePropertyMap>append(DOMString <var>property</var> (CSSStyleValue or DOMString)... <var>values</var>)</dfn> method,
208
- when invoked,
209
- must run these steps:
206
+ The <dfn method for=StylePropertyMap>append(DOMString <var>property</var>,
207
+ (CSSStyleValue or DOMString)... <var>values</var>)</dfn> method, when invoked, must
208
+ [=append to a StylePropertyMap=] with property <var> property</var> and values <var> values</var> .
209
+
210
+ <div algorithm>
211
+ To <dfn>append to a StylePropertyMap</dfn> given a <var> property</var> and a list of
212
+ <var> values</var> , run these steps:
210
213
211
214
1. If |property| does not start with two dashes (U+002D HYPHEN),
212
215
let |property| be |property| [=ASCII lowercased=] .
@@ -258,7 +261,7 @@ UpdateFunction <var>updateFunction</var>)</dfn> method, when invoked, must
258
261
<var> property</var> , update function <var> updateFunction</var> , and property
259
262
map set to the object this method was invoked on .
260
263
261
- <div algorith >
264
+ <div algorithm >
262
265
To <dfn>update a value in a StylePropertyMap</dfn> given a <var> property
263
266
name</var> , <var> update function</var> , and <var> property map</var> , run these
264
267
steps:
0 commit comments