* layout-tests/editing/deleting/delete-image-004-expected.txt: Added.
* layout-tests/editing/deleting/delete-image-004.html: Added.
* layout-tests/editing/selection/extend-by-character-006-expected.txt: Added.
* layout-tests/editing/selection/extend-by-character-006.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6856
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
--- /dev/null
+layer at (0,0) size 800x600
+ RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
+ RenderBlock {DIV} at (0,0) size 784x137 [border: (2px solid #FF0000)]
+ RenderInline {SPAN} at (0,0) size 158x28
+ RenderText {TEXT} at (0,0) size 0x0
+ RenderImage {IMG} at (14,14) size 76x103
+ RenderText {TEXT} at (90,95) size 6x28
+ text run at (90,95) width 6: " "
+ RenderImage {IMG} at (96,14) size 76x103
+ RenderText {TEXT} at (0,0) size 0x0
+ RenderText {TEXT} at (0,0) size 0x0
+selection is CARET:
+start: position 0 of child 1 {TEXT} of child 2 {SPAN} of root {DIV}
+upstream: position 0 of child 1 {TEXT} of root {DIV}
+downstream: position 0 of child 2 {IMG} of child 2 {SPAN} of root {DIV}
--- /dev/null
+<html>
+<head>
+
+<style>
+.editing {
+ border: 2px solid red;
+ padding: 12px;
+ font-size: 24px;
+}
+</style>
+<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+ for (i=0; i < 4; i++)
+ extendSelectionForwardByCharacterCommand();
+ deleteCommand();
+}
+
+</script>
+
+<title>Editing Test</title>
+</head>
+<body>
+<div contenteditable id="root" class="editing">
+<span id="test"> <img src="../abe.jpg"> <img src="../abe.jpg"> </span>
+</div>
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>
--- /dev/null
+layer at (0,0) size 800x600
+ RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
+ RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
+ RenderInline {SPAN} at (0,0) size 32x28
+ RenderText {TEXT} at (14,14) size 32x28
+ text run at (14,14) width 32: "foo"
+ RenderText {TEXT} at (0,0) size 0x0
+ RenderText {TEXT} at (0,0) size 0x0
+ RenderText {TEXT} at (0,0) size 0x0
+selection is CARET:
+start: position 0 of child 1 {TEXT} of child 1 {SPAN} of root {DIV}
+upstream: position 0 of child 1 {TEXT} of child 1 {SPAN} of root {DIV}
+downstream: position 1 of child 1 {TEXT} of child 1 {SPAN} of root {DIV}
--- /dev/null
+<html>
+<head>
+
+<style>
+.editing {
+ border: 2px solid red;
+ padding: 12px;
+ font-size: 24px;
+}
+</style>
+<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+ for (i = 0; i < 4; i++) {
+ extendSelectionForwardByCharacterCommand();
+ }
+}
+
+</script>
+
+<title>Editing Test</title>
+</head>
+<body>
+<!-- rdar://problem/3694510 //-->
+<div contenteditable id="root" class="editing">
+<span id="test"> foo</span>
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>
+2004-06-15 Vicki Murley <vicki@apple.com>
+
+ - added a few layout tests, rdar://3694510
+
+ * layout-tests/editing/deleting/delete-image-004-expected.txt: Added.
+ * layout-tests/editing/deleting/delete-image-004.html: Added.
+ * layout-tests/editing/selection/extend-by-character-006-expected.txt: Added.
+ * layout-tests/editing/selection/extend-by-character-006.html: Added.
+
2004-06-15 Trey Matteson <trey@apple.com>
Dragging tweak: We pass the mouse down coords instead of the
link to the parent node, not just when following a link to the next child node.
* kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::attributedString): Ditto.
-== Rolled over to ChangeLog-2003-10-25 ==ite
\ No newline at end of file
+== Rolled over to ChangeLog-2003-10-25 ==ite