W3C home > Mailing lists > Public > public-i18n-bidi@w3.org > April to June 2013

[Bug 17835] The directionality of a textarea should be determined based on its parent if its value does not have any strong characters

From: <bugzilla@jessica.w3.org>
Date: Thu, 13 Jun 2013 13:44:37 +0000
To: public-i18n-bidi@w3.org
Message-ID: <bug-17835-3860-cK0wxfCKWJ@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17835

--- Comment #21 from Aharon Lanin <aharon.lists.lanin@gmail.com> ---
First, there are a couple of typos:

- Where the text says "If the element is an input element whose type attribute
is in the Telephone state, and the dir attribute is not in a state", it should
probably say "... is not in a defined state (i.e. it is not present or has an
invalid value)". I am not 100% sure the parenthetical is necessary here yet
again (we have it on the preceding line), but the word "defined" does seem to
be in order.

- Where you now have "input[type=tel]:ltr", you probably meant
"input[type=tel]:dir(ltr)".

Second, I now see that there is a problem with the general dir="auto" case. It
is still defaulting to the parent's directionality for all-neutral content, not
just for empty content. I know I had said the opposite (that it was doing it
only for empty content) in comment 18, but I must have been confused.

The problem is that it is not easy to fix this. What we need to do is to
broaden the "Otherwise, if the element is a root element, the directionality of
the element is 'ltr'" to include the case where there were any Text nodes
fitting the two criteria given above that line.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 13 June 2013 13:44:42 UTC

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