W3C home > Mailing lists > Public > www-style@w3.org > March 2015

Re: [css3-background] border-image dependancies on border-style and border-width

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sun, 1 Mar 2015 10:26:31 -0800
Cc: www-style list <www-style@w3.org>
Message-Id: <DB148A09-0025-4C9B-AB6F-4084DC2E7A3A@gmail.com>
To: "lists@novalistic.com" <lists@novalistic.com>

On Feb 28, 2015, at 9:22 PM, Daniel Tan <lists@novalistic.com> wrote:

>> P.S. I think it is kind of unfortunate that having 'border-style:none'
>> changes the computed value of border-width to 0, regardless of what the
>> author sets, since I think that is why border-style has to be explicitly
>> set in order for 'border-image-width:[number]' to work. But I imagine it
>> is way too late to change that. But could we have border-image-width use
>> the cascaded value of border-width instead of the computed value?
> border-style serves as a fallback for when the image cannot be loaded or when border-image is not supported. If the behavior of border-width were to change depending on the presence of a border image when border-style is none, this could have adverse effects on layout.

OK, good point. 
Received on Sunday, 1 March 2015 18:27:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:52 UTC