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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/style/remove-styled-element-with-style-span.html

Issue 2685793002: Remove Apple-style-span CSS class support (Closed)
Patch Set: Update test cases Created 3 years, 10 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 <div id="test" contenteditable>hello <em class="Apple-style-span">world</em> Web Kit</div>
5 <script src="../../resources/dump-as-markup.js"></script>
6 <script>
7
8 Markup.description('This test ensures WebKit removes implicitly styled elements even if they had class="Apple-style-span".'
9 + ' There should be no span below.');
10
11 var test = document.getElementById('test');
12 test.focus();
13 document.execCommand('SelectAll', false, null);
14 document.execCommand('Italic', false, null);
15
16 Markup.dump(test);
17
18 </script>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698