Closed kristerkari closed 8 years ago
The previous math formatting fixes broke formatting some properties that were not included in tests.
So this CSS:
.class { margin: 0 20px 0 -24px; background-position:20% -26px; transform-style: preserve-3d; }
formats before these fixes to:
.class { margin: 0 20px 0 - 24px; background-position: 20% - 26px; transform-style: preserve - 3d; }
and after these fixes:
.class { margin: 0 20px 0 -24px; background-position: 20% -26px; transform-style: preserve-3d; }
I also fixed a bug where / formatting was applied to font shorthand property, breaking the font-size/line-height syntax.
/
font
font-size/line-height
so this property:
.class { font: normal normal normal 12px/20px myfont; }
was formatted to:
.class { font: normal normal normal 12px / 20px myfont; }
Changes:
I'm running stylefmt 6.0.0, and I an facing an issue which I think should've been fixed by this?
hover-spaced-6-8-light changes to hover-spaced-6 - 8-light
hover-spaced-6-8-light
hover-spaced-6 - 8-light
before:
after:
edit: #195 is related
The previous math formatting fixes broke formatting some properties that were not included in tests.
So this CSS:
formats before these fixes to:
and after these fixes:
I also fixed a bug where
/
formatting was applied tofont
shorthand property, breaking thefont-size/line-height
syntax.so this property:
was formatted to:
Changes: