Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / toggle-style-bold-italic.html
blobddb01f5875067f16b7eacff8f4ecf8103b681c22
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p id="description">Tests bold/italic style toggling on a content that has text node without renderer (Ex: Tab/Space used for indentation)</p>
5 <div contenteditable id="root">
6 <div id="test">
7 <div>Some text</div>
8 <p>Some more text</p>
9 </div>
10 </div>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
12 <script>
13 test('mac');
14 test('win');
15 test('unix');
16 function test(platform) {
17 if (window.internals)
18 internals.settings.setEditingBehavior(platform);
19 startNewMarkupGroup('Test for '+platform);
20 runDumpAsTextEditingTest(true);
22 function editingTest() {
23 execSelectAllCommand();
24 execBoldCommand();
25 execItalicCommand();
26 execBoldCommand();
27 execItalicCommand();
29 </script>
30 </body>
31 </html>