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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/pasteboard/4930986-2.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 border-left: 2px solid blue;
7 margin-left: 0px;
8 padding-left: 10px;
9 }
10 </style>
11 <script>
12 function runTest() {
13 div = document.getElementById("edit");
14 div.focus();
15 document.execCommand("InsertHTML", false, "<blockquote class='Apple-paste-as -quotation'><span class='Apple-style-span' style='color: black;'><span class='Ap ple-style-span' style='color: red;'>This text should be red (it should be wrappe d in a style span).</span></span></blockquote>");
16 if (window.testRunner) {
17 window.testRunner.dumpAsText();
18 document.body.innerText = document.getElementById("description").innerTe xt + "\n" + div.innerHTML;
19 }
20 }
21 </script>
22 </head>
23 <body onload="runTest();">
24 <div id="description">This tests to make sure that content that is colored by th e user is pasted with that color during a Paste as Quotation.</div>
25 <div id="edit" contenteditable="true"></div>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698