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

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

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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:58:38 UTC