On Tue, May 11, 2010 at 01:36:51PM +0200, Michael Baeuerle wrote:
Hi, I have added a piece of demonstration code in the attached tarball. Viewing the index.html file with dillo 2.2 shows the problem: If one of the boxes contain code with "h2" or "p" tags, the margins associated with the content seems to affect the layout outside the box (The margins between the "top" and "content" boxes are defined as zero, so there should be no space between them). IIRC dillo 2.1.1 have behaved different.
I have added two screenshots how dillo 2.2 and Webkit 1.1.8 (Midori) render the test code on my machine. If I understand the CSS box model [1] correctly, the content should never affect the area outside the border and what dillo does is wrong.
Regards, Michael Baeuerle
Example: http://www.dillo.org/test/css-top-margin-bug.html Tarball: http://www.dillo.org/test/css-top-margin-bug.tar -- Cheers Jorge.-