Closed
Bug 564299
Opened 14 years ago
Closed 14 years ago
Multiple select can have scrollbars
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: martijn.martijn, Assigned: mfinkle)
Details
(Keywords: testcase)
Attachments
(2 files)
2.08 KB,
text/html
|
Details | |
2.31 KB,
patch
|
vingtetun
:
review+
|
Details | Diff | Splinter Review |
See testcase, the first multiple select has scrollbars (weird scrollbars), the second not. I guess the first one shouldn't show up scrollbars at all. My guess is that the patch from bug 500208 has something to do with it.
Assignee | ||
Comment 1•14 years ago
|
||
Very strange. Just adding a "size" attribute to the <select> fixes the problem: <select multiple style="100px" size> ... Must be something with the CSS in content.css
Assignee | ||
Comment 2•14 years ago
|
||
Found it. We assumed that the presence of the "size" attribute was the only thing that controlled whether a <select> was a listbox or a dropdown. However, the "multiple" attribute will force the <select> into a listbox mode even if the "size" attribute is omitted. Patch coming up.
Assignee | ||
Comment 3•14 years ago
|
||
Anytime we do a :not([size]) we also need to do a :not([multiple]) That's what this patch does. Please test it out and make sure I didn't break focus highlight or any other CSS states. It fixes this testcase and seems to work ok on: http://people.mozilla.org/~mfinkle/select.html and: http://www.vingtetun.org/tmp/forms.html
Assignee: nobody → mark.finkle
Attachment #444023 -
Flags: review?(21)
Attachment #444023 -
Flags: review?(21) → review+
Comment 4•14 years ago
|
||
Comment on attachment 444023 [details] [diff] [review] patch Code looks ok.
Assignee | ||
Comment 5•14 years ago
|
||
pushed m-b: http://hg.mozilla.org/mobile-browser/rev/73c274b96744 pushed m-1.1: http://hg.mozilla.org/releases/mobile-1.1/rev/a14f3f5a859a
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
verified FIXED on builds: Mozilla/5.0 (X11; U; Linux armv7l; Nokia N900; en-US; rv:1.9.2.5pre) Gecko/20100511 Namoroka/3.6.5pre Fennec/1.1b2pre and Mozilla/5.0 (X11; U; Linux armv71; Nokia N900; en-US; rv:1.9.3a5pre) Gecko/20100511 Namoroka/3.7a5pre Fennec/2.0a1pre
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
Flags: in-litmus?
Comment 7•14 years ago
|
||
minus'ing the litmus testcase nomination as this works a lot better as a unit test.
Flags: in-litmus? → in-litmus-
You need to log in
before you can comment on or make changes to this bug.
Description
•