Remove double %
[htmlpurifier.git] / tests / HTMLPurifier / AttrDef / CSS / TextDecorationTest.php
blobfbefc6af6630b254ee09623aa3fb8cce3987d58a
1 <?php
3 class HTMLPurifier_AttrDef_CSS_TextDecorationTest extends HTMLPurifier_AttrDefHarness
6 public function testCaseInsensitive()
8 $this->def = new HTMLPurifier_AttrDef_CSS_TextDecoration();
10 $this->assertDef('none');
11 $this->assertDef('none underline', 'underline');
13 $this->assertDef('underline');
14 $this->assertDef('overline');
15 $this->assertDef('line-through overline underline');
16 $this->assertDef('overline line-through');
17 $this->assertDef('UNDERLINE', 'underline');
18 $this->assertDef(' underline line-through ', 'underline line-through');
20 $this->assertDef('foobar underline', 'underline');
21 $this->assertDef('blink', false);
27 // vim: et sw=4 sts=4