[SPIP] +version 3.0.7
[ptitvelo/web/www.git] / www / plugins-dist / compresseur / lib / csstidy / testing / unit-tests / csst / properties / css1.csst
diff --git a/www/plugins-dist/compresseur/lib/csstidy/testing/unit-tests/csst/properties/css1.csst b/www/plugins-dist/compresseur/lib/csstidy/testing/unit-tests/csst/properties/css1.csst
new file mode 100644 (file)
index 0000000..8d0d450
--- /dev/null
@@ -0,0 +1,138 @@
+--TEST--
+Test CSS1 properties
+--CSS--
+a { 
+    foo:rgb(0,0,0);
+    bar:black;
+    baz:#ffaabb;
+    qux:#f00;
+    quux:blanchedalmond;
+    quuux:rgb(0,0,1);
+    background:1;
+    background-color:1;
+    background-image:1;
+    background-repeat:1;
+    background-attachment:1;
+    background-position:1;
+    border:1;
+    border-top:1;
+    border-right:1;
+    border-bottom:1;
+    border-left:1;
+    border-color:1;
+    border-style:1;
+    border-width:1;
+    border-top-width:1;
+    border-right-width:1;
+    border-left-width:1;
+    border-bottom-width:1;
+    clear:1;
+    clip:1;
+    color:1;
+    display:1;
+    float:1;
+    font:1;
+    font-family:1;
+    font-style:1;
+    font-variant:1;
+    font-weight:1;
+    font-size:1;
+    height:1;
+    left:1;
+    line-height:1;
+    list-style:1;
+    list-style-type:1;
+    list-style-image:1;
+    list-style-position:1;
+    margin:1;
+    margin-top:1;
+    margin-right:1;
+    margin-bottom:1;
+    margin-left:1;
+    marks:1;
+    overflow:1;
+    padding:1;
+    padding-top:1;
+    padding-right:1;
+    padding-bottom:1;
+    padding-left:1;
+    page-break-before:1;
+    page-break-after:1;
+    position:1;
+    size:1;
+    top:1;
+    text-indent:1;
+    text-align:1;
+    text-decoration:1;
+    letter-spacing:1;
+    word-spacing:1;
+    text-transform:1;
+    white-space:1;
+    vertical-align:1;
+    visibility:1;
+    width:1;
+    z-index:1;
+}
+--EXPECT--
+array (
+  'a' => 
+  array (
+    'background' => '1px',
+    'background-color' => '#1',
+    'background-image' => '1',
+    'background-repeat' => '1',
+    'background-attachment' => '1',
+    'background-position' => '1px',
+    'border' => '1px',
+    'border-top' => '1px',
+    'border-right' => '1px',
+    'border-bottom' => '1px',
+    'border-left' => '1px',
+    'border-color' => '#1',
+    'border-style' => '1',
+    'border-width' => '1px',
+    'border-top-width' => '1px',
+    'border-right-width' => '1px',
+    'border-left-width' => '1px',
+    'border-bottom-width' => '1px',
+    'clear' => '1',
+    'color' => '#1',
+    'display' => '1',
+    'float' => '1',
+    'font' => '1',
+    'font-family' => '1',
+    'font-style' => '1',
+    'font-variant' => '1',
+    'font-weight' => '1',
+    'font-size' => '1px',
+    'height' => '1px',
+    'line-height' => '1',
+    'list-style' => '1',
+    'list-style-type' => '1',
+    'list-style-image' => '1',
+    'list-style-position' => '1',
+    'margin' => '1px',
+    'margin-top' => '1px',
+    'margin-right' => '1px',
+    'margin-bottom' => '1px',
+    'margin-left' => '1px',
+    'padding' => '1px',
+    'padding-top' => '1px',
+    'padding-right' => '1px',
+    'padding-bottom' => '1px',
+    'padding-left' => '1px',
+    'text-indent' => '1px',
+    'text-align' => '1',
+    'text-decoration' => '1',
+    'letter-spacing' => '1px',
+    'word-spacing' => '1px',
+    'text-transform' => '1',
+    'white-space' => '1',
+    'vertical-align' => '1',
+    'width' => '1px',
+  ),
+)
+--SETTINGS--
+discard_invalid_properties=true
+optimise_shorthands=0
+css_level='CSS1'