Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / strikethroughSelection.html
blobe791bf2dbb90fa98ffee15a26beca692cddbdc8e
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
13 <script>
15 function editingTest() {
17 for (i = 0; i < 21; i++) {
18 execExtendSelectionForwardByCharacterCommand();
19 execStrikethroughCommand();
24 </script>
26 <title>Editing Test</title>
27 </head>
28 <body>
29 <p>This test striking through the first 21st letters. Every letter including spaces before "jumps" must be striked.</p>
30 <div contenteditable id="root" class="editing">
31 <span id="test">"The quick brown fox jumps over the lazy dog" uses every
32 letter in the english language.
33 </span>
34 </div>
36 <script>
37 runDumpAsTextEditingTest();
38 </script>
40 </body>
41 </html>