Преглед на файлове

Fixed bug causing background-position not to be folded

Taddeus Kroes преди 11 години
родител
ревизия
944d6cffff
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      shorthand.ml

+ 2 - 1
shorthand.ml

@@ -10,7 +10,8 @@ let pattern = Str.regexp ("^\\(background\\|border\\|font\\|list-style" ^
                           "\\|outline\\|padding\\|margin\\)-\\(.*\\)$")
 
 let order = function
-  | "background" -> ["color"; "image"; "repeat"; "attachment"; "position"]
+  | "background" -> ["color"; "image"; "repeat"; "attachment"; "position-x";
+                     "position-y"]
   | "border"     -> ["width"; "style"; "color"]
   | "font"       -> ["style"; "variant"; "weight"; "size"; "family"]
   | "list-style" -> ["type"; "position"; "image"]