From a3558d98c6e3890000e9970337a7fd673209086c Mon Sep 17 00:00:00 2001 From: nainar Date: Mon, 29 Jan 2018 12:27:09 +1100 Subject: [PATCH] StylePropertyMap's model is sequence pairs Fixes #571 --- css-typed-om/Overview.bs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/css-typed-om/Overview.bs b/css-typed-om/Overview.bs index 1234a197..9978f92a 100644 --- a/css-typed-om/Overview.bs +++ b/css-typed-om/Overview.bs @@ -337,15 +337,8 @@ probably in an appendix. 2. If |property| is not a [=supported property name=], [=throw=] a {{TypeError}} and exit this algorithm. - 3. If {{StylePropertyMap}}’s [=contained properties map=] contains an entry for |property|: - - 1. If |property| is a [=list-valued property=], - return the list of |values| assigned to that property. - - 2. If |property| is not a [=list-valued property=], - let |values| initially be the empty [=list=] and append - the |value| assigned to the |property| to this list - and return |values|. + 3. If {{StylePropertyMap}}’s [=contained properties map=] contains an entry for |property| + return the list of |values| assigned to that property. 4. Else, return an empty [=list=].