[ 
https://issues.apache.org/jira/browse/FOP-2227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pascal Sancho closed FOP-2227.
------------------------------

    Resolution: Invalid

The behaviour is dictated by the precedence property, witch applies on 
region-before and region-after, and witch defaults to false.

So, "by default", both region-start and region-end have precedence over 
region-before and region-after.

W3C scheme shows what is expected when precendence properties are set to true 
on region-before and refion-after.

So, FOP behaves as expected.

See:
http://www.w3.org/TR/xsl/#precedence
http://www.w3.org/TR/xsl/#fo_region-before
http://www.w3.org/TR/xsl/#fo_region-after
http://www.w3.org/TR/xsl/#fo_region-start
http://www.w3.org/TR/xsl/#fo_region-end
                
> Rendering of before, after, start, end regions does not conform with W3C 
> standards
> ----------------------------------------------------------------------------------
>
>                 Key: FOP-2227
>                 URL: https://issues.apache.org/jira/browse/FOP-2227
>             Project: Fop
>          Issue Type: Bug
>          Components: page-master/layout
>    Affects Versions: 1.1
>         Environment: Windows 7 64bit Professional HUN
> running on Oralce Virtualbox 4.2.10 r84104
> running on 64bit Ubuntu 12.04 LTS Host machine
>            Reporter: Szeak
>         Attachments: region-test.fo
>
>
> By W3C standards, the region-before and region-after default must be 
> horizontally fill out the width of the page between page left and right 
> margins. Region-start and region-end must be vertically fill out the height 
> of the page between region-before and region-after.
> FOP renders these regions as follows:
> region-start and region-end fill out vertically the page height between page 
> top and bottom margins,
> region-before and region-end fill out horizontally the space between 
> region-start and region-end.
> Steps to Reproduce:
> Render to any output format the attached fo:
> The original W3C standard image from the regions: 
> http://www.w3.org/TR/xsl/#fo_simple-page-master
> Reference from w3schools: http://www.w3schools.com/xslfo/xslfo_pages.asp

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to