Closed Bug 290627 Opened 20 years ago Closed 20 years ago

Regression: Bidi algorithm is wrong if "text-align: justify" is on

Categories

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

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 290567

People

(Reporter: nyh, Assigned: mkaply)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1

The above URL is a Hebrew page, which has it's main direction as RTL (<BODY
DIR=RTL>). As you can see, the hebrew red headers (H1, H2) are printed well, on
the right of the page. But the Hebrew paragraphs are wrong: the letters of the
paragraph are printed left to right, when of course they need to be right to
left. Moreover, when trying to select with the mouse some of the paragraph text,
the text jumps around - as if part of Mozilla knows its previous output was wrong.

In previous versions of Mozilla (I can't check now which), this worked fine - so
its a regression done in a later version. I checked this bug on Mozilla Firefox
1.0.2 (the latest Fedora version), and also on Mozilla (latest Fedora version).

This is a very serious bug for Hebrew support. I've already seen it on several
Hebrew sites, not just my own homepage, and was originally tempted to assume
those were broken IE-only sites or something, but it's not - in this case it is
Mozilla which is broken, unfortunately.

Reproducible: Always
I forgot to mention - the cause of the bidi letter ordering problem in the
paragraph is the "text-align: justify;" style in the paragraph. When I remove
this style from P in the CSS, the problem disappears.
Dupe of bug 290567?
You are probably right.
Sorry about that... Unfortunately, Bugzilla's search doesn't work (it just hangs
and never returns any search results). 

*** This bug has been marked as a duplicate of 290567 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → layout.fonts-and-text
You need to log in before you can comment on or make changes to this bug.