W3C home > Mailing lists > Public > www-style@w3.org > June 2010

Re: [css3-background] - border-image-slice inconsistent should behave like edge shorthands

From: Řyvind Stenhaug <oyvinds@opera.com>
Date: Tue, 01 Jun 2010 12:36:59 +0200
To: www-style@w3.org
Message-ID: <op.vdmafxn1ru61ud@oyvinds-desktop>
On Tue, 01 Jun 2010 12:01:11 +0200, Paul Duffin <pduffin@volantis.com>  
wrote:


> At the moment the specification states at  
> http://www.w3.org/TR/2009/CR-css3-background-20091217#border-image-slice  
> that
>     "If the fourth number/percentage is absent, it is the same as the  
> second.

(...)

> When 2 values are specified they are inconsistent:
>     border-image-slice: 1 2 = border-image-slice: 1 2 1 1

It seems this should be 1 2 1 2 given the sentence quoted above.

>     border-width: 1px 2px = border-width: 1px 2px 1px 2px
>
> When 3 values are specifed they are inconsistent:
>     border-image-slice: 1 2 3 = border-image-slice: 1 2 3 1

Similarly, here it specifies 1 2 3 2.

>     border-width: 1px 2px 3px = border-width: 1px 2px 3px 2px

-- 
Řyvind Stenhaug
Core Norway, Opera Software ASA
Received on Tuesday, 1 June 2010 10:36:24 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:28 GMT