1 <html xmlns=
"http://www.w3.org/1999/xhtml">
3 https://bugzilla.mozilla.org/show_bug.cgi?id=559024
6 <title>Test SVGStyleElement
</title>
7 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
8 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
11 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=559024">Mozilla Bug
559024</a>
13 <div id=
"content" style=
"display: none">
14 <svg xmlns=
"http://www.w3.org/2000/svg">
19 <script type=
"application/javascript">
21 /** Test for Bug
559024 **/
22 var el = document.getElementsByTagNameNS(
"http://www.w3.org/2000/svg",
"style")[
0];
25 is(el.getAttributeNS(
"",
"media"),
"ssss");
28 is(el.getAttributeNS(
"",
"title"),
"tttt");