diff options
author | Matt Butcher <[email protected]> | 2013-05-01 11:23:13 -0500 |
---|---|---|
committer | Matt Butcher <[email protected]> | 2013-05-01 11:23:13 -0500 |
commit | 9d8b0733bba28d5e057d896bde34d70b25403143 (patch) | |
tree | b5c7a4665f04aa68b27450270d0816c468a263bb /test/HTML5/Parser | |
parent | 27ba1335239833cba2bfcaeebc0c3195a535a004 (diff) |
Fixed faulty test.
The parser is actually really strict, and maybe we should back off on
enforcing some of the stricter rules.
Diffstat (limited to 'test/HTML5/Parser')
-rw-r--r-- | test/HTML5/Parser/DOMTreeBuilderTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/HTML5/Parser/DOMTreeBuilderTest.php b/test/HTML5/Parser/DOMTreeBuilderTest.php index d94c824..de7c54c 100644 --- a/test/HTML5/Parser/DOMTreeBuilderTest.php +++ b/test/HTML5/Parser/DOMTreeBuilderTest.php @@ -118,7 +118,7 @@ class DOMTreeBuilderTest extends \HTML5\Tests\TestCase { } public function testText() { - $html = "<!DOCTYPE html><html><mathml>test</mathml></html>"; + $html = "<!DOCTYPE html><html><head></head><body><mathml>test</mathml></body></html>"; $doc = $this->parse($html); $wrapper = $doc->getElementsByTagName('mathml')->item(0); |