Skip to content

[mediaqueries-5] Handling of redefinitions of custom media queries #1502

@cvrebert

Description

@cvrebert

Spec: https://drafts.csswg.org/mediaqueries-5/#custom-mq

The spec doesn't seem to address how multiple definitions of a given custom media query should be handled.

Example:

@custom-media --my-mq (min-width: 1em);
@custom-media --my-mq (min-width: 1000em);

@media (--my-mq) {
  /* do styles in here apply at 1em, or at 1000em ? */
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions