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

@font-face fails to format correctly. #36

Open
tomgenoni opened this issue Mar 4, 2014 · 1 comment
Open

@font-face fails to format correctly. #36

tomgenoni opened this issue Mar 4, 2014 · 1 comment

Comments

@tomgenoni
Copy link

Given the string b{font-family:"a";src:url("b";)}@font-face{font-family:"a";src:url("b";)}

Expected output is:

b {
    font-family: "a";
    src: url("b";);
}

@font-face {
    font-family:"a";
    src:url("b");
}

Actual output:

b {
    font-family: "a";
    src: url("b";);
}

@font-face {
    font-family:"a";src:url("b");
}

The src property should wrap. Oddly it does work if @font-face is first.

@Telematica
Copy link

Let's take a look at the code to see what's happening here, 'cause I'm getting that odd output too...

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

2 participants