W3C home > Mailing lists > Public > www-style@w3.org > December 2008

Re: background-position and bidi in CSS 2.1

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Sun, 14 Dec 2008 10:09:10 +0100
Message-ID: <4944CD36.6030200@disruptive-innovations.com>
To: "www-style@w3.org" <www-style@w3.org>

Change proposals to section 14.2.1 of CSS 2.1:

new text:

   start
     Equivalent to 'left' when the direction is left-ro-right, and
     'right' when the direction is right-to-left.
   end
     Equivalent to 'right' when the direction is right-to-left, and
     'left' when the direction is right-to-left.

and change:

   <length>
     A length L aligns the top left corner of the image a distance L to
     the right of (for horizontal) or below (for vertical) the top left
     corner of the element's padding box. For example [snip]

to

   <length>
     If the text direction is ltr (resp. rtl), a length L aligns the
     top left (resp. top right) corner of the image a distance L to
     the right (resp. left) of (for horizontal) or below (for vertical)
     the top left (resp. the top right) corner of the element's padding
     box. For example [snip].

and I very seriously wonder if same change should not be done to
<percentage> values, %age should probably apply from top right corner
instead of top left in rtl.

</Daniel>
Received on Sunday, 14 December 2008 09:09:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:17 GMT