Skip to content

Commit 745e199

Browse files
committed
Define what it means for a property to not accept a value. Fixes #147.
1 parent ad771ba commit 745e199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-typed-om/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ future without breaking code that relies on calling
154154

155155
6. For each |value| in |values|:
156156
: If |value| is a {{CSSStyleValue}},
157-
:: If |value|’s type is not one that |property| is defined to accept,
157+
:: If |value| does not match the grammar of a <a>list-valued property iteration</a> of |property|,
158158
<a>throw</a> a {{TypeError}} and exit this algorithm.
159159
Otherwise, append |value| to the end of |values to append|.
160160
: If |value| is a {{DOMString}},
161161
:: <a>Parse a CSSStyleValue</a> with property |property| and value |value|.
162162
If the result is null,
163163
<a>throw</a> a {{TypeError}} and exit this algorithm.
164-
Otherwise, append the result to the end of |values to append|.
164+
Otherwise, append each <a>list-valued property iteration</a> in the result to the end of |values to append|.
165165

166166
7. Append |values to append| to the end of |entry|’s list.
167167
</div>

0 commit comments

Comments
 (0)