[Bug 18339] When the parent element is not an HTML element, what directionality is inherited?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18339

--- Comment #6 from Aharon Lanin <aharon.lists.lanin@gmail.com> 2012-08-27 15:49:26 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> >   - As bz proposed, HTML children of elements without a directionality
> >     inherit LTR.
> 
> But this would break current RTL pages that use non-HTML elements. And it would
> mean that, by default, the children would have LTR directionality but RTL
> direction (when the grandfather is RTL). Seems like a big mess to me.


Sorry, the connector should have been "Or", not "And". That is, let's say that
we decide that the span in

<div dir="rtl"><foo><span>...</span></foo></div>

should have LTR directionality. If, in the absence of custom CSS rules, it
simultaneously gets direction:rtl, we have a mess, and if it has direction:ltr,
we have a lack of backward compatibility.

And I still do not understand the rationale for this proposal.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Monday, 27 August 2012 15:49:32 UTC