Closed jingruoyu closed 4 years ago
Ah, I'll have to try this out. Thanks!
I couldn't replicate the issue with a test:
it("should be able to handle shorthand`", function() {
var options = {
propList: ["font"]
};
var rules = ".rule { font: 24px/40px a }";
var expected = ".rule { font: 1.5rem/2.5rem a }";
var processed = postcss(pxtorem(options)).process(rules).css;
expect(processed).toBe(expected);
});
That passed. If it continue to occur can you provide another example?
for example