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

-ms- vendor prefixes not always removed #1461

Open
sam-ac-dixon opened this issue May 18, 2022 · 1 comment
Open

-ms- vendor prefixes not always removed #1461

sam-ac-dixon opened this issue May 18, 2022 · 1 comment

Comments

@sam-ac-dixon
Copy link

sam-ac-dixon commented May 18, 2022

If you are using an empty browserlist (or >100%) to remove existing vendor prefixes the -ms- prefix is not always removed.

The output is as expected given the following CSS:

.example {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

which produces:

.example {
    display: flex;
}

But let's modify the input display property from flex -> none:

.example {
    display: -webkit-box;
    display: -ms-flexbox;
    display: none;
}

The -ms prefix is not removed from the output as you'd expect:

.example {
    display: -ms-flexbox;
    display: none;
}

The expected output is:

.example {
    display: none;
}
@ai
Copy link
Member

ai commented May 18, 2022

Removing is not our core feature. If you send a PR, I will help you and release it. But I will not have my own time for this bug.

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