Need a way to produce leaner markup when pasting a fragment containing verbose markup
[WebKit-https.git] / LayoutTests / editing / pasteboard / testcase-9507-expected.txt
1 When copying some text, under certain circumstances, empty style (or font) tags are created. This test checks that there is no empty <font> tag after 'foo' and before 'bar'.
2
3 After copy:
4 | "
5 "
6 | <div>
7 |   class="editing"
8 |   id="test"
9 |   "
10 <#selection-anchor>foo
11 "
12 |   <div>
13 |     style="color: rgb(255, 0, 0);"
14 |     "
15 "
16 |     <div>
17 |       "bar<#selection-focus>"
18 |     "
19 "
20 |   "
21 "
22 | "
23 "
24
25 After paste:
26 | "
27 "
28 | <div>
29 |   class="editing"
30 |   id="test"
31 |   "foo"
32 |   <div>
33 |     style="color: rgb(255, 0, 0); "
34 |     "bar<#selection-caret>"
35 |   <div>
36 |     style="color: rgb(255, 0, 0);"
37 |     "
38 "
39 |   "
40 "
41 | "
42 "