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

Side by Side Diff: LayoutTests/editing/style/toggle-style-bold-italic.html

Issue 19888007: Bold and Italic style get stuck when applied on a selection having content with mixed editability (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Bold and Italic style get stuck when applied on a selection having content with mixed editability Created 7 years, 4 months 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
(Empty)
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);
21 }
22 function editingTest() {
23 execSelectAllCommand();
24 execBoldCommand();
25 execItalicCommand();
26 execBoldCommand();
27 execItalicCommand();
28 }
29 </script>
30 </body>
31 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/editing.js ('k') | LayoutTests/editing/style/toggle-style-bold-italic-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698