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

Re: 'border-image' confusion

From: Simon Fraser <smfr@me.com>
Date: Sun, 06 Feb 2011 15:41:29 -0800
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "Eric A. Meyer" <eric@meyerweb.com>, "www-style@w3.org" <www-style@w3.org>
Message-id: <B5DF29C3-4D1F-4790-8C10-2481160D65FC@me.com>
To: Brad Kemper <brad.kemper@gmail.com>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:55 UTC