Bug 34058 - text-indent is applied to all FOText areas instead of just the first one.
Summary: text-indent is applied to all FOText areas instead of just the first one.
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: 0.20.5
Hardware: All other
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 16:09 UTC by kumar Puppala
Modified: 2012-04-01 06:48 UTC (History)
1 user (show)



Attachments
apply text-indent only if isFirst() is true. (10.29 KB, patch)
2005-03-17 16:11 UTC, kumar Puppala
Details | Diff
When looping through the childern, set isFirst() to true only for the first child (12.83 KB, patch)
2005-03-17 16:13 UTC, kumar Puppala
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kumar Puppala 2005-03-17 16:09:17 UTC
The spec for text-indent says:
"This property specifies the indentation of the first line of text
in a block. More precisely, it specifies the indentation of the first
box that flows into the block's first line box. The box is indented with
respect to the left (or right, for right-to-left layout) edge of the line
box. User agents should render this indentation as blank space."

But the 0.20.5 version of the renderer is applying text-indent to all FOText 
areas within that block instead of just the first one.
Comment 1 kumar Puppala 2005-03-17 16:11:34 UTC
Created attachment 14507 [details]
apply text-indent only if isFirst() is true.
Comment 2 kumar Puppala 2005-03-17 16:13:01 UTC
Created attachment 14508 [details]
When looping through the childern, set isFirst() to true only for the first child
Comment 3 Glenn Adams 2012-04-01 06:48:25 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed