diff --git a/lib/loofah/html5/safelist.rb b/lib/loofah/html5/safelist.rb
index 842962e0..886642fd 100644
--- a/lib/loofah/html5/safelist.rb
+++ b/lib/loofah/html5/safelist.rb
@@ -614,9 +614,13 @@ module SafeList
"collapse",
"dashed",
"dotted",
+ "double",
"fuchsia",
"gray",
"green",
+ "groove",
+ "hidden",
+ "inset",
"italic",
"left",
"lime",
@@ -627,9 +631,11 @@ module SafeList
"normal",
"nowrap",
"olive",
+ "outset",
"pointer",
"purple",
"red",
+ "ridge",
"right",
"silver",
"solid",
@@ -641,12 +647,6 @@ module SafeList
"underline",
"white",
"yellow",
- "double",
- "groove",
- "ridge",
- "inset",
- "outset",
- "hidden",
])
# see https://www.quackit.com/css/functions/