Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / compatMode-Compat.html
blob4c8a629e02197b94dcf334c6e8b000d8e6206d53
1 <html>
2 <head>
3 <script>
4 function debug(str) {
5 pre = document.getElementById('console');
6 text = document.createTextNode(str + '\n');
7 pre.appendChild(text);
10 function runTests() {
11 if (window.testRunner)
12 testRunner.dumpAsText();
14 if (document.compatMode == "BackCompat")
15 debug('SUCCESS')
16 else
17 debug('FAILURE')
20 </script>
21 </head>
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".
24 <pre id="console">
25 </pre>
26 </body>
27 </html>