Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 12244.html
blob73660c3418b4bba3c403efed74aa620cedc114a2
1 This is a test for window.find().
2 <br><br>
3 Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.
4 <br><br>
5 Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this.
6 <ul id="console"></ul>
7 <script>
8 function log(msg) {
9 var console = document.getElementById("console");
10 var li = document.createElement("li");
11 li.appendChild(document.createTextNode(msg));
12 console.appendChild(li);
15 function assert(expected, actual, error)
17 if (expected != actual)
18 log("Error: " + error);
21 function runTest() {
22 assert(window.find("now we are"), true, "'now we are' wasn't found");
23 assert(window.find(), true, "'now we are' wasn't found");
25 if (window.testRunner) {
26 window.testRunner.dumpEditingCallbacks();
27 window.testRunner.dumpAsText();
29 window.setTimeout(runTest, 100);
30 </script>