Added "class" to DumpDOM

git-svn-id: svn://10.0.0.236/trunk@36158 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hangas%netscape.com
1999-06-21 23:43:21 +00:00
parent 5ea18610ac
commit 70c7469102

View File

@@ -19,17 +19,18 @@ function DumpDOM(node)
function DumpNodeAndChildren(node, prefix)
{
dump(prefix + "<" + node.nodeName);
if ( node.nodeType == 1 )
{
DumpAttribute(node, "name");
DumpAttribute(node, "style");
DumpAttribute(node, "flex");
// id
var text = node.getAttribute('id');
if ( text && text[0] != '$' )
dump(" id=\"" + text + "\"");
DumpAttribute(node, "name");
DumpAttribute(node, "class");
DumpAttribute(node, "style");
DumpAttribute(node, "flex");
DumpAttribute(node, "value");
DumpAttribute(node, "src");
DumpAttribute(node, "onclick");