Remove double %
[htmlpurifier.git] / tests / HTMLPurifier / AttrDef / CSS / BorderTest.php
blob9159e8dc4557fa8c7729a971f5c01a509122dd55
1 <?php
3 class HTMLPurifier_AttrDef_CSS_BorderTest extends HTMLPurifier_AttrDefHarness
6 public function test()
8 $config = HTMLPurifier_Config::createDefault();
9 $this->def = new HTMLPurifier_AttrDef_CSS_Border($config);
11 $this->assertDef('thick solid red', 'thick solid #FF0000');
12 $this->assertDef('thick solid');
13 $this->assertDef('solid red', 'solid #FF0000');
14 $this->assertDef('1px solid #000');
15 $this->assertDef('1px solid rgb(0, 0, 0)', '1px solid rgb(0,0,0)');
21 // vim: et sw=4 sts=4