Skip to content

Commit f03a280

Browse files
darrnshntabatkins
authored andcommitted
Restrict unsupported CSSStyleValues to the property that it was parsed with (#563)
1 parent bef7596 commit f03a280

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

css-typed-om/Overview.bs

+3-1
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,10 @@ interface CSSStyleValue {
124124
</pre>
125125

126126
{{CSSStyleValue}} objects are the base class of all CSS Values accessible via the Typed OM API.
127+
127128
Values that can't yet be directly supported by a {{CSSStyleValue}} subclass
128-
are also represented as {{CSSStyleValue}} objects.
129+
are also represented as {{CSSStyleValue}} objects. These {{CSSStyleValue}} objects are only
130+
considered valid for the property that it was parsed with.
129131

130132
The <a for="CSSStyleValue">stringification behavior</a> of {{CSSStyleValue}} objects is to
131133
return a normalized representation

0 commit comments

Comments
 (0)