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