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

Side by Side Diff: LayoutTests/editing/execCommand/format-block-with-block-expected.txt

Issue 101933003: Preserving inline style of the replaced block element for FormatBlock('execCommand'). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebaselining Created 7 years 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
(Empty)
1 This test verifies that formatBlock adds the containing block element's inline s tyle to the block-style element that replaces it.
2
3 Before FormatBlock:
4 | "
5 "
6 | <div>
7 | style="color: green"
8 | "<#selection-anchor>hello<#selection-focus>"
9 | "
10 "
11
12 After FormatBlock:
13 | "
14 "
15 | <h1>
16 | style="color: green"
17 | "<#selection-anchor>hello<#selection-focus>"
18 | "
19 "
20
21 Before FormatBlock:
22 | "
23 "
24 | <div>
25 | style="color: green"
26 | <#selection-caret>
27 | <br>
28 | "
29 "
30
31 After FormatBlock:
32 | "
33 "
34 | <h1>
35 | style="color: green"
36 | <#selection-caret>
37 | <br>
38 | "
39 "
40
41 Before FormatBlock:
42 | "
43 "
44 | <span>
45 | style="color: green"
46 | "<#selection-anchor>hello<#selection-focus>"
47 | "
48 "
49
50 After FormatBlock:
51 | "
52 "
53 | <h1>
54 | <span>
55 | style="color: green"
56 | "<#selection-anchor>hello<#selection-focus>"
OLDNEW
« no previous file with comments | « LayoutTests/editing/execCommand/format-block-with-block.html ('k') | Source/core/editing/FormatBlockCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698