1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
7 pre
= document
.getElementById('console');
8 text
= document
.createTextNode(str
+ '\n');
13 if (window
.testRunner
)
14 testRunner
.dumpAsText();
16 if (document
.compatMode
== "CSS1Compat")
24 <body onload=
"runTests();">
25 This tests that compatMode returns 'CSS1Compat' when the declared DTD is known (we are in strict mode). If the test is sucessful, the text below should say
"SUCCESS".