OLD | NEW |
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> |
OLD | NEW |