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

25 lines
686 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 bodyKids = document.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>