Last Comment Bug 580323 - Fix up autocomplete-history-popup menuitem in mac classic
: Fix up autocomplete-history-popup menuitem in mac classic
Product: SeaMonkey
Classification: Client Software
Component: Themes (show other bugs)
: Trunk
: x86 Mac OS X
-- normal (vote)
: seamonkey2.1a3
Assigned To: Stefan [:stefanh]
Depends on:
  Show dependency treegraph
Reported: 2010-07-20 11:25 PDT by Stefan [:stefanh]
Modified: 2010-08-08 10:35 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---

Fix menuitem (854 bytes, patch)
2010-07-20 11:31 PDT, Stefan [:stefanh]
mnyromyr: review+
neil: superreview+
Details | Diff | Splinter Review

Description User image Stefan [:stefanh] 2010-07-20 11:25:59 PDT
Toolkit changes have regressed the autocomplete menuitem. The height have vanished and the negative margin is not needed anymore (that's good, though).
Comment 1 User image Stefan [:stefanh] 2010-07-20 11:31:22 PDT
Created attachment 458729 [details] [diff] [review]
Fix menuitem
Comment 2 User image 2010-07-21 08:10:32 PDT
Comment on attachment 458729 [details] [diff] [review]
Fix menuitem

Why the padding change? (Why the padding override?)
Comment 3 User image Stefan [:stefanh] 2010-07-21 10:22:34 PDT
We override the padding in menu.css but changed the padding and removed the min-height:

   1.144 @@ -147,9 +164,7 @@ menupopup > menu,
   1.145  popup > menu,
   1.146  menupopup > menuitem,
   1.147  popup > menuitem {
   1.148 -  padding: 0px 3px 2px 3px !important;
   1.149    max-width: 42em;
   1.150 -  min-height: 19px;
   1.151  }

Instead of adding the min-height, I added some padding to compensate for the loss of height. Hm, but I guess I could add the min-height. Then it would look exactly the same as before. Ideally, I would like both (autocomplete and history) widgets look the same.
Comment 4 User image Stefan [:stefanh] 2010-08-04 01:07:48 PDT
I'll land this on sunday/monday.
Comment 5 User image Stefan [:stefanh] 2010-08-08 10:35:08 PDT

Note You need to log in before you can comment on or make changes to this bug.