Skip to content
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
14 changes: 14 additions & 0 deletions css-typed-om/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,20 @@ The <dfn method for=StylePropertyMap>append(DOMString <var>property</var>,
7. Append |values to append| to the end of |entry|’s list.
</div>

<div algorithm>
To <dfn>delete a StylePropertyMap</dfn> given a <var>property</var> and a list of
<var>values</var>, run these steps:

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|,
remove that entry from the [=property model=].
</div>

<div algorithm>
This section describes the <dfn>algorithm that coerces value into an appropriate type for a given property</dfn>, or fails and throws a {{TypeError}}:
: If |value| is a {{CSSStyleValue}},
Expand Down