Closed
Bug 988674
Opened 11 years ago
Closed 9 years ago
Get rid of data URIs for loading spinners in our CSS
Categories
(Marketplace Graveyard :: Consumer Pages, enhancement, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: cvan, Unassigned)
References
()
Details
(Keywords: perf, uiwanted, Whiteboard: [marketplace-transition])
(1) We have way too many data URIs for throbbers. Why do we not have just one?
(2) Let's not use data URIs and instead just use CSS for the throbbers if we can.
Reporter | ||
Updated•11 years ago
|
Summary: Use data URIs for all spinners → Get rid of data URIs for loading spinners in our CSS
Updated•11 years ago
|
Priority: -- → P2
Updated•11 years ago
|
Blocks: tarako-marketplace
Updated•11 years ago
|
No longer blocks: tarako-marketplace
Updated•10 years ago
|
Blocks: marketplace-perf
Comment 1•10 years ago
|
||
We'd gain 4 kilobytes (after gzip) in include.css by removing the data URIs spinners from lib.styl (*). Since include.css is 26K gzipped, that'd be a pretty good improvement.
(*) The added code for CSS animations would be negligible, since it would compress way better.
Updated•10 years ago
|
Assignee: nobody → mpillard
Reporter | ||
Comment 2•10 years ago
|
||
Awesome. Just to make sure, let's keep the data URI for the Marketplace logo in `splash.styl` though.
Comment 3•10 years ago
|
||
So, the key is to find a nice animation that:
- Looks good
- Doesn't use images
- Doesn't do too much painting (see also bug 1091654 - activate paint highlighting in devtools when developing)
I think the best bet is to make a CSS animation rotating an element with some border-radius with different colors and maybe different widths.
I've done some ground work for this in https://github.com/diox/fireplace/tree/improve-spinner-animations but I don't think I'm not the right person to fix this, it requires a better eye for design than I do :) Leaving this to somebody else.
Assignee: mpillard → nobody
Updated•10 years ago
|
Severity: normal → enhancement
Priority: P2 → P5
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Whiteboard: [marketplace-transition]
You need to log in
before you can comment on or make changes to this bug.
Description
•