glamor icon indicating copy to clipboard operation
glamor copied to clipboard

Autoprefixed rules with mixed prefixes

Open kryops opened this issue 8 years ago • 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

kryops avatar Aug 02 '17 04:08 kryops

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

kryops avatar Aug 02 '17 10:08 kryops

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

threepointone avatar Aug 02 '17 10:08 threepointone