blob: 4c8a629e02197b94dcf334c6e8b000d8e6206d53 [file] [log] [blame]
<html>
<head>
<script>
function debug(str) {
pre = document.getElementById('console');
text = document.createTextNode(str + '\n');
pre.appendChild(text);
}
function runTests() {
if (window.testRunner)
testRunner.dumpAsText();
if (document.compatMode == "BackCompat")
debug('SUCCESS')
else
debug('FAILURE')
}
</script>
</head>
<body onload="runTests();">
This tests that compatMode returns 'BackCompat' when we are in quirk mode. If the test is sucessful, the text below should say "SUCCESS".
<pre id="console">
</pre>
</body>
</html>