Closed Bug 1162312 Opened 10 years ago Closed 10 years ago

Loop button CSS might be inefficient

Categories

(Hello (Loop) :: Client, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1029937

People

(Reporter: neil, Unassigned)

Details

There are a lot of CSS rules of the form ... #loop-button... > .toolbarbutton-badge-container where the applied style is intended to cascade down to the toolbarbutton-icon. This can be simplified by applying the icon style to the #loop-button itself, as is done for all the other buttons in Firefox's UI. It will also make the CSS slightly more efficient, partly because the ID selector will be on the tip of the rule, but also because it makes it easier for layout to determine whether (say) hover effects apply to a given button.
Looks like you fixed this in bug 1029937. Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.