diff --git a/src/HTML5/Elements.php b/src/HTML5/Elements.php index 8fe7987..1632dcf 100644 --- a/src/HTML5/Elements.php +++ b/src/HTML5/Elements.php @@ -185,7 +185,7 @@ class Elements 'u' => 1, 'ul' => 81, // NORMAL | AUTOCLOSE_P | BLOCK_TAG 'var' => 1, - 'video' => 65, // NORMAL | BLOCK_TAG + 'video' => 1, 'wbr' => 9, // NORMAL | VOID_TAG // Legacy? diff --git a/test/HTML5/ElementsTest.php b/test/HTML5/ElementsTest.php index 08b5ee4..846d572 100644 --- a/test/HTML5/ElementsTest.php +++ b/test/HTML5/ElementsTest.php @@ -421,7 +421,6 @@ public function testIsA() 'table', 'tfoot', 'ul', - 'video', ); foreach ($blockTags as $tag) { @@ -432,6 +431,7 @@ public function testIsA() 'span', 'img', 'label', + 'video', ); foreach ($nonBlockTags as $tag) { $this->assertFalse(Elements::isA($tag, Elements::BLOCK_TAG), 'Block tag test failed on: ' . $tag);