- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Sun, 6 Feb 2011 21:10:56 -0800
- To: Simon Fraser <smfr@me.com>
- Cc: Brad Kemper <brad.kemper@gmail.com>, "Eric A. Meyer" <eric@meyerweb.com>, "www-style@w3.org" <www-style@w3.org>
On Sun, Feb 6, 2011 at 3:41 PM, Simon Fraser <smfr@me.com> wrote: > 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. 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. ~TJ
Received on Monday, 7 February 2011 05:11:49 UTC