Closed Bug 1754266 Opened 4 years ago Closed 4 years ago

Eliminate preprocessor %includes from toolkit tree stylesheets

Categories

(Toolkit :: Themes, task)

task
Points:
1

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: sfoster, Assigned: sfoster)

References

Details

Attachments

(2 files)

Replace the %includes with either @import or by inlining the included stylesheet. See bug 1659584 for details. This bug should cover:

  • toolkit/themes/{platform}/global/tree.css
    • toolkit/themes/shared/tree.inc.css
Assignee: nobody → sfoster
Status: NEW → ASSIGNED
  • Move the {platform}/gloal/tree.css contents into @media blocks in a shared/tree.css
  • Move %ifdef XP_Win into the window @media block
  • Adjust manifests to map chrome://browser/skin/tree.css to the shared/tree.css
Attachment #9265071 - Attachment description: WIP: Bug 1754266 - Fold platform-specific rules into a shared/tree.css. r?dao! → Bug 1754266 - Fold platform-specific rules into a shared/tree.css. r?dao!
Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/32895e903508 Fold platform-specific rules into a shared/tree.css. r=desktop-theme-reviewers,dao

Backed out for causing mochitest failures on browser_parsable_css.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: PROCESS-CRASH | browser/base/content/test/static/browser_parsable_css.js | application crashed [@ CheckForBrokenChromeURL(nsILoadInfo*, nsIURI*)]
Flags: needinfo?(sfoster)

This should sidestep the failure that got you backed out, though
untested :)

Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ab11d81ed132 Teach browser_parsable_css.js about platform-specific queries. r=sfoster https://hg.mozilla.org/integration/autoland/rev/bd62a132a687 Fold platform-specific rules into a shared/tree.css. r=desktop-theme-reviewers,dao
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
Flags: needinfo?(sfoster)
Regressions: 1758079
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: