Closed Bug 119983 Opened 23 years ago Closed 22 years ago

geocities.com - Right to left text is rendered left to right.

Categories

(Tech Evangelism Graveyard :: English Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: shanjian, Assigned: momoi)

References

()

Details

(Keywords: intl)

Attachments

(1 file)

In test case of bug 118000, some of the text are specified as right to left in direction, but rendering did not happen in that way.
Keywords: intl
QA Contact: ruixu → ylong
I assume I need to apply the patch from bug 118000 to view the test case. Meanwhile, my first thought is that this could be an instance of bug 115921, if the fix (attachment 62162 [details] [diff] [review]) is not updated in your local tree.
Comment #1 is mistaken: this is not related to bug 115921. I think I know what the real problem is, but this time I won't make any more half-baked suggestions until I am quite sure.
this bug may depend on 120114.
Depends on: 120114
There are a few different issues here. (1) A bug similar to 115921: we don't do any bidi processing in a page that contains neither bidi characters nor elements with dir=rtl, so on a page like this one the RLO (right-to-left override) character is ignored. We could fix that by adding the character to the definition of CHAR_IS_BIDI at http://lxr.mozilla.org/mozilla/source/intl/unicharutil/public/nsIUBidiUtils.h#299, but I'm not sure that we really need to do that: according to http://www.unicode.org/unicode/reports/tr20/#Bidi the use of this and related characters in markup is "strongly discouraged". We are already more liberal than the recommendation there to ignore these characters altogether, since we process them when bidi is enabled anyway. (2) If the page is altered to use <bdo dir="rtl"> instead of RLO, the characters are reversed but the display is incorrect. I assume this is bug 120114 kicking in.
Evangelism contact will be made to see if that solution is available. It may also provide additional info on whether or not to have a fix in Mozilla.
Sent the site owner Simon's BDO suggestion along with explanation. The owner has promised to modify the site. Changing Product to Evangelism, owner to myself and accepting the bug.
Assignee: smontagu → momoi
Component: Internationalization → Europe: West
Product: Browser → Tech Evangelism
Target Milestone: --- → Jan
Version: other → unspecified
There is no easy place to categorize this report. I will put this in Europe:West since it is about classic/extinct language in Italy. I will take this since I am familiar with the issues inolved. If we want to support Unicode embedding control characters under non-bidi context, then please file a new bug.
Status: NEW → ASSIGNED
Summary: Right to left text is rendered left to right. → geocities.com - Right to left text is rendered left to right.
Keywords: evang500
OS: Windows NT → All
Hardware: PC → All
This has been fixed for several months now.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
QA Contact: ylong → momoi
v
Status: RESOLVED → VERIFIED
New Component
Component: Europe: West → English Other
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: