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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/pasteboard/4930986-3.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 <html>
2 <head>
3 <style>
4 blockquote {
5 color: blue;
6 padding-left: 10px;
7 margin-left: 0px;
8 border-left: 2px solid blue;
9 }
10 </style>
11 </head>
12 <body>
13 <div id="description">This tests to make sure that an Apple-paste-as-quotation b lockquote can override document default styles even if they are different than t he insertion position.</div>
14 <div id="edit" contenteditable="true" style="color: red;"></div>
15
16 <script>
17 edit = document.getElementById("edit");
18 description = document.getElementById("description");
19 edit.focus();
20 document.execCommand("InsertHTML", false, "<blockquote class='Apple-paste-as-quo tation'><span class='Apple-style-span' style='color:black;'>This text should hav e the blockquote color (blue). There should be no style spans around it.</span>< /blockquote>");
21 if (window.testRunner) {
22 window.testRunner.dumpAsText();
23 document.body.innerText = description.innerText + "\n" + edit.innerHTML;
24 }
25 </script>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698