Re: 'border-image' confusion

On Sun, Feb 6, 2011 at 3:41 PM, Simon Fraser <> wrote:
> On Feb 6, 2011, at 12:25 PM, Brad Kemper wrote:
>> On Feb 6, 2011, at 10:12 AM, Simon Fraser <> wrote:
>>> I think there's also a valid use case for a single border-image that gets stretched, un-tiled, to the border box size, with the center clipped out. This would give us the ability to use a gradient image here, thus fulfilling the gradient border request.
>> Shouldn't that happen anyway with gradients? Since they are dimensionless, they should automatically stretch to the full dimensions of the border box & outsets, prior to slicing. At least, that is my expectation.
> 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.


Received on Monday, 7 February 2011 05:11:49 UTC