Date: 2005-02-15T06:47:04 Editor: JeremiasMaerki Wiki: XML Graphics - FOP Wiki Page: CollapsingBorderModel URL: http://wiki.apache.org/xmlgraphics-fop/CollapsingBorderModel
Some notes on border-collapsing New Page: ##language:en #pragma section-numbers off = Notes on the collapsing border model = Painting the borders for the separate border model is relatively simple. For the collapsing border model this can become complicated. The following is an attempt to analyze how the borders should be painted in this model. The sequence of images should also help identify what information besides the traits defined in the XSL-FO spec are necessary to properly paint the individual borders. 1. A part of a table (grid lines) http://cvs.apache.org/~jeremias/fop/border-collapse1.png 2. Resolution of the individual borders according to the rules in the FO spec http://cvs.apache.org/~jeremias/fop/border-collapse2.png 3. Inner and outer join points (where the individual borders meet) http://cvs.apache.org/~jeremias/fop/border-collapse3.png 4. Resulting borders http://cvs.apache.org/~jeremias/fop/border-collapse4.png 5. Final result http://cvs.apache.org/~jeremias/fop/border-collapse5.png === Reference === * http://www.w3.org/TR/REC-CSS2/tables.html#collapsing-borders * http://www.w3.org/TR/xsl/slice6.html#fo_table * http://www.w3.org/TR/xsl/slice7.html#border-collapse --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]