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)

Production
x86
macOS
defect
Not set
normal

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: nobody → agibson
Status: NEW → ASSIGNED
Whiteboard: [kb=1507048]
Attached file GitHub pull request —
Summary: Audit bedrock pages that are loading duplicate CSS files. → Remove duplicate CSS files from bedrock pages
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
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.

Attachment

General

Created:
Updated:
Size: