5 pre
= document
.getElementById('console');
6 text
= document
.createTextNode(str
+ '\n');
11 if (window
.testRunner
)
12 testRunner
.dumpAsText();
14 if (document
.compatMode
== "BackCompat")
22 <body onload=
"runTests();">
23 This tests that compatMode returns 'BackCompat' when we are in quirk mode. If the test is sucessful, the text below should say
"SUCCESS".