- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Wed, 22 Jan 2003 19:39:02 +0100
- To: Alex Geller <alexgeller@web.de>
- Cc: www-validator-css@w3.org
* Alex Geller wrote:
>consider the following two rules:
>
> A { margin-top:12pt+2pt }
> B { margin-top:12pt-2pt }
>
>While the first rule is accepted, the second is rejected saying
>"Unknown dimension : 12pt-2pt".
>Is 12pt+2pt a known dimension then?
No, both declarations are invalid, since both values are invalid
<length>s and margin-top allows only
<length> | <percentage> | auto | inherit
in CSS Level 2. In other words, accepting the first rule is a bug.
Received on Wednesday, 22 January 2003 13:38:40 UTC