gss / parser

Constraint Cascading Style Sheets compiler
MIT License
48 stars 6 forks source link

Latest parser doesnt expand 2d property after some constraints in rule #30

Closed Inviz closed 9 years ago

Inviz commented 9 years ago

  .media {
    width: == &[height] * (1035 / 646) !require;
    border-top-width: == (&[height] / 100) * 7.430340557275541;
    border-right-width: == (&[width] / 100) * 17.101449275362317;
    border-bottom-width: == (&[height] / 100) * 36.9969040247678;
    border-left-width: == (&[width] / 100) * 17.584541062801932;

    (& div)[width] == &[width];
    (& div)[center] == &[center];
  }

doesn't expand [center]. Removing some constraints coming before it make it work again. Worked on 2.0.0 parser, e.g. in ccss-to-ast tool

Inviz commented 9 years ago

Seems to be generally issue with [center] property specificially.