Open Bug 2005188 (dt-@custom-media) Opened 10 months ago Updated 12 days ago

[META] Add support for @custom-media in DevTools

Categories

(DevTools :: Inspector: Rules, task)

task

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

(Depends on 5 open bugs)

Details

(Keywords: meta)

From https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@custom-media

The @custom-media CSS at-rule defines aliases for long or complex media queries. Instead of repeating the same hardcoded <media-query-list> in multiple @media at-rules, it can be defined once in a @custom-media at-rule and referenced throughout the stylesheet whenever needed.

At the moment, the feature is behind the layout.css.custom-media.enabled pref

Depends on: 2005189
Depends on: 2005195
Alias: dt-@custom-media
Depends on: 2005199
Depends on: 2005197
Depends on: 2005198
Depends on: 2006375
Depends on: 2006379

The Bugbug bot thinks this bug should belong to the 'DevTools::Inspector: Rules' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Inspector: Rules
You need to log in before you can comment on or make changes to this bug.