Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / format-block-with-block-expected.txt
blobfa2537ca2b2d04feb958fa2c757def3c443c420c
1 This test verifies that formatBlock adds the containing block element's inline style to the block-style element that replaces it.
3 Before FormatBlock:
4 | "
6 | <div>
7 |   style="color: green"
8 |   "<#selection-anchor>hello<#selection-focus>"
9 | "
12 After FormatBlock:
13 | "
15 | <h1>
16 |   style="color: green"
17 |   "<#selection-anchor>hello<#selection-focus>"
18 | "
21 Before FormatBlock:
22 | "
24 | <div>
25 |   style="color: green"
26 |   <#selection-caret>
27 |   <br>
28 | "
31 After FormatBlock:
32 | "
34 | <h1>
35 |   style="color: green"
36 |   <#selection-caret>
37 |   <br>
38 | "
41 Before FormatBlock:
42 | "
44 | <span>
45 |   style="color: green"
46 |   "<#selection-anchor>hello<#selection-focus>"
47 | "
50 After FormatBlock:
51 | "
53 | <h1>
54 |   <span>
55 |     style="color: green"
56 |     "<#selection-anchor>hello<#selection-focus>"