Re: [CSS21] Clarify auto margins on absolutely-positioned replaced elements

fantasai wrote:
> 
> Section 10.6.5 says
> 
>   "The used value of 'height' is determined as for inline replaced 
> elements."
> 
> later on it says
> 
>   "If at this point both 'margin-top' and 'margin-bottom' are still 'auto',
>   solve the equation under the extra constraint that the two margins must
>   get equal values."
> 
> I assume this means the sentence from 10.6.2 (inline replaced elements)
> 
>   "If 'margin-top', or 'margin-bottom' are 'auto', their used value is 0."
> 
> is not supposed to be applied. I think this needs to be clarified.

Proposed text:

Add

  | If 'margin-top' or 'margin-bottom' is specified as 'auto' its used value is
  | determined by the rules below.

to rule #1 in 10.6.5. and add

  | If 'margin-left' or 'margin-right' is specified as 'auto' its used value is
  | determined by the rules below.

to rule #1 in 10.3.8.

~fantasai

Received on Wednesday, 5 March 2008 20:07:46 UTC