Summary: | combining border-right, border-left in table-cells with background-color in table-rows | ||
---|---|---|---|
Product: | Fop - Now in Jira | Reporter: | Bernhard <bernhard.maehr> |
Component: | general | Assignee: | fop-dev |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | lolive, thilo.s |
Priority: | P3 | ||
Version: | 0.20.5 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | other | ||
URL: | http://www.dorner.at | ||
Attachments: | screenshot of the bug visible in acrobat |
Description
Bernhard
2003-10-31 16:32:45 UTC
Created attachment 8925 [details]
screenshot of the bug visible in acrobat
You can see the bug in acrobat 5.1 when you zoom in to 1600%. After some code study ... , problem occured to me: the background rectangle gets drawn over the border of the cell to the left and to the top. those borders get drawn first. the background rect dimension and position does not account for any existing borders (see AbstractRenderer.doBackground()). thats no problem for the current cell since its borders get drawn later. border computations are ok. background-color rectangle is wrong. Problem: the cell needs to know if its left or its upper neighbor have borders! Only then does it have to make the background rect smaller. *** Bug 6929 has been marked as a duplicate of this bug. *** *** Bug 14122 has been marked as a duplicate of this bug. *** Fixed in FOP 0.94 and probably earlier versions batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed |