W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2019

[csswg-drafts] [css-images] linear-gradient syntax oopsie (#3781)

From: benjamin-otte via GitHub <sysbot+gh@w3.org>
Date: Sun, 31 Mar 2019 10:56:38 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-427383825-1554029797-sysbot+gh@w3.org>
benjamin-otte has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images] linear-gradient syntax oopsie ==
https://drafts.csswg.org/css-images-3/#linear-gradients defines linear gradients as  
`linear-gradient() = linear-gradient(  [ <angle> | to <side-or-corner> ]? , <color-stop-list>)`
but should probably define them as
`linear-gradient() = linear-gradient(  [ <angle> | to <side-or-corner> , ]? <color-stop-list>)`
because otherwise  
`linear-gradient(red,blue)`  
would be incorrect and
`linear-gradient(,red,blue)`
would need to be used.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3781 using your GitHub account
Received on Sunday, 31 March 2019 10:56:41 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:58 UTC