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
16 changes: 10 additions & 6 deletions css-typed-om/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a lt="parse something according to a CSS grammar">parse</a> |cssText| according to |property|’s grammar.
Expand Down Expand Up @@ -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=],
Expand Down Expand Up @@ -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|,
Expand Down Expand Up @@ -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=].
Expand All @@ -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=].
Expand All @@ -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=],
Expand Down Expand Up @@ -423,6 +423,10 @@ but applies to [=strings=],
rather than [=identifiers=];
it can be used without invoking the CSS parser.)

A [=string=] is a <dfn>valid CSS property</dfn>
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
Expand Down