3 class HTMLPurifier_HTMLModule_RubyTest
extends HTMLPurifier_HTMLModuleHarness
6 public function setUp()
9 $this->config
->set('HTML.Doctype', 'XHTML 1.1');
12 public function testBasicUse()
15 '<ruby><rb>WWW</rb><rt>World Wide Web</rt></ruby>'
19 public function testRPUse()
22 '<ruby><rb>WWW</rb><rp>(</rp><rt>World Wide Web</rt><rp>)</rp></ruby>'
26 public function testComplexUse()
41 <rt rbspan="3">Expiration Date</rt>
47 function testBackwardsCompat()
50 '<ruby>A<rp>(</rp><rt>aaa</rt><rp>)</rp></ruby>',
51 '<ruby><rb>A</rb><rp>(</rp><rt>aaa</rt><rp>)</rp></ruby>'