Skip to content

@font-face fails to format correctly. #36

@tomgenoni

Description

@tomgenoni

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions