RetroZilla/layout/html/tests/block/bugs/4324.html
2015-10-20 23:03:22 -04:00

26 lines
726 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><TITLE>test</TITLE>
</HEAD>
<BODY>
<OL type=A><LI>first list item</OL>
<OL type=a><LI>first list item</OL>
<OL type=I><LI>first list item</UL>
<OL type=i><LI>first list item</UL>
<OL type=upper-alpha><LI>first list item</OL>
<OL type=lower-alpha><LI>first list item</OL>
<OL type=upper-roman><LI>first list item</UL>
<OL type=lower-roman><LI>first list item</UL>
<SCRIPT TYPE="text/javascript">
var body=document.firstChild.childNodes.item(1);
var bodyKids = body.childNodes;
for (i = 0; i < bodyKids.length; i++) {
var it = bodyKids.item(i);
if (it.nodeType == Node.ELEMENT_NODE) {
document.writeln(it.type);
}
}
</SCRIPT>
</BODY>
</HTML>