Skip to content

Commit 35d46ea

Browse files
committed
[css-typed-om] Add definition for getProperties. Include sort order.
(http://github.com/w3c/css-houdini-drafts/issues/178)
1 parent cef78c5 commit 35d46ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

css-typed-om/Overview.bs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,13 @@ Issue(143): first need to check whether the property is a valid property.
153153
:: concatenate <var>values</var> onto the end of the entry in the <a>property model</a>
154154

155155

156+
The <dfn method for=StylePropertyMap>getProperties()</dfn> method returns all of the properties listed in
157+
the <a>property model</a>. This list of properties is sorted in the following manner:
158+
159+
* normal properties are sorted alphabetically.
160+
* custom properties are sorted by increasing code point order.
161+
* custom properties are sorted after normal properties.
162+
156163
Issue(145): should refactor out value type-checking, as it'll be needed by the rest of the setters too
157164

158165
Issue(147): need a robust description of what "a type that <var>property</var> can't accept" means.

0 commit comments

Comments
 (0)