Closed
Bug 938754
Opened 12 years ago
Closed 12 years ago
Move opacity from Aero Glass Fog into alpha channel of TabsToolbar::before box-shadow colour
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: mconley, Assigned: mconley)
References
Details
(Keywords: perf, Whiteboard: [Australis:P2][Australis:M9])
Attachments
(1 file)
|
818 bytes,
patch
|
Gijs
:
review+
MattN
:
review+
|
Details | Diff | Splinter Review |
On Windows 7, we display a fog behind the tabstrip to make it easier to read the tab labels over the glass. That fog is actually a box-shadow with blur, and is semi-opaque to give it a foggy effect. Think frosted-glass.
According to mattwoodrow, putting the opacity directly on the element (the TabsToolbar::before pseudoelement to be exact), results in us taking a slow-path in layout land. It's much faster if we move the opacity value into the alpha channel of the colour we set the box-shadow.
This should result in a super-easy win for TART, according to mattwoodrow.
| Assignee | ||
Comment 1•12 years ago
|
||
Here we go. Try and compare-talos links coming up.
| Assignee | ||
Comment 2•12 years ago
|
||
Both of these builds have bug 934860 backed out.
UX baseline: https://tbpl.mozilla.org/?tree=Try&rev=fd7407dccf60
UX + patch: https://tbpl.mozilla.org/?tree=Try&rev=76a5ab575769
compare-talos: http://compare-talos.mattn.ca/?oldRevs=fd7407dccf60&newRev=76a5ab575769&server=graphs.mozilla.org&submit=true
| Assignee | ||
Comment 3•12 years ago
|
||
Comment on attachment 832526 [details] [diff] [review]
Patch v1
This is a pretty clear win.
Attachment #832526 -
Flags: review?(MattN+bmo)
Comment 4•12 years ago
|
||
Comment on attachment 832526 [details] [diff] [review]
Patch v1
Review of attachment 832526 [details] [diff] [review]:
-----------------------------------------------------------------
Stealing this review. Ship it!
Attachment #832526 -
Flags: review?(MattN+bmo) → review+
Updated•12 years ago
|
Attachment #832526 -
Flags: review+
| Assignee | ||
Comment 5•12 years ago
|
||
Landed in UX as https://hg.mozilla.org/projects/ux/rev/8b514254b168
Status: NEW → ASSIGNED
Whiteboard: [Australis:P2][Australis:M?] → [Australis:P2][Australis:M9][fixed-in-ux]
Comment 6•12 years ago
|
||
As discussed with Mike on irc, there's still somewhere else in the UI that is doing this, though it gets invalidated much less often.
I filed bug 939607 for handling this efficiently within layout.
Comment 7•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P2][Australis:M9][fixed-in-ux] → [Australis:P2][Australis:M9]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•