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

Unstable Sort order breaks font-Family #623

Open
ChristianLuxem opened this issue Oct 22, 2019 · 0 comments
Open

Unstable Sort order breaks font-Family #623

ChristianLuxem opened this issue Oct 22, 2019 · 0 comments

Comments

@ChristianLuxem
Copy link

Hello,
i want to support also Internet Explorer and therefore i have to do the following things for Fonts:

@font-face {
	font-family: "test";
	src: url("#test.eot");
	src: url("test.eot?#iefix") format("embedded-opentype"),
	url("test.woff") format("woff"),
	url("test.ttf") format("truetype"),
	url("test.otf") format("opentype"),
	url("test.svg") format("svg");
}

What CSSComb does, is the following:
It will do an unstable sort algorithm and therefore the first "src" will sometimes be under the other things. That is bad, because of that the Font will not work properly in Chrome.

How can i fix that?

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

No branches or pull requests

1 participant