blob: a56b6530c0627cfee6fb5934bf7370aa75728c2f [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
Normally srcdoc documents default to standards mode, but they can end up in
quirks mode with a sufficiently nutty DocType.
<iframe srcdoc='
<!DOCTYPE banana>
<script>
alert(document.compatMode);
</script>
'></iframe>