Closed Bug 319410 Opened 19 years ago Closed 19 years ago

textbox element loses content upon resize with direction:rtl and flex

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: meir, Unassigned)

References

Details

(Keywords: fixed1.8.0.1, fixed1.8.1, rtl)

Attachments

(1 file)

1.80 KB, application/vnd.mozilla.xul+xml
Details
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051130 Firefox/1.6a1

textbox elements with flex set to > 0 are losing the content when direction:rtl window is resized (mainly shrinked) as a result of showing other hidden elements or resizing the window itself.

To re-display the content one must click the text box and press <END> or play with the arrows.

This happens on firefox 1.5 and trunk of 1.6.

Reproducible: Always

Steps to Reproduce:
A testcase would be useful...
Attached file Here's a test case
Open the attached test case in firefox 1.5/1.6+, then decrease the window size.

Watch content of textboxes starting to disappear.
Open the test case in firefox 1.5+, decrease the window width, watch the content of textbox starting to disappear.

Looks like the position of the drawed text is not updated accordingly in bidi mode.

If screenshots are needed, I'll post some.
I see the bug in Firefox 1.5 and an up-to-date trunk build, but not in my development tree, so this seems to be a dupe of something that I have a work-in-progress patch for.
This will be fixed by Uri's patch for bug 312550.
Depends on: 312550
Yes, the patch for bug 312550 fixed this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: