Re: [csswg-drafts] [css-text-3] Don't mince words about aliasing/shorthands with word-wrap

> > For the alias part, it isn't clear to me that the spec text defines what's supposed to happen in APIs that return the name of the property, such as getting the value of the transition-property property. 
> 
> Hm, indeed. We should make that clear.

It is clear. The spec says

> When the old property’s syntax is identical to or a subset of the value space of the new property’s syntax, the two names are aliased with an operation on par with case-mapping: at parse time, the old property is converted into the new property. This conversion also applies in the CSSOM, both for string arguments and property lookups: requests for the old property transparently transfer to the new property instead.

Whatever is supposed to happen with a property "foo" inputted as "FOO", exactly the same happens between "new" and "old". If it is unclear what happens for case-mapping in some situation, then it is also unclear for aliasing; but once it is fixed for case-mapping it will be fixed for aliasing also.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/866#issuecomment-413767753 using your GitHub account

Received on Friday, 17 August 2018 06:10:44 UTC