Closed Bug 492231 Opened 16 years ago Closed 16 years ago

Inconsistent bidi with dynamic "direction: rtl;" on iso-8859-8 (visual order) page

Categories

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

x86
macOS
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: smontagu)

References

Details

(Keywords: fixed1.9.1, testcase)

Attachments

(4 files)

Attached file testcase (dynamic) (deleted) —
The testcase and reference have the same final DOM, so they should look the same. This bug only happens with the iso-8859-8 charset, so I suspect it has something to do with the "mIsVisual" member of nsPresContext being set to true.
Attached file reference (static) (deleted) —
Attachment #376594 - Attachment mime type: text/html → text/html; charset=iso-8859-8
Attachment #376593 - Attachment mime type: text/html → text/html; charset=iso-8859-8
Blocks: 332655
Attached patch Patch (deleted) — Splinter Review
This was exposed by bug 332655, but it's really a consequence of special casing frame placement for visual RTL instead of using the regular bidi frame reordering code.
Assignee: nobody → smontagu
Attachment #376636 - Flags: superreview?(roc)
Attachment #376636 - Flags: review?(roc)
Attachment #376636 - Flags: superreview?(roc)
Attachment #376636 - Flags: superreview+
Attachment #376636 - Flags: review?(roc)
Attachment #376636 - Flags: review+
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
This checkin introduced one new warning: mozilla/layout/generic/nsLineLayout.cpp:2488: warning: unused variable ‘maxX’ due to removing all uses of 'maxX' without removing the variable declaration. Can we remove the declaration for this now-unused variable in a followup patch, to fix this warning?
Attached patch Fix warning (deleted) — Splinter Review
Thanks for catching that! Removing the declaration allows some further code simplification.
Attachment #376849 - Flags: superreview?(roc)
Attachment #376849 - Flags: review?(roc)
Attachment #376849 - Flags: superreview?(roc)
Attachment #376849 - Flags: superreview+
Attachment #376849 - Flags: review?(roc)
Attachment #376849 - Flags: review+
Depends on: 496006
No longer depends on: 496006
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: