Update auto-tests from run-tests.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@8277 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2008-11-04 23:19:34 +00:00
parent b020e0279a
commit ea9643c56e
+10 -2
View File
@@ -34,7 +34,7 @@ body { height: 98%; font: normal normal 10pt sans-serif }
#col1 { float: left; width: 27em; margin: 0 0 0 1em; overflow: visible; } #col1 { float: left; width: 27em; margin: 0 0 0 1em; overflow: visible; }
#col2 { position: relative; height: 98%; margin: 0 0.5em 0 28em; } #col2 { position: relative; height: 98%; margin: 0 0.5em 0 28em; }
#col1_header { margin-top: 0.5em; } #col1_header { margin-top: 0.5em; }
#scroller { height: 550px; overflow: auto;} #scroller { height: 400px; overflow: auto;}
#testtable { margin: 0 0 2em 0; width: 97%; } #testtable { margin: 0 0 2em 0; width: 97%; }
#run_buttons { margin-bottom: 4em; } #run_buttons { margin-bottom: 4em; }
@@ -470,7 +470,14 @@ Test.AnotherWay._html_eq_node_to_string=function( node ) {
if( node.outerHTML!=null ) { if( node.outerHTML!=null ) {
Test.AnotherWay._g_html_eq_span.innerHTML=node.outerHTML; Test.AnotherWay._g_html_eq_span.innerHTML=node.outerHTML;
}else { }else {
Test.AnotherWay._g_html_eq_span.appendChild( node.cloneNode( true ) ); var clone = node.cloneNode(true);
var node = Test.AnotherWay._g_html_eq_span;
if(node.ownerDocument && node.ownerDocument.importNode) {
if(node.ownerDocument != clone.ownerDocument) {
clone = node.ownerDocument.importNode(clone, true);
}
}
node.appendChild(clone);
} }
return Test.AnotherWay._g_html_eq_span.innerHTML; return Test.AnotherWay._g_html_eq_span.innerHTML;
} }
@@ -2334,6 +2341,7 @@ onload=function()
// --> // -->
</script> </script>
<script type="text/javascript" src="xml_eq.js"></script> <script type="text/javascript" src="xml_eq.js"></script>
<script type="text/javascript" src="geom_eq.js"></script>
</head><body> </head><body>
<div id="col1"> <div id="col1">