Lines Matching refs:document
0 document.write('<p>This test suite was converted from http://www.hixie.ch/tests/adhoc/html/parsing/encoding/all.html</p>' +
20 var frame = document.getElementById('test');
29 var want = frame.contentWindow.document.getElementById('expected').firstChild.data;
30 var have = frame.contentWindow.document.getElementById('encoding').firstChild.data;
34 var li = document.createElement('li');
35 var a = document.createElement('a');
36 a.appendChild(document.createTextNode('test ' + s));
39 li.appendChild(document.createTextNode(': expected ' + want + '; used ' + have));
40 var pre = document.createElement('pre');
41 pre.appendChild(document.createTextNode(frame.contentWindow.document.getElementsByTagName('pre')[0].firstChild.data));
44 document.getElementById('failures').appendChild(li);
51 document.getElementById('status').innerText = "Tests ran.";