diff --git a/css-typed-om/Overview.bs b/css-typed-om/Overview.bs index cc434a53..2d73f7d3 100644 --- a/css-typed-om/Overview.bs +++ b/css-typed-om/Overview.bs @@ -155,7 +155,7 @@ and parseMultiple set to true. 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=], + 2. If |property| is not a [[=valid CSS property=], [=throw=] a {{TypeError}} and exit this algorithm. 3. Attempt to parse |cssText| according to |property|’s grammar. @@ -275,7 +275,7 @@ probably in an appendix. 1. If |property| is not a [=custom property name string=], let |property| be |property| [=ASCII lowercased=]. - 2. If |property| is not a [=supported property name=], + 2. If |property| is not a [=valid CSS property=], [=throw=] a {{TypeError}} and exit this algorithm. 3. If |property| is not a [=list-valued property=], @@ -305,7 +305,7 @@ probably in an appendix. 1. If |property| is not a [=custom property name string=], let |property| be |property| [=ASCII lowercased=]. - 2. If |property| is not a [=supported property name=], + 2. If |property| is not a [=valid CSS property=], [=throw=] a {{TypeError}} and exit this algorithm. 3. If |this|’s [=StylePropertyMap/map entries=] [=contains=] |property|, @@ -337,7 +337,7 @@ probably in an appendix. 1. If |property| is not a [=custom property name string=], let |property| be |property| [=ASCII lowercased=]. - 2. If |property| is not a [=supported property name=], + 2. If |property| is not a [=valid CSS property=], [=throw=] a {{TypeError}} and exit this algorithm. 3. Let |props| be |this|’s [=StylePropertyMap/map entries=]. @@ -356,7 +356,7 @@ probably in an appendix. 1. If |property| is not a [=custom property name string=], let |property| be |property| [=ASCII lowercased=]. - 2. If |property| is not a [=supported property name=], + 2. If |property| is not a [=valid CSS property=], [=throw=] a {{TypeError}} and exit this algorithm. 3. Let |props| be |this|’s [=StylePropertyMap/map entries=]. @@ -374,7 +374,7 @@ probably in an appendix. 1. If |property| is not a [=custom property name string=], let |property| be |property| [=ASCII lowercased=]. - 2. If |property| is not a [=supported property name=], + 2. If |property| is not a [[=valid CSS property=], [=throw=] a {{TypeError}} and exit this algorithm. 3. If |property| is a [=single-valued property=] and |values| has more than one [=list/entry=], @@ -423,6 +423,10 @@ but applies to [=strings=], rather than [=identifiers=]; it can be used without invoking the CSS parser.) +A [=string=] is a valid CSS property +if it is a [=custom property name string=], +or is a CSS property name recognized by the user agent. + Issue(148): add detailed descriptions of the rest of the methods on {{StylePropertyMap}} Issue(268): stringification