Closed
Bug 1067281
Opened 12 years ago
Closed 12 years ago
Remove duplicate CSS files from bedrock pages
Categories
(www.mozilla.org :: Pages & Content, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: agibson, Assigned: agibson)
Details
(Whiteboard: [kb=1507048])
Attachments
(1 external file)
Further to Bug 1066661, I believe there are more pages on Mozilla.org that are loading unnecessary CSS files with duplicated selectors. This is likely a side effect of changes to the base template, where we created the `page_css` block to allow us to provide a universal stylesheet for IE 6 & 7.
I'm going to scan through the bedrock templates and update any pages that need fixing. We can shave off roughly 61kb of CSS on each page effected by this.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → agibson
Status: NEW → ASSIGNED
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [kb=1507048]
| Assignee | ||
Comment 1•12 years ago
|
||
I've scanned through bedrock and the pages effected are as follows:
https://www.mozilla.org/mission/
https://www.mozilla.org/about/powered-by/
https://www.mozilla.org/firefox/channel/
https://www.mozilla.org/firefox/os/devices/
https://www.mozilla.org/about/manifesto/
https://www.mozilla.org/plugincheck/
https://www.mozilla.org/privacy/ (and sub-pages)
| Assignee | ||
Comment 2•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Summary: Audit bedrock pages that are loading duplicate CSS files. → Remove duplicate CSS files from bedrock pages
Comment 3•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/bedrock
https://github.com/mozilla/bedrock/commit/340f63a50bf9eafee46c1ed7bc7246045f84c7e4
[fix bug 1067281] Remove duplicate CSS files from bedrock pages
- /mission/
- /about/powered-by/
- /firefox/channel/
- /firefox/os/devices/
- /about/manifesto/
- /plugincheck/
- /privacy/ base template
- tabzilla.less imported lib.less twice
https://github.com/mozilla/bedrock/commit/424d8d54a984bc5cd1a541a02e326afe43f20ab7
Merge pull request #2278 from alexgibson/bug-1067281-remove-duplicate-css-files-templates
[fix bug 1067281] Remove duplicate CSS files from bedrock pages
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•