Re: [csswg-drafts] [css-color] Unnecessary comma in color()

Yeah, I haven't touched color-mod() yet.

We previously agreed to make rgb() and rgba() both 
3-arg-with-optional-alpha, so I kept that in. If we decide we don't 
want that change to the old syntax, we can rip it out later.

I do care about the simplicity of just making rgba() an alias for 
rgb(). Remember tha any differences mean implementation effort has to 
be expended to parse them differently; I don't think there's a strong 
enough principled reason to justify a difference.  

I might rearrange things to only put the "rgb(r g b / a)" syntax up 
front, and move all the others (rgb(r, b, g), rgba() in general) to 
the bottom of the section and describe them as legacy compat.

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

Received on Thursday, 28 July 2016 16:23:25 UTC