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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/deleting/merge-paragraph-from-p-with-style-2.html

Issue 2333223002: Convert editing/deleting/merge-paragraph-from-p*.html to use w3c test harness (Closed)
Patch Set: 2016-09-14T12:46:38 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <style>
4 div p { color:red; }
5 </style>
6 <body>
7 <p id="description">This tests deleting line break before p.
8 WebKit should not keep the style of p added by a style rule, and "world" should be italic and not be in red.</p>
9 <div id="test" style="color:red;" contenteditable>
10 <h1>hello</h1>
11 <p><i>world</i></p>
12 </div>
13 </div>
14 <script src="../editing.js"></script>
15 <script src="../../resources/dump-as-markup.js"></script>
16 <script>
17
18 function editingTest() {
19 moveSelectionForwardByLineCommand();
20 deleteCommand();
21
22 Markup.description(document.getElementById('description').textContent);
23 Markup.dump('test');
24 }
25
26 runEditingTest();
27 </script>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698