W3C home > Mailing lists > Public > www-style@w3.org > March 2008

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 05 Mar 2008 12:08:04 -0800
Message-ID: <47CEFDA4.7090800@inkedblade.net>
To: www-style@w3.org

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 GMT

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