RetroZilla/layout/html/tests/block/bugs/4324.html

26 lines
726 B
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<!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>