Closed Bug 447749 Opened 12 years ago Closed 9 years ago

text area scrolls to strange position on changing direction

Categories

(Core :: Layout, defect)

x86
Windows Vista
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: nir123, Unassigned)

References

Details

(Keywords: regression, rtl, testcase)

Attachments

(3 files)

Attached file testcase
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1a1pre) Gecko/2008072303 Minefield/3.1a1pre

When switching page direction, div displays an empty area instead of the text.
See the attached testcase fore more details.
This bug occurs on <textarea>s as well (using switch text direction)
Keywords: rtl
I don't have a "Switch Page Direction" item in the context menu.
"Switch Page Direction" appears in the context menu when bidi.browser.ui is set to true in about:config.
This version of Nir's testcase exhibits the bug on load without requiring bidi.browser.ui to be reset.
Flags: wanted1.9.1? → wanted1.9.1+
I can reproduce this on Linux machines, while having <input type="text"> field overlapping the field size, and than switching text direction using ctrl-shift-x.
Fixed in the range http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=120667a01fd2&tochange=a43e2f7eda8f, most likely by bug 526394
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 526394
Flags: in-testsuite?
Resolution: --- → FIXED
Attached patch TestsSplinter Review
Attachment #509950 - Flags: review?(smontagu)
Comment on attachment 509950 [details] [diff] [review]
Tests

Heh, you beat me to it. Thanks!
Attachment #509950 - Flags: review?(smontagu) → review+
Whiteboard: [needs landing]
Test case landed as:

http://hg.mozilla.org/mozilla-central/rev/025a5df65801
Flags: in-testsuite? → in-testsuite+
Whiteboard: [needs landing]
You need to log in before you can comment on or make changes to this bug.