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

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

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #15 from Ian 'Hixie' Hickson <ian@hixie.ch> 2010-12-03 20:21:45 UTC ---
> Thus, I believe that to require the
> behavior we want, the HTML spec must give some clear indication that the
> direction of script dialog text paragraphs must be determined without applying
> a higher-level protocol. The spec's current requirement does not seem to do so

Fixed.


> 2. [Editorial] It is better to stick to the term "text" instead of switching to
> the term "string" for no apparent reason ("A string provided by a script").

Scripts provide strings, strings contain text.


> 3. [Editorial] The repetition of the term "bidirectional algorithm" should be
> avoided if possible.

Why? Seems fine to me.


> Are you saying that you were trying to illustrate what can go wrong?

Yes. I've tried to make this clearer.


> I do not think that the spec should give buggy code as an
> example, especially without stating extremely clearly that it is buggy and
> without giving a correct version.

It's not buggy code for most purposes. You're simply not going to be able to
convince people writing LTR-only sites (e.g. the majority of Web authors) to
worry about what happens when their alert()s happen to start with user-provided
RTL text.

I've added an example that handles it correctly though.

EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Partially Accepted
Change Description: see diff given below
Rationale: see above

-- 
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 Friday, 3 December 2010 20:21:48 UTC