W3C home > Mailing lists > Public > www-style@w3.org > October 2010

Re: [CSS 2.1][Section 10.3.7] Calculating width and margin-left for abs. pos. with max-width constraint

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 11 Oct 2010 23:55:07 -0400
Message-ID: <4CB3DC1B.8020502@mit.edu>
To: www-style@gtalbot.org
CC: www-style list <www-style@w3.org>
On 10/11/10 5:39 PM, "Gérard Talbot" wrote:
>> and if the body padding is 8px
>> in the UA.
>
> Body padding must be 8px? Are you sure? Both testcases had body {margin:
> 8px;} which is the default in browsers.

Ah, ok.  Yeah, I keep forgetting whether the default is margin or 
padding...  In any case, the tests are assuming 0 padding on body, and 
certain styles on HTML, etc.  That might be ok.  Making the body be a 
containing block for both divs just makes all those not matter, but 
isn't strictly necessary.

-Boris
Received on Tuesday, 12 October 2010 03:55:41 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:32 GMT