Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / srcdoc / srcdoc-cannot-be-in-qurks-mode.html
bloba56b6530c0627cfee6fb5934bf7370aa75728c2f
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
4 </script>
5 Normally srcdoc documents default to standards mode, but they can end up in
6 quirks mode with a sufficiently nutty DocType.
7 <iframe srcdoc='
8 <!DOCTYPE banana>
9 <script>
10 alert(document.compatMode);
11 </script>
12 '></iframe>