Closed Bug 1753765 Opened 2 years ago Closed 2 years ago

Eliminate preprocessor %includes from Customizeable PanelUI stylesheets

Categories

(Firefox :: Theme, task)

task
Points:
1

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: sfoster, Assigned: bigiri)

References

Details

(Whiteboard: [fidefe-2022-mr1-css-linting])

Attachments

(1 file)

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

  • browser/themes/{platform}/customizableui/panelUI.css
    • browser/themes/shared/customizableui/panelUI.inc.css
Whiteboard: [fidefe-2022-mr1-css-linting]
Assignee: nobody → bigiri
Status: NEW → ASSIGNED
  • Replaced preprocessor includes with CSS imports
  • Removed .inc from CSS files names where all preprocessor code was removed.
Pushed by bigiri@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c83c8662c973
Remove preprocessor includes from Customizeable PanelUI r=dao

Backed out changeset c83c8662c973 (Bug 1753765) for causing bc failures on browser_parsable_css.js.
Backout link
Push with failures
Failure Log

Flags: needinfo?(bigiri)

(In reply to Marian-Vasile Laza from comment #3)

Backed out changeset c83c8662c973 (Bug 1753765) for causing bc failures on browser_parsable_css.js.
Backout link
Push with failures
Failure Log

This is flagging up conditionals in panelUI.inc.css. You could either fix that here or just add a * to the jar.mn entry for the panelUI.inc.css file in the shared jar.mn, so that it gets preprocessed and the conditions in there continue to work.

The updated patch including @Gijs' suggestion should resolve this error.

Flags: needinfo?(bigiri)
Pushed by bigiri@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a6d7a4d3a374
Remove preprocessor includes from Customizeable PanelUI r=dao
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: