Re: [CSS21] bidi, text-align, and list markers

On Wednesday 02 June 2010 15:14:25 Bert Bos wrote:

> [3] http://www.w3.org/TR/2010/WD-html-bidi-20100304/#lists
>
>
> Can we revert those two changes?

Let me add some concrete proposed text:


* Section 16.2

The initial value of 'text-align' is currently defined as:

  | Initial:    a nameless value that acts as 'left' if 'direction'
  |             is 'ltr', 'right' if 'direction' is 'rtl'

The 1998 version had this:

  | Initial:    depends on user agent and writing direction

I propose to merge that into:

  # Initial:    'left' if 'direction' is 'ltr',
  #             'right' if 'direction' is 'rtl'


* Section 12.6.2

Under 'list-style-position', the current text says:

  | The marker box is outside the principal block box. CSS 2.1 does not
  | specify the precise location of the marker box, but does require
  | that for list items whose 'direction' property is 'ltr' the marker
  | box be on the left side of the content and for elements
  | whose 'direction' property is 'rtl' the marker box be on the right
  | side of the content.

I propose:

  # The marker box is outside the principal block box. CSS 2.1 does not
  # specify the precise location of the marker box but does require
  # that for list items whose containing block's 'direction' property
  # is 'ltr' the marker box be on the left side of the content and for
  # elements whose containing block's 'direction' property is 'rtl' the
  # marker box be on the right side of the content.

The only change is the addition of "containing block's" (twice).

The cited WD says it should be the direction of the "list element (<ul>, 
<ol>, etc.)." CSS doesn't have the concept of a "list element," but it 
corresponds most closely to the containing block of a list item.



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Wednesday, 2 June 2010 13:53:04 UTC