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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/pasteboard/3976872.html

Issue 2344563004: Convert editing/pasteboard/3976872.html to use w3c test harness (Closed)
Patch Set: 2016-09-15T17:35:17 Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/pasteboard/paste_plain_text_to_newlines.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3
4 <style>
5 .editing {
6 border: 1px solid red;
7 }
8 </style>
9 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
10
11 <script>
12
13 function editingTest() {
14 extendSelectionForwardByLineCommand();
15 copyCommand();
16 boldCommand();
17 moveSelectionBackwardByCharacterCommand();
18 insertParagraphCommand();
19 moveSelectionBackwardByCharacterCommand();
20 pasteAndMatchStyleCommand();
21 }
22
23 </script>
24
25 <title>Paste and match style on an empty (but styled) line</title>
26 </head>
27 <body>
28
29 <p>This tests paste and match style on an empty (but styled) line</p>
30 <p>The first line is copied (unstyled), then it's bolded, then a paragraph separ ator is inserted and the original unstyled line is pasted (with style matching). </p>
31
32 <hr>
33
34 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: s pace; -khtml-line-break: after-white-space;">
35 <div id="test" class="editing">this text should end up bold</div>
36 </div>
37
38 <script>
39 runEditingTest();
40 </script>
41
42 </body>
43 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/pasteboard/paste_plain_text_to_newlines.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698