[Bug 10827] i18n comment 23 : script dialog text direction

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

--- Comment #12 from Ian 'Hixie' Hickson <ian@hixie.ch> 2010-11-30 21:21:32 UTC ---
(In reply to comment #11)
> Sorry, but it still needs tweaking. I would like the paragraph beginning with
> "A string provided by a script" to read more like this:
> 
> --- PROPOSED TEXT ---
> Text provided by a script (e.g. the argument to window.alert()) is expected to
> be displayed according to the rules of the Unicode bidirectional algorithm for
> splitting text into paragraphs and determining the overall direction of each
> paragraph. For instance, U+000A LINE FEED (LF) characters are expected to
> separate between paragraph, and the overall direction of a paragraph starting
> with a right-to-left character is expected to be right-to-left."
> --- END OF PROPOSED TEXT ---

Could you elaborate on what problem this proposal is intended to solve?


> The code in your example does not deal properly with either of these
> requirements and would output a garbled message.

Right, that's the point of the example. :-)

I've added your proposed example, but I haven't removed the previous one.

-- 
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 Tuesday, 30 November 2010 21:21:35 UTC