Closed Bug 1294136 Opened 8 years ago Closed 8 years ago

Don't use !important for -moz-appearance on toolbarseparator and menuseparator

Categories

(Toolkit :: Themes, defect, P3)

Unspecified
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: Paolo, Assigned: dao)

References

Details

Attachments

(1 file)

The "!important" on the "-moz-appearance" property for the "toolbarseparator" rule in "toolbar.css" for Linux might not be actually required.

Removing this would also allow the "!important" to be removed from rules overriding the platform one.
This was added in bug 406075 for no particular reason.
Blocks: 406075
OS: Unspecified → Linux
Summary: Remove "!important" for "-moz-appearance" for "toolbarseparator" in "toolbar.css" on Linux → Don't use !important for -moz-appearance on toolbarseparator
Summary: Don't use !important for -moz-appearance on toolbarseparator → Don't use !important for -moz-appearance on toolbarseparator and menuseparator
Blocks: 406676
Attached patch patchSplinter Review
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Attachment #8779983 - Flags: review?(paolo.mozmail)
Priority: -- → P3
Comment on attachment 8779983 [details] [diff] [review]
patch

Review of attachment 8779983 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/themes/linux/customizableui/panelUI.css
@@ +102,1 @@
>  }

Probably this whole block can just be removed, since we have "-moz-appearance: none;" in the shared CSS already.
Attachment #8779983 - Flags: review?(paolo.mozmail) → review+
Comment on attachment 8779983 [details] [diff] [review]
patch

> .PanelUI-subView toolbarseparator,
> .PanelUI-subView menuseparator,
> .cui-widget-panelview menuseparator,
> #PanelUI-footer-inner > toolbarseparator,
> #PanelUI-footer-fxa > toolbarseparator {
>-  -moz-appearance: none !important;
>+  -moz-appearance: none;
> }

...this being the block in question. I've no idea how Splinter chooses how many lines of context to show :-)
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/74a3b1f0a148
Don't use !important for -moz-appearance on toolbarseparator and menuseparator. r=paolo
https://hg.mozilla.org/mozilla-central/rev/74a3b1f0a148
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: