Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: dom/svg/test/mochitest.toml
<!--
-->
<head>
<title>Test SVGStyleElement</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=559024">Mozilla Bug 559024</a>
<p id="display"></p>
<div id="content" style="display: none">
<style></style>
</svg>
</div>
<pre id="test">
<script type="application/javascript">
<![CDATA[
el.media = "ssss";
is(el.media, "ssss");
is(el.getAttributeNS("", "media"), "ssss");
el.title = "tttt";
is(el.title, "tttt");
is(el.getAttributeNS("", "title"), "tttt");
]]>
</script>
</pre>
</body>
</html>