purescript-contrib / purescript-css

A clean, type-safe library for describing, manipulating and rendering CSS
Apache License 2.0
106 stars 40 forks source link

FontFaceFormat is not put in quotes #56

Closed siegfriedweber closed 7 years ago

siegfriedweber commented 7 years ago

In the @font-face rule the format of fonts must be put in quotes (see https://www.w3.org/TR/css-fonts-3/#descdef-src) otherwise browsers cannot parse the rule.

@font-face {
  font-family: font;
  src: url(font.woff) format("woff");
}
garyb commented 7 years ago

Resolved by #57