[Bug 10808] text with unknown direction gets corrupted when inserted in content with opposite direction

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10808

--- Comment #53 from Aharon Lanin <aharon.lists.lanin@gmail.com> 2011-01-09 10:10:50 UTC ---
(In reply to comment #52)
> I'm confused by the last comment. What exactly are the changes you want and
> why?

By "the last comment", I guess you mean the last paragraph of comment 51.

What bothers me is that while most of the directional effects of the dir
attribute (like those of the bdo and bdi elements) are explicitly documented,
it is not documented that the pre and textarea elements significantly modify
the effects of dir=auto. That this happens only in the presentation layer, via
the default sylesheet, is irrelevant: the effects of bdo are also entirely
defined by the default stylesheet, but are nevertheless explicitly documented.

I would therefore suggest something like the following note (after "For
example, the rendering section in this specification defines a mapping from
this attribute to the CSS 'direction' and 'unicode-bidi' properties, and CSS
defines rendering in terms of those properties."):

"Please note that this mapping is significantly modified for the pre and
textarea elements, to the effect that dir=auto on these elements determines the
base direction of each bidi paragraph of these elements' content
independently."

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You reported the bug.

Received on Sunday, 9 January 2011 10:10:52 UTC