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: Sat, 25 Aug 2012 01:13:35 +0000
Message-Id: <E1T54wR-0004ep-2H@jessica.w3.org>
To: public-i18n-bidi@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18339

fantasai <fantasai.bugs@inkedblade.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|When the parent element is  |When the parent element is
                   |not an HTML element, the    |not an HTML element, what
                   |directionality of the child |directionality is
                   |should default to LTR       |inherited?

--- Comment #4 from fantasai <fantasai.bugs@inkedblade.net> 2012-08-25 01:13:34 UTC ---
So the bug here isn't "When the parent element is not an HTML element, the
directionality of the child should default to LTR.", it's "HTML doesn't define
what happens when the parent of an element is not an HTML element".

An element can have
  - LTR directionality
  - RTL directionality
  - no directionality
http://www.w3.org/TR/selectors4/#the-dir-pseudo

There are various possibilities, here are the three I can think of:

  - All elements, whether they are HTML or not, have a directionality.

  - Non-HTML elements do not have a directionality, but directionality
    inherits through them. (This would be represented by two binary
    states: whether the element is LTR or RTL, and whether the element
    has a directionality or no.)

  - As bz proposed, HTML children of elements without a directionality
    inherit LTR.

-- 
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 Saturday, 25 August 2012 01:13:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 25 August 2012 01:13:41 GMT