Closed Bug 382175 Opened 18 years ago Closed 18 years ago

With new textframe, RTL text inside a table is displayed LTR (on Mac)

Categories

(Core :: Graphics, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: uriber, Unassigned)

References

()

Details

(Keywords: rtl, testcase)

Attachments

(1 file)

Attached file testcase
With the build from http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/experimental/textframe/2007-05-27-04-trunk/ Any RTL text inside a table seems to be displayed reversed (i.e., LTR). In the attached testcase, the first Hebrew word is inside a table, and is reversed.
I'm pretty sure this is because we build the textrun when the table asks for our preferred size, but bidi resolution hasn't happened yet (bug 365130). We tell the textrun that it's LTR, because the frame doesn't know it's RTL yet ... and then we use that textrun for everything. So I'm pretty sure this is basically a duplicate of 365130.
Depends on: 365130
Yeah, you're right. I told Uri I wasn't seeing this, but I forgot the little details that my own builds have the patch for bug 365130! When I reverse it, the bug appears.
OS: Mac OS X → All
Hardware: Macintosh → All
This is fixed now that Simon checked in a fix for 365130.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: