1<?php 2 3class TestTagUlType extends GenericTest { 4 function testTagUlType1() { 5 $tree = $this->runPipeline(file_get_contents('test.tag.ul.type.html')); 6 7 $ul =& $tree->get_element_by_id('ul_disc'); 8 $this->assertEqual(LST_DISC, $ul->getCSSProperty(CSS_LIST_STYLE_TYPE)); 9 10 $ul =& $tree->get_element_by_id('ul_circle'); 11 $this->assertEqual(LST_CIRCLE, $ul->getCSSProperty(CSS_LIST_STYLE_TYPE)); 12 13 $ul =& $tree->get_element_by_id('ul_square'); 14 $this->assertEqual(LST_SQUARE, $ul->getCSSProperty(CSS_LIST_STYLE_TYPE)); 15 } 16} 17 18?>