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

Use w3c test harness in editing/selection/vertical-*.html tests 2/3

This patch makes editing/selection/vertical-*.html to use w3c test harness
rather than pixel match for ease of maintain.

This is the first patch of three patches of rewriting vertical-*.html.
Due by Windows command prompt limitation, we can't upload once.

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

Review URL: https://codereview.chromium.org/1463673003

Cr-Commit-Position: refs/heads/master@{#361252}
parent b5120caf
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style> .selected { color: blue; } </style>
</head>
<body>
<meta charset="utf-8">
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<p>This tests horizontal caret movement in vertical writing mode. "は猫である。" and "名前" must be selected.</p>
<div id="test" style="height: 30ex; -webkit-writing-mode: vertical-lr; outline: none;" contenteditable>
<p>吾輩は猫である。<br>名前はまだ無い。</p>
<div style="height: 30ex; -webkit-writing-mode: vertical-lr; outline: none;" contenteditable>
<p id="p1">吾輩は猫である。<br>名前はまだ無い。</p>
</div>
<pre id="log"></pre>
<div id="log"></div>
<script>
test(function() {
var selection = window.getSelection();
var p1 = document.getElementById('p1');
selection.collapse(p1.firstChild, 2);
selection.modify('Extend', 'Forward', 'Line');
var test = document.getElementById('test');
window.getSelection().collapse(test.getElementsByTagName('p')[0].firstChild, 2);
window.getSelection().modify('Extend', 'Forward', 'Line');
assert_false(selection.isCollapsed, 'isCollapsed');
assert_equals(selection.anchorNode, p1.firstChild, 'anchorNode');
assert_equals(selection.anchorOffset, 2, 'anchorOffset');
assert_equals(selection.focusNode, p1.lastChild, 'focusNode');
assert_equals(selection.focusOffset, 2, 'focusOffset');
});
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style> .selected { color: blue; } </style>
</head>
<body>
<meta charset="utf-8">
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<p>This tests horizontal caret movement in vertical writing mode. "は猫である。" and "名前" must be selected.</p>
<div id="test" style="height: 30ex; -webkit-writing-mode: vertical-rl; outline: none;" contenteditable>
<p>吾輩は猫である。<br>名前はまだ無い。</p>
</div>
<pre id="log"></pre>
<p id="p1">吾輩は猫である。<br>名前はまだ無い。</p>
<div id="log"></div>
<script>
test(function() {
var selection = window.getSelection();
var p1 = document.getElementById('p1');
selection.collapse(p1.firstChild, 2);
selection.modify('Extend', 'Forward', 'Line');
var test = document.getElementById('test');
window.getSelection().collapse(test.getElementsByTagName('p')[0].firstChild, 2);
window.getSelection().modify('Extend', 'Forward', 'Line');
assert_false(selection.isCollapsed, 'isCollapsed');
assert_equals(selection.anchorNode, p1.firstChild, 'anchorNode');
assert_equals(selection.anchorOffset, 2, 'anchorOffset');
assert_equals(selection.focusNode, p1.lastChild, 'focusNode');
assert_equals(selection.focusOffset, 2, 'focusOffset');
});
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style> .selected { color: blue; } </style>
</head>
<body>
<meta charset="utf-8">
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<p>This tests horizontal caret movement in vertical writing mode. "は猫である。" and "名前" must be selected.</p>
<div id="test" style="height: 30ex; -webkit-writing-mode: vertical-rl; outline: none;" contenteditable>
<p>吾輩は猫である。</p>
<p>名前はまだ無い。</p>
</div>
<pre id="log"></pre>
<p id="p1">吾輩は猫である。</p>
<p id="p2">名前はまだ無い。</p>
<div id="log"></div>
<script>
test(function() {
var selection = window.getSelection();
var p1 = document.getElementById('p1');
var p2 = document.getElementById('p2');
selection.collapse(p1.firstChild, 2);
selection.modify('Extend', 'Forward', 'Line');
var test = document.getElementById('test');
window.getSelection().collapse(test.getElementsByTagName('p')[0].firstChild, 2);
window.getSelection().modify('Extend', 'Forward', 'Line');
assert_false(selection.isCollapsed, 'isCollapsed');
assert_equals(selection.anchorNode, p1.firstChild, 'anchorNode');
assert_equals(selection.anchorOffset, 2, 'anchorOffset');
assert_equals(selection.focusNode, p2.firstChild, 'focusNode');
assert_equals(selection.focusOffset, 2, 'focusOffset');
});
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style> .selected { color: blue; } </style>
</head>
<body>
<meta charset="utf-8">
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<p>This tests horizontal caret movement in vertical writing mode. "は猫である。" and "名前" must be selected.</p>
<div id="test" style="-webkit-writing-mode: vertical-rl; outline: none;" contenteditable>
<p>吾輩は猫である。名前はまだ無い。</p>
<p id="p1">吾輩は猫である。名前はまだ無い。</p>
</div>
<span id="span-for-height-calc" style="-webkit-writing-mode: vertical-rl; outline: none;">
<p>吾輩は猫である。<br>名前はまだ無い。</p>
</span>
<pre id="log"></pre>
<div id="log"></div>
<script>
test(function() {
var desiredHeight = document.getElementById('span-for-height-calc');
var test = document.getElementById('test');
test.style.height = (desiredHeight.offsetHeight + 2) + 'px';
desiredHeight.style.display = 'none';
var desiredHeight = document.getElementById('span-for-height-calc');
var test = document.getElementById('test');
test.style.height = (desiredHeight.offsetHeight + 2) + 'px';
desiredHeight.style.display = 'none';
window.getSelection().collapse(test.getElementsByTagName('p')[0].firstChild, 2);
window.getSelection().modify('Extend', 'Forward', 'Line');
var selection = window.getSelection();
var p1 = document.getElementById('p1');
selection.collapse(p1.firstChild, 2);
selection.modify('Extend', 'Forward', 'Line');
assert_false(selection.isCollapsed, 'isCollapsed');
assert_equals(selection.anchorNode, p1.firstChild, 'anchorNode');
assert_equals(selection.anchorOffset, 2, 'anchorOffset');
assert_equals(selection.focusNode, p1.firstChild, 'focusNode');
assert_equals(selection.focusOffset, 10, 'focusOffset');
});
</script>
</body>
</html>
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x275
LayoutBlockFlow {HTML} at (0,0) size 800x275
LayoutBlockFlow {BODY} at (8,16) size 784x246
LayoutBlockFlow {P} at (0,0) size 784x20
LayoutText {#text} at (0,0) size 655x19
text run at (0,0) width 655: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,36) size 72x210
LayoutBlockFlow {P} at (16,0) size 40x210
LayoutText {#text} at (0,0) size 19x128
text run at (0,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (0,128) size 19x0
LayoutText {#text} at (20,0) size 19x128
text run at (20,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,259) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x275
LayoutBlockFlow {HTML} at (0,0) size 800x275
LayoutBlockFlow {BODY} at (8,16) size 784x246
LayoutBlockFlow {P} at (0,0) size 784x20
LayoutText {#text} at (0,0) size 655x19
text run at (0,0) width 655: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,36) size 72x210
LayoutBlockFlow {P} at (16,0) size 40x210
LayoutText {#text} at (0,0) size 19x128
text run at (0,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (0,128) size 19x0
LayoutText {#text} at (20,0) size 19x128
text run at (20,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,259) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x275
LayoutBlockFlow {HTML} at (0,0) size 800x275
LayoutBlockFlow {BODY} at (8,16) size 784x246
LayoutBlockFlow {P} at (0,0) size 784x20
LayoutText {#text} at (0,0) size 655x19
text run at (0,0) width 655: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,36) size 88x210
LayoutBlockFlow {P} at (16,0) size 20x210
LayoutText {#text} at (0,0) size 19x128
text run at (0,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBlockFlow {P} at (52,0) size 20x210
LayoutText {#text} at (0,0) size 19x128
text run at (0,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,259) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 0 {#text} of child 3 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x195
LayoutBlockFlow {HTML} at (0,0) size 800x195
LayoutBlockFlow {BODY} at (8,16) size 784x166
LayoutBlockFlow {P} at (0,0) size 784x20
LayoutText {#text} at (0,0) size 655x19
text run at (0,0) width 655: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,36) size 72x130
LayoutBlockFlow {P} at (16,0) size 40x130
LayoutText {#text} at (0,0) size 39x128
text run at (0,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
text run at (20,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,179) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 10 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x284
LayoutBlockFlow {HTML} at (0,0) size 800x284.39
LayoutBlockFlow {BODY} at (8,16) size 784x255.39
LayoutBlockFlow {P} at (0,0) size 784x24
LayoutText {#text} at (0,4) size 702x18
text run at (0,4) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,40) size 80x215.39
LayoutBlockFlow {P} at (16,0) size 48x215.39
LayoutText {#text} at (3,0) size 18x128
text run at (3,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (3,128) size 18x0
LayoutText {#text} at (27,0) size 18x128
text run at (27,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,268.39) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x284
LayoutBlockFlow {HTML} at (0,0) size 800x284.39
LayoutBlockFlow {BODY} at (8,16) size 784x255.39
LayoutBlockFlow {P} at (0,0) size 784x24
LayoutText {#text} at (0,4) size 702x18
text run at (0,4) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,40) size 80x215.39
LayoutBlockFlow {P} at (16,0) size 48x215.39
LayoutText {#text} at (3,0) size 18x128
text run at (3,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (3,128) size 18x0
LayoutText {#text} at (27,0) size 18x128
text run at (27,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,268.39) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x284
LayoutBlockFlow {HTML} at (0,0) size 800x284.39
LayoutBlockFlow {BODY} at (8,16) size 784x255.39
LayoutBlockFlow {P} at (0,0) size 784x24
LayoutText {#text} at (0,4) size 702x18
text run at (0,4) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,40) size 96x215.39
LayoutBlockFlow {P} at (16,0) size 24x215.39
LayoutText {#text} at (3,0) size 18x128
text run at (3,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBlockFlow {P} at (56,0) size 24x215.39
LayoutText {#text} at (3,0) size 18x128
text run at (3,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,268.39) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 0 {#text} of child 3 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x199
LayoutBlockFlow {HTML} at (0,0) size 800x199
LayoutBlockFlow {BODY} at (8,16) size 784x170
LayoutBlockFlow {P} at (0,0) size 784x24
LayoutText {#text} at (0,4) size 702x18
text run at (0,4) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,40) size 80x130
LayoutBlockFlow {P} at (16,0) size 48x130
LayoutText {#text} at (3,0) size 42x128
text run at (3,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
text run at (27,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,183) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 10 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x282
LayoutBlockFlow {HTML} at (0,0) size 800x282.39
LayoutBlockFlow {BODY} at (8,16) size 784x253.39
LayoutBlockFlow {P} at (0,0) size 784x22
LayoutText {#text} at (0,3) size 702x18
text run at (0,3) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,38) size 76x215.39
LayoutBlockFlow {P} at (16,0) size 44x215.39
LayoutText {#text} at (2,0) size 18x128
text run at (2,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (2,128) size 18x0
LayoutText {#text} at (24,0) size 18x128
text run at (24,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,266.39) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x282
LayoutBlockFlow {HTML} at (0,0) size 800x282.39
LayoutBlockFlow {BODY} at (8,16) size 784x253.39
LayoutBlockFlow {P} at (0,0) size 784x22
LayoutText {#text} at (0,3) size 702x18
text run at (0,3) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,38) size 76x215.39
LayoutBlockFlow {P} at (16,0) size 44x215.39
LayoutText {#text} at (2,0) size 18x128
text run at (2,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (2,128) size 18x0
LayoutText {#text} at (24,0) size 18x128
text run at (24,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,266.39) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x282
LayoutBlockFlow {HTML} at (0,0) size 800x282.39
LayoutBlockFlow {BODY} at (8,16) size 784x253.39
LayoutBlockFlow {P} at (0,0) size 784x22
LayoutText {#text} at (0,3) size 702x18
text run at (0,3) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,38) size 92x215.39
LayoutBlockFlow {P} at (16,0) size 22x215.39
LayoutText {#text} at (2,0) size 18x128
text run at (2,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBlockFlow {P} at (54,0) size 22x215.39
LayoutText {#text} at (2,0) size 18x128
text run at (2,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,266.39) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 0 {#text} of child 3 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x197
LayoutBlockFlow {HTML} at (0,0) size 800x197
LayoutBlockFlow {BODY} at (8,16) size 784x168
LayoutBlockFlow {P} at (0,0) size 784x22
LayoutText {#text} at (0,3) size 702x18
text run at (0,3) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,38) size 76x130
LayoutBlockFlow {P} at (16,0) size 44x130
LayoutText {#text} at (2,0) size 40x128
text run at (2,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
text run at (24,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,181) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 10 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x275
LayoutBlockFlow {HTML} at (0,0) size 800x275
LayoutBlockFlow {BODY} at (8,16) size 784x246
LayoutBlockFlow {P} at (0,0) size 784x20
LayoutText {#text} at (0,0) size 645x19
text run at (0,0) width 645: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,36) size 72x210
LayoutBlockFlow {P} at (16,0) size 40x210
LayoutText {#text} at (0,0) size 19x121
text run at (0,0) width 121: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (0,120) size 19x1
LayoutText {#text} at (20,0) size 19x119
text run at (20,0) width 119: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,259) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x275
LayoutBlockFlow {HTML} at (0,0) size 800x275
LayoutBlockFlow {BODY} at (8,16) size 784x246
LayoutBlockFlow {P} at (0,0) size 784x20
LayoutText {#text} at (0,0) size 645x19
text run at (0,0) width 645: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,36) size 72x210
LayoutBlockFlow {P} at (16,0) size 40x210
LayoutText {#text} at (0,0) size 19x121
text run at (0,0) width 121: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (0,120) size 19x1
LayoutText {#text} at (20,0) size 19x119
text run at (20,0) width 119: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,259) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x275
LayoutBlockFlow {HTML} at (0,0) size 800x275
LayoutBlockFlow {BODY} at (8,16) size 784x246
LayoutBlockFlow {P} at (0,0) size 784x20
LayoutText {#text} at (0,0) size 645x19
text run at (0,0) width 645: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,36) size 88x210
LayoutBlockFlow {P} at (16,0) size 20x210
LayoutText {#text} at (0,0) size 19x121
text run at (0,0) width 121: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBlockFlow {P} at (52,0) size 20x210
LayoutText {#text} at (0,0) size 19x119
text run at (0,0) width 119: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,259) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 0 {#text} of child 3 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x187
LayoutBlockFlow {HTML} at (0,0) size 800x187
LayoutBlockFlow {BODY} at (8,16) size 784x158
LayoutBlockFlow {P} at (0,0) size 784x20
LayoutText {#text} at (0,0) size 645x19
text run at (0,0) width 645: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,36) size 72x122
LayoutBlockFlow {P} at (16,0) size 40x122
LayoutText {#text} at (0,0) size 39x121
text run at (0,0) width 121: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
text run at (20,0) width 119: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,171) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 10 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x286
LayoutBlockFlow {HTML} at (0,0) size 800x285.69
LayoutBlockFlow {BODY} at (8,16) size 784x256.69
LayoutBlockFlow {P} at (0,0) size 784x26
LayoutText {#text} at (0,4) size 702x17
text run at (0,4) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,42) size 84x214.69
LayoutBlockFlow {P} at (16,0) size 52x214.69
LayoutText {#text} at (4,0) size 17x128
text run at (4,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (4,128) size 17x0
LayoutText {#text} at (30,0) size 17x128
text run at (30,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,269.69) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x286
LayoutBlockFlow {HTML} at (0,0) size 800x285.69
LayoutBlockFlow {BODY} at (8,16) size 784x256.69
LayoutBlockFlow {P} at (0,0) size 784x26
LayoutText {#text} at (0,4) size 702x17
text run at (0,4) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,42) size 84x214.69
LayoutBlockFlow {P} at (16,0) size 52x214.69
LayoutText {#text} at (4,0) size 17x128
text run at (4,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (4,128) size 17x0
LayoutText {#text} at (30,0) size 17x128
text run at (30,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,269.69) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x286
LayoutBlockFlow {HTML} at (0,0) size 800x285.69
LayoutBlockFlow {BODY} at (8,16) size 784x256.69
LayoutBlockFlow {P} at (0,0) size 784x26
LayoutText {#text} at (0,4) size 702x17
text run at (0,4) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,42) size 100x214.69
LayoutBlockFlow {P} at (16,0) size 26x214.69
LayoutText {#text} at (4,0) size 17x128
text run at (4,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBlockFlow {P} at (58,0) size 26x214.69
LayoutText {#text} at (4,0) size 17x128
text run at (4,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,269.69) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 0 {#text} of child 3 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x201
LayoutBlockFlow {HTML} at (0,0) size 800x201
LayoutBlockFlow {BODY} at (8,16) size 784x172
LayoutBlockFlow {P} at (0,0) size 784x26
LayoutText {#text} at (0,4) size 702x17
text run at (0,4) width 702: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,42) size 84x130
LayoutBlockFlow {P} at (16,0) size 52x130
LayoutText {#text} at (4,0) size 43x128
text run at (4,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
text run at (30,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,185) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 10 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x279
LayoutBlockFlow {HTML} at (0,0) size 800x278.69
LayoutBlockFlow {BODY} at (8,16) size 784x249.69
LayoutBlockFlow {P} at (0,0) size 784x19
LayoutText {#text} at (0,1) size 692x17
text run at (0,1) width 692: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,35) size 68x214.69
LayoutBlockFlow {P} at (16,0) size 36x214.69
LayoutText {#text} at (0,0) size 17x121
text run at (0,0) width 121: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (0,120) size 17x1
LayoutText {#text} at (18,0) size 17x119
text run at (18,0) width 119: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,262.69) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x279
LayoutBlockFlow {HTML} at (0,0) size 800x278.69
LayoutBlockFlow {BODY} at (8,16) size 784x249.69
LayoutBlockFlow {P} at (0,0) size 784x19
LayoutText {#text} at (0,1) size 692x17
text run at (0,1) width 692: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,35) size 68x214.69
LayoutBlockFlow {P} at (16,0) size 36x214.69
LayoutText {#text} at (0,0) size 17x121
text run at (0,0) width 121: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBR {BR} at (0,120) size 17x1
LayoutText {#text} at (18,0) size 17x119
text run at (18,0) width 119: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,262.69) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 2 {#text} of child 1 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x279
LayoutBlockFlow {HTML} at (0,0) size 800x278.69
LayoutBlockFlow {BODY} at (8,16) size 784x249.69
LayoutBlockFlow {P} at (0,0) size 784x19
LayoutText {#text} at (0,1) size 692x17
text run at (0,1) width 692: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,35) size 84x214.69
LayoutBlockFlow {P} at (16,0) size 18x214.69
LayoutText {#text} at (0,0) size 17x121
text run at (0,0) width 121: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
LayoutBlockFlow {P} at (50,0) size 18x214.69
LayoutText {#text} at (0,0) size 17x119
text run at (0,0) width 119: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,262.69) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 2 of child 0 {#text} of child 3 {P} of child 3 {DIV} of body
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x186
LayoutBlockFlow {HTML} at (0,0) size 800x186
LayoutBlockFlow {BODY} at (8,16) size 784x157
LayoutBlockFlow {P} at (0,0) size 784x19
LayoutText {#text} at (0,1) size 692x17
text run at (0,1) width 692: "This tests horizontal caret movement in vertical writing mode. \"\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}\" and \"\x{540D}\x{524D}\" must be selected."
LayoutBlockFlow {DIV} at (0,35) size 68x122
LayoutBlockFlow {P} at (16,0) size 36x122
LayoutText {#text} at (0,0) size 35x121
text run at (0,0) width 121: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
text run at (18,0) width 119: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
LayoutBlockFlow {PRE} at (0,170) size 784x0
selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
selection end: position 10 of child 0 {#text} of child 1 {P} 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