Closed Bug 177442 Opened 23 years ago Closed 20 years ago

white-space: pre and bidi results in duplicated text frames

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ian, Assigned: smontagu)

References

()

Details

Attachments

(3 files)

For some reason, the text frames in the following test case get duplicated: http://www.hixie.ch/tests/adhoc/css/box/inline/bidi/005.html (Look at the second box, not the first, which is just the reference rendering.) ACTUAL RESULTS: abckdefgfhidejkblm EXPECTED RESULTS abcdefghijklm Note: we get other parts of the test wrong too, however, that's not what this report is about. We could do with a more reduced test case.
Attached file Reduced testcase —
Attached patch Patch v.1 — — Splinter Review
This patch just copies IBMBIDI code from the "normal" codepath to the "preformatted" codepath. We probably want to add something similar in ScanPreData_B as well.
Taking.
Assignee: mkaply → smontagu
This testcase exposes additional bugs in both the normal and preformatted cases.
Attachment #104705 - Flags: superreview?(dbaron)
Comment on attachment 104705 [details] [diff] [review] Patch v.1 This isn't complete enough for review.
Attachment #104705 - Flags: superreview?(dbaron)
Blocks: 245478
*** Bug 301889 has been marked as a duplicate of this bug. ***
Blocks: 221910
Seeing on OS X => All/All
OS: Windows 2000 → All
Hardware: PC → All
Depends on: 333769
The fix for bug 333769 included the change in Patch v.1, and fixed the original testcases on this bug. I also can't reproduce the problem with "Testcase for ScanPreData_B" any more, although that probably has to do with unrelated changes made to word selection/navigation. I'm resolving this bug FIXED, and I suggest that a separate bug would be opened for "ScanPreData_B", if a testcase can be made to show there is still a problem there.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
*** Bug 221910 has been marked as a duplicate of this bug. ***
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.

Attachment

General

Created:
Updated:
Size: