| Summary: | HTML generation produces HTML that does not work as expected on Firefox/Chrome | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | elias.kunnas |
| Component: | BIRT | Assignee: | Birt-ReportEngine-inbox <Birt-ReportEngine-inbox> |
| Status: | NEW --- | QA Contact: | Hao Zhou <hao.zhou> |
| Severity: | normal | ||
| Priority: | P3 | CC: | bluesoldier, dannyvuongwchs |
| Version: | 3.7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Attachments: | |||
|
Description
elias.kunnas
Created attachment 202035 [details]
The sample report reproducing the bug
Created attachment 202036 [details]
The expected output produced by the internal preview
Created attachment 202037 [details]
The generated HTML displayed on Firefox and Chrome
I think the problem is coming from the example itself. If you go to the XML Source, you can find a line where it says, <property name="whiteSpace">pre</property> The whiteSpace pre format setting makes the report wraps to new line after every line break in html format. I tried to reproduce this error with different table and grid setting but never able to introduce this line into the report design. Are you sure this property setting didn't get introduced into this particular report design manually by mistake? I'm going to attached the fixed sample report that works correctly, displaying the row correctly without extra in both html and other views. Created attachment 211550 [details]
original sample report design - fixed
In Layout view, if you select the bottom row and change the Whitespace option from Preformatted to Auto, the problem would go away. |