Closed Bug 519141 Opened 16 years ago Closed 16 years ago

<select> dropdown bottom border line disappears on certain condition

Categories

(Core :: Layout: Form Controls, defect)

1.9.1 Branch
x86_64
Windows Vista
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: berupon, Unassigned)

Details

Attachments

(9 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) It happens with below conditions. Windows Settings Windows Classic Theme Font Size : 120 DPI (normal is 96 DPI) Browser Settings Default Font Font Name : MS Pゴシック (japanese font) Size : 18 Zoom : 100% (no problem with other zooming percentages so far....) Style Sheet body { line-height : 150%; } (no problem without style-sheet) HTML: prepare : SELECT password FROM user WHERE id = :id; <BR>params:Array ( [dest_page] => edit [page] => master/item/list [serial] => 2 ) <BR>session:Array ( [ONETIME_TOKEN] => b3a1ccd07913dde1bfc1be902524276c [dir] => master/item [page] => list [PREV_ONETIME_TOKEN] => faa9105b52ebffdad351b08b2a90ada5 ) <BR><HR>Array ( [0] => master/item [1] => edit ) <HR>prepare : SELECT * FROM item_info WHERE serial = :serial; <BR>prepare : SELECT serial, name FROM item_category <BR><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="common.js"></script> <link rel="stylesheet" type="text/css" href="common.css"> <script type="text/javascript" src="pseudo_behaviour.js"></script><title>品目情報編集</title> <script language="JavaScript"> function deleteConfirm() { if(window.confirm('本当に削除しても良いですか?')) { var form = document.forms[0]; form.action.value = 'delete'; form.submit(); } } </script> </head> <body> <div style='text-align:right;'>Welcome, hoge</div> <HR> <form method="post" action="index.php"> <input type="hidden" name="onetimeToken" value="6c291c6eb894cf1cba14dc84d8a6d806"> <table border=1> <tr><td>シリアル</td><td>2</td></tr> <tr><td>品目分類</td><td><select name='category_serial'><option value=''></option><option value='2' >あああ</option><option value='3' selected>だsdさ</option><option value='4' >てすと</option></select></td></tr> <tr><td>品目名称</td><td><input type="text" name="name" value="111" /></td></tr> <tr><td>型番</td><td><input type="text" name="model_number" value="111" /></td></tr> <tr><td>属性1</td><td><input type="text" name="attribute1" value="" /></td></tr> <tr><td>属性2</td><td><input type="text" name="attribute2" value="" /></td></tr> <tr><td>属性3</td><td><input type="text" name="attribute3" value="" /></td></tr> <tr><td>数え方種別</td><td><input type="text" name="counting_type" value="" /></td></tr> </table> <input type="hidden" name="serial" value="2"> <input type="hidden" name="action" value="record"> <input type="submit" value="更新" /> <input type="button" value="削除" onclick="deleteConfirm();" /> <input type="button" value="戻る" onclick="changePage('list');" /> <input type="hidden" name="dest_page" value="" /> <input type="hidden" name="page" value="master/item/edit" /></form> </body> </html> Reproducible: Always Expected Results: the bottom line should be drawn correctly.
Reported, please provide more info on how to reproduce and/or an example URL.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
*reporter
Below are the some steps for bug confirmation. download the zip file from https://bugzilla.mozilla.org/attachment.cgi?id=403157 unzip the zip file open index.html file with your firefox web browser. move your mouse cursor, and click the select item and its dropdown will appear. check if bottom border line is drawn correctly Do i have to check if the problem reproduces without japanese letters? I haven't rebooted Windows after I found the problem, so I'm not sure if the problem happens with normal DPI (96 dpi) setting....
Resolution: INCOMPLETE → FIXED
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Attached file simplified html
It seems like the problem happens with no labeled select option. You can see height of highlight item of empty select is small compared to others. To reproduce the problem I needed to put the <select> in <table> and put other <tr> row above.
after i changed windows DPI settings to normal 96 dpi and rebooted. the problem disappered with zoom level 100%. thought i could reproduce the problem with zooming up. not sure about the percentage. (how can i see?)
I can't reproduce. Workforme
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → WORKSFORME
Component: Tabbed Browser → Layout: Form Controls
Product: Firefox → Core
QA Contact: tabbed.browser → layout.form-controls
Reporter, does it also happen when you change the default font of your system to an ASCII one? It could be related to Unicode which could be the reason why we are not able to reproduce. John, have you seen a similar thing yet?
Version: unspecified → 1.9.1 Branch
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.12) Gecko/2009072711 CentOS/3.0.12-1.el5.centos Firefox/3.0.12 Font : serif Size : 16
Henrik, it happens though I changed Firefox default font to Times New Roman 16 pt. Not sure if it's Unicode issue. And not tested yet with WindowsOS English system locale. Firefox itself is Unicode compatible I guess, so I thought changing system locale doesn't affect the behaviour. Do I need to see the problem happens with English system locale? I could see the same thing happening within other OSes like CentOS5 (see above post), Ubuntu OS, WindowsXP OS (japanese though) If anyone needs specific infos, I'd take them. i haven't debugged Firefox yet. Failed to build within WindowsVista with Cygwin...
Attachment #403451 - Attachment mime type: image/png → image/jpeg
Mozilla/5.0 (X11; U; Linux i686; ja; rv:1.9.0.14) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14 Font : sans-serif Size : 16 System Locale : Japanese
Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Font : Times New Roman Size : 16 System Locale : Japanese
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: