3 class HTMLPurifier_AttrDef_CSS_TextDecorationTest
extends HTMLPurifier_AttrDefHarness
6 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);