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

Re: [CSS 2.1] static position of an absolutely positioned element with auto-offsets

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 09 Jun 2008 15:54:44 -0500
Message-ID: <484D9894.8070401@mit.edu>
To: fantasai <fantasai.lists@inkedblade.net>
CC: "www-style@w3.org" <www-style@W3.ORG>

fantasai wrote:
> Alex, do we need to make a clarification here to avoid the IE<8 
> interpretation?
> I would have expected that the "if its 'position' property had been 
> 'static'"
> bit would require guessing the position using the specified (not used) 
> display property.

Note that the latter is what Gecko implements, and is not necessarily equivalent 
to the former.

Consider these styles:

   display: inline;
   float: left;
   position: absolute;

If the position were static, computed (and used) display would be "block", while 
  specified display is "inline".

See https://bugzilla.mozilla.org/show_bug.cgi?id=237770 for some discussion on this.

Explicitly saying that the specified value should be used here makes things 
clearer, though it's not quite right if the specified value is "inherit" or 

Received on Monday, 9 June 2008 21:13:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:37 UTC