Skip to content

Block comment on previous line copied #201

@BBosman

Description

@BBosman

If I run autoprefixer on the following code:

.test {
    outline: 0; /* Random comment */
    box-shadow: 0 0 8px rgba(82,168,236,.6);
}

It is converted to:

.test {
    outline: 0; /* Random comment */
    -webkit-box-shadow: 0 0 8px rgba(82,168,236,.6); /* Random comment */
    box-shadow: 0 0 8px rgba(82,168,236,.6);
}

The comment from the preceding line is copied to the prefixed lines.

This happens with the default settings.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions