Re: Correct alignment inheritance behavior for dir="rtl"

On Monday 2005-05-16 13:12 -0600, Matt Wright wrote:
> I am trying to determine the proper alignment behavior for a page that has
> dir="rtl" (right to left language) in the opening HTML tag. I have created a
> test case at:
> 
> http://www.mattwright.com/aligntest.html
> 
> In my opinion, on this test page all of the table elements should be aligned
> left and right, with nothing in the center, (which is how it is displayed in
> IE). However, both Firefox and Opera place the second 'bar' right aligned in
> the left table cell.  Can anyone here confirm which is proper behavior
> according to specs? I am trying to decide whether to open a bug regarding
> this issue in Bugzilla.

This is actually an HTML issue rather than a CSS issue, since the
behavior of HTML's align attribute on divs (the way it affects blocks or
tables that don't fill the width of their container) can't be described
in CSS.  In terms of CSS, the align attribute on divs acts as both
'text-align' and as a magical setting of 'margin-left: auto' and/or
'margin-right: auto' on certain block descendants.

There's already a Mozilla bug on it:
  https://bugzilla.mozilla.org/show_bug.cgi?id=64510

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
          Technical Lead, Layout & CSS, The Mozilla Foundation

Received on Tuesday, 31 May 2005 15:54:14 UTC