Closed
Bug 357449
Opened 19 years ago
Closed 19 years ago
[reflow branch] Combobox dropdown button position is wrong?
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
References
Details
(Keywords: testcase)
Attachments
(2 files)
|
695 bytes,
text/html
|
Details | |
|
1.12 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
[reflow branch] Combobox dropdown button height/position is wrong?
There is no assertion (bug 357044) for this testcase but perhaps it's the same
underlying issue...
| Assignee | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
Hmm.... I'm not sure. I clearly should have tested setting font size and height both... :(
Assignee: nobody → bzbarsky
| Assignee | ||
Comment 3•19 years ago
|
||
The height seems to be correct, it's the position that is different from trunk.
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/layout/style/forms.css&rev=3.118.2.1&root=/cvsroot&mark=195-200#181
FWIW, changing it to "vertical-align:top" gives the same rendering as trunk.
Summary: [reflow branch] Combobox dropdown button height/position is wrong? → [reflow branch] Combobox dropdown button position is wrong?
Comment 4•19 years ago
|
||
MM.... so the problem here is that the display frame's bottom ends up below the actual display area or something?
I agree that vertical-align:top would make more sense here. If it fixes the problem, let's do it.
| Assignee | ||
Comment 5•19 years ago
|
||
Yeah, this looks like a typo...
I was a bit curious why this works on trunk though since there is no
vertical-align declaration there. It seems we brute force 'top' in C++:
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/layout/forms/nsComboboxControlFrame.cpp&rev=1.376&root=/cvsroot&mark=876,888#858
Adding vertical-align:bottom!important (etc) on trunk has no effect.
Assignee: bzbarsky → mats.palmgren
Status: NEW → ASSIGNED
Attachment #242941 -
Flags: superreview?(bzbarsky)
Attachment #242941 -
Flags: review?(bzbarsky)
Comment 6•19 years ago
|
||
Comment on attachment 242941 [details] [diff] [review]
Patch rev. 1
Looks great. Thanks!
Attachment #242941 -
Flags: superreview?(bzbarsky)
Attachment #242941 -
Flags: superreview+
Attachment #242941 -
Flags: review?(bzbarsky)
Attachment #242941 -
Flags: review+
Comment 7•19 years ago
|
||
Oh, and please add to the layout regression tests?
| Assignee | ||
Comment 8•19 years ago
|
||
Checked in on REFLOW_20060830_BRANCH at 2006-10-26 18:14 PDT.
Also added the testcase to the layout regression test suite on trunk.
layout/html/tests/formctls/bugs/bug357449.html
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•