3 require_once 'HTMLPurifier/AttrTransform/Border.php';
4 require_once 'HTMLPurifier/AttrTransformHarness.php';
7 class HTMLPurifier_AttrTransform_BorderTest
extends HTMLPurifier_AttrTransformHarness
12 $this->obj
= new HTMLPurifier_AttrTransform_Border();
17 $this->assertResult( array() );
20 array('border' => '1'),
21 array('style' => 'border:1px solid;')
24 // once again, no validation done here, we expect CSS validator
27 array('border' => '10%'),
28 array('style' => 'border:10%px solid;')
32 array('border' => '23', 'style' => 'font-weight:bold;'),
33 array('style' => 'border:23px solid;font-weight:bold;')