Closed
Bug 924181
Opened 12 years ago
Closed 11 years ago
Don't draw the toolbar background for navigator-toolbox if drawing tabs in titlebar
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: mconley, Assigned: mconley)
References
Details
(Keywords: perf, Whiteboard: [Australis:P1][Australis:M9])
Attachments
(1 file, 1 obsolete file)
|
1.00 KB,
patch
|
mconley
:
review+
|
Details | Diff | Splinter Review |
There's a moz-appearance: toolbar rule on the navigator-toolbox (on the ::before pseudoelement) that was used to draw the gradient behind the tabstrip.
With Australis, this gradient is superfluous if the tabs are in the titlebar, since the titlebar's -moz-appearance: -moz-window-titlebar becomes the "background" of the tabstrip.
The only case where this moz-appearance: toolbar might be useful is if the tabs are not being drawn in the titlebar.
| Assignee | ||
Comment 1•12 years ago
|
||
Only apply the gradient if we're not drawing the tabs in the titlebar.
Gijs, are you comfortable reviewing this?
Attachment #814185 -
Flags: review?(gijskruitbosch+bugs)
Comment 2•12 years ago
|
||
Comment on attachment 814185 [details] [diff] [review]
Patch v1
Can we save ourselves some typing/understanding with:
:not(:-moz-any([privatebrowsingmode=temporary],[customizing],[customize-exiting],[tabsintitlebar]))
or does life not work that way (for either perf or CSS syntactical reasons)?
Either way, r=me.
Attachment #814185 -
Flags: review?(gijskruitbosch+bugs) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
Oh, yes, I think I like that much better. Testing indicates that this works. :) Thanks Gijs.
| Assignee | ||
Comment 4•12 years ago
|
||
Thanks Gijs!
Landed on UX as https://hg.mozilla.org/projects/ux/rev/086d470fb5f4
Attachment #814185 -
Attachment is obsolete: true
Attachment #814195 -
Flags: review+
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [Australis:P1][Australis:M9][fixed-in-ux]
| Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P1][Australis:M9][fixed-in-ux] → [Australis:P1][Australis:M9]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•