Page MenuHomePhabricator

CSSJanus doesn't flip shorthand definitions containing var
Open, MediumPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

Put

a {
  padding: 1 2 3 4;
  padding: 1 var(--a) 3 4;
}

in https://doc.wikimedia.org/cssjanus/master/

What happens?:

a {
  padding: 1 4 3 2;
  padding: 1 var(--a) 3 4;
}

What should have happened instead?:

a {
  padding: 1 4 3 2;
  padding: 1 4 3 var(--a);
}