Преглед изворни кода

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"]