Skip to content

Commit 312e314

Browse files
nainartabatkins
authored andcommitted
Expose StylePropertyMap.set on Window only. (w3c#597)
* Expose StylePropertyMap.set on Window only. * Only expose StylePropertyMapReadOnly to PaintWorklet,Window * typo * Add [Exposed] to StylePropertyMap
1 parent 9a63e61 commit 312e314

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

css-typed-om/Overview.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ The {{StylePropertyMap}} {#the-stylepropertymap}
195195
================================================
196196

197197
<xmp class='idl'>
198+
[Exposed=Window,PaintWorklet]
198199
interface StylePropertyMapReadOnly {
199200
readonly maplike<DOMString, sequence<CSSStyleValue>>;
200201
any get(DOMString property);
@@ -207,6 +208,7 @@ interface StylePropertyMapReadOnly {
207208

208209
callback UpdateFunction = CSSStyleValue (CSSStyleValue oldValue);
209210

211+
[Exposed=Window]
210212
interface StylePropertyMap : StylePropertyMapReadOnly {
211213
maplike<DOMString, sequence<CSSStyleValue>>;
212214
void append(DOMString property, (CSSStyleValue or DOMString)... values);

0 commit comments

Comments
 (0)