harold92 / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

top bottom margin-top margin-bottom testcase #107

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
*** This issue was imported from http://java.net/jira/browse/XHTMLRENDERER-146

It was reported by yogurtearl on 14.02.2007 04:56:09 +0100 and last updated in 
the previous bug tracker on 20.07.2008 19:04:13 +0200

Found in
Operating System: All
Platform: All
URL: http://www.yogurtearl.com/cssNegativePercentageTest.xhtml

The priority for this issue at migration was Major.

Original description: 
This test case show that top, bottom, margin-top, and margin-bottom are rendered
wrong.
There also appears to be issues with the z-index of images.

Original issue reported on code.google.com by pdoubl...@gmail.com on 16 Feb 2011 at 9:58

GoogleCodeExporter commented 8 years ago
peterbrant wrote on 19.04.2007 23:30:02 +0200:
Thanks for the testcase.

Respecting z-index for images was fixed as part of the Acid2 changes.

Other bugs:
  - The relative offset for position: relative was not being applied to
inline-block / inline-table content.  This is fixed in CVS HEAD.
  - Negative vertical margins do not work with inline-block / inline-table
content.  This is not fixed.
  - Blocks participating in a shrink-to-fit calcuation could have their vertical
margins and padding wiped out or calculated incorrectly if percentages were
involved.  Margins are fixed.  Padding it still a problem.

Note that the behavior of some of the test cases is undefined per the spec.  In
particular, if the overall width of an element depends on its parent (as it does
with a percentage margin), the layout is undefined.

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:58

GoogleCodeExporter commented 8 years ago
peterbrant wrote on 14.05.2007 15:18:36 +0200:
Reassign to me

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:58

GoogleCodeExporter commented 8 years ago
pdoubleya wrote on 20.07.2008 19:04:13 +0200:
Reassigning to R9. Set as "compliance" issue.

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:58