W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: [CSS 2.1] How to handle rectangle values.

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 04 Aug 2010 23:21:57 -0700
Message-ID: <4C5A5885.7000407@inkedblade.net>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: Robert Stam <robert@tallcomponents.com>, www-style@w3.org
On 03/04/2010 07:42 AM, Boris Zbarsky wrote:
> On 3/4/10 10:19 AM, Robert Stam wrote:
>> All CSS 2.1 properties that can be specified as length value are
>> converted to the absolute length at the 'computed value' stage.
>> However, the computed value of the 'clip' property is specified as 'For
>> rectangle values, a rectangle consisting of four computed lengths;
>> otherwise, as specified'.
> Right. In practice, the only value that can happen "otherwise" is "auto".
>> Does this mean (in deviation of all other properties) relative lengths
>> are not converted to absolute lengths at this stage and can thus be
>> inherited?
> No.
> That said, none of Presto, Webkit, Gecko implement this spec as it's
> currently written, in that they compute "auto" values in the rect to
> "auto", not to lengths [1]. Furthermore, the text for <shape> is
> self-contradictory in that it says:
> The value 'auto' means that a given edge of the clipping region
> will be the same as the edge of the element's generated border box
> but then talks about computed widths and heights. It presumably wants to
> talk about used widths and heights, right? Can we get these two issues
> corrected, please?

Filed as CSS2.1 Issue 190:

Received on Thursday, 5 August 2010 06:22:58 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:49 UTC