W3C home > Mailing lists > Public > xsl-editors@w3.org > April to June 2005

Re: <padding-width>

From: Anders Berglund <alrb@us.ibm.com>
Date: Fri, 6 May 2005 15:29:05 -0400
To: xsl-editors@w3.org
Message-ID: <OF7C45BE57.3A9157D2-ON85256FF9.006AF2F3-85256FF9.006B0891@us.ibm.com>

According to the defintion of the "reference-orientation" property
it establishes which edge is "top" "left" "bottom" and "right" of the
content rectangle.

In 5.3.3 "Height and Width properties" is stated:

The "height" properties are absolute and indicate the dimension from "top"
to "bottom"; the width properties the dimension from "left" to "right".

Thus "width" is dependent on the reference-orientation.

Anders

>(My apologies if this has been sent twice.)
>The editors,
>
>Following on from my earlier discussion on this topic is a question as
>to the reference dimension for a percentage on the relative padding
>properties, when the closest ancestor block-area not a line-area has a
>different writing-mode or reference-orientation. All of the definitions
>of percentage on padding-* relative properties refer to the "width" of
>the containing block.
>
>This presumably accounts for differences of writing-mode, as "width" is
>absolute.  What about differences of reference-orientation?  Is the
>"width" the absolute width in the parent's orientation?
>
>A similar question can be asked in respect of the margin-* absolute
>properties.
>
>Yours faithfully,
>Peter West
>
>Peter B. West wrote:
>>
>> The editors,
>>
>> The XSL 1.1 draft Recommendation of 2004-12-16 includes, as a value type
>> for the padding-* properties, <padding-width>.  This is nowher defined
>> in the Recommendation.  In CSS2, in 8.4 Padding properties:
>> 'padding-top', 'padding-right', 'padding-bottom', 'padding-left', and
>> 'padding', it is defined as follows.
>>
>> <quote>
>> The properties defined in this section refer to the <padding-width>
>> value type, which may take one of the following values:
>>
>> <length>
>>     Specifies a fixed width.
>> <percentage>
>>     The percentage is calculated with respect to the width of the
>> generated box's containing block, even for 'padding-top' and
>> 'padding-bottom'.
>>
>> Unlike margin properties, values for padding values cannot be negative.
>> Like margin properties, percentage values for padding properties refer
>> to the width of the generated box's containing block.
>> </quote>
>>
>> Would it be possible to expand the "<padding-width>" into its components
>> in each of the XSL padding-* property definitions?
>>
>> Yours faithfully,
>
>--
>Peter B. West <http://cv.pbw.id.au/>
>Folio <http://defoe.sourceforge.net/folio/> <http://folio.bkbits.net/>
Received on Friday, 6 May 2005 19:29:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:58 GMT