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

[CSS21] 10.3.1 should not mention 'left' and 'right'

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 30 Jan 2009 17:47:54 -0800
To: www-style@w3.org
Message-ID: <20090131014754.GA30925@pickering.dbaron.org>

http://www.w3.org/TR/CSS21/visudet.html#inline-width currently says:
  # A computed value of 'auto' for 'left', 'right', 'margin-left' or
  # 'margin-right' becomes a used value of '0'. 
I believe the mention of 'left' and 'right' here are incorrect,
since 'auto' values for 'left' and 'right' are resolved as described
in the sentence immediately preceding the section (according to the
rules in section 9.4.3).  For example, in:
  <span style="position:relative; right:5px">hi</span>
the value of 'left' used for layout is '-5px', not '0'.

So I think the "'left', 'right', " in the sentence above should be

Perhaps we should also clarify that sentence above:
  # For Points 1-6 and 9-10, the values of 'left' and 'right' used
  # for layout are determined by the rules in section 9.4.3. 
to be clearer that this is the case when 'position' is 'relative',
and that when 'position' is 'static' the values used for layout are


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Saturday, 31 January 2009 01:48:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:23 UTC