Pārlūkot izejas kodu

Added hotfix for border:none -> border:0 optimisation (planning to do something more extensive)

Taddeus Kroes 11 gadi atpakaļ
vecāks
revīzija
8d36a78817
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      simple.ml

+ 2 - 0
simple.ml

@@ -55,5 +55,7 @@ let compress =
     | Expr value -> Expr (shorten_expr value)
     | Declaration ("font-weight", value, imp) ->
       Declaration ("font-weight", shorten_font_weight value, imp)
+    | Declaration (("border" | "outline") as name, Ident "none", imp) ->
+      Declaration (name, Number (0., None), imp)
     | v -> v
   end