Re: [css-houdini-drafts] [css-properties-values-api] inherits should be true by default

Reason we defaulted it to non-inheriting is because that's the more performant option when you don't need inheritance; inheritance is actually relatively expensive.  The confusion y'all bring up is totally reasonable, tho.

We decided to instead just make the "inherits" key required, so you have to specify whether it does or not, and you get an informative error if you leave it out. That should avoid the confusion over omitting it, without defaulting people to the slower option.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/434#issuecomment-319320319 using your GitHub account

Received on Tuesday, 1 August 2017 09:34:14 UTC