Bug 43405 - fo:table-row not rendered when cells begin with an empty block
Summary: fo:table-row not rendered when cells begin with an empty block
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: page-master/layout (show other bugs)
Version: trunk
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
: 44061 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-17 01:02 UTC by Pascal Sancho
Modified: 2012-04-01 06:28 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Sancho 2007-09-17 01:02:44 UTC
In a fo:table without border, fo:table-row are not displayed when each
fo:table-cell content begins with an empty fo:block.

Here is a snippet that demonstrates this bug:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:layout-master-set>
    <fo:simple-page-master master-name="content">
      <fo:region-body/>
    </fo:simple-page-master>
  </fo:layout-master-set>

  <fo:page-sequence master-reference="content">
    <fo:flow flow-name="xsl-region-body">
      <fo:block>before table</fo:block>
       <fo:table table-layout="fixed" width="100%">
        <fo:table-column column-width="proportional-column-width(1)"/>
        <fo:table-body>
          <fo:table-row>
            <fo:table-cell>
              <fo:block/>
              <fo:block>Lorem Ipsum.</fo:block>
            </fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      <fo:block>after table</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>
Comment 1 Vincent Hennebert 2007-10-17 04:26:02 UTC
Hi Pascal,

Thanks for reporting the bug. It appears to be fixed in the latest version of
the Trunk, probably thanks to revision 584699.
Please re-open this bug if you still have issues with real-life documents.

Thanks,
Vincent
Comment 2 Vincent Hennebert 2007-12-12 01:50:23 UTC
*** Bug 44061 has been marked as a duplicate of this bug. ***
Comment 3 Glenn Adams 2012-04-01 06:28:20 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed