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

Side by Side Diff: LayoutTests/editing/pasteboard/paste-text-with-style-5-expected.txt

Issue 10391190: Merge 117361 - REGRESSION(r92823): WebKit strips font-weight: normal from b element when copying (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 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
1 This tests copying and pasting text does not strip inline styles that overrides UA style rules. 1 This tests copying and pasting text does not strip inline styles that overrides UA style rules.
2 To manually test, copy and paste "hello world" below. The pasted text should be bolded. 2 To manually test, copy and paste "hello world" below. The pasted text should be bolded.
3 3
4 Before copy-paste: 4 Before copy-paste:
5 | <b> 5 | <b>
6 | style="font-weight: normal" 6 | style="font-weight: normal"
7 | "<#selection-caret>hello world" 7 | "<#selection-caret>hello world"
8 8
9 After copy-paste: 9 After copy-paste:
10 | <b> 10 | <b>
11 | style="font-weight: normal; " 11 | style="font-weight: normal; "
12 | "hello world<#selection-caret>" 12 | "hello world<#selection-caret>"
13 | <br> 13 | <br>
OLDNEW
« no previous file with comments | « LayoutTests/editing/pasteboard/paste-text-with-style-5.html ('k') | Source/WebCore/editing/EditingStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698