W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re: [CSS2.1 - Grammar] The clip property with rect function, allows combination of spaces and commas?

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 09 Jan 2008 21:32:00 -0500
Message-ID: <478583A0.4080005@inkedblade.net>
To: Justin Rogers <justrog@microsoft.com>
CC: "www-style@w3.org" <www-style@w3.org>

Justin Rogers wrote:
> CSS 2.1 standards supported grammar
> 
>     clip: rect(96px, 96px, 96px, 96px);
> 
> CSS 2.1 backwards compatible supported grammar
> 
>     clip: rect(96px 96px 96px 96px);
> 
> CSS 2.1 fuzz test variation with lack of cross browser parity
> 
>     clip: rect(96px  ,96px 96px,  96px);
> 
> The tests and verification I wanted to perform were (FireFox 3 B2 was 
> used when finding the discrepancy):
> 
> 1.       Does arbitrary whitespace matter between tokens or is it well 
>          ignored. (All: yes)
> 
> 2.       Since I support commas and I support spaces can I support a 
>          mixture? (FireFox: yes, Safari and Opera: no)
> 
> 3.       Out of range parsing (less/more than 4 dimensions). (All: yes)
> 
> So the clarification needs to be on the item 2 where we mix and match 
> commas and spaces as delimiters. Should the standards behavior be that 
> of FireFox or Safari/Opera?

Added as CSS2.1 Issue 28:
   http://csswg.inkedblade.net/spec/css2.1#issue-28

I'd lean towards disallowing mixed delimiters, but what does IE6 do?

~fantasai
Received on Thursday, 10 January 2008 02:32:09 GMT

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