- From: Yves Lafon <ylafon@w3.org>
- Date: Mon, 10 Dec 2018 14:22:43 +0100
- To: www-style list <www-style@w3.org>
Hi,
I noticed that the legacy rgb() syntax is defined in https://drafts.csswg.org/css-color/#rgb-functions (20180926 edition) as
"rgb( <percentage>#{3} , <alpha-value>?) ) | rgb( <number>#{3} , <alpha-value>? )”
It should probably be "rgb( <percentage>#{3} [ , <alpha-value> ]?) ) | rgb( <number>#{3} [ , <alpha-value> ]? )” to avoid rgb(11,22,33,) being valid.
HTH,
--
Baroula que barouleras, au tiéu toujou t'entourneras.
~~Yves
Received on Monday, 10 December 2018 13:22:46 UTC