Closed Bug 1370503 Opened 7 years ago Closed 7 years ago

Remove leftover .toolbarbutton-1 > .toolbarbutton-menu-dropmarker styling

Categories

(Firefox :: Theme, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 55
Iteration:
55.7 - Jun 12
Tracking Status
firefox55 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

(Whiteboard: [photon-visual][p3])

Attachments

(1 file)

Since we hide the dropmarker arrow, there's no point styling it in the first place.
Flags: qe-verify-
Attachment #8874802 - Flags: review?(jhofmann)
Iteration: --- → 55.7 - Jun 12
Comment on attachment 8874802 [details]
Bug 1370503 - Remove leftover .toolbarbutton-1 > .toolbarbutton-menu-dropmarker styling.

https://reviewboard.mozilla.org/r/146186/#review150184

::: browser/themes/shared/toolbarbuttons.inc.css:209
(Diff revision 1)
>  
>  #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
>    border-inline-end-style: none;
>  }
>  
> +.bookmark-item > .toolbarbutton-menu-dropmarker,

If you made this rule apply to the entire PlacesToolbar you could remove these as well:

https://searchfox.org/mozilla-central/rev/d441cb24482c2e5448accaf07379445059937080/browser/base/content/browser.css#143
https://searchfox.org/mozilla-central/rev/d441cb24482c2e5448accaf07379445059937080/browser/themes/osx/browser.css#1782 (exists on all platforms)
Comment on attachment 8874802 [details]
Bug 1370503 - Remove leftover .toolbarbutton-1 > .toolbarbutton-menu-dropmarker styling.

https://reviewboard.mozilla.org/r/146186/#review150184

> If you made this rule apply to the entire PlacesToolbar you could remove these as well:
> 
> https://searchfox.org/mozilla-central/rev/d441cb24482c2e5448accaf07379445059937080/browser/base/content/browser.css#143
> https://searchfox.org/mozilla-central/rev/d441cb24482c2e5448accaf07379445059937080/browser/themes/osx/browser.css#1782 (exists on all platforms)

Actually I guess that only applies to the #new-tab-button, since that is the only one that can be moved into the bookmarks toolbar. The other rules can probably be removed anyway.
(In reply to Johann Hofmann [:johannh] from comment #2)
> Comment on attachment 8874802 [details]
> Bug 1370503 - Remove leftover .toolbarbutton-1 >
> .toolbarbutton-menu-dropmarker styling.
> 
> https://reviewboard.mozilla.org/r/146186/#review150184
> 
> ::: browser/themes/shared/toolbarbuttons.inc.css:209
> (Diff revision 1)
> >  
> >  #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
> >    border-inline-end-style: none;
> >  }
> >  
> > +.bookmark-item > .toolbarbutton-menu-dropmarker,
> 
> If you made this rule apply to the entire PlacesToolbar you could remove
> these as well:
> 
> https://searchfox.org/mozilla-central/rev/
> d441cb24482c2e5448accaf07379445059937080/browser/base/content/browser.css#143
> https://searchfox.org/mozilla-central/rev/
> d441cb24482c2e5448accaf07379445059937080/browser/themes/osx/browser.css#1782
> (exists on all platforms)

Nope, toolbarbuttons.inc.css doesn't currently care about toolbarbutton-1 buttons moved to PlacesToolbar, and it shouldn't inconsistently start here.
Comment on attachment 8874802 [details]
Bug 1370503 - Remove leftover .toolbarbutton-1 > .toolbarbutton-menu-dropmarker styling.

https://reviewboard.mozilla.org/r/146186/#review150398

Ok, but comment 3 still applies, right? You can remove the linked rules that are not about #new-tab-button. In any case, that's just a nit. The rest looks good.
Attachment #8874802 - Flags: review?(jhofmann) → review+
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/be624d4f3f13
Remove leftover .toolbarbutton-1 > .toolbarbutton-menu-dropmarker styling. r=johannh
https://hg.mozilla.org/mozilla-central/rev/be624d4f3f13
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: