Re: [CSS3] 'outline' shorthand property

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 Monday, 27 December 2004 21:02:42 UTC