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

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.

http://css-class.com/test/css/3/backgrounds/background-slash-shorthand.htm


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).

http://css-class.com/test/temp/css3-background.jpg


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 
example).

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.

http://css-class.com/test/css/3/edge/image-svg.htm



-- 
Alan Gresley
http://css-3d.org/
http://css-class.com/

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