W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2006

RE: line-stacking-strategy line-height

From: Grosso, Paul <pgrosso@ptc.com>
Date: Wed, 18 Jan 2006 14:56:02 -0500
Message-ID: <CF83BAA719FD2C439D25CBB1C9D1D3020204044D@HQ-MAIL4.ptcnet.ptc.com>
To: "Manuel Mall" <mm@arcus.com.au>, <xsl-editors@w3.org>

> ...for inline areas returning the normal-allocation-rectangle 
> which have border and/or padding[,] the before-/afer-edges of 
> the expanded rectangle would 'cut through' the border/padding 
> areas. 

Yes, that was the intention. The intended effect is that 
adding a border or background will not alter the line spacing.

> ... Was that the intention or is the half-leading to be
> added to the height of the content rectangle and any
> borders/padding therefore to be outside of that?

No, that was not the intent. The half-leading is used in 
determining the line-spacing, but does not alter the 
allocation area of the inline object itself.


These 2 decisions allow borders and/or backgrounds to be 
used as a way to highlight inline text where lines need 
to line up, such as in parallel columns. 

If the line spacing is fairly tight or the border+padding 
on a given inline object is fairly large, the border and 
background can intrude into the line-area above or the 
line-area below the current line-area (hence, yes, the 
line-area's before/after edge can cut through the child 
inline's padding and border areas).

Note that the line area has no border or padding, only the 
inlines within the line can have have padding and borders.

Paul Grosso
for the XSL FO SG
 

> -----Original Message-----
> From: xsl-editors-request@w3.org 
> [mailto:xsl-editors-request@w3.org] On Behalf Of Manuel Mall
> Sent: Sunday, 2005 October 23 22:38
> To: 'xsl-editors@w3.org'
> Subject: line-stacking-strategy line-height
> 
> 
> This is a request for clarification:
> 
> In 4.5 is says: "The expanded-rectangle of an inline-area is 
> the rectangle
> with start-edge and end-edge coincident with
> those of its allocation-rectangle, and whose before-edge and 
> after-edge are
> outside those of its allocation-rectangle
> by a distance equal to either (a.) the half-leading, when the area's
> allocation-rectangle is specified
> to be the normal-allocation-rectangle by the description of 
> the generating
> formatting object..."
> 
> Interpreting this literally would mean for inline areas returning the
> normal-allocation-rectangle which have border and/or padding that the
> before-/afer-edges of the expanded rectangle would 'cut through' the
> border/padding areas. Was that the intention or is the 
> half-leading to be
> added to the height of the content rectangle and any borders/padding
> therefore to be outside of that?
> 
> Thank you very much
> 
> Manuel Mall
> 
Received on Wednesday, 18 January 2006 19:57:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:29 UTC