Closed Bug 1884792 Opened 8 months ago Closed 8 months ago

Remove chrome-only :-moz-lwtheme pseudo-class

Categories

(Core :: CSS Parsing and Computation, task, P3)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

We don't have that many usages of it (link), and main idea is that it doesn't change frequently, so it'd be cheaper.

It'd also potentially allow us to expose more information about it to pages that aren't themed themselves.

Type: defect → task
Flags: needinfo?(emilio)

I had this pretty much written, but then again, thinking more about it,
why not just kill it?

Behavior is effectively :root[lwtheme="true"]. Use the attribute
selector instead.

Flags: needinfo?(emilio)

FYI, I think we should wait until after the soft-freeze to land this. TB has a few more than Firefox, but they can be removed the same way.

comment 3 was meant to ni? y'all

Flags: needinfo?(richard.marti)
Flags: needinfo?(mkmelin+mozilla)

Landing after the soft-freeze would be great. Then I can look into it during the next weekend.

Flags: needinfo?(richard.marti)

Cool, will do.

See Also: → 1884997

Thanks, filed bug 1884997.

Flags: needinfo?(mkmelin+mozilla)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bc58cf6254d6 Remove chrome-only :-moz-lwtheme pseudo-class. r=desktop-theme-reviewers,dao
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/a95f77e09675 Push a typo fix that had been lost during rebase.
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Summary: Consider making -moz-lwtheme a media query. → Remove chrome-only :-moz-lwtheme pseudo-class
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: