| Summary: | Orphans and Widows not working | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | pp | ||||||
| Component: | BIRT | Assignee: | Birt-ReportEngine-inbox <Birt-ReportEngine-inbox> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Xiaoying Gu <bluesoldier> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bluesoldier, xwang | ||||||
| Version: | 2.6.0 | ||||||||
| Target Milestone: | 3.7.0 | ||||||||
| Hardware: | PC | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
pp
Created attachment 183558 [details]
Example of the bug
Peter, According to the definition in the following page: http://www.w3.org/TR/CSS2/page.html#propdef-widows, 'widows' property specifies the minimum number of lines in a block element that must be left at the top of a page. In your example, "widows" is set to 2, it means 2 lines of the text is shown in the 2nd page at least and that is the actual result in the latest build. Could you please provide more info about your issue? That would be more helpful, thanks. (In reply to comment #2) > Peter, > According to the definition in the following page: > http://www.w3.org/TR/CSS2/page.html#propdef-widows, 'widows' property specifies > the minimum number of lines in a block element that must be left at the top of > a page. > In your example, "widows" is set to 2, it means 2 lines of the text is shown in > the 2nd page at least and that is the actual result in the latest build. > Could you please provide more info about your issue? That would be more > helpful, thanks. My example shows, that the "orphans"-property is not working correctly. "The 'orphans' property specifies the minimum number of lines in a block element that must be left at the bottom of a page" "orphans" is set to 2, but there is only one row (of the text) left on the page (I'll attach my output). Created attachment 183643 [details]
Output of the example
I think this is a duplicated one of bug 330996. If you only keep one column in the grid, the output effect is correct that all the line of text will be output to the next page, since there is no space in the 1st page to draw 2 lines (by orphans setting). But due to the multi-columns in the grid, the orphans/Widows settings for page break doesn't work. (In reply to comment #5) > I think this is a duplicated one of bug 330996. > If you only keep one column in the grid, the output effect is correct that all > the line of text will be output to the next page, since there is no space in > the 1st page to draw 2 lines (by orphans setting). > But due to the multi-columns in the grid, the orphans/Widows settings for page > break doesn't work. With only one column orphans and widows behave as I expect, thanks. *** This bug has been marked as a duplicate of bug 330996 *** |