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

Re: Box model: min-margin and max-margin, max-padding and min-padding

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 3 Oct 2004 10:20:25 -0700
To: W3C Style List <www-style@w3.org>
Message-ID: <20041003172025.GA3243@darby.dbaron.org>
On Sunday 2004-10-03 03:21 -0400, Justin Wood (Callek) wrote:
> Andrew Fedoniouk wrote:
> >| > As per CSS [1] "display:table-cell" forces change of underlying DOM - 
> >UA

> Well a "node" technically is inserted, which is an anonymous node, 
> meaning selectors do not match it, nor do they appear in the DOM, thus 
> not modifying the DOM...  it is the same concept if in HTML you add an 
> inline element, in a spot where the html would expect a block element, 
> most browsers have implimented quarks behavior in these cases, so that a 
> block elem is placed between them and the block one that is placed is 
> not shown in the DOM...

This simply isn't true.  While a UA could manufacture a sort of node
behind-the-scenes if it wants to, nothing requires it to do so, and it's
certainly not related to any of the quirks or rules in HTML parsing.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >

Received on Sunday, 3 October 2004 17:21:00 GMT

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