[Bug 27359] [Shadow]: Need to define interaction with directionality

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

--- Comment #14 from Koji Ishii <kojiishi@gmail.com> ---
(In reply to Boris Zbarsky from comment #6)
> Ah, there's some interesting subtlety here.
> 
> There's the inherent element directionality, but also the CSS
> directionality.  They both, separately, inherit.  The element directionality
> can affect the CSS directionality.
> 
> So it's possible that what's going on in terms of layout in Gecko and Blink
> is that the CSS directionality inherits.  That would explain the layout
> behavior.  But that leaves the question of element directionality open, of
> course.  I'd be interested in a way to directly query that in Blink.

Unfortunately, no, there's no way to directly query that in Blink.

I agree with Hayato and Tab that "dir" should be behave the same way as CSS
inheritance. The "dir" attribute and CSS unicode-bidi/direction properties work
together under the assumption of CSS inheritance works along with DOM tree
traversal, so inheriting CSS without inheriting "dir" is likely to cause a
problem.

Regarding the bug 27222, Hayato and I discussed when the bug came in, and
rather than having one bug for each attribute, it must be better to review all
attributes and update the spec at once, and then handle whatever we missed if
any. Since it wasn't clearly communicated to you all, I've changed the summary
of the bug.

I can read Hayato and Tab prefer "dir" to be handled the same way as CSS
inherits. Are we all in consensus?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 7 January 2015 06:32:47 UTC