Re: [csswg-drafts] [css-flexbox] [css-text] Alias "nowrap" as "no-wrap"

A reason I think it's not worth doing is because developers will never be able to not know about "nowrap", since CSSOM has to return that value forever for web compat. So adding another value will make it harder to work with.

Alternatively, if you want to make the API roundtrip which keyword was used, that makes implementation more complex and JS that wants to check for this value needs to check for two values forever, again making it harder to work with.

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

Received on Tuesday, 20 June 2017 05:23:23 UTC