W3C home > Mailing lists > Public > www-style@w3.org > January 2005

Re: [CSS21] Overconstraint issue in Section 10.3.8

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 12 Jan 2005 15:26:59 -0800
To: www-style@w3.org
Message-ID: <20050112232659.GA14936@ridley.dbaron.org>
On Wednesday 2005-01-12 15:09 -0800, Grant, Melinda wrote:
> When an object is absolutely positioned using the 'bottom' and 'right'
> properties and direction is ltr, step 2 of the current algorithm in
> Section 10.3.8 seems to inappropriately set 'left' to the static
> position when the intrinsic width of the object implies a different
> left position.  (Essentially the 'right' offset is overridden by
> setting 'left' to the static position.)  And the analogous issue for
> rtl also applies, I believe.

This seems like a reasonable complaint.  What do existing
implementations do?

The alternative wording I can think of that would fix this problem and
seems most likely to match implementations if they aren't doing what the
spec currently says is replacing (2) and (3) with:

If both 'left' and 'right' are 'auto', then:
  * If 'direction' is 'ltr', replace 'left' with the <a>static position</a>.
  * If 'direction' is 'rtl', replace 'right' with the <a>static position</a>.

10.3.7 and 10.6.5 have the same problem.  I think 10.6.4 does not (which
might suggest another alternative).

(It's also a possibility that the group agreed to changes to these rules
that never made it back into the spec.)


L. David Baron                                <URL: http://dbaron.org/ >

Received on Wednesday, 12 January 2005 23:27:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:16 UTC