Re: [CSS3] 'outline' shorthand property

Has anyone thought of a more generic mechanism for dealing with this
problem. It rears its head every so often and it seems that the design
of some elements have been changed simply to ensure that a shorthand
property would work.

On Mon, 27 Dec 2004 13:02:21 -0800, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> 
> Hi, David,
> 
> | You can't disambiguate width and offset
> 
> I mean either  'width' can be given either  'width' *and* 'offset' together.
> (probably I was wrong with notation initially)
> 
> Another option is to use
> 'width' ['/' 'offset' ] as in case with font size and line height in 'font'
> 
> My assumption is simple: 'offset' without 'width' makes no real sense.
> 
> Andrew Fedoniouk.
> http://terrainformatica.com
> 
> ----- Original Message -----
> From: "David Hyatt" <hyatt@apple.com>
> To: "Andrew Fedoniouk" <news@terrainformatica.com>
> Cc: <www-style@w3.org>
> Sent: Monday, December 27, 2004 12:47 PM
> Subject: Re: [CSS3] 'outline' shorthand property
> 
> | You can't disambiguate width and offset, since they can both (for
> | example) be pixel values.  In general the values of a shorthand need to
> | be distinguishable, so that it's always clear which property each value
> | in the shorthand represents.
> |
> | dave
> | (hyatt@apple.com)
> |
> | On Dec 27, 2004, at 12:10 PM, Andrew Fedoniouk wrote:
> |
> | >
> | > Currently  'outline' shorthand property defined [1] as
> | > [ <'outline-color'> || <'outline-style'> || <'outline-width'> ] |
> | > inherit
> | >
> | > This definition does not include 'outline-offset'.
> | >
> | > I propose to define it as:
> | >
> | > [ <'outline-color'> || <'outline-style'> || <'outline-width'> [
> | > <'outline-offset'> ]?  ] | inherit
> | >
> | > Thanks,
> | >
> | > Andrew Fedoniouk
> | > http://terrainformatica.com
> | >
> | > [1] http://www.w3.org/TR/2004/CR-css3-ui-20040511/#outline
> | >
> | >
> | >
> | >
> | >
> |
> 
>

Received on Tuesday, 28 December 2004 16:10:18 UTC