Commit fe6da08d authored by yosin's avatar yosin Committed by Commit bot

Convert editing/deleting/delete-block-merge-contents-0{18,19,20,21}.html to use w3c test harness

This patch converts "editing/deleting/delete-block-merge-contents-0{18,19,20,21}.html" to
use w3c test harness to simplify test script for improving readability, and
consolidates into "delete_block_merge_end_of_line.html" since samples of them
are similar.

BUG=n/a
TEST=n/a; no behavior changes

Review-Url: https://codereview.chromium.org/2254933003
Cr-Commit-Position: refs/heads/master@{#412794}
parent cbf12bf0
<html>
<head>
<style>
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
.explanation {
border: 2px solid blue;
padding: 12px;
font-size: 24px;
margin-bottom: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
moveSelectionForwardByCharacterCommand();
extendSelectionForwardByLineCommand();
extendSelectionForwardByCharacterCommand();
deleteCommand();
}
</script>
<title>Editing Test</title>
</head>
<body contenteditable="true">
<div class="explanation">
Should see "Test OK" in top red box, followed by "...more text", in its own red box.
</div>
<div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
<div id="test" class="editing">
T
<div id="test" class="editing">
xest OK<br>...more text
</div>
</div>
</div>
<script>
runEditingTest();
</script>
</body>
</html>
<html>
<head>
<style>
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
.explanation {
border: 2px solid blue;
padding: 12px;
font-size: 24px;
margin-bottom: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
moveSelectionForwardByCharacterCommand();
extendSelectionForwardByLineCommand();
extendSelectionForwardByLineCommand();
deleteCommand();
}
</script>
<title>Editing Test</title>
</head>
<body contenteditable="true" onload="runEditingTest()">
<div class="explanation">
Should see "XX" in a red box.
</div>
<div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
<div id="test" class="editing">
X
<div id="test" class="editing">
should not see this content<br>X
</div>
</div>
</div>
</body>
</html>
<html>
<head>
<style>
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
.explanation {
border: 2px solid blue;
padding: 12px;
font-size: 24px;
margin-bottom: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
moveSelectionForwardByCharacterCommand();
extendSelectionForwardByLineCommand();
extendSelectionForwardByLineCommand();
extendSelectionForwardByCharacterCommand();
deleteCommand();
}
</script>
<title>Editing Test</title>
</head>
<body contenteditable="true">
<div class="explanation">
Should see "XX" in a single red box.
</div>
<div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
<div id="test" class="editing">
X
<div id="test" class="editing">
should not see this content<br>XX
</div>
</div>
</div>
<script>
runEditingTest();
</script>
</body>
</html>
<html>
<head>
<style>
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
.explanation {
border: 2px solid blue;
padding: 12px;
font-size: 24px;
margin-bottom: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
moveSelectionForwardByCharacterCommand();
extendSelectionForwardByLineCommand();
extendSelectionForwardByLineCommand();
extendSelectionForwardByCharacterCommand();
deleteCommand();
}
</script>
<title>Editing Test</title>
</head>
<body contenteditable="true">
<div class="explanation">
Should see "XX" in a top red box, and another "XX" in a red box inside the first.
</div>
<div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
<div id="test" class="editing">
X
<div id="test" class="editing">
should not see this content<br>XX<br>XX
</div>
</div>
</div>
<script>
runEditingTest();
</script>
</body>
</html>
<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
test(() => assert_selection(
[
'<div contenteditable>',
'<div>T^',
'<div>x|est OK<br>...more text</div>',
'</div>',
'</div>',
].join(''),
'delete',
[
'<div contenteditable>',
'<div>T|est OK<div>...more text</div></div>',
'</div>',
].join('')),
'Delete a character at start of line');
test(() => assert_selection(
[
'<div contenteditable>',
'<div>X^',
'<div>should not see this content<br>|Y</div>',
'</div>',
'</div>',
].join(''),
'delete',
[
'<div contenteditable>',
'X|Y',
'</div>',
].join('')),
'Delete characters and BR');
test(() => assert_selection(
[
'<div contenteditable>',
'<div>X',
'^<div>should not see this content<br>Y|Z</div>',
'</div>',
'</div>',
].join(''),
'delete',
[
'<div contenteditable>',
'X|Z',
'</div>',
].join('')),
'Delete characters starting from DIV and BR');
test(() => assert_selection(
[
'<div contenteditable>',
'<div>X',
'^<div>should not see this content<br>Y|Z<br>AB</div>',
'</div>',
'</div>',
].join(''),
'delete',
[
'<div contenteditable>',
'<div>X|Z<div>AB</div></div>',
'</div>',
].join('')),
'Delete characters containing BR following characters and BR');
</script>
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 756x55
text run at (14,14) width 753: "Should see \"Test OK\" in top red box, followed by \"...more text\", in its own red"
text run at (766,14) width 4: " "
text run at (14,42) width 42: "box."
LayoutBlockFlow {DIV} at (0,108) size 784x112
LayoutBlockFlow {DIV} at (0,0) size 784x112 [border: (2px solid #FF0000)]
LayoutBlockFlow (anonymous) at (14,14) size 756x28
LayoutText {#text} at (0,0) size 80x27
text run at (0,0) width 80: "Test OK"
LayoutBlockFlow {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 110x27
text run at (14,14) width 110: "...more text"
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x56 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 289x27
text run at (14,14) width 289: "Should see \"XX\" in a red box."
LayoutBlockFlow {DIV} at (0,80) size 784x56
LayoutBlockFlow {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 34x27
text run at (14,14) width 34: "XX"
LayoutText {#text} at (0,0) size 0x0
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x56 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 350x27
text run at (14,14) width 350: "Should see \"XX\" in a single red box."
LayoutBlockFlow {DIV} at (0,80) size 784x56
LayoutBlockFlow {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 34x27
text run at (14,14) width 34: "XX"
LayoutText {#text} at (0,0) size 0x0
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 730x55
text run at (14,14) width 724: "Should see \"XX\" in a top red box, and another \"XX\" in a red box inside the"
text run at (738,14) width 6: " "
text run at (14,42) width 44: "first."
LayoutBlockFlow {DIV} at (0,108) size 784x112
LayoutBlockFlow {DIV} at (0,0) size 784x112 [border: (2px solid #FF0000)]
LayoutBlockFlow (anonymous) at (14,14) size 756x28
LayoutText {#text} at (0,0) size 34x27
text run at (0,0) width 34: "XX"
LayoutBlockFlow {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 34x27
text run at (14,14) width 34: "XX"
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 726x56
text run at (14,14) width 720: "Should see \"Test OK\" in top red box, followed by \"...more text\", in its own"
text run at (733,14) width 7: " "
text run at (14,42) width 79: "red box."
LayoutBlockFlow {DIV} at (0,108) size 784x112
LayoutBlockFlow {DIV} at (0,0) size 784x112 [border: (2px solid #FF0000)]
LayoutBlockFlow (anonymous) at (14,14) size 756x28
LayoutText {#text} at (0,0) size 81x28
text run at (0,0) width 81: "Test OK"
LayoutBlockFlow {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 110x28
text run at (14,14) width 110: "...more text"
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x56 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 291x28
text run at (14,14) width 291: "Should see \"XX\" in a red box."
LayoutBlockFlow {DIV} at (0,80) size 784x56
LayoutBlockFlow {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 35x28
text run at (14,14) width 35: "XX"
LayoutText {#text} at (0,0) size 0x0
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x56 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 355x28
text run at (14,14) width 355: "Should see \"XX\" in a single red box."
LayoutBlockFlow {DIV} at (0,80) size 784x56
LayoutBlockFlow {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 35x28
text run at (14,14) width 35: "XX"
LayoutText {#text} at (0,0) size 0x0
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 732x56
text run at (14,14) width 726: "Should see \"XX\" in a top red box, and another \"XX\" in a red box inside the"
text run at (739,14) width 7: " "
text run at (14,42) width 44: "first."
LayoutBlockFlow {DIV} at (0,108) size 784x112
LayoutBlockFlow {DIV} at (0,0) size 784x112 [border: (2px solid #FF0000)]
LayoutBlockFlow (anonymous) at (14,14) size 756x28
LayoutText {#text} at (0,0) size 35x28
text run at (0,0) width 35: "XX"
LayoutBlockFlow {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 35x28
text run at (14,14) width 35: "XX"
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x82 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 726x53
text run at (14,14) width 720: "Should see \"Test OK\" in top red box, followed by \"...more text\", in its own"
text run at (733,14) width 7: " "
text run at (14,41) width 79: "red box."
LayoutBlockFlow {DIV} at (0,106) size 784x110
LayoutBlockFlow {DIV} at (0,0) size 784x110 [border: (2px solid #FF0000)]
LayoutBlockFlow (anonymous) at (14,14) size 756x27
LayoutText {#text} at (0,0) size 81x26
text run at (0,0) width 81: "Test OK"
LayoutBlockFlow {DIV} at (14,41) size 756x55 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 110x26
text run at (14,14) width 110: "...more text"
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x55 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 291x26
text run at (14,14) width 291: "Should see \"XX\" in a red box."
LayoutBlockFlow {DIV} at (0,79) size 784x55
LayoutBlockFlow {DIV} at (0,0) size 784x55 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 35x26
text run at (14,14) width 35: "XX"
LayoutText {#text} at (0,0) size 0x0
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x55 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 355x26
text run at (14,14) width 355: "Should see \"XX\" in a single red box."
LayoutBlockFlow {DIV} at (0,79) size 784x55
LayoutBlockFlow {DIV} at (0,0) size 784x55 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 35x26
text run at (14,14) width 35: "XX"
LayoutText {#text} at (0,0) size 0x0
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {DIV} at (0,0) size 784x82 [border: (2px solid #0000FF)]
LayoutText {#text} at (14,14) size 732x53
text run at (14,14) width 726: "Should see \"XX\" in a top red box, and another \"XX\" in a red box inside the"
text run at (739,14) width 7: " "
text run at (14,41) width 45: "first."
LayoutBlockFlow {DIV} at (0,106) size 784x110
LayoutBlockFlow {DIV} at (0,0) size 784x110 [border: (2px solid #FF0000)]
LayoutBlockFlow (anonymous) at (14,14) size 756x27
LayoutText {#text} at (0,0) size 35x26
text run at (0,0) width 35: "XX"
LayoutBlockFlow {DIV} at (14,41) size 756x55 [border: (2px solid #FF0000)]
LayoutText {#text} at (14,14) size 35x26
text run at (14,14) width 35: "XX"
caret: position 2 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
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