Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3018 closed defect (fixed)

dijit.util.bidi.isLeftToRight() reports false on IE on documents with no explicit dir set

Reported by: simonjb Owned by: Adam Peller
Priority: high Milestone: 0.9beta
Component: Widgets Version: 0.9
Keywords: bidi Cc:
Blocked By: Blocking:

Description

dijit.util.bidi.isLeftToRight() reports false on IE on documents with no explicit dir set. It should default to true.

Attachments (1)

test_bidi.html (922 bytes) - added by simonjb 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by simonjb

Attachment: test_bidi.html added

comment:1 Changed 12 years ago by simonjb

Test case attached.

comment:2 Changed 12 years ago by simonjb

I think that the last line in isLeftToRight() should be:

return true;

rather than:

return dojo.doc.dir;

comment:3 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [8622]) Oops. Forgot to do boolean check on document.dir attribute. Thanks, simonjb! Fixes #3018

comment:4 Changed 12 years ago by Adam Peller

Keywords: bidi added
Note: See TracTickets for help on using tickets.