Skip to content

Make deprecated media types an error (not warning) #239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2020

Conversation

sideshowbarker
Copy link
Member

@sideshowbarker sideshowbarker commented May 30, 2019

When the CSS3 profile is selected, this change makes the CSS checker report an error if any deprecated media types are used — per the normative requirements in the current Media Queries spec:

https://www.w3.org/TR/2017/CR-mediaqueries-4-20170905/#media-types

...the following deprecated media types are defined. Authors must not
use these media types: tty, tv, projection, handheld, braille, embossed, aural

Otherwise, without this change, only a warning (rather than an error) is reported.

When the CSS3 profile is selected, this change makes the CSS checker
report an error if any deprecated media types are used — per the
normative requirements in the current Media Queries spec:

https://www.w3.org/TR/2017/CR-mediaqueries-4-20170905/#media-types

> ...the following deprecated media types are defined. Authors must not use
these media types: tty, tv, projection, handheld, braille, embossed, aural

Otherwise, without this change, only a warning (rather than an error) is
reported.
@sideshowbarker sideshowbarker force-pushed the sideshowbarker/deprecated-media-types-error branch from addb3f8 to 7bedb25 Compare May 31, 2019 07:40
@ylafon ylafon merged commit b4a9088 into master Feb 4, 2020
@sideshowbarker sideshowbarker deleted the sideshowbarker/deprecated-media-types-error branch February 6, 2020 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants