Skip to content

Commit 4ef3b56

Browse files
nainarshans
authored andcommitted
Add description for StylePropertyMapReadOnly.has() (#442)
1 parent 7a26b0e commit 4ef3b56

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

css-typed-om/Overview.bs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,17 @@ The <dfn method for=StylePropertyMap>append(DOMString <var>property</var>,
302302
4. Else, return `null`.
303303
</div>
304304

305+
<div algorithm>
306+
To <dfn>check if StylePropertyMap has a property</dfn>, run these steps:
307+
308+
1. Run the algorithm to [=get a value from a StylePropertyMap=] with property <var>property</var>,
309+
1. If the algoritm returns a {{CSSStyleValue}} return true.
310+
311+
2. If the algorithm returns `null` return false.
312+
313+
</div>
314+
315+
305316
<div algorithm>
306317
To <dfn>set a value on a StylePropertyMap</dfn>, run these steps:
307318

0 commit comments

Comments
 (0)