RE: line-stacking-strategy line-height

> ...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