- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 10 Feb 2014 10:41:27 -0800
- To: Brad Kemper <brad.kemper@gmail.com>
- Cc: Sebastian Zartner <sebastianzartner@gmail.com>, www-style list <www-style@w3.org>
On Mon, Feb 10, 2014 at 7:31 AM, Brad Kemper <brad.kemper@gmail.com> wrote: > On Feb 9, 2014, at 11:00 AM, Sebastian Zartner <sebastianzartner@gmail.com> wrote: >> >> I am also not sure whether border-image-offset should be reused for that purpose. The offset is unrelated to clipping. > > It is not unrelated. Border-image-offset is what produces the overhang that you said authors should be able to opt out of. It just doesn't make any sense to opt out of it only at the corners. > >> Again, what speaks against adding a new property controlling the clipping of the border? The default value would be to let it overhang the border box. > > Again, because clipping the image at the border makes no sense when we already have a property to push the image out beyond the border. It would make border-image-offset more or less pointless, especially when use with a gradient image. > > Since clipping at the border only makes sense when you have 'border-image-offset:0', and you want a change that is merely a Boolean behavior change, this suggests to me we just have a new value that is 0 with clipping. Yeah, that seems kinda reasonable. ~TJ
Received on Monday, 10 February 2014 18:42:14 UTC