Skip to content
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

Breaking: Make content-type rule use proper fonts types #425

Closed
wants to merge 1 commit into from
Closed

Breaking: Make content-type rule use proper fonts types #425

wants to merge 1 commit into from

Conversation

alrra
Copy link
Contributor

@alrra alrra commented Aug 15, 2017

The content-type rule uses mime-db which currently doesn't contain the standard font media types.

This commit fixes that by introducing code that overwrites the non-standard font media types with the standard ones.

The `content-type` rule uses `mime-db` which currently doesn't¹
contain the standard² font media types.

This commit fixes that by introducing code that overwrites the
non-standard font media types with the standard ones.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

¹ jshttp/mime-db#77
² https://www.iana.org/assignments/media-types/media-types.xhtml#font
Copy link
Member

@molant molant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't we had a way to exclude connectors from tests? If so maybe we could split this teat into its own separate file so at least CDP passes it.
Is there an issue on jsdom to download fonts?

@alrra
Copy link
Contributor Author

alrra commented Aug 15, 2017

Is there an issue on jsdom to download fonts?

@molant See #71 (comment).

Didn't we had a way to exclude connectors from tests?

Note yet, see #250 (we can only ignore connectors as a whole).

@alrra alrra closed this in e35b778 Aug 15, 2017
@alrra alrra deleted the content-type-fonts branch August 15, 2017 08:51
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