W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > January 2011

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 09 Jan 2011 10:10:51 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PbsEd-0007Zc-FA@jessica.w3.org>
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 the QA contact for the bug.
Received on Sunday, 9 January 2011 10:10:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 9 January 2011 10:10:53 GMT