W3C home > Mailing lists > Public > public-i18n-bidi@w3.org > July to September 2012

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 27 Aug 2012 15:49:26 +0000
Message-Id: <E1T61Z8-00083f-C3@jessica.w3.org>
To: public-i18n-bidi@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:24:40 UTC