Skip to content

@media "scan" feature - missing #21990

@estelle

Description

@estelle

What type of issue is this?

Missing compatibility data

What information was incorrect, unhelpful, or incomplete?

https://drafts.csswg.org/mediaqueries/#scan is missing from https://github.com/mdn/browser-compat-data/blob/main/css/at-rules/media.json

The media feature is present in mediaqueries levels 3, 4 and 5.

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

This feature listed in bcd.

Did you test this? If so, how?

HTML

<p>This is a test.</p>

CSS

p {
  padding: 10px;
  border: solid;
}

@media (scan: interlace) {
  p {
    background: #f4ae8a;
  }
}
@media (scan: progressive) {
  p {
    text-decoration: underline;
  }
}
@media not (scan: progressive) {
  p {
    border-style: dashed;
  }
}
@media not (scan: interlaced) {
  p {
    color: purple;
  }
}

Safari and FF dash the border on a modern laptop (MBP). Chrome and edge do nothing. I would have assumed the text would be underlined and purple, but that was not the case.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

No response

MDN metadata

No response

Metadata

Metadata

Assignees

Labels

data:cssCompat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions