Re: [css-houdini-drafts] Do any StyleValue subclasses other than LengthValue need a 'from' method?

We don't need .from() methods unless there are multiple subclasses of 
an abstract type base (like LengthValue). So for example CSSAngleValue
 doesn't need .from() methods.

However we should make sure that there are constructors available for 
string and calc variants everywhere.

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

Received on Thursday, 11 August 2016 21:23:23 UTC