W3C home > Mailing lists > Public > www-style@w3.org > July 2004

Re: totally collapsed

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Fri, 2 Jul 2004 12:38:15 -0700
Message-ID: <004f01c4606c$1f346b40$0401a8c0@AFedoniouk>
To: "L. David Baron" <dbaron@dbaron.org>, <www-style@w3.org>

Thanks a lot, David, I've got your idea.

Actually body and paragraph margins do collapse here:

My problem was that I've forgot that root element is HTML and not BODY.

"Margins of the root element's box do not collapse."

Beg my pardon for this stupid question.

Andrew Fedoniouk.

----- Original Message ----- 
From: "L. David Baron" <dbaron@dbaron.org>

On Friday 2004-07-02 09:18 -0700, Andrew Fedoniouk wrote:
> I am testing in quirks *and strict* modes.

Are you sure?  Did you check the mode in context menu -> View Page Info?

> Collapsing behavior is the same.

As I said before, i don't think this has anything to do with collapsing.

> So paragraph having default margins
> <p> and <p style="margin:1em 0"> are not the same for collapsing rules
> internally used in UA.

It has nothing to do with collapsing.  It has to do with what the
computed value of 'margin-top' is.  Did you check that computed value
using the DOM or in DOM Inspector?

(I assume you're talking about the distance between the top of the
viewport and the top border of the paragraph, since that's the only
thing that could be measured in the testcase you gave.  And there's
really nothing else I could add without seeing a URL for the actual
testcase you're talking about.  Never mind that this is rapidly getting
off-topic for this list...)

Received on Friday, 2 July 2004 15:40:03 UTC

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