Re: margin-bottom counted twice

"corvid" <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <20110826162104.GA3070@local>
Johannes wrote:
> I'm not 100% sure about removing the "if" in Textblock::wordWrap(),
> but why shouldn't a widget's top margin count in the first line of a
> paragraph?

My first thought was that maybe it has something to do with cases like

<div style="margin-top: 100px">
 <div style="margin-top: 100px">
  <img src="http://www.dillo.org/wearlab.png" style="margin-top: 100px">
</div>
</div>

where I was thinking those were all supposed to collapse. I haven't looked
into the spec at all yet, but we get a total of 300px on dillo, and firefox
has the divs collapse and the img margin is separate (maybe a block/inline
distinction?).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.