threepointone/glamor

Autoprefixed rules with mixed prefixes

Opened this issue · 2 comments

When I write a rule that contains multiple autoprefixed parts, some of the rules that are created contain mixed prefixes:

glamor.css({
    flexBasis: 'calc(100% - 10px)'
})

also creates this rule among all the others:

-webkit-flex-basis: -moz-calc(100% - 10px);

Would be great if the prefixer could filter out rules that contain mixed prefixes

I should have tried with the newest version of glamor 😳
It does not seem to auto-prefix calc any longer. Not sure if this issue is still relevant then...

I'll leave this open and investigate on the weekend if there are any other combinations that could trigger it