Loading
Bug 1397122 - Handle values as valid in single transition shorthand even if...
Bug 1397122 - Handle values as valid in single transition shorthand even if the transition-property is 'none'. r=xidorn A single transition value that includes 'none' for transition-property is valid, so we should store whole specified values (if it's valid). Whereas, the spec [1] clearly says for the case where there are multiple entries; If there is more than one <single-transition> in the shorthand, and any of the transitions has none as the <single-transition-property>, then the declaration is invalid. 'none 2s linear 2s' is a test case for the former, '1s width, 2s none' is a test case for the latter. Note that with this patch, 'transition: none' is serialized as 'none 0s ease 0s' instead of 'none' but it matches Gecko. [1] https://drafts.csswg.org/css-transitions/#single-transition MozReview-Commit-ID: 3o3z5GFyMqh --HG-- extra : rebase_source : c553af804124c0c76554fb8ad007e78e2813d321