W3C home > Mailing lists > Public > www-style@w3.org > July 2002

Re: CSS3-box: margin-outside and the cascade

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 17 Jul 2002 12:43:02 +0100
Message-ID: <3D355846.8090507@hixie.ch>
To: fantasai <fantasai@escape.com>
Cc: www-style@w3.org

fantasai wrote:
> http://www.w3.org/TR/2001/WD-css3-box-20010726/#the-margin :
>  |
>  | 'Margin-inside' and 'margin-outside' are aliases for 'margin-left' or
>  | 'margin-right', depending on the current medium:
>  |
>  | * in paged media [link], 'margin-inside' sets 'margin-left' for those
>  | parts of an element that fall on a right-hand page and 'margin-right'
>  | for the parts on a left-hand page. 'Margin-outside' is the reverse
> 
>     margin-left: 1em;
>     margin-inside: 0;
>     margin-outside: 2em;
>     margin-right: .5em;
> 
> 1. How wide are the margins?
> 
> 1.a. How do you know?

This is a known error in the spec. Assume the margin-outside and -inside 
properties have a new value like "defer" (which is their initial value). The 
margin is then established by looking first at the appropriate margin-outside/ 
-inside, and if that is "defer" then the appropriate -before/-after/-start/-end, 
and if that is "defer" then the appropriate -top/-right/-bottom/-left.

I don't recall what we decided to call this value. Any suggestions? ("auto" is 
taken, "unspecified" is a lie, "defer" sounds silly...)

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 17 July 2002 07:43:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:15 GMT