? 922462.patch
Index: sweaver_plugin_styles.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/sweaver/plugins/sweaver_plugin_styles/sweaver_plugin_styles.inc,v
retrieving revision 1.1.2.56
diff -u -p -r1.1.2.56 sweaver_plugin_styles.inc
--- sweaver_plugin_styles.inc	23 Sep 2010 15:24:19 -0000	1.1.2.56
+++ sweaver_plugin_styles.inc	30 Sep 2010 10:01:08 -0000
@@ -427,13 +427,38 @@ class sweaver_plugin_styles extends swea
     $css_data = ctools_css_disassemble($css);
 
     $empty_array = array();
+    $allowed_properties = $this->sweaver_ctools_allowed_properties();
     $disallowed_values_regex = '/(expression)/';
-    $filtered = ctools_css_filter_css_data($css_data, $empty_array, $empty_array, '', $disallowed_values_regex);
+    $filtered = ctools_css_filter_css_data($css_data, $allowed_properties, $empty_array, '', $disallowed_values_regex);
 
     return $compressed ? ctools_css_compress($filtered) : ctools_css_assemble($filtered);
   }
 
   /**
+   * Add more allowed properties.
+   */
+  function sweaver_ctools_allowed_properties() {
+    $allowed = ctools_css_filter_default_allowed_properties();
+    $allowed_sweaver = array(
+      '-moz-border-radius',
+      '-webkit-border-radius',
+      'border-top-right-radius',
+      'border-bottom-right-radius',
+      'border-bottom-left-radius',
+      'border-top-left-radius',
+      'webkit-border-top-right-radius',
+      'webkit-border-bottom-right-radius',
+      'webkit-border-bottom-left-radius',
+      'webkit-border-top-left-radius',
+      'moz-border-radius-topright',
+      'moz-border-radius-bottomright',
+      'moz-border-radius-bottomleft',
+      'moz-border-radius-topleft',
+    );
+    return array_merge($allowed, $allowed_sweaver);
+  }
+
+  /**
    * Delete a complete style.
    */
   function sweaver_delete_style($style) {
