3 class HTMLPurifier_AttrTransform_BoolToCSSTest
extends HTMLPurifier_AttrTransformHarness
8 $this->obj
= new HTMLPurifier_AttrTransform_BoolToCSS('foo', 'bar:3in;');
11 function testEmptyInput() {
12 $this->assertResult( array() );
15 function testBasicTransform() {
17 array('foo' => 'foo'),
18 array('style' => 'bar:3in;')
22 function testIgnoreValueOfBooleanAttribute() {
25 array('style' => 'bar:3in;')
29 function testPrependCSS() {
31 array('foo' => 'foo', 'style' => 'background-color:#F00;'),
32 array('style' => 'bar:3in;background-color:#F00;')