Open Bug 463070 Opened 16 years ago Updated 2 years ago

JavaScript, document.write prints words back to front (reverse)

Categories

(Core :: Layout: Text and Fonts, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: zarmi2006, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Maxthon; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9) Gecko/2008052906 Firefox/3.0 In JavaScript, document.write prints words back to front (reverse), after long loop and printing many symbols Reproducible: Always Steps to Reproduce: 1. Open this pages http://zarmi.narod.ru/unicode1.html http://zarmi.narod.ru/unicode2.html 2. Wait.... 3. Scroll bottom (down) the page Actual Results: At top page printed: Time of script action: 0.388 sec. But at bottom page printed: .ces 883.0 : noitca tpircs fo emiT Expected Results: At bottop page printed: Time of script action: 0.388 sec. This bug Opera have too. IE and Google Chrome does not have. If I want copy string: ".ces 883.0: noitca tpircs fo emiT" In clipboard it appears "Time of script action: 0.388 sec." It's strange
Keywords: js1.7
Version: unspecified → 3.0 Branch
Attached file smaller testcase
this is due to character U+202E (right-to-left override) That's probably not a bug.
Component: General → Layout: Text
Keywords: js1.7
Product: Firefox → Core
QA Contact: general → layout.fonts-and-text
Version: 3.0 Branch → unspecified
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: