- From: Aharon (Vladimir) Lanin <aharon@google.com>
- Date: Sun, 31 Jul 2011 12:03:12 +0300
- To: Richard Ishida <ishida@w3.org>, "Phillips, Addison" <addison@amazon.com>
- Cc: "public-i18n-core@w3.org" <public-i18n-core@w3.org>
I have discovered an issue with the current HTML5 spec for dir=auto (which stems from an insufficient detailed proposal for this feature on my part). It is based on the element's descendant text nodes. Unfortunately, this does not give sufficient consideration to <input> and <textarea> nodes, for which dir=auto was always envisioned to work based on their current value, i.e. to potentially change the element's directionality when the user types into them. I have filed bug ttp://www.w3.org/Bugs/Public/show_bug.cgi?id=13482 on HTML5, asking that the spec be changed such that: - For input and textarea elements with dir=auto, the directionality should be determined not by the element's descendants, but by the element's current value, and should change as the latter changes. - For other elements, the text node descendants under a descendant textarea element should be excluded, just like those in script and style elements. It is very important that this goes into the spec. > ISSUE-52 (When an input value is remembered, its direction should be remembered too) The HTML5 editor has satisfactorily addressed the remainder of this issue. I have closed http://www.w3.org/Bugs/Public/show_bug.cgi?id=10823. Aharon
Received on Sunday, 31 July 2011 09:03:57 UTC