W3C home > Mailing lists > Public > www-style@w3.org > November 2012

Re: [css3-background] unbound background-clip from -origin in background shorthand

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Fri, 30 Nov 2012 11:16:32 +0100
To: "Dirk Schulze" <dschulze@adobe.com>
Cc: "www-style@w3.org list" <www-style@w3.org>
Message-ID: <op.wokz5uy5bunlto@oyvinds-desktop>
On Fri, 30 Nov 2012 06:57:30 +0100, Dirk Schulze <dschulze@adobe.com>  
wrote:

> Test results:
> IE 10, Opera next, Chromium, WebKit nightly allow independent order of   
> 'background-origin' and 'background-clip' in an interoperable way. You  
> will see this on various pass messages at the beginning.
> Firefox nightly supports the syntax described in the current version of  
> the spec[1] and therefore fails on the attached test.

Firefox nightly (tested "20.0a1 (2012-11-29)" on Linux) fails even the  
first sub-test ("none repeat scroll 0% 0% / auto content-box  
padding-box"), which indicates that it still behaves the same way as  
version 17 (which I commented about in the IRC channel during the meeting).

So, none of these browsers follow the current spec. Spec says (for the  
final layer, which is being tested here)

<bg-image> || <position> [ / <bg-size> ]? || <repeat-style> ||  
<attachment> || <box>{1,2} || <'background-color'>

Presumably, IE/Opera/WebKit all do

<bg-image> || <position> [ / <bg-size> ]? || <repeat-style> ||  
<attachment> || <box> || <box> || <'background-color'>

instead, while Firefox only recognizes

<bg-image> || <position> [ / <bg-size> ]? || <repeat-style> ||  
<attachment> || <box> || <'background-color'>

-- 
Øyvind Stenhaug
Opera Software ASA
Received on Friday, 30 November 2012 10:17:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:03 GMT