Skip to content

Add description for StylePropertyMapReadOnly.get() #441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion css-typed-om/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,16 @@ The <dfn method for=StylePropertyMap>append(DOMString <var>property</var>,
<div algorithm>
To <dfn>get a value from a StylePropertyMap</dfn>, run these steps:

Issue(148): Write this
1. If |property| does not start with two dashes (U+002D HYPHEN),
let |property| be |property| [=ASCII lowercased=].

2. If |property| is not a [=supported property name=],
[=throw=] a {{TypeError}} and exit this algorithm.

3. If {{StylePropertyMap}}’s [=property model=] contains an entry for |property|,
return the first value found in that entry.

4. Else, return `null`.
</div>

<div algorithm>
Expand Down