[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

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 UTC