On 05.09.2005 15:30:20 Chris Bowditch wrote:
> > Jeremias Maerki writes:
> >  > I haven't found anything odd, yet. Looking forward to your test cases.
> > 
> > I'm starting now. I've had to rename inline_block_nested_\#36248.xml
> > to inline_block_nested_bug36248.xml to get the junit task to build.

Unix???? Which OS?

> > Can you please point me to an explaination of the following:
> > 
> >   <checks>
> >     <eval expected="100000" xpath="//flow/block[2]/lineArea/viewport/@ipd"/>
> >     <eval expected="100000" 
> > xpath="//flow/block[2]/lineArea/viewport/@ipda"/>
> >     <eval expected="100000" xpath="//flow/block[2]/lineArea/viewport/@bpd"/>
> >     <eval expected="100000" 
> > xpath="//flow/block[2]/lineArea/viewport/@bpda"/>
> >   </checks>
> > 
> > i.e. What are ipd, bpda, etc. ?
> ipd (in Left to Right mode) is width of the Area.

ipd = short for inline-progression-dimension.

ipd here is  the extent in inline-progression-dimension of the
content-rectangle of an area.

> bpd (in Left to Right mode) is the height of the Area

ipd = short for block-progression-dimension.

bpd here is  the extent in block-progression-dimension of the
content-rectangle of an area.

> ipda is the absolute position in the Inline Progress Dimension (x coord 
> in Left to Right Mode)

Nope. ipda is the allocated inline-progression-dimension which is the
"ipd" above plus the start and end border and padding widths, i.e. the
allocation rectangle. "a" stands for allocation. It is a bit unclear
right now which allocation rectangle is meant here. There are several
different allocation rectangles defined in the spec.

> bpda is the absolute position in the Block Progression Dimension (y 
> coord in Left to Right Mode)

Same here. bpda is bpd + before|after border and padding width.

Note that the area tree does not have any explicit X and Y coordinates
except for the absolute or fixed positioning of block-containers and
these coordinates are still always relative to a specific point. All
other coordinates in the area are only implicitely known by the
renderers which keep track using the currentBPPosition and
currentIPPosition member variables.

Jeremias Maerki

Reply via email to