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

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

From: Paul Duffin <pduffin@volantis.com>
Date: Tue, 1 Jun 2010 05:18:02 -0600 (MDT)
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: www-style@w3.org
Message-ID: <1773441397.478171275391082503.JavaMail.root@zimbra.volantis.com>
My mistake, I read it too quickly and thought they all said "...is the same as the first."

I think I have been spending too much time reading these specifications as I noticed that this phrasing was different from the phrasing used on the other properties and so assumed that it behaved differently too.

Is there any particular reason why it does not use the same phrasing as the edge shorthands, which seems to be clearer (at least to me) than the current phrasing?

----- "Øyvind Stenhaug" <oyvinds@opera.com> wrote:

> 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 11:18:44 GMT

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