gss / engine

GSS engine
http://gss.github.io
MIT License
2.87k stars 103 forks source link

Auto vendor prefix #21

Open d4tocchini opened 10 years ago

d4tocchini commented 10 years ago

It's best to minimize how hard the solver is pushed, so:

.post {
      -webkit-column-gap: == [baseline];
         -moz-column-gap: == [baseline];
              column-gap: == [baseline];
    } 

creates 2 unused constraints & 2 unused constraint variables. No good.

Definitely better to:

.post {
      column-gap: == [baseline];
    } 

and have GSS auto prefix during the display pass, after cassowary has solved.

bergie commented 10 years ago

We could maybe use https://github.com/ai/autoprefixer for this

albell commented 10 years ago

Yes, autoprefixer is the way to go. It's robust, and well-maintained.

dlee commented 9 years ago

It seems like this might be coming in v2.1: https://github.com/gss/engine/commit/58dc0e2ef46e0ae1b12225b5ac0ae4209aeee17a