Re: 'border-image' confusion

On Feb 6, 2011, at 12:25 PM, Brad Kemper wrote:

> On Feb 6, 2011, at 10:12 AM, Simon Fraser <smfr@me.com> 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.

Simon

Received on Sunday, 6 February 2011 23:42:17 UTC