W3C home > Mailing lists > Public > www-style@w3.org > May 2011

Re: [css3-images] exactly 2 adjacent colors stops

From: Alan Gresley <alan@css-class.com>
Date: Wed, 25 May 2011 18:01:30 +1000
Message-ID: <4DDCB75A.4010901@css-class.com>
To: "L. David Baron" <dbaron@dbaron.org>
CC: Brian Manthos <brianman@microsoft.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Philippe Wittenbergh <ph.wittenbergh@l-c-n.com>, www-style list <www-style@w3.org>
On 25/05/2011 3:41 AM, L. David Baron wrote:
> On Tuesday 2011-05-17 18:20 +0000, Brian Manthos wrote:
>> Chrome is likely following the "-webkit-background-size" pattern
>> that they had in older builds where it wasn't part of the
>> "background" property because it wasn't unprefixed yet.  I think
>> Firefox behaved the same way in older builds (but my memory is a
>> little fuzzy on that).
> In Firefox, -moz-background-size was reset by the background
> shorthand from the time it was implemented (in
> https://bugzilla.mozilla.org/show_bug.cgi?id=189519).
> (We haven't yet implemented support for values of background-size to
> be specified in the shorthand though; it just always resets
> background-size to its initial value.  That syntax has only been in
> CR since February, and we haven't gotten to adding it yet, though
> hopefully will soon.  This is
> https://bugzilla.mozilla.org/show_bug.cgi?id=570326 .)
> -David

Wow, I have waited 3 years for this. There was support for 
background-size in a background shorthand in IE9 preview but then it 
went bye bye from IE9 beta.


Below is a reference image (screenshot) of the above test that I took 
while I had IE9 preview before it disappeared from my machine (don't 
know how).


What really concerns me about this is that all implementations have to 
get SVGs (especially those with no intrinsic size, ratio or dimension) 
right before implementing background-size in a background shorthand. 
This also applies to gradients (take repeating-linear-gradient as one 

I do note that background-position is different with for SVG with no 
intrinsic size in WebKit compared to Firefox, Opera and IE9+. The forth 
example 'Test 4' in the below test shows this.


Alan Gresley
Received on Wednesday, 25 May 2011 08:02:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:34:52 UTC