Commit 4564002d authored by Yoshifumi Inoue's avatar Yoshifumi Inoue Committed by Commit Bot

Remove useless test editing/deleting/move-nodes-001.html

This patch removes useless test "move-nodes-001.html", which was introduced for
verifies |appendChild()|[1], because of we have tests for |appendChild()|, for
ease of maintenance.

[1] https://b.webkit.org/show_bug.cgi?id=5629 - REGRESSION: appendChild() does
not remove nodes from source nodelist when inserting into destination

Change-Id: I0a7a39865f5db5bc32fe5a0dd3bbac334e3bee5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2309315
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Auto-Submit: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790264}
parent 08ecf215
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpEditingCallbacks();
testRunner.dumpAsLayoutWithPixelResults();
}
</script>
<title>Editing Test</title>
<script type="text/javascript">
function getContainer(containerID) {return document.getElementById(containerID);}
window.onload = function() {
var newcontainer = getContainer('identity-options-horiz');
var oldcontainer = getContainer('identity-options');
if (oldcontainer) {
var paranodes = oldcontainer.getElementsByTagName("p");
// move all the paragraph nodes to new container
while (paranodes.length > 0) {
newcontainer.appendChild(paranodes[0]);
}
}
}
</script>
</head>
<body>
<div style="border-style:solid; border-color:red" id="identity-options-horiz">Destination container</div>
<div style="border-style:solid; border-color:blue" id="identity-options">
Source container
<p class="label">one</p>
<p class="label">two</p>
</div>
</body>
</html>
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x156
LayoutBlockFlow {HTML} at (0,0) size 800x156
LayoutBlockFlow {BODY} at (8,8) size 784x140
LayoutBlockFlow {DIV} at (0,0) size 784x114 [border: (3px solid #FF0000)]
LayoutBlockFlow (anonymous) at (3,3) size 778x20
LayoutText {#text} at (0,0) size 134x19
text run at (0,0) width 134: "Destination container"
LayoutBlockFlow {P} at (3,39) size 778x20
LayoutText {#text} at (0,0) size 23x19
text run at (0,0) width 23: "one"
LayoutBlockFlow {P} at (3,75) size 778x20
LayoutText {#text} at (0,0) size 24x19
text run at (0,0) width 24: "two"
LayoutBlockFlow {DIV} at (0,114) size 784x26 [border: (3px solid #0000FF)]
LayoutText {#text} at (3,3) size 106x19
text run at (3,3) width 106: "Source container"
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x148
LayoutBlockFlow {HTML} at (0,0) size 800x148
LayoutBlockFlow {BODY} at (8,8) size 784x132
LayoutBlockFlow {DIV} at (0,0) size 784x108 [border: (3px solid #FF0000)]
LayoutBlockFlow (anonymous) at (3,3) size 778x18
LayoutText {#text} at (0,0) size 138x18
text run at (0,0) width 138: "Destination container"
LayoutBlockFlow {P} at (3,37) size 778x18
LayoutText {#text} at (0,0) size 24x18
text run at (0,0) width 24: "one"
LayoutBlockFlow {P} at (3,71) size 778x18
LayoutText {#text} at (0,0) size 24x18
text run at (0,0) width 24: "two"
LayoutBlockFlow {DIV} at (0,108) size 784x24 [border: (3px solid #0000FF)]
LayoutText {#text} at (3,3) size 108x18
text run at (3,3) width 108: "Source container"
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x156
LayoutBlockFlow {HTML} at (0,0) size 800x156
LayoutBlockFlow {BODY} at (8,8) size 784x140
LayoutBlockFlow {DIV} at (0,0) size 784x114 [border: (3px solid #FF0000)]
LayoutBlockFlow (anonymous) at (3,3) size 778x20
LayoutText {#text} at (0,0) size 126x19
text run at (0,0) width 126: "Destination container"
LayoutBlockFlow {P} at (3,39) size 778x20
LayoutText {#text} at (0,0) size 22x19
text run at (0,0) width 22: "one"
LayoutBlockFlow {P} at (3,75) size 778x20
LayoutText {#text} at (0,0) size 23x19
text run at (0,0) width 23: "two"
LayoutBlockFlow {DIV} at (0,114) size 784x26 [border: (3px solid #0000FF)]
LayoutText {#text} at (3,3) size 102x19
text run at (3,3) width 102: "Source container"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment