[SPIP] +version 3.0.7
[ptitvelo/web/www.git] / www / plugins-dist / compresseur / lib / csstidy / testing / unit-tests / csst / selectors / same-nomerge.csst
diff --git a/www/plugins-dist/compresseur/lib/csstidy/testing/unit-tests/csst/selectors/same-nomerge.csst b/www/plugins-dist/compresseur/lib/csstidy/testing/unit-tests/csst/selectors/same-nomerge.csst
new file mode 100644 (file)
index 0000000..6af8493
--- /dev/null
@@ -0,0 +1,23 @@
+--TEST--
+Don't merge multiples occurences of same seletor
+--SETTINGS--
+merge_selectors = 0
+--CSS--
+h1 {display: inherit;}
+h1,h2 {font-size:1em;}
+h1 {font-size:2em;}
+--EXPECT--
+array (
+  'h1' => 
+  array (
+    'display' => 'inherit',
+  ),
+  'h1,h2' => 
+  array (
+    'font-size' => '1em',
+  ),
+  'h1 ' => 
+  array (
+    'font-size' => '2em',
+  ),
+)