diff options
author | Matt Farina <[email protected]> | 2016-03-15 06:51:29 -0400 |
---|---|---|
committer | Matt Farina <[email protected]> | 2016-03-15 06:51:29 -0400 |
commit | bb79919ffc7df4914ff5a489cf2ad2ad0602ff88 (patch) | |
tree | bbae186b45a7d1e5c332b2bb84f5a9f6f4f041ca /test/HTML5/Html5Test.php | |
parent | 7cb4945f591204bef9c226fd97e272436e1ecc0a (diff) |
Fixes #96: Parser breaking xml:href on svgs that use the "use" element
Diffstat (limited to 'test/HTML5/Html5Test.php')
-rw-r--r-- | test/HTML5/Html5Test.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/HTML5/Html5Test.php b/test/HTML5/Html5Test.php index 23cb424..ce6bb0b 100644 --- a/test/HTML5/Html5Test.php +++ b/test/HTML5/Html5Test.php @@ -317,6 +317,9 @@ class Html5Test extends TestCase public function testAttributes() { + $res = $this->cycle('<use xlink:href="#svg-track" xmlns:xlink="http://www.w3.org/1999/xlink"></use>'); + $this->assertContains('<use xlink:href="#svg-track" xmlns:xlink="http://www.w3.org/1999/xlink"></use>', $res); + $res = $this->cycle('<div attr="val">FOO</div>'); $this->assertRegExp('|<div attr="val">FOO</div>|', $res); |