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?


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


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.  


Received on Thursday, 24 February 2005 01:29:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:17 UTC