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

Side by Side Diff: LayoutTests/editing/deleting/merge-paragraphs-with-transparent-background.html

Issue 8493001: Merge 99067 - REGRESSION(r96870): WebKit generates background: transparent on blogger.com (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 1 month 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html style="background: transparent; text-decoration: none"> 2 <html style="background: transparent; text-decoration: none">
3 <body> 3 <body>
4 <p id="description">This tests merging paragraphs inside a document with backgro und: transparent in html element's inline style declaration. 4 <p id="description">This tests merging paragraphs inside a document with backgro und: transparent in html element's inline style declaration.
5 WebKit should not generate a span with background-color property in such cases.< /p> 5 WebKit should not generate a span with background-color property in such cases.< /p>
6 <div id="container" contenteditable> 6 <div id="container" contenteditable>
7 <p id="destination">hello</p> 7 <p id="destination">hello</p>
8 <p id="target">world</p> 8 <p id="target">world</p>
9 </div> 9 </div>
10 <script src="../../resources/dump-as-markup.js"></script> 10 <script src="../../resources/dump-as-markup.js"></script>
11 <script> 11 <script>
12 12
13 Markup.description(document.getElementById('description').textContent); 13 Markup.description(document.getElementById('description').textContent);
14 14
15 document.getElementById('container').focus(); 15 document.getElementById('container').focus();
16 var target = document.getElementById('target'); 16 var target = document.getElementById('target');
17 getSelection().collapse(target, 0); 17 getSelection().collapse(target, 0);
18 document.execCommand('Delete', false, null); 18 document.execCommand('Delete', false, null);
19 19
20 Markup.dump(document.getElementById('container')); 20 Markup.dump(document.getElementById('container'));
21 21
22 </script> 22 </script>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/editing/deleting/merge-paragraphs-with-transparent-background-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698