Closed Bug 339786 Opened 18 years ago Closed 12 years ago

Need to reset whitespace bidi embedding levels after line breaking (UAX #9 L1)

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: uriber, Unassigned)

References

Details

(Keywords: rtl)

Attachments

(1 file)

See: http://www.unicode.org/reports/tr9/tr9-15.html#L1
This is in section 3.4, and therefore should be done after line breaking.
However, currently this is implemented by nsBidi::AdjustWSLevels(), which is only called during resolution (i.e., before line breaking).

This came up in the discussion on bug 336408 (see bug 336408 comment #6 and onwards).
This bug, bug 332655, bug 330350 and bug 263359 (and maybe others) are all somewhat related. We need to redesign some of the interaction between bidi resolution/reordering, reflow and line breaking.
Attached file testcase
Blocks: 330461
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: layout.bidi → layout.fonts-and-text
We pass the testcase now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
It would be good to (at minimum) check in the attached testcase, and also see if more extensive testing is desirable.
Flags: in-testsuite?
Keywords: rtl
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: