2011-05-12 Chang Shu <cshu@webkit.org>

        Reviewed by Csaba Osztrogonác.

        [Qt] Rebaseline editing/execCommand tests that are working
        https://bugs.webkit.org/show_bug.cgi?id=60717

        Also based on digging of Zsolt Fehér.

        * platform/qt/Skipped:
        * platform/qt/editing/execCommand/4580583-1-expected.png: Added.
        * platform/qt/editing/execCommand/4580583-1-expected.txt:
        * platform/qt/editing/execCommand/4580583-2-expected.png: Added.
        * platform/qt/editing/execCommand/4580583-2-expected.txt:
        * platform/qt/editing/execCommand/4641880-1-expected.png: Added.
        * platform/qt/editing/execCommand/4641880-1-expected.txt:
        * platform/qt/editing/execCommand/4641880-2-expected.png: Added.
        * platform/qt/editing/execCommand/4641880-2-expected.txt:
        * platform/qt/editing/execCommand/4747450-expected.png: Added.
        * platform/qt/editing/execCommand/4747450-expected.txt:
        * platform/qt/editing/execCommand/4786404-1-expected.png: Added.
        * platform/qt/editing/execCommand/4786404-2-expected.png: Added.
        * platform/qt/editing/execCommand/4916402-expected.png: Added.
        * platform/qt/editing/execCommand/4916402-expected.txt:
        * platform/qt/editing/execCommand/4916541-expected.png: Added.
        * platform/qt/editing/execCommand/4916541-expected.txt:
        * platform/qt/editing/execCommand/4924441-expected.png: Added.
        * platform/qt/editing/execCommand/4924441-expected.txt:
        * platform/qt/editing/execCommand/5049671-expected.png: Added.
        * platform/qt/editing/execCommand/5062376-expected.png: Added.
        * platform/qt/editing/execCommand/5062376-expected.txt:
        * platform/qt/editing/execCommand/5080333-1-expected.png: Added.
        * platform/qt/editing/execCommand/5080333-1-expected.txt:
        * platform/qt/editing/execCommand/5080333-2-expected.png: Added.
        * platform/qt/editing/execCommand/5080333-2-expected.txt:
        * platform/qt/editing/execCommand/5136770-expected.png: Added.
        * platform/qt/editing/execCommand/5136770-expected.txt:
        * platform/qt/editing/execCommand/5138441-expected.png: Added.
        * platform/qt/editing/execCommand/5138441-expected.txt:
        * platform/qt/editing/execCommand/5142012-1-expected.png: Added.
        * platform/qt/editing/execCommand/5142012-1-expected.txt:
        * platform/qt/editing/execCommand/5142012-2-expected.png: Added.
        * platform/qt/editing/execCommand/5142012-2-expected.txt:
        * platform/qt/editing/execCommand/5190926-expected.png: Added.
        * platform/qt/editing/execCommand/5190926-expected.txt:
        * platform/qt/editing/execCommand/5481523-expected.png: Added.
        * platform/qt/editing/execCommand/5481523-expected.txt: Added.
        * platform/qt/editing/execCommand/5482023-expected.png: Added.
        * platform/qt/editing/execCommand/5482023-expected.txt: Added.
        * platform/qt/editing/execCommand/5569741-expected.png: Added.
        * platform/qt/editing/execCommand/5569741-expected.txt: Added.
        * platform/qt/editing/execCommand/create-list-with-hr-expected.png: Added.
        * platform/qt/editing/execCommand/create-list-with-hr-expected.txt:
        * platform/qt/editing/execCommand/find-after-replace-expected.png: Added.
        * platform/qt/editing/execCommand/find-after-replace-expected.txt:
        * platform/qt/editing/execCommand/findString-2-expected.png: Added.
        * platform/qt/editing/execCommand/findString-2-expected.txt:
        * platform/qt/editing/execCommand/findString-expected.png: Added.
        * platform/qt/editing/execCommand/findString-expected.txt:
        * platform/qt/editing/execCommand/format-block-with-trailing-br-expected.png: Added.
        * platform/qt/editing/execCommand/format-block-with-trailing-br-expected.txt:
        * platform/qt/editing/execCommand/indent-empty-root-expected.png: Added.
        * platform/qt/editing/execCommand/indent-empty-root-expected.txt:
        * platform/qt/editing/execCommand/indent-list-item-expected.png: Added.
        * platform/qt/editing/execCommand/indent-list-item-expected.txt:
        * platform/qt/editing/execCommand/indent-selection-expected.png: Added.
        * platform/qt/editing/execCommand/indent-selection-expected.txt:
        * platform/qt/editing/execCommand/insert-list-and-stitch-expected.png: Added.
        * platform/qt/editing/execCommand/insert-list-and-stitch-expected.txt:
        * platform/qt/editing/execCommand/insert-list-with-id-expected.png: Added.
        * platform/qt/editing/execCommand/insert-list-with-id-expected.txt:
        * platform/qt/editing/execCommand/insertHorizontalRule-expected.png: Added.
        * platform/qt/editing/execCommand/insertHorizontalRule-expected.txt:
        * platform/qt/editing/execCommand/insertImage-expected.png: Added.
        * platform/qt/editing/execCommand/insertImage-expected.txt:
        * platform/qt/editing/execCommand/nsresponder-indent-expected.png: Added.
        * platform/qt/editing/execCommand/nsresponder-indent-expected.txt: Added.
        * platform/qt/editing/execCommand/nsresponder-outdent-expected.png: Added.
        * platform/qt/editing/execCommand/nsresponder-outdent-expected.txt: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test1-expected.png: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test1-expected.txt: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test2-expected.png: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test2-expected.txt: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test3-expected.png: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test3-expected.txt: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test4-expected.png: Added.
        * platform/qt/editing/execCommand/outdent-blockquote-test4-expected.txt: Added.
        * platform/qt/editing/execCommand/outdent-selection-expected.png: Added.
        * platform/qt/editing/execCommand/outdent-selection-expected.txt:
        * platform/qt/editing/execCommand/paste-1-expected.png: Added.
        * platform/qt/editing/execCommand/paste-1-expected.txt:
        * platform/qt/editing/execCommand/paste-2-expected.png: Added.
        * platform/qt/editing/execCommand/paste-2-expected.txt:
        * platform/qt/editing/execCommand/print-expected.png: Added.
        * platform/qt/editing/execCommand/print-expected.txt:
        * platform/qt/editing/execCommand/remove-list-from-range-selection-expected.png: Added.
        * platform/qt/editing/execCommand/remove-list-from-range-selection-expected.txt:
        * platform/qt/editing/execCommand/remove-list-item-1-expected.png: Added.
        * platform/qt/editing/execCommand/remove-list-item-1-expected.txt:
        * platform/qt/editing/execCommand/selectAll-expected.png: Added.
        * platform/qt/editing/execCommand/selectAll-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1d6efc45
