- 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>
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 UTC