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

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 UTC