2011-05-12 Chang Shu <cshu@webkit.org>
Reviewed by Csaba Osztrogonác.
[Qt] Rebaseline editing/execCommand tests that are working
https://bugs.webkit.org/show_bug.cgi?id=60717
Also based on digging of Zsolt Fehér.
* platform/qt/Skipped:
* platform/qt/editing/execCommand/4580583-1-expected.png: Added.
* platform/qt/editing/execCommand/4580583-1-expected.txt:
* platform/qt/editing/execCommand/4580583-2-expected.png: Added.
* platform/qt/editing/execCommand/4580583-2-expected.txt:
* platform/qt/editing/execCommand/4641880-1-expected.png: Added.
* platform/qt/editing/execCommand/4641880-1-expected.txt:
* platform/qt/editing/execCommand/4641880-2-expected.png: Added.
* platform/qt/editing/execCommand/4641880-2-expected.txt:
* platform/qt/editing/execCommand/4747450-expected.png: Added.
* platform/qt/editing/execCommand/4747450-expected.txt:
* platform/qt/editing/execCommand/4786404-1-expected.png: Added.
* platform/qt/editing/execCommand/4786404-2-expected.png: Added.
* platform/qt/editing/execCommand/4916402-expected.png: Added.
* platform/qt/editing/execCommand/4916402-expected.txt:
* platform/qt/editing/execCommand/4916541-expected.png: Added.
* platform/qt/editing/execCommand/4916541-expected.txt:
* platform/qt/editing/execCommand/4924441-expected.png: Added.
* platform/qt/editing/execCommand/4924441-expected.txt:
* platform/qt/editing/execCommand/5049671-expected.png: Added.
* platform/qt/editing/execCommand/5062376-expected.png: Added.
* platform/qt/editing/execCommand/5062376-expected.txt:
* platform/qt/editing/execCommand/5080333-1-expected.png: Added.
* platform/qt/editing/execCommand/5080333-1-expected.txt:
* platform/qt/editing/execCommand/5080333-2-expected.png: Added.
* platform/qt/editing/execCommand/5080333-2-expected.txt:
* platform/qt/editing/execCommand/5136770-expected.png: Added.
* platform/qt/editing/execCommand/5136770-expected.txt:
* platform/qt/editing/execCommand/5138441-expected.png: Added.
* platform/qt/editing/execCommand/5138441-expected.txt:
* platform/qt/editing/execCommand/5142012-1-expected.png: Added.
* platform/qt/editing/execCommand/5142012-1-expected.txt:
* platform/qt/editing/execCommand/5142012-2-expected.png: Added.
* platform/qt/editing/execCommand/5142012-2-expected.txt:
* platform/qt/editing/execCommand/5190926-expected.png: Added.
* platform/qt/editing/execCommand/5190926-expected.txt:
* platform/qt/editing/execCommand/5481523-expected.png: Added.
* platform/qt/editing/execCommand/5481523-expected.txt: Added.
* platform/qt/editing/execCommand/5482023-expected.png: Added.
* platform/qt/editing/execCommand/5482023-expected.txt: Added.
* platform/qt/editing/execCommand/5569741-expected.png: Added.
* platform/qt/editing/execCommand/5569741-expected.txt: Added.
* platform/qt/editing/execCommand/create-list-with-hr-expected.png: Added.
* platform/qt/editing/execCommand/create-list-with-hr-expected.txt:
* platform/qt/editing/execCommand/find-after-replace-expected.png: Added.
* platform/qt/editing/execCommand/find-after-replace-expected.txt:
* platform/qt/editing/execCommand/findString-2-expected.png: Added.
* platform/qt/editing/execCommand/findString-2-expected.txt:
* platform/qt/editing/execCommand/findString-expected.png: Added.
* platform/qt/editing/execCommand/findString-expected.txt:
* platform/qt/editing/execCommand/format-block-with-trailing-br-expected.png: Added.
* platform/qt/editing/execCommand/format-block-with-trailing-br-expected.txt:
* platform/qt/editing/execCommand/indent-empty-root-expected.png: Added.
* platform/qt/editing/execCommand/indent-empty-root-expected.txt:
* platform/qt/editing/execCommand/indent-list-item-expected.png: Added.
* platform/qt/editing/execCommand/indent-list-item-expected.txt:
* platform/qt/editing/execCommand/indent-selection-expected.png: Added.
* platform/qt/editing/execCommand/indent-selection-expected.txt:
* platform/qt/editing/execCommand/insert-list-and-stitch-expected.png: Added.
* platform/qt/editing/execCommand/insert-list-and-stitch-expected.txt:
* platform/qt/editing/execCommand/insert-list-with-id-expected.png: Added.
* platform/qt/editing/execCommand/insert-list-with-id-expected.txt:
* platform/qt/editing/execCommand/insertHorizontalRule-expected.png: Added.
* platform/qt/editing/execCommand/insertHorizontalRule-expected.txt:
* platform/qt/editing/execCommand/insertImage-expected.png: Added.
* platform/qt/editing/execCommand/insertImage-expected.txt:
* platform/qt/editing/execCommand/nsresponder-indent-expected.png: Added.
* platform/qt/editing/execCommand/nsresponder-indent-expected.txt: Added.
* platform/qt/editing/execCommand/nsresponder-outdent-expected.png: Added.
* platform/qt/editing/execCommand/nsresponder-outdent-expected.txt: Added.
* platform/qt/editing/execCommand/outdent-blockquote-test1-expected.png: Added.
* platform/qt/editing/execCommand/outdent-blockquote-test1-expected.txt: Added.
* platform/qt/editing/execCommand/outdent-blockquote-test2-expected.png: Added.
* platform/qt/editing/execCommand/outdent-blockquote-test2-expected.txt: Added.
* platform/qt/editing/execCommand/outdent-blockquote-test3-expected.png: Added.
* platform/qt/editing/execCommand/outdent-blockquote-test3-expected.txt: Added.
* platform/qt/editing/execCommand/outdent-blockquote-test4-expected.png: Added.
* platform/qt/editing/execCommand/outdent-blockquote-test4-expected.txt: Added.
* platform/qt/editing/execCommand/outdent-selection-expected.png: Added.
* platform/qt/editing/execCommand/outdent-selection-expected.txt:
* platform/qt/editing/execCommand/paste-1-expected.png: Added.
* platform/qt/editing/execCommand/paste-1-expected.txt:
* platform/qt/editing/execCommand/paste-2-expected.png: Added.
* platform/qt/editing/execCommand/paste-2-expected.txt:
* platform/qt/editing/execCommand/print-expected.png: Added.
* platform/qt/editing/execCommand/print-expected.txt:
* platform/qt/editing/execCommand/remove-list-from-range-selection-expected.png: Added.
* platform/qt/editing/execCommand/remove-list-from-range-selection-expected.txt:
* platform/qt/editing/execCommand/remove-list-item-1-expected.png: Added.
* platform/qt/editing/execCommand/remove-list-item-1-expected.txt:
* platform/qt/editing/execCommand/selectAll-expected.png: Added.
* platform/qt/editing/execCommand/selectAll-expected.txt:
2011-05-12 Chang Shu <cshu@webkit.org>
Reviewed by Csaba Osztrogonác.
......@@ -366,76 +366,6 @@ http/tests/plugins/plugin-document-has-focus.html
# Need to set the X11 keycode in EventSender. Also needs to work on a
# headless display (like the buildbot), so XKeysymToKeycode doesn't work.
plugins/keyboard-events.html
# =========================================================================== #
# Failing execCommand tests. #
# =========================================================================== #
# -- passes
editing/execCommand/indent-paragraphs.html
# ---- simple x/y diffs
editing/execCommand/4580583-1.html
editing/execCommand/nsresponder-indent.html
editing/execCommand/nsresponder-outdent.html
editing/execCommand/4641880-2.html
editing/execCommand/4747450.html
editing/execCommand/4786404-1.html
editing/execCommand/4786404-2.html
editing/execCommand/4916402.html
editing/execCommand/4916541.html
editing/execCommand/4924441.html
editing/execCommand/5049671.html
editing/execCommand/5062376.html
editing/execCommand/5080333-1.html
editing/execCommand/5080333-2.html
editing/execCommand/5136770.html
editing/execCommand/5138441.html
editing/execCommand/5142012-1.html
editing/execCommand/5190926.html
editing/execCommand/5481523.html
editing/execCommand/5569741.html
editing/execCommand/5573879.html
editing/execCommand/create-list-from-range-selection.html
editing/execCommand/findString-2.html
editing/execCommand/format-block-from-range-selection.html
editing/execCommand/format-block.html
editing/execCommand/format-block-with-braces.html
editing/execCommand/format-block-with-trailing-br.html
editing/execCommand/hilitecolor.html
editing/execCommand/indent-empty-root.html
editing/execCommand/indent-list-item.html
editing/execCommand/indent-selection.html
editing/execCommand/insertHorizontalRule.html
editing/execCommand/insertImage.html
editing/execCommand/insert-list-and-stitch.html
editing/execCommand/insert-list-empty-div.html
editing/execCommand/insert-list-with-id.html
editing/execCommand/outdent-blockquote-test1.html
editing/execCommand/outdent-blockquote-test2.html
editing/execCommand/outdent-blockquote-test3.html
editing/execCommand/outdent-blockquote-test4.html
editing/execCommand/outdent-selection.html
editing/execCommand/remove-list-from-range-selection.html
editing/execCommand/remove-list-item-1.html
editing/execCommand/4920488.html
editing/execCommand/4920742-1.html
editing/execCommand/create-list-with-hr.html
# ---- fine, but not a simple diff
editing/execCommand/4580583-2.html
editing/execCommand/4641880-1.html
# ---- rendertree results OK but suspicious diffs.
editing/execCommand/print.html
editing/execCommand/selectAll.html
editing/execCommand/5142012-2.html
editing/execCommand/5482023.html
# -- text selection is incorrect
editing/execCommand/findString.html
editing/execCommand/find-after-replace.html
editing/execCommand/paste-1.html
editing/execCommand/paste-2.html
# =========================================================================== #
# Failing Sputnik tests #
......
......@@ -2,33 +2,33 @@ layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x578
RenderBlock {P} at (0,0) size 784x38
RenderText {#text} at (0,0) size 774x38
text run at (0,0) width 485: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
text run at (485,0) width 289: "You should see a list broken in two below, the"
text run at (0,19) width 188: "list items numbered 1, 2, 3, 4."
RenderBlock {DIV} at (0,52) size 784x123
RenderBlock {BLOCKQUOTE} at (2,0) size 742x38 [color=#0000FF] [border: (2px solid #0000FF)]
RenderBlock {OL} at (2,0) size 740x38
RenderListItem {LI} at (40,0) size 700x19
RenderListMarker at (-20,0) size 16x19: "1"
RenderText {#text} at (0,0) size 27x19
text run at (0,0) width 27: "One"
RenderListItem {LI} at (40,19) size 700x19
RenderListMarker at (-20,0) size 16x19: "2"
RenderText {#text} at (0,0) size 27x19
text run at (0,0) width 27: "Two"
RenderBlock (anonymous) at (0,52) size 784x19
RenderBR {BR} at (0,0) size 0x19
RenderBlock {BLOCKQUOTE} at (2,85) size 742x38 [color=#0000FF] [border: (2px solid #0000FF)]
RenderBlock {OL} at (2,0) size 740x38
RenderListItem {LI} at (40,0) size 700x19
RenderListMarker at (-20,0) size 16x19: "3"
RenderText {#text} at (0,0) size 38x19
text run at (0,0) width 38: "Three"
RenderListItem {LI} at (40,19) size 700x19
RenderListMarker at (-20,0) size 16x19: "4"
RenderText {#text} at (0,0) size 30x19
text run at (0,0) width 30: "Four"
RenderBody {BODY} at (8,8) size 784x576
RenderBlock {P} at (0,0) size 784x44
RenderText {#text} at (0,0) size 752x44
text run at (0,0) width 516: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
text run at (516,0) width 236: "You should see a list broken in two"
text run at (0,22) width 269: "below, the list items numbered 1, 2, 3, 4."
RenderBlock {DIV} at (0,60) size 784x142
RenderBlock {BLOCKQUOTE} at (2,0) size 742x44 [color=#0000FF] [border: (2px solid #0000FF)]
RenderBlock {OL} at (2,0) size 740x44
RenderListItem {LI} at (40,0) size 700x22
RenderListMarker at (-21,0) size 16x22: "1"
RenderText {#text} at (0,0) size 28x22
text run at (0,0) width 28: "One"
RenderListItem {LI} at (40,22) size 700x22
RenderListMarker at (-21,0) size 16x22: "2"
RenderText {#text} at (0,0) size 31x22
text run at (0,0) width 31: "Two"
RenderBlock (anonymous) at (0,60) size 784x22
RenderBR {BR} at (0,0) size 0x22
RenderBlock {BLOCKQUOTE} at (2,98) size 742x44 [color=#0000FF] [border: (2px solid #0000FF)]
RenderBlock {OL} at (2,0) size 740x44
RenderListItem {LI} at (40,0) size 700x22
RenderListMarker at (-21,0) size 16x22: "3"
RenderText {#text} at (0,0) size 41x22
text run at (0,0) width 41: "Three"
RenderListItem {LI} at (40,22) size 700x22
RenderListMarker at (-21,0) size 16x22: "4"
RenderText {#text} at (0,0) size 34x22
text run at (0,0) width 34: "Four"
caret: position 0 of child 2 {BR} of child 3 {DIV} of body
......@@ -2,37 +2,37 @@ layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x578
RenderBlock {P} at (0,0) size 784x38
RenderText {#text} at (0,0) size 774x38
text run at (0,0) width 485: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
text run at (485,0) width 289: "You should see a list broken in two below, the"
text run at (0,19) width 667: "list items numbered 1, 2, 2, 3, 4. Two list items will be numbered '2' because the original item '2' was split."
RenderBlock {DIV} at (0,52) size 784x142
RenderBlock {BLOCKQUOTE} at (2,0) size 742x38 [color=#0000FF] [border: (2px solid #0000FF)]
RenderBlock {OL} at (2,0) size 740x38
RenderListItem {LI} at (40,0) size 700x19
RenderListMarker at (-20,0) size 16x19: "1"
RenderText {#text} at (0,0) size 27x19
text run at (0,0) width 27: "One"
RenderListItem {LI} at (40,19) size 700x19
RenderListMarker at (-20,0) size 16x19: "2"
RenderText {#text} at (0,0) size 27x19
text run at (0,0) width 27: "Two"
RenderBlock (anonymous) at (0,52) size 784x19
RenderBR {BR} at (0,0) size 0x19
RenderBlock {BLOCKQUOTE} at (2,85) size 742x57 [color=#0000FF] [border: (2px solid #0000FF)]
RenderBlock {OL} at (2,0) size 740x57
RenderListItem {LI} at (40,0) size 700x19
RenderListMarker at (-20,0) size 16x19: "2"
RenderText {#text} at (0,0) size 27x19
text run at (0,0) width 27: "Two"
RenderListItem {LI} at (40,19) size 700x19
RenderListMarker at (-20,0) size 16x19: "3"
RenderText {#text} at (0,0) size 38x19
text run at (0,0) width 38: "Three"
RenderListItem {LI} at (40,38) size 700x19
RenderListMarker at (-20,0) size 16x19: "4"
RenderText {#text} at (0,0) size 30x19
text run at (0,0) width 30: "Four"
RenderBody {BODY} at (8,8) size 784x576
RenderBlock {P} at (0,0) size 784x44
RenderText {#text} at (0,0) size 781x44
text run at (0,0) width 516: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
text run at (516,0) width 236: "You should see a list broken in two"
text run at (0,22) width 781: "below, the list items numbered 1, 2, 2, 3, 4. Two list items will be numbered '2' because the original item '2' was split."
RenderBlock {DIV} at (0,60) size 784x164
RenderBlock {BLOCKQUOTE} at (2,0) size 742x44 [color=#0000FF] [border: (2px solid #0000FF)]
RenderBlock {OL} at (2,0) size 740x44
RenderListItem {LI} at (40,0) size 700x22
RenderListMarker at (-21,0) size 16x22: "1"
RenderText {#text} at (0,0) size 28x22
text run at (0,0) width 28: "One"
RenderListItem {LI} at (40,22) size 700x22
RenderListMarker at (-21,0) size 16x22: "2"
RenderText {#text} at (0,0) size 31x22
text run at (0,0) width 31: "Two"
RenderBlock (anonymous) at (0,60) size 784x22
RenderBR {BR} at (0,0) size 0x22
RenderBlock {BLOCKQUOTE} at (2,98) size 742x66 [color=#0000FF] [border: (2px solid #0000FF)]
RenderBlock {OL} at (2,0) size 740x66
RenderListItem {LI} at (40,0) size 700x22
RenderListMarker at (-21,0) size 16x22: "2"
RenderText {#text} at (0,0) size 31x22
text run at (0,0) width 31: "Two"
RenderListItem {LI} at (40,22) size 700x22
RenderListMarker at (-21,0) size 16x22: "3"
RenderText {#text} at (0,0) size 41x22
text run at (0,0) width 41: "Three"
RenderListItem {LI} at (40,44) size 700x22
RenderListMarker at (-21,0) size 16x22: "4"
RenderText {#text} at (0,0) size 34x22
text run at (0,0) width 34: "Four"
caret: position 0 of child 2 {BR} of child 3 {DIV} of body
......@@ -11,20 +11,21 @@ layer 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 {P} at (0,0) size 784x38
RenderText {#text} at (0,0) size 772x38
text run at (0,0) width 524: "This tests InsertUnorderedList on a selection that ends at the start of a paragraph. "
text run at (524,0) width 248: "Since we don't paint the gap before the"
text run at (0,19) width 765: "paragraph for most selections like this, we don't perform InsertUnorderedList on the paragraph that the selection ends in."
RenderBlock {DIV} at (0,52) size 784x52
RenderBlock {UL} at (0,0) size 784x19
RenderListItem {LI} at (40,0) size 744x19
RenderListMarker at (-17,0) size 7x19: bullet
RenderText {#text} at (0,0) size 215x19
text run at (0,0) width 215: "This paragraph should be in a list."
RenderBlock (anonymous) at (0,33) size 784x19
RenderText {#text} at (0,0) size 239x19
text run at (0,0) width 239: "This paragraph should not be in a list."
RenderBR {BR} at (239,14) size 0x0
RenderBlock {P} at (0,0) size 784x66
RenderText {#text} at (0,0) size 778x66
text run at (0,0) width 559: "This tests InsertUnorderedList on a selection that ends at the start of a paragraph. "
text run at (559,0) width 191: "Since we don't paint the gap"
text run at (0,22) width 778: "before the paragraph for most selections like this, we don't perform InsertUnorderedList on the paragraph that the"
text run at (0,44) width 113: "selection ends in."
RenderBlock {DIV} at (0,82) size 784x60
RenderBlock {UL} at (0,0) size 784x22
RenderListItem {LI} at (40,0) size 744x22
RenderListMarker at (-18,0) size 7x22: bullet
RenderText {#text} at (0,0) size 232x22
text run at (0,0) width 232: "This paragraph should be in a list."
RenderBlock (anonymous) at (0,38) size 784x22
RenderText {#text} at (0,0) size 258x22
text run at (0,0) width 258: "This paragraph should not be in a list."
RenderBR {BR} at (258,16) size 0x0
selection start: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of body
selection end: position 35 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of body
......@@ -3,7 +3,7 @@ EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document to 34 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 1 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document to 35 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
......@@ -11,18 +11,18 @@ layer 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 {P} at (0,0) size 784x38
RenderText {#text} at (0,0) size 777x38
text run at (0,0) width 438: "This tests Indent on a selection that ends at the start of a paragraph. "
text run at (438,0) width 339: "Since we don't paint the gap before the paragraph for"
text run at (0,19) width 588: "most selections like this, we don't perform Indent on the paragraph that the selection ends in."
RenderBlock {DIV} at (0,52) size 784x38
RenderBlock {BLOCKQUOTE} at (40,0) size 744x19
RenderText {#text} at (0,0) size 226x19
text run at (0,0) width 226: "This paragraph should be indented."
RenderBlock (anonymous) at (0,19) size 784x19
RenderText {#text} at (0,0) size 250x19
text run at (0,0) width 250: "This paragraph should not be indented."
RenderBR {BR} at (250,14) size 0x0
selection start: position 0 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
selection end: position 34 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
RenderBlock {P} at (0,0) size 784x44
RenderText {#text} at (0,0) size 727x44
text run at (0,0) width 463: "This tests Indent on a selection that ends at the start of a paragraph. "
text run at (463,0) width 263: "Since we don't paint the gap before the"
text run at (0,22) width 727: "paragraph for most selections like this, we don't perform Indent on the paragraph that the selection ends in."
RenderBlock {DIV} at (0,60) size 784x44
RenderBlock {BLOCKQUOTE} at (40,0) size 744x22
RenderText {#text} at (0,0) size 243x22
text run at (0,0) width 243: "This paragraph should be indented."
RenderBlock (anonymous) at (0,22) size 784x22
RenderText {#text} at (0,0) size 269x22
text run at (0,0) width 269: "This paragraph should not be indented."
RenderBR {BR} at (269,16) size 0x0
selection start: position 1 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
selection end: position 35 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
......@@ -2,25 +2,25 @@ layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x578
RenderBlock {P} at (0,0) size 784x39
RenderText {#text} at (0,0) size 737x38
text run at (0,0) width 281: "This test for a bug in Insert{Un}OrderedList. "
text run at (281,0) width 456: "Inside an empty editable region, a new paragraph is added, then a list is"
text run at (0,19) width 56: "created. "
text run at (56,19) width 131: "The caret should be "
RenderInline {B} at (0,0) size 42x20
RenderText {#text} at (187,19) size 42x20
text run at (187,19) width 42: "inside"
RenderText {#text} at (229,19) size 123x19
text run at (229,19) width 123: " the empty list item."
RenderBlock {DIV} at (0,53) size 784x52
RenderBlock {DIV} at (0,0) size 784x19
RenderBR {BR} at (0,0) size 0x19
RenderBlock {DIV} at (0,33) size 784x19
RenderBlock {UL} at (0,0) size 784x19
RenderListItem {LI} at (40,0) size 744x19
RenderListMarker at (-17,0) size 7x19: bullet
RenderBR {BR} at (0,0) size 0x19
RenderBlock (anonymous) at (0,33) size 784x0
RenderBody {BODY} at (8,8) size 784x576
RenderBlock {P} at (0,0) size 784x44
RenderText {#text} at (0,0) size 779x44
text run at (0,0) width 309: "This test for a bug in Insert{Un}OrderedList. "
text run at (309,0) width 470: "Inside an empty editable region, a new paragraph is added, then a list"
text run at (0,22) width 72: "is created. "
text run at (72,22) width 138: "The caret should be "
RenderInline {B} at (0,0) size 39x22
RenderText {#text} at (210,22) size 39x22
text run at (210,22) width 39: "inside"
RenderText {#text} at (249,22) size 131x22
text run at (249,22) width 131: " the empty list item."
RenderBlock {DIV} at (0,60) size 784x60
RenderBlock {DIV} at (0,0) size 784x22
RenderBR {BR} at (0,0) size 0x22
RenderBlock {DIV} at (0,38) size 784x22
RenderBlock {UL} at (0,0) size 784x22
RenderListItem {LI} at (40,0) size 744x22
RenderListMarker at (-18,0) size 7x22: bullet
RenderBR {BR} at (0,0) size 0x22
RenderBlock (anonymous) at (0,38) size 784x0
caret: position 0 of child 0 {BR} of child 0 {LI} of child 0 {UL} of child 1 {DIV} of child 2 {DIV} of body
......@@ -2,21 +2,21 @@ layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x578
RenderBlock {P} at (0,0) size 784x38
RenderText {#text} at (0,0) size 766x38
text run at (0,0) width 766: "This tests to see that creating an ordered list item from the last list item in an unordered list creates a new list that is not a"
text run at (0,19) width 162: "sublist of the original one."
RenderBlock {DIV} at (0,52) size 784x52
RenderBlock {UL} at (0,0) size 784x19
RenderListItem {LI} at (40,0) size 744x19
RenderListMarker at (-17,0) size 7x19: bullet
RenderText {#text} at (0,0) size 20x19
text run at (0,0) width 20: "foo"
RenderBlock {OL} at (0,33) size 784x19
RenderListItem {LI} at (40,0) size 744x19
RenderListMarker at (-20,0) size 16x19: "1"
RenderText {#text} at (0,0) size 21x19
text run at (0,0) width 21: "bar"
RenderBlock (anonymous) at (0,66) size 784x0
RenderBody {BODY} at (8,8) size 784x576
RenderBlock {P} at (0,0) size 784x44
RenderText {#text} at (0,0) size 774x44
text run at (0,0) width 774: "This tests to see that creating an ordered list item from the last list item in an unordered list creates a new list that is"
text run at (0,22) width 211: "not a sublist of the original one."
RenderBlock {DIV} at (0,60) size 784x60
RenderBlock {UL} at (0,0) size 784x22
RenderListItem {LI} at (40,0) size 744x22
RenderListMarker at (-18,0) size 7x22: bullet
RenderText {#text} at (0,0) size 21x22
text run at (0,0) width 21: "foo"
RenderBlock {OL} at (0,38) size 784x22
RenderListItem {LI} at (40,0) size 744x22
RenderListMarker at (-21,0) size 16x22: "1"
RenderText {#text} at (0,0) size 24x22
text run at (0,0) width 24: "bar"
RenderBlock (anonymous) at (0,76) size 784x0
caret: position 0 of child 0 {#text} of child 0 {LI} of child 1 {OL} of child 2 {DIV} of body
......@@ -3,18 +3,20 @@ layer 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 {P} at (0,0) size 784x38
RenderText {#text} at (0,0) size 756x38
text run at (0,0) width 383: "This tests selection preservation during an indent operation. "
text run at (383,0) width 373: "The selection should start and end in the same parts of the"
text run at (0,19) width 368: "words 'foo' and 'bar' before and after the indent operation."
RenderBlock {DIV} at (0,52) size 784x38
RenderBlock {BLOCKQUOTE} at (40,0) size 744x38
RenderText {#text} at (0,0) size 20x19
text run at (0,0) width 20: "foo"
RenderBR {BR} at (20,14) size 0x0
RenderText {#text} at (0,19) size 21x19
text run at (0,19) width 21: "bar"
RenderBlock (anonymous) at (0,38) size 784x0
selection start: position 1 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
selection end: position 2 of child 2 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
RenderBlock {P} at (0,0) size 784x44
RenderText {#text} at (0,0) size 775x44
text run at (0,0) width 408: "This tests selection preservation during an indent operation. "
text run at (408,0) width 367: "The selection should start and end in the same parts of"
text run at (0,22) width 424: "the words 'foo' and 'bar' before and after the indent operation."
RenderBlock {DIV} at (0,60) size 784x44
RenderBlock {BLOCKQUOTE} at (40,0) size 744x44
RenderInline {SPAN} at (0,0) size 21x22
RenderText {#text} at (0,0) size 21x22
text run at (0,0) width 21: "foo"
RenderBR {BR} at (21,16) size 0x0
RenderInline {SPAN} at (0,0) size 24x22
RenderText {#text} at (0,22) size 24x22
text run at (0,22) width 24: "bar"
RenderBlock (anonymous) at (0,44) size 784x0
selection start: position 1 of child 0 {#text} of child 0 {SPAN} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
selection end: position 2 of child 0 {#text} of child 1 {SPAN} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
......@@ -2,18 +2,18 @@ layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x578
RenderBlock {P} at (0,0) size 784x38
RenderText {#text} at (0,0) size 779x38
text run at (0,0) width 628: "This tests for a bug where changing the list type of an indented list would create unwanted nesting. "
text run at (628,0) width 151: "You should see a single"
text run at (0,19) width 221: "ordered list item in an indented list."
RenderBlock {DIV} at (0,52) size 784x19
RenderBlock {UL} at (0,0) size 784x19
RenderBlock {OL} at (40,0) size 744x19
RenderListItem {LI} at (40,0) size 704x19
RenderListMarker at (-20,0) size 16x19: "1"
RenderText {#text} at (0,0) size 20x19
text run at (0,0) width 20: "foo"
RenderBlock (anonymous) at (0,33) size 784x0
RenderBody {BODY} at (8,8) size 784x576
RenderBlock {P} at (0,0) size 784x44
RenderText {#text} at (0,0) size 783x44
text run at (0,0) width 669: "This tests for a bug where changing the list type of an indented list would create unwanted nesting. "
text run at (669,0) width 114: "You should see a"
text run at (0,22) width 280: "single ordered list item in an indented list."
RenderBlock {DIV} at (0,60) size 784x22
RenderBlock {UL} at (0,0) size 784x22
RenderBlock {OL} at (40,0) size 744x22
RenderListItem {LI} at (40,0) size 704x22
RenderListMarker at (-21,0) size 16x22: "1"
RenderText {#text} at (0,0) size 21x22
text run at (0,0) width 21: "foo"
RenderBlock (anonymous) at (0,38) size 784x0
caret: position 3 of child 0 {#text} of child 0 {LI} of child 0 {OL} of child 0 {UL} of child 2 {DIV} of body
layer at (0,0) size 800x600
RenderView 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 {P} at (0,0) size 784x38
RenderText {#text} at (0,0) size 782x38
text run at (0,0) width 600: "This tests for a bug where centering text would prevent it from being right or left aligned again. "