Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/compatMode-AlmostStrict.html

Issue 1469783002: Cleanup: Correctly spell success(ful). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format media Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd"> 2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html> 3 <html>
4 <head> 4 <head>
5 <script> 5 <script>
6 function debug(str) { 6 function debug(str) {
7 pre = document.getElementById('console'); 7 pre = document.getElementById('console');
8 text = document.createTextNode(str + '\n'); 8 text = document.createTextNode(str + '\n');
9 pre.appendChild(text); 9 pre.appendChild(text);
10 } 10 }
11 11
12 function runTests() { 12 function runTests() {
13 if (window.testRunner) 13 if (window.testRunner)
14 testRunner.dumpAsText(); 14 testRunner.dumpAsText();
15 15
16 if (document.compatMode == "CSS1Compat") 16 if (document.compatMode == "CSS1Compat")
17 debug('SUCCESS') 17 debug('SUCCESS')
18 else 18 else
19 debug('FAILURE') 19 debug('FAILURE')
20 } 20 }
21 21
22 </script> 22 </script>
23 </head> 23 </head>
24 <body onload="runTests();"> 24 <body onload="runTests();">
25 This tests that compatMode returns 'CSS1Compat' when the declared DTD is known ( we are in almost strict mode). If the test is sucessful, the text below should s ay "SUCCESS". 25 This tests that compatMode returns 'CSS1Compat' when the declared DTD is known ( we are in almost strict mode). If the test is successful, the text below should say "SUCCESS".
26 <pre id="console"> 26 <pre id="console">
27 </pre> 27 </pre>
28 </body> 28 </body>
29 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698