Closed Bug 278698 Opened 20 years ago Closed 19 years ago

Display links left-to-right even when direction set to right-to-left

Categories

(Other Applications :: ChatZilla, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: smontagu, Assigned: rginda)

References

()

Details

(Whiteboard: [cz-0.9.69])

Attachments

(1 file)

553 bytes, patch
bugzilla-mozilla-20000923
: review+
benjamin
: approval1.8b4+
Details | Diff | Splinter Review
http://www.ietf.org/internet-drafts/draft-duerst-iri-11.txt, soon to be an RFC,
says:

Bidirectional IRIs MUST be rendered in the same way as they would be rendered if
they were in an left-to-right embedding, i.e.  as if they were preceded by
U+202A, LEFT-TO-RIGHT EMBEDDING (LRE), and followed by U+202C, POP DIRECTIONAL
FORMATTING (PDF).  Setting the embedding direction can also be done in a
higher-level protocol (e.g.  the dir='ltr' attribute in HTML).

This can be achieved in Chatzilla with the following CSS rule:

a.chatzilla-link {
 direction: ltr;
 unicode-bidi: embed;
}
Blocks: iri
If someone would like to do a patch, I'll test it out (or try too!) and review it.
Attached patch PatchSplinter Review
Attachment #188286 - Flags: review?(silver)
Comment on attachment 188286 [details] [diff] [review]
Patch

I couldn't really test this, having little knowledge of RTL locales, and just
messed about with some Japanese and Russian to make sure they still worked.
Nothing seemed not to work. :)

r=silver
Attachment #188286 - Flags: review?(silver)
Attachment #188286 - Flags: review+
Attachment #188286 - Flags: approval1.8b4?
Attachment #188286 - Flags: approval1.8b4? → approval1.8b4+
Checked in -> FIXED.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.69]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: