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

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

Aharon Lanin <aharon.lists.lanin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |aharon.lists.lanin@gmail.co
                   |                            |m
         Resolution|FIXED                       |

--- Comment #7 from Aharon Lanin <aharon.lists.lanin@gmail.com> 2010-11-08 10:42:50 UTC ---
(In reply to comment #6)
> Looking at the diff, I think you are introducing some confusion with your
> terminology.
> 
> +  Text from scripts (e.g. the argument to
> +  <code title="dom-alert">window.alert()</code>) is expected to be
> +  rendered as a separate bidirectional algorithm paragraph. <a
> +  href="#refsBIDI">[BIDI]</a></p>
> 
> Minor comment: as worded, I would s/separate/independent/
> 
> But either way, there is some confusion here as I believe it is expected for
> hard line breaks like CRLF to break the bidi paragraph (as well as the line).
> That is, the text is not rendered as "a" bidi paragraph, it may potentially be
> rendered as multiple bidi paragraphs.
> 
> Perhaps something like
> Text from scripts (e.g. the argument to window.alert()) is expected to be
> rendered as Unicode plain text. For example, the line and paragraph-breaking
> behavior of LF is honored, and the base direction of each bidi paragraph is
> determined according to Unicode's detection rules. [BIDI]
> ?

I fully agree with Fantasai's comments. As it currently stands, the diff is not
sufficient to address the bug. In fact, I think it should be clarified even
further, to something like this:

Text from scripts (e.g. the argument to window.alert()) is expected to be
rendered as Unicode plain text, with the base direction of each paragraph
determined by Unicode detection rules from the paragraph's content. For
example, the line and paragraph-breaking behavior of LF is honored, and a
paragraph starting with RTL text must appear in an RTL base direction. [BIDI]

It would also be best to move the programming languages select example to
appear between "from which the text was obtained." and "Text from scripts".

-- 
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 Monday, 8 November 2010 10:42:54 UTC