config->set('HTML.Trusted', true); $this->config->set('Attr.EnableID', true); } public function testBasicUse() { $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); $this->assertResult( // need support for label for later '
' ); } public function testSelectOption() { $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); $this->assertResult(' '); } public function testSelectOptgroup() { $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); $this->assertResult(' '); } public function testTextarea() { $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); $this->assertResult(' '); } // label tests omitted public function testFieldset() { $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); $this->assertResult(' '); } public function testInputTransform() { $this->config->set('HTML.Doctype', 'XHTML 1.0 Strict'); $this->assertResult('', ''); } public function testTextareaTransform() { $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); $this->assertResult('', ''); } public function testTextInFieldset() { $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); $this->assertResult(''); } public function testStrict() { $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); $this->assertResult('', ''); } public function testLegacy() { $this->assertResult(''); $this->assertResult(''); } public function testHTMLFormsConfigDirective() { $this->config->set('HTML.Trusted', false); $this->config->set('HTML.Forms', true); $this->assertResult(''); } } // vim: et sw=4 sts=4