Closed
Bug 1030644
Opened 10 years ago
Closed 10 years ago
Remove styling for .menulist-menupopup and .menulist-compact
Categories
(Toolkit :: Themes, defect)
Toolkit
Themes
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: dao, Assigned: rahul2308, Mentored)
References
Details
(Whiteboard: [good first bug][lang=css])
Attachments
(1 file, 2 obsolete files)
18.61 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
We have a bunch of CSS for "menulist-menupopup" and "menulist-compact" that are neither used on mozilla-central nor documented on developer.mozilla.org. Seems like we should get rid of this.
Reporter | ||
Updated•10 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Reporter | ||
Updated•10 years ago
|
Mentor: dao
Whiteboard: [good first bug][lang=css]
Comment 1•10 years ago
|
||
Want to work on it as simple introductory bugfix. (I did some one-or-two simple fixes some long time ago, and need to refresh myself again) :D . Can anyone help me do this? Thank you
Reporter | ||
Comment 2•10 years ago
|
||
I can help you. Do you have the source code? You'll find the relevant files here: http://mxr.mozilla.org/mozilla-central/search?string=menulist-menupopup and here: http://mxr.mozilla.org/mozilla-central/search?string=menulist-compact
Comment 3•10 years ago
|
||
Unfortunately no, I do not have the source code. I remember pulling mercurial repo earlier, Can you help me locate where is it? Thanks!
Reporter | ||
Comment 4•10 years ago
|
||
Please see https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Source_Code/Mercurial I'll be away for the rest of the weekend, will be back on Monday!
Comment 5•10 years ago
|
||
:dao : Can I start working by cloning only the last 100 revs? `hg clone --rev 100 https://hg.mozilla.org/mozilla-central firefox` I'm having a hard time cloning everything! :/ (Blame my internet connection and frequent power outages)
Reporter | ||
Comment 6•10 years ago
|
||
(In reply to nootan.ghimire from comment #5) > :dao : Can I start working by cloning only the last 100 revs? `hg clone > --rev 100 https://hg.mozilla.org/mozilla-central firefox` > > I'm having a hard time cloning everything! :/ (Blame my internet connection > and frequent power outages) You can use a bundle instead of hg clone: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Source_Code/Mercurial/Bundles
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → ganesh.arkalgud
Comment 7•10 years ago
|
||
We are having a code sprint event to get new contributors started and I would like to assign this bug to Rahul who is willing to work on this at the event. Sorry to hijack the bug from you nootan.
Assignee: ganesh.arkalgud → rahul2308
Flags: needinfo?(rahul2308)
Assignee | ||
Comment 8•10 years ago
|
||
Removed the extra classes
Attachment #8485437 -
Flags: review?(dao)
Flags: needinfo?(rahul2308)
Comment 9•10 years ago
|
||
Comment on attachment 8485437 [details] [diff] [review] patch.v1 (This is just a drive-by comment and I'm not a reviewer) -.menulist-menupopup > menuitem, -menulist > menupopup > menuitem, -.menulist-menupopup > menu, -menulist > menupopup > menu It looks like you remove too much here :-) You only want to remove the ".menulist-menupopup" (happens at several places). -menulist:focus:not([open="true"]):not(.menulist-compact) > .menulist-label-box { - background-color: Highlight; - color: HighlightText; -} When the menulist is focused (but not opened),you still want the .menulist-label-box to be highlighted, but the ":not(.menulist-compact)" part can of course be removed (happens in at least 2 places).
Assignee | ||
Comment 10•10 years ago
|
||
How about now?
Attachment #8485437 -
Attachment is obsolete: true
Attachment #8485437 -
Flags: review?(dao)
Comment 11•10 years ago
|
||
(In reply to Rahul Jain from comment #10) > Created attachment 8485466 [details] [diff] [review] > patch.v2 > > How about now? Yep, much better :-)
Comment 12•10 years ago
|
||
Comment on attachment 8485466 [details] [diff] [review] patch.v2 Review of attachment 8485466 [details] [diff] [review]: ----------------------------------------------------------------- Looks pretty good. Good work Rahul. Waiting for someone else to review this :)
Attachment #8485466 -
Flags: review?(dao)
Attachment #8485466 -
Flags: a11y-review+
Reporter | ||
Comment 13•10 years ago
|
||
Comment on attachment 8485466 [details] [diff] [review] patch.v2 Please remove the /* ::::: compact menulists ::::: */ comment (appears four times in this patch). Looks good otherwise, thanks!
Attachment #8485466 -
Flags: review?(dao) → review+
Assignee | ||
Comment 14•10 years ago
|
||
Does this look good now ?
Attachment #8485466 -
Attachment is obsolete: true
Attachment #8487426 -
Flags: review?(dao)
Attachment #8487426 -
Flags: a11y-review?(sudheesh1995)
Reporter | ||
Comment 15•10 years ago
|
||
Comment on attachment 8487426 [details] [diff] [review] Patch_1030644_v3.patch perfect, thanks
Attachment #8487426 -
Flags: review?(dao)
Attachment #8487426 -
Flags: review+
Attachment #8487426 -
Flags: a11y-review?(sudheesh1995)
Reporter | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 16•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/bc10a5de560c
Flags: in-testsuite-
Keywords: checkin-needed
Whiteboard: [good first bug][lang=css] → [good first bug][lang=css][fixed-in-fx-team]
Comment 17•10 years ago
|
||
(In reply to Dão Gottwald from comment #0) > We have a bunch of CSS for "menulist-menupopup" and "menulist-compact" that > are neither used on mozilla-central nor documented on developer.mozilla.org. > Seems like we should get rid of this. On the other hand they *are* used extensively in Thunderbird and SeaMonkey Mail... perhaps we should get comm-central merged into mozilla-central, then people would be able spot things like this...
Comment 18•10 years ago
|
||
I really hate to be the bearer of bad news here, but this bug should not have been initiated in the first place without considering the impact on comm-central. If there is some reason why this change is really important to the Firefox world, therefore justifying having our tiny team of Thunderbird and Seamonkey developers try to develop workarounds, then I suppose we can do that. But so far the justification for this bug "neither used on mozilla-central nor documented on developer.mozilla.org" does not seem to justify those workarounds. Could you please back this bug out? I'm really sorry Raul that you got caught up in this. You did a great job here, it is we who have failed, not you.
Updated•10 years ago
|
User Story: (updated)
Whiteboard: [good first bug][lang=css][fixed-in-fx-team] → [not][good first bug][lang=css][fixed-in-fx-team]
Reporter | ||
Comment 19•10 years ago
|
||
I think you'll need to implement this on comm-central, as dead and undocumented code just isn't going to be maintained on mozilla-central and would just rot over time.
User Story: (updated)
Whiteboard: [not][good first bug][lang=css][fixed-in-fx-team] → [good first bug][lang=css][fixed-in-fx-team]
Comment 20•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bc10a5de560c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][lang=css][fixed-in-fx-team] → [good first bug][lang=css]
Target Milestone: --- → mozilla35
Comment 21•10 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #19) > I think you'll need to implement this on comm-central, as dead and > undocumented code just isn't going to be maintained on mozilla-central and > would just rot over time. At the very least, when there's a bug on file to remove dead code, could everyone try to remember to check if comm-central uses it and give people a heads up if so? It's no fun having to react to bustage after the fact just because someone forgot you existed.
You need to log in
before you can comment on or make changes to this bug.
Description
•