Bug 46294 - start-indent on list-item is not correctly handled
Summary: start-indent on list-item is not correctly handled
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.95
Hardware: PC Windows XP
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 08:46 UTC by Chris Bowditch
Modified: 2012-04-07 01:52 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bowditch 2008-11-25 08:46:02 UTC
I stumbled across a bug in the PDF Renderer (may also affect other layout engine based renderers - I haven't checked, but doesn't affect RTFHandler) whilst testing a patch for bug 42437. I have attached the test FO to this bug.

The problem is that the list-body within this FO use body-start() function to control indentation of body, but label is dependent on list-item indentation, since label start-indent is not set. 

The spec defines the body-start() function based on the indentation of list-block and doesn't take the indentation of list-item into account. Therefore the correct result should be an overlapping label and body with the attached FO. However, the PDF Renderer doesn't overlap the label and body, neither does it indent the nested labels or bodies.
Comment 1 Chris Bowditch 2008-11-25 09:10:54 UTC
Just spotted a typo in the bug description. The bug I was testing when I found the bug is actually bug 42374 not 42437
Comment 2 Glenn Adams 2012-04-07 01:44:19 UTC
resetting P2 open bugs to P3 pending further review