Re: Re: HTML5 alert ! Please read.

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