Closed
Bug 104792
Opened 25 years ago
Closed 25 years ago
Hebrew combo-boxes go haywire
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mozilla, Assigned: mkaply)
References
(Blocks 1 open bug, )
Details
Attachments
(2 files, 2 obsolete files)
|
4.25 KB,
text/html
|
Details | |
|
767 bytes,
patch
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5) Gecko/20011011
BuildID: 2001101117
When moving the mouse inside a combo-box containing Hebrew, the bombo-box
scrolls violantly to the bottom.
Reproducible: Always
Steps to Reproduce:
1.Go to the URL described above
2.Open the top combo box
3.Try to select the top movie
4.Try to repeat the process for the combo box at the bottom of the page (the one
in English)
Actual Results: The Hebrew box scrolls down every time the mouse is moved,
however slightly, and in whatever direction.
The English box behaves itself.
Expected Results: Both boxes should behave themselves.
The Hebrew box is defined with (truncated)
<form NAME=f ACTION="movies/l_movies.asp" METHOD=POST>
<font FACE="Globes" SIZE=2>
<select NAME="f_movieId" ALIGN=middle
onChange="go('movies/l_movies.asp','f_movieId',this[this.selectedIndex].value)"
style="background:#ffff99;color:navy;font-weight:bold;width:200;direction:rtl;"><option
VALUE="0">?/???</option>
<option VALUE=604>?????? ??????</option>
<option VALUE=420>????? ????</option>
option
VALUE
=
537
>
????? ??? ??????
</
option
>
<
The English box is defined with (truncated):
<
form
NAME
=
f1
ACTION
=
"movies/l_movies.asp"
METHOD
=
POST
>
>
<font size="3" face="Arial"><b>Select Movie: </b></font>
<font FACE="Arial,Times New Roman" SIZE=2>
<select NAME="f_movieId" ALIGN=middle
onChange="go('movies/l_movies.asp','f_movieId',this[this.selectedIndex].value)"
style="background:#ffff99;color:navy;font-weight:bold;width:200;"><option
VALUE="0">* Select Movie *</option>
<option VALUE=537></option>
<option VALUE=621></option>
<option VALUE=438>102 Dalmatians (Hebrew)</option>
option
>A Knight?s Tale</
606
=
VALUE
option
<
>
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
This turns out to stem from an inaccuracy in the calculated width of an
nsListControlFrame with direction=rtl, because the border width was getting
added twice.
The attached patch corrects that, and also removes an unreachable line which is
probably the result of a cut-and-paste error.
Comment 3•25 years ago
|
||
Talking over this on IRC it emerged that there are some other problems in this
code block, and just omitting that unreachable line is not enough to fix them.
I'll open a new bug for those problems. Meanwhile, here is a new patch that just
fixes the problem reported in this bug.
Comment 4•25 years ago
|
||
Updated•25 years ago
|
Attachment #53580 -
Attachment is obsolete: true
fwiw the split off bug is bug 104874.
Comment 6•25 years ago
|
||
looks right, r=rods
Updated•25 years ago
|
Attachment #53590 -
Flags: superreview+
Comment 7•25 years ago
|
||
Comment on attachment 53590 [details] [diff] [review]
new patch
sr=attinasi
| Assignee | ||
Comment 8•25 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 9•25 years ago
|
||
Reopening because the checkin to bug 104874 killed this checkin.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•25 years ago
|
||
Attaching testcase that I pulled off the URL when the bug was filed. (It's
lucky that I did so because the site has totally changed since then, and now
has a whole new problem which the patch will not fix. I'll be investigating
that and will either work on it in here or open a new bug)
Comment 11•25 years ago
|
||
Attachment #53590 -
Attachment is obsolete: true
Attachment #57150 -
Attachment is obsolete: true
Updated•25 years ago
|
Attachment #57150 -
Attachment is obsolete: false
Comment 12•25 years ago
|
||
fix checked in again
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
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.
Description
•