<?Surf version="1.0" encoding="utf-8"?> <fo:root Surfns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master page-height="11in" page-width="8.5in" margin-left="1.0in" margin-top="0.2in" margin-bottom="1.0in" margin-right="1.0in" master-name="test-page-master"> <fo:region-body margin-left="1.0in" margin-top="0.2in" margin-right="1.0in" margin-bottom="1.0in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-name="test-page-master"> <fo:flow flow-name="xsl-region-body"> <fo:block-container height="3.0in" width="3.0in" border-before-color="red" border-after-color="red" border-start-color="red" border-end-color="red" background-color="yellow"> <fo:block-container height="2.0in" width="2.0in" border-before-color="inherit" border-after-color="inherit" border-start-color="inherit" border-end-color="inherit" border-before-style="solid" border-after-style="solid" border-start-style="solid" border-end-style="solid"> <fo:block>The border color properties of this block container were set to "inherit" (set at parent to: "red").</fo:block> </fo:block-container> </fo:block-container> </fo:flow> </fo:page-sequence> </fo:root>