Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /old-tests/submission/Microsoft/foreigncontent/foreign_content_015.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>HTML 5 Foreign Content SVG in HTML </title>
<meta description="Test to verify SVG Elements outside SVG namespace are camelCased" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script type="text/javascript">
function RunTest()
{
var parentNode = document.getElementById("div1");
for(var i=0;i<parentNode.childNodes.length;i++)
{
var idName = parentNode.childNodes[i].id;
var localName = parentNode.childNodes[i].localName;
assert_equals(localName, idName);
}
}
</script>
</head>
<body onload="test(RunTest)">
<div id="div1">
<AlTglYph id="altGlyph" />
</div>
</body>
</html>