diff options
author | Matt Butcher <[email protected]> | 2013-05-02 08:49:06 -0500 |
---|---|---|
committer | Matt Butcher <[email protected]> | 2013-05-02 08:49:06 -0500 |
commit | ec8a288ad752ab19fe3dcd392d5287eccb6da9d9 (patch) | |
tree | b9170ed3a8dc519592744071477d24c2c3e286d6 /test/HTML5 | |
parent | c5099f50fd68f26741d061cff5a3ccd086e00cfe (diff) |
Changed constants from UNARY_TAG to VOID_TAG to follow spec.
Diffstat (limited to 'test/HTML5')
-rw-r--r-- | test/HTML5/ElementsTest.php | 4 | ||||
-rw-r--r-- | test/HTML5/Parser/DOMTreeBuilderTest.php | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/test/HTML5/ElementsTest.php b/test/HTML5/ElementsTest.php index df8d336..b6c945b 100644 --- a/test/HTML5/ElementsTest.php +++ b/test/HTML5/ElementsTest.php @@ -343,12 +343,12 @@ class ElementsTest extends TestCase { ); foreach ($unaryElements as $element) { - $this->assertTrue(Elements::isA($element, Elements::UNARY_TAG), 'Unary test failed on: ' . $element); + $this->assertTrue(Elements::isA($element, Elements::VOID_TAG), 'Unary test failed on: ' . $element); } $nonUnary = array('span', 'a', 'div'); foreach ($nonUnary as $tag) { - $this->assertFalse(Elements::isA($tag, Elements::UNARY_TAG), 'Unary test failed on: ' . $tag); + $this->assertFalse(Elements::isA($tag, Elements::VOID_TAG), 'Unary test failed on: ' . $tag); } diff --git a/test/HTML5/Parser/DOMTreeBuilderTest.php b/test/HTML5/Parser/DOMTreeBuilderTest.php index 53d1480..3620a89 100644 --- a/test/HTML5/Parser/DOMTreeBuilderTest.php +++ b/test/HTML5/Parser/DOMTreeBuilderTest.php @@ -164,6 +164,10 @@ class DOMTreeBuilderTest extends \HTML5\Tests\TestCase { $this->assertEquals('figure', $p->nextSibling->tagName); } + public function testAutocloseLI() { + $this->markTestIncomplete("Incomplete."); + } + public function testMathML() { $this->markTestIncomplete("Incomplete."); } |