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

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