From 911ba94d5cb026be9c56dc449699f5db2f088360 Mon Sep 17 00:00:00 2001 From: David Storey Date: Sun, 22 Nov 2015 13:16:16 -0800 Subject: [PATCH] Fix order of CSS transition snippet and remove old -o- prefix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The prefixless version should always be last, so that the older prefixed implementation (if different) doesn’t win out in the cascade. Especially now other browsers (Edge) support the webkit version as well. Removed -o- as that was only used by Opera 11.5, which hasn’t been the current version since I worked there. Presto users were quickly auto-updated to Opera 12, and now Opera uses Blink. --- extensions/css/snippets/css.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/css/snippets/css.json b/extensions/css/snippets/css.json index fbb33a1c271..73065292a81 100644 --- a/extensions/css/snippets/css.json +++ b/extensions/css/snippets/css.json @@ -2,10 +2,9 @@ "transition property": { "prefix": "transition", "body": [ - "transition: ${property} ${duration} ${timing-function} ${delay};", "-webkit-transition: ${property} ${duration} ${timing-function} ${delay};", - "-o-transition: ${property} ${duration} ${timing-function} ${delay};", - "-moz-transition: ${property} ${duration} ${timing-function} ${delay};" + "-moz-transition: ${property} ${duration} ${timing-function} ${delay};", + "transition: ${property} ${duration} ${timing-function} ${delay};" ], "description": "The transition property across browsers" },