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

Re: 'border-image' confusion

From: Brad Kemper <brad.kemper@gmail.com>
Date: Mon, 7 Feb 2011 09:36:43 -0800
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Simon Fraser <smfr@me.com>, "Eric A. Meyer" <eric@meyerweb.com>, "www-style@w3.org" <www-style@w3.org>
Message-Id: <6F9BAE16-C0F9-4AAB-B435-6130B86D7DC6@gmail.com>
To: Alan Gresley <alan@css-class.com>

On Feb 7, 2011, at 9:32 AM, Alan Gresley wrote:

> On 8/02/2011 3:26 AM, Brad Kemper wrote:
>> 
>> On Feb 6, 2011, at 9:10 PM, Tab Atkins Jr. wrote:
>> 
>>> On Sun, Feb 6, 2011 at 3:41 PM, Simon Fraser<smfr@me.com>  wrote:
> 
>>>> I actually have no idea how a gradient should respond to slicing
>>>> for border-image. WebKit has bugs, but I'm not sure what the
>>>> expected behavior is.
>>> 
>>> A gradient is an image, and once it's used, it has a definite
>>> size. It should act exactly like any other image of that size.
>>> There's no magic behavior here.
>> 
>> Actually, I'm not seeing anything in Backgrounds&  Borders 3 that
>> says how to dimension an image that has no intrinsic dimension. It
>> should be the same size as the border image area[1]. Maybe we need to
>> say that somewhere, or say it more explicitly if it is implied in
>> there somewhere and I'm just missing it.
> 
>> 1. http://dev.w3.org/csswg/css3-background/#border-image-area
> 
> 
> Brad, gradients work the same as background-image. I discovered it only today. As Tab has said, there no magic behavior here. This is possible.

I meant with regard to border-image.
Received on Monday, 7 February 2011 17:37:18 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:37 GMT