W3C home > Mailing lists > Public > www-style@w3.org > February 2005

small inaccuracy in CSS2 spec?

From: Adam Spiers <www-style@adamspiers.org>
Date: Wed, 23 Feb 2005 18:11:39 +0000
To: W3C CSS mailing list <www-style@w3.org>
Message-ID: <20050223181139.GA17622@banjo.celticmusic.com>

Hi everyone,

Is it just me or is this part of the CSS2 spec misleading?

   http://www.w3.org/TR/REC-CSS2/visufx.html#value-def-shape 

It states that the top/right/bottom/left should be separated by
spaces, but the examples show that the separator includes a comma.
Furthermore, if I visit

   http://jigsaw.w3.org/css-validator/

and paste in

   p { clip: rect(5px 5px 5px 5px) }

I get:

   URI : file://localhost/TextArea
      * Line: 1 Context : p
      Invalid number : clip Invalid separator in shape definition. It must be a comma. : rect(5px 5px 5px 5px)

whereas validating

   p { clip: rect(5px, 5px, 5px, 5px) }

works fine.  

Thanks,

Adam
Received on Thursday, 24 February 2005 01:29:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT