Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / elements / edit / undo-dom-edits-expected.txt
blob5b52bfb29177ffcb42fba63411f96ccc18733e2e
1 Tests that DOM modifications done in the Elements panel are undoable.
4 Running: testSetUp
5 Setting up
7 Running: testRemove
8 Initial:
9 - <div id="testRemove">
10       <div id="node-to-remove"></div>
11   </div>
12 Post-action:
13   <div id="testRemove"></div>
14 Post-undo (initial):
15 + <div id="testRemove">…</div>
16 == Expanded: ==
17 - <div id="testRemove">
18       <div id="node-to-remove"></div>
19   </div>
20 Post-redo (action):
21   <div id="testRemove"></div>
23 Running: testSetNodeName
24 Initial:
25 - <div id="testSetNodeName">
26       <div id="node-to-set-name"></div>
27   </div>
28 Post-action:
29 - <div id="testSetNodeName">
30       <span id="node-to-set-name"></span>
31   </div>
32 Post-undo (initial):
33 - <div id="testSetNodeName">
34       <div id="node-to-set-name"></div>
35   </div>
36 Post-redo (action):
37 - <div id="testSetNodeName">
38       <span id="node-to-set-name"></span>
39   </div>
41 Running: testSetNodeValue
42 Initial:
43 - <div id="testSetNodeValue">
44       <div id="node-to-set-value">Text</div>
45   </div>
46 Post-action:
47 - <div id="testSetNodeValue">
48       <div id="node-to-set-value">New Text</div>
49   </div>
50 Post-undo (initial):
51 - <div id="testSetNodeValue">
52       <div id="node-to-set-value">Text</div>
53   </div>
54 Post-redo (action):
55 - <div id="testSetNodeValue">
56       <div id="node-to-set-value">New Text</div>
57   </div>
59 Running: testEditAsHTML
60 Initial:
61 - <div id="testEditAsHTML">
62     - <div id="node-to-edit-as-html">
63           <span id="span">Text</span>
64       </div>
65   </div>
66 Post-action:
67 - <div id="testEditAsHTML">
68     + <div id="node-to-edit-as-html">…</div>
69       <span>Second node</span>
70   </div>
71 == Expanded: ==
72 - <div id="testEditAsHTML">
73     - <div id="node-to-edit-as-html">
74           <div id="span2">Text2</div>
75       </div>
76       <span>Second node</span>
77   </div>
78 Post-undo (initial):
79 - <div id="testEditAsHTML">
80     + <div id="node-to-edit-as-html">…</div>
81   </div>
82 == Expanded: ==
83 - <div id="testEditAsHTML">
84     - <div id="node-to-edit-as-html">
85           <span id="span">Text</span>
86       </div>
87   </div>
88 Post-redo (action):
89 - <div id="testEditAsHTML">
90     + <div id="node-to-edit-as-html">…</div>
91       <span>Second node</span>
92   </div>
93 == Expanded: ==
94 - <div id="testEditAsHTML">
95     - <div id="node-to-edit-as-html">
96           <div id="span2">Text2</div>
97       </div>
98       <span>Second node</span>
99   </div>