W3C home > Mailing lists > Public > public-i18n-core@w3.org > July to September 2011

Re: Re: HTML5 alert ! Please read.

From: Aharon (Vladimir) Lanin <aharon@google.com>
Date: Sun, 31 Jul 2011 12:03:12 +0300
Message-ID: <CA+FsOYa0jEDuddy-8cPJuhwZxHshOW7dhP=pjbGBNPU_7E+H2g@mail.gmail.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 31 July 2011 09:03:59 GMT