- From: Simon Sapin <simon.sapin@kozea.fr>
- Date: Fri, 13 Apr 2012 12:47:10 +0200
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- CC: www-style list <www-style@w3.org>
Some properties accept <integer> values. For example: "2" is a valid integer, but "2.0" is not. However, both end up as NUMBER tokens with the same numeric value. How does the parser distinguish them? Do the NUMBER tokens have additional meta-data? Should we add an INTEGER token type instead? (This would mean that both token types would need to be checked wherever a <number> is accepted.) -- Simon Sapin
Received on Friday, 13 April 2012 10:47:41 UTC