blob: 23d810a4f26c00bb59af1eebbfeae983215cda84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<!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" />
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<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>
|