Changeset 86376 in webkit


Ignore:
Timestamp:
May 12, 2011 1:56:40 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

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:
Location:
trunk/LayoutTests
Files:
55 added
37 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r86374 r86376  
     12011-05-12  Chang Shu  <cshu@webkit.org>
     2
     3        Reviewed by Csaba Osztrogonác.
     4
     5        [Qt] Rebaseline editing/execCommand tests that are working
     6        https://bugs.webkit.org/show_bug.cgi?id=60717
     7
     8        Also based on digging of Zsolt Fehér.
     9
     10        * platform/qt/Skipped:
     11        * platform/qt/editing/execCommand/4580583-1-expected.png: Added.
     12        * platform/qt/editing/execCommand/4580583-1-expected.txt:
     13        * platform/qt/editing/execCommand/4580583-2-expected.png: Added.
     14        * platform/qt/editing/execCommand/4580583-2-expected.txt:
     15        * platform/qt/editing/execCommand/4641880-1-expected.png: Added.
     16        * platform/qt/editing/execCommand/4641880-1-expected.txt:
     17        * platform/qt/editing/execCommand/4641880-2-expected.png: Added.
     18        * platform/qt/editing/execCommand/4641880-2-expected.txt:
     19        * platform/qt/editing/execCommand/4747450-expected.png: Added.
     20        * platform/qt/editing/execCommand/4747450-expected.txt:
     21        * platform/qt/editing/execCommand/4786404-1-expected.png: Added.
     22        * platform/qt/editing/execCommand/4786404-2-expected.png: Added.
     23        * platform/qt/editing/execCommand/4916402-expected.png: Added.
     24        * platform/qt/editing/execCommand/4916402-expected.txt:
     25        * platform/qt/editing/execCommand/4916541-expected.png: Added.
     26        * platform/qt/editing/execCommand/4916541-expected.txt:
     27        * platform/qt/editing/execCommand/4924441-expected.png: Added.
     28        * platform/qt/editing/execCommand/4924441-expected.txt:
     29        * platform/qt/editing/execCommand/5049671-expected.png: Added.
     30        * platform/qt/editing/execCommand/5062376-expected.png: Added.
     31        * platform/qt/editing/execCommand/5062376-expected.txt:
     32        * platform/qt/editing/execCommand/5080333-1-expected.png: Added.
     33        * platform/qt/editing/execCommand/5080333-1-expected.txt:
     34        * platform/qt/editing/execCommand/5080333-2-expected.png: Added.
     35        * platform/qt/editing/execCommand/5080333-2-expected.txt:
     36        * platform/qt/editing/execCommand/5136770-expected.png: Added.
     37        * platform/qt/editing/execCommand/5136770-expected.txt:
     38        * platform/qt/editing/execCommand/5138441-expected.png: Added.
     39        * platform/qt/editing/execCommand/5138441-expected.txt:
     40        * platform/qt/editing/execCommand/5142012-1-expected.png: Added.
     41        * platform/qt/editing/execCommand/5142012-1-expected.txt:
     42        * platform/qt/editing/execCommand/5142012-2-expected.png: Added.
     43        * platform/qt/editing/execCommand/5142012-2-expected.txt:
     44        * platform/qt/editing/execCommand/5190926-expected.png: Added.
     45        * platform/qt/editing/execCommand/5190926-expected.txt:
     46        * platform/qt/editing/execCommand/5481523-expected.png: Added.
     47        * platform/qt/editing/execCommand/5481523-expected.txt: Added.
     48        * platform/qt/editing/execCommand/5482023-expected.png: Added.
     49        * platform/qt/editing/execCommand/5482023-expected.txt: Added.
     50        * platform/qt/editing/execCommand/5569741-expected.png: Added.
     51        * platform/qt/editing/execCommand/5569741-expected.txt: Added.
     52        * platform/qt/editing/execCommand/create-list-with-hr-expected.png: Added.
     53        * platform/qt/editing/execCommand/create-list-with-hr-expected.txt:
     54        * platform/qt/editing/execCommand/find-after-replace-expected.png: Added.
     55        * platform/qt/editing/execCommand/find-after-replace-expected.txt:
     56        * platform/qt/editing/execCommand/findString-2-expected.png: Added.
     57        * platform/qt/editing/execCommand/findString-2-expected.txt:
     58        * platform/qt/editing/execCommand/findString-expected.png: Added.
     59        * platform/qt/editing/execCommand/findString-expected.txt:
     60        * platform/qt/editing/execCommand/format-block-with-trailing-br-expected.png: Added.
     61        * platform/qt/editing/execCommand/format-block-with-trailing-br-expected.txt:
     62        * platform/qt/editing/execCommand/indent-empty-root-expected.png: Added.
     63        * platform/qt/editing/execCommand/indent-empty-root-expected.txt:
     64        * platform/qt/editing/execCommand/indent-list-item-expected.png: Added.
     65        * platform/qt/editing/execCommand/indent-list-item-expected.txt:
     66        * platform/qt/editing/execCommand/indent-selection-expected.png: Added.
     67        * platform/qt/editing/execCommand/indent-selection-expected.txt:
     68        * platform/qt/editing/execCommand/insert-list-and-stitch-expected.png: Added.
     69        * platform/qt/editing/execCommand/insert-list-and-stitch-expected.txt:
     70        * platform/qt/editing/execCommand/insert-list-with-id-expected.png: Added.
     71        * platform/qt/editing/execCommand/insert-list-with-id-expected.txt:
     72        * platform/qt/editing/execCommand/insertHorizontalRule-expected.png: Added.
     73        * platform/qt/editing/execCommand/insertHorizontalRule-expected.txt:
     74        * platform/qt/editing/execCommand/insertImage-expected.png: Added.
     75        * platform/qt/editing/execCommand/insertImage-expected.txt:
     76        * platform/qt/editing/execCommand/nsresponder-indent-expected.png: Added.
     77        * platform/qt/editing/execCommand/nsresponder-indent-expected.txt: Added.
     78        * platform/qt/editing/execCommand/nsresponder-outdent-expected.png: Added.
     79        * platform/qt/editing/execCommand/nsresponder-outdent-expected.txt: Added.
     80        * platform/qt/editing/execCommand/outdent-blockquote-test1-expected.png: Added.
     81        * platform/qt/editing/execCommand/outdent-blockquote-test1-expected.txt: Added.
     82        * platform/qt/editing/execCommand/outdent-blockquote-test2-expected.png: Added.
     83        * platform/qt/editing/execCommand/outdent-blockquote-test2-expected.txt: Added.
     84        * platform/qt/editing/execCommand/outdent-blockquote-test3-expected.png: Added.
     85        * platform/qt/editing/execCommand/outdent-blockquote-test3-expected.txt: Added.
     86        * platform/qt/editing/execCommand/outdent-blockquote-test4-expected.png: Added.
     87        * platform/qt/editing/execCommand/outdent-blockquote-test4-expected.txt: Added.
     88        * platform/qt/editing/execCommand/outdent-selection-expected.png: Added.
     89        * platform/qt/editing/execCommand/outdent-selection-expected.txt:
     90        * platform/qt/editing/execCommand/paste-1-expected.png: Added.
     91        * platform/qt/editing/execCommand/paste-1-expected.txt:
     92        * platform/qt/editing/execCommand/paste-2-expected.png: Added.
     93        * platform/qt/editing/execCommand/paste-2-expected.txt:
     94        * platform/qt/editing/execCommand/print-expected.png: Added.
     95        * platform/qt/editing/execCommand/print-expected.txt:
     96        * platform/qt/editing/execCommand/remove-list-from-range-selection-expected.png: Added.
     97        * platform/qt/editing/execCommand/remove-list-from-range-selection-expected.txt:
     98        * platform/qt/editing/execCommand/remove-list-item-1-expected.png: Added.
     99        * platform/qt/editing/execCommand/remove-list-item-1-expected.txt:
     100        * platform/qt/editing/execCommand/selectAll-expected.png: Added.
     101        * platform/qt/editing/execCommand/selectAll-expected.txt:
     102
    11032011-05-12  Chang Shu  <cshu@webkit.org>
    2104
  • trunk/LayoutTests/platform/qt/Skipped

    r86374 r86376  
    367367# headless display (like the buildbot), so XKeysymToKeycode doesn't work.
    368368plugins/keyboard-events.html
    369 # =========================================================================== #
    370 #       Failing execCommand tests.                                            #
    371 # =========================================================================== #
    372 
    373 # -- passes
    374 editing/execCommand/indent-paragraphs.html
    375 
    376 # ---- simple x/y diffs
    377 editing/execCommand/4580583-1.html
    378 editing/execCommand/nsresponder-indent.html
    379 editing/execCommand/nsresponder-outdent.html
    380 editing/execCommand/4641880-2.html
    381 editing/execCommand/4747450.html
    382 editing/execCommand/4786404-1.html
    383 editing/execCommand/4786404-2.html
    384 editing/execCommand/4916402.html
    385 editing/execCommand/4916541.html
    386 editing/execCommand/4924441.html
    387 editing/execCommand/5049671.html
    388 editing/execCommand/5062376.html
    389 editing/execCommand/5080333-1.html
    390 editing/execCommand/5080333-2.html
    391 editing/execCommand/5136770.html
    392 editing/execCommand/5138441.html
    393 editing/execCommand/5142012-1.html
    394 editing/execCommand/5190926.html
    395 editing/execCommand/5481523.html
    396 editing/execCommand/5569741.html
    397 editing/execCommand/5573879.html
    398 editing/execCommand/create-list-from-range-selection.html
    399 editing/execCommand/findString-2.html
    400 editing/execCommand/format-block-from-range-selection.html
    401 editing/execCommand/format-block.html
    402 editing/execCommand/format-block-with-braces.html
    403 editing/execCommand/format-block-with-trailing-br.html
    404 editing/execCommand/hilitecolor.html
    405 editing/execCommand/indent-empty-root.html
    406 editing/execCommand/indent-list-item.html
    407 editing/execCommand/indent-selection.html
    408 editing/execCommand/insertHorizontalRule.html
    409 editing/execCommand/insertImage.html
    410 editing/execCommand/insert-list-and-stitch.html
    411 editing/execCommand/insert-list-empty-div.html
    412 editing/execCommand/insert-list-with-id.html
    413 editing/execCommand/outdent-blockquote-test1.html
    414 editing/execCommand/outdent-blockquote-test2.html
    415 editing/execCommand/outdent-blockquote-test3.html
    416 editing/execCommand/outdent-blockquote-test4.html
    417 editing/execCommand/outdent-selection.html
    418 editing/execCommand/remove-list-from-range-selection.html
    419 editing/execCommand/remove-list-item-1.html
    420 editing/execCommand/4920488.html
    421 editing/execCommand/4920742-1.html
    422 editing/execCommand/create-list-with-hr.html
    423 
    424 
    425 # ---- fine, but not a simple diff
    426 editing/execCommand/4580583-2.html
    427 editing/execCommand/4641880-1.html
    428 # ---- rendertree results OK but suspicious diffs.
    429 editing/execCommand/print.html
    430 editing/execCommand/selectAll.html
    431 editing/execCommand/5142012-2.html
    432 editing/execCommand/5482023.html
    433 
    434 # -- text selection is incorrect
    435 editing/execCommand/findString.html
    436 editing/execCommand/find-after-replace.html
    437 editing/execCommand/paste-1.html
    438 editing/execCommand/paste-2.html
    439369
    440370# =========================================================================== #
  • trunk/LayoutTests/platform/qt/editing/execCommand/4580583-1-expected.txt

    r63292 r86376  
    33layer at (0,0) size 800x600
    44  RenderBlock {HTML} at (0,0) size 800x600
    5     RenderBody {BODY} at (8,8) size 784x578
    6       RenderBlock {P} at (0,0) size 784x38
    7         RenderText {#text} at (0,0) size 774x38
    8           text run at (0,0) width 485: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
    9           text run at (485,0) width 289: "You should see a list broken in two below, the"
    10           text run at (0,19) width 188: "list items numbered 1, 2, 3, 4."
    11       RenderBlock {DIV} at (0,52) size 784x123
    12         RenderBlock {BLOCKQUOTE} at (2,0) size 742x38 [color=#0000FF] [border: (2px solid #0000FF)]
    13           RenderBlock {OL} at (2,0) size 740x38
    14             RenderListItem {LI} at (40,0) size 700x19
    15               RenderListMarker at (-20,0) size 16x19: "1"
    16               RenderText {#text} at (0,0) size 27x19
    17                 text run at (0,0) width 27: "One"
    18             RenderListItem {LI} at (40,19) size 700x19
    19               RenderListMarker at (-20,0) size 16x19: "2"
    20               RenderText {#text} at (0,0) size 27x19
    21                 text run at (0,0) width 27: "Two"
    22         RenderBlock (anonymous) at (0,52) size 784x19
    23           RenderBR {BR} at (0,0) size 0x19
    24         RenderBlock {BLOCKQUOTE} at (2,85) size 742x38 [color=#0000FF] [border: (2px solid #0000FF)]
    25           RenderBlock {OL} at (2,0) size 740x38
    26             RenderListItem {LI} at (40,0) size 700x19
    27               RenderListMarker at (-20,0) size 16x19: "3"
    28               RenderText {#text} at (0,0) size 38x19
    29                 text run at (0,0) width 38: "Three"
    30             RenderListItem {LI} at (40,19) size 700x19
    31               RenderListMarker at (-20,0) size 16x19: "4"
    32               RenderText {#text} at (0,0) size 30x19
    33                 text run at (0,0) width 30: "Four"
     5    RenderBody {BODY} at (8,8) size 784x576
     6      RenderBlock {P} at (0,0) size 784x44
     7        RenderText {#text} at (0,0) size 752x44
     8          text run at (0,0) width 516: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
     9          text run at (516,0) width 236: "You should see a list broken in two"
     10          text run at (0,22) width 269: "below, the list items numbered 1, 2, 3, 4."
     11      RenderBlock {DIV} at (0,60) size 784x142
     12        RenderBlock {BLOCKQUOTE} at (2,0) size 742x44 [color=#0000FF] [border: (2px solid #0000FF)]
     13          RenderBlock {OL} at (2,0) size 740x44
     14            RenderListItem {LI} at (40,0) size 700x22
     15              RenderListMarker at (-21,0) size 16x22: "1"
     16              RenderText {#text} at (0,0) size 28x22
     17                text run at (0,0) width 28: "One"
     18            RenderListItem {LI} at (40,22) size 700x22
     19              RenderListMarker at (-21,0) size 16x22: "2"
     20              RenderText {#text} at (0,0) size 31x22
     21                text run at (0,0) width 31: "Two"
     22        RenderBlock (anonymous) at (0,60) size 784x22
     23          RenderBR {BR} at (0,0) size 0x22
     24        RenderBlock {BLOCKQUOTE} at (2,98) size 742x44 [color=#0000FF] [border: (2px solid #0000FF)]
     25          RenderBlock {OL} at (2,0) size 740x44
     26            RenderListItem {LI} at (40,0) size 700x22
     27              RenderListMarker at (-21,0) size 16x22: "3"
     28              RenderText {#text} at (0,0) size 41x22
     29                text run at (0,0) width 41: "Three"
     30            RenderListItem {LI} at (40,22) size 700x22
     31              RenderListMarker at (-21,0) size 16x22: "4"
     32              RenderText {#text} at (0,0) size 34x22
     33                text run at (0,0) width 34: "Four"
    3434caret: position 0 of child 2 {BR} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/4580583-2-expected.txt

    r63292 r86376  
    33layer at (0,0) size 800x600
    44  RenderBlock {HTML} at (0,0) size 800x600
    5     RenderBody {BODY} at (8,8) size 784x578
    6       RenderBlock {P} at (0,0) size 784x38
    7         RenderText {#text} at (0,0) size 774x38
    8           text run at (0,0) width 485: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
    9           text run at (485,0) width 289: "You should see a list broken in two below, the"
    10           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."
    11       RenderBlock {DIV} at (0,52) size 784x142
    12         RenderBlock {BLOCKQUOTE} at (2,0) size 742x38 [color=#0000FF] [border: (2px solid #0000FF)]
    13           RenderBlock {OL} at (2,0) size 740x38
    14             RenderListItem {LI} at (40,0) size 700x19
    15               RenderListMarker at (-20,0) size 16x19: "1"
    16               RenderText {#text} at (0,0) size 27x19
    17                 text run at (0,0) width 27: "One"
    18             RenderListItem {LI} at (40,19) size 700x19
    19               RenderListMarker at (-20,0) size 16x19: "2"
    20               RenderText {#text} at (0,0) size 27x19
    21                 text run at (0,0) width 27: "Two"
    22         RenderBlock (anonymous) at (0,52) size 784x19
    23           RenderBR {BR} at (0,0) size 0x19
    24         RenderBlock {BLOCKQUOTE} at (2,85) size 742x57 [color=#0000FF] [border: (2px solid #0000FF)]
    25           RenderBlock {OL} at (2,0) size 740x57
    26             RenderListItem {LI} at (40,0) size 700x19
    27               RenderListMarker at (-20,0) size 16x19: "2"
    28               RenderText {#text} at (0,0) size 27x19
    29                 text run at (0,0) width 27: "Two"
    30             RenderListItem {LI} at (40,19) size 700x19
    31               RenderListMarker at (-20,0) size 16x19: "3"
    32               RenderText {#text} at (0,0) size 38x19
    33                 text run at (0,0) width 38: "Three"
    34             RenderListItem {LI} at (40,38) size 700x19
    35               RenderListMarker at (-20,0) size 16x19: "4"
    36               RenderText {#text} at (0,0) size 30x19
    37                 text run at (0,0) width 30: "Four"
     5    RenderBody {BODY} at (8,8) size 784x576
     6      RenderBlock {P} at (0,0) size 784x44
     7        RenderText {#text} at (0,0) size 781x44
     8          text run at (0,0) width 516: "This tests to make sure that breaking a quoted list doesn't renumber the list. "
     9          text run at (516,0) width 236: "You should see a list broken in two"
     10          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."
     11      RenderBlock {DIV} at (0,60) size 784x164
     12        RenderBlock {BLOCKQUOTE} at (2,0) size 742x44 [color=#0000FF] [border: (2px solid #0000FF)]
     13          RenderBlock {OL} at (2,0) size 740x44
     14            RenderListItem {LI} at (40,0) size 700x22
     15              RenderListMarker at (-21,0) size 16x22: "1"
     16              RenderText {#text} at (0,0) size 28x22
     17                text run at (0,0) width 28: "One"
     18            RenderListItem {LI} at (40,22) size 700x22
     19              RenderListMarker at (-21,0) size 16x22: "2"
     20              RenderText {#text} at (0,0) size 31x22
     21                text run at (0,0) width 31: "Two"
     22        RenderBlock (anonymous) at (0,60) size 784x22
     23          RenderBR {BR} at (0,0) size 0x22
     24        RenderBlock {BLOCKQUOTE} at (2,98) size 742x66 [color=#0000FF] [border: (2px solid #0000FF)]
     25          RenderBlock {OL} at (2,0) size 740x66
     26            RenderListItem {LI} at (40,0) size 700x22
     27              RenderListMarker at (-21,0) size 16x22: "2"
     28              RenderText {#text} at (0,0) size 31x22
     29                text run at (0,0) width 31: "Two"
     30            RenderListItem {LI} at (40,22) size 700x22
     31              RenderListMarker at (-21,0) size 16x22: "3"
     32              RenderText {#text} at (0,0) size 41x22
     33                text run at (0,0) width 41: "Three"
     34            RenderListItem {LI} at (40,44) size 700x22
     35              RenderListMarker at (-21,0) size 16x22: "4"
     36              RenderText {#text} at (0,0) size 34x22
     37                text run at (0,0) width 34: "Four"
    3838caret: position 0 of child 2 {BR} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/4641880-1-expected.txt

    r63292 r86376  
    1212  RenderBlock {HTML} at (0,0) size 800x600
    1313    RenderBody {BODY} at (8,8) size 784x584
    14       RenderBlock {P} at (0,0) size 784x38
    15         RenderText {#text} at (0,0) size 772x38
    16           text run at (0,0) width 524: "This tests InsertUnorderedList on a selection that ends at the start of a paragraph. "
    17           text run at (524,0) width 248: "Since we don't paint the gap before the"
    18           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."
    19       RenderBlock {DIV} at (0,52) size 784x52
    20         RenderBlock {UL} at (0,0) size 784x19
    21           RenderListItem {LI} at (40,0) size 744x19
    22             RenderListMarker at (-17,0) size 7x19: bullet
    23             RenderText {#text} at (0,0) size 215x19
    24               text run at (0,0) width 215: "This paragraph should be in a list."
    25         RenderBlock (anonymous) at (0,33) size 784x19
    26           RenderText {#text} at (0,0) size 239x19
    27             text run at (0,0) width 239: "This paragraph should not be in a list."
    28           RenderBR {BR} at (239,14) size 0x0
     14      RenderBlock {P} at (0,0) size 784x66
     15        RenderText {#text} at (0,0) size 778x66
     16          text run at (0,0) width 559: "This tests InsertUnorderedList on a selection that ends at the start of a paragraph. "
     17          text run at (559,0) width 191: "Since we don't paint the gap"
     18          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"
     19          text run at (0,44) width 113: "selection ends in."
     20      RenderBlock {DIV} at (0,82) size 784x60
     21        RenderBlock {UL} at (0,0) size 784x22
     22          RenderListItem {LI} at (40,0) size 744x22
     23            RenderListMarker at (-18,0) size 7x22: bullet
     24            RenderText {#text} at (0,0) size 232x22
     25              text run at (0,0) width 232: "This paragraph should be in a list."
     26        RenderBlock (anonymous) at (0,38) size 784x22
     27          RenderText {#text} at (0,0) size 258x22
     28            text run at (0,0) width 258: "This paragraph should not be in a list."
     29          RenderBR {BR} at (258,16) size 0x0
    2930selection start: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of body
    3031selection end:   position 35 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/4641880-2-expected.txt

    r63292 r86376  
    44EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    55EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    6 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
     6EDITING 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
    77EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    88EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
     
    1212  RenderBlock {HTML} at (0,0) size 800x600
    1313    RenderBody {BODY} at (8,8) size 784x584
    14       RenderBlock {P} at (0,0) size 784x38
    15         RenderText {#text} at (0,0) size 777x38
    16           text run at (0,0) width 438: "This tests Indent on a selection that ends at the start of a paragraph. "
    17           text run at (438,0) width 339: "Since we don't paint the gap before the paragraph for"
    18           text run at (0,19) width 588: "most selections like this, we don't perform Indent on the paragraph that the selection ends in."
    19       RenderBlock {DIV} at (0,52) size 784x38
    20         RenderBlock {BLOCKQUOTE} at (40,0) size 744x19
    21           RenderText {#text} at (0,0) size 226x19
    22             text run at (0,0) width 226: "This paragraph should be indented."
    23         RenderBlock (anonymous) at (0,19) size 784x19
    24           RenderText {#text} at (0,0) size 250x19
    25             text run at (0,0) width 250: "This paragraph should not be indented."
    26           RenderBR {BR} at (250,14) size 0x0
    27 selection start: position 0 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
    28 selection end:   position 34 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
     14      RenderBlock {P} at (0,0) size 784x44
     15        RenderText {#text} at (0,0) size 727x44
     16          text run at (0,0) width 463: "This tests Indent on a selection that ends at the start of a paragraph. "
     17          text run at (463,0) width 263: "Since we don't paint the gap before the"
     18          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."
     19      RenderBlock {DIV} at (0,60) size 784x44
     20        RenderBlock {BLOCKQUOTE} at (40,0) size 744x22
     21          RenderText {#text} at (0,0) size 243x22
     22            text run at (0,0) width 243: "This paragraph should be indented."
     23        RenderBlock (anonymous) at (0,22) size 784x22
     24          RenderText {#text} at (0,0) size 269x22
     25            text run at (0,0) width 269: "This paragraph should not be indented."
     26          RenderBR {BR} at (269,16) size 0x0
     27selection start: position 1 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
     28selection end:   position 35 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/4747450-expected.txt

    r63292 r86376  
    33layer at (0,0) size 800x600
    44  RenderBlock {HTML} at (0,0) size 800x600
    5     RenderBody {BODY} at (8,8) size 784x578
    6       RenderBlock {P} at (0,0) size 784x39
    7         RenderText {#text} at (0,0) size 737x38
    8           text run at (0,0) width 281: "This test for a bug in Insert{Un}OrderedList. "
    9           text run at (281,0) width 456: "Inside an empty editable region, a new paragraph is added, then a list is"
    10           text run at (0,19) width 56: "created. "
    11           text run at (56,19) width 131: "The caret should be "
    12         RenderInline {B} at (0,0) size 42x20
    13           RenderText {#text} at (187,19) size 42x20
    14             text run at (187,19) width 42: "inside"
    15         RenderText {#text} at (229,19) size 123x19
    16           text run at (229,19) width 123: " the empty list item."
    17       RenderBlock {DIV} at (0,53) size 784x52
    18         RenderBlock {DIV} at (0,0) size 784x19
    19           RenderBR {BR} at (0,0) size 0x19
    20         RenderBlock {DIV} at (0,33) size 784x19
    21           RenderBlock {UL} at (0,0) size 784x19
    22             RenderListItem {LI} at (40,0) size 744x19
    23               RenderListMarker at (-17,0) size 7x19: bullet
    24               RenderBR {BR} at (0,0) size 0x19
    25           RenderBlock (anonymous) at (0,33) size 784x0
     5    RenderBody {BODY} at (8,8) size 784x576
     6      RenderBlock {P} at (0,0) size 784x44
     7        RenderText {#text} at (0,0) size 779x44
     8          text run at (0,0) width 309: "This test for a bug in Insert{Un}OrderedList. "
     9          text run at (309,0) width 470: "Inside an empty editable region, a new paragraph is added, then a list"
     10          text run at (0,22) width 72: "is created. "
     11          text run at (72,22) width 138: "The caret should be "
     12        RenderInline {B} at (0,0) size 39x22
     13          RenderText {#text} at (210,22) size 39x22
     14            text run at (210,22) width 39: "inside"
     15        RenderText {#text} at (249,22) size 131x22
     16          text run at (249,22) width 131: " the empty list item."
     17      RenderBlock {DIV} at (0,60) size 784x60
     18        RenderBlock {DIV} at (0,0) size 784x22
     19          RenderBR {BR} at (0,0) size 0x22
     20        RenderBlock {DIV} at (0,38) size 784x22
     21          RenderBlock {UL} at (0,0) size 784x22
     22            RenderListItem {LI} at (40,0) size 744x22
     23              RenderListMarker at (-18,0) size 7x22: bullet
     24              RenderBR {BR} at (0,0) size 0x22
     25          RenderBlock (anonymous) at (0,38) size 784x0
    2626caret: position 0 of child 0 {BR} of child 0 {LI} of child 0 {UL} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/4916402-expected.txt

    r63292 r86376  
    33layer at (0,0) size 800x600
    44  RenderBlock {HTML} at (0,0) size 800x600
    5     RenderBody {BODY} at (8,8) size 784x578
    6       RenderBlock {P} at (0,0) size 784x38
    7         RenderText {#text} at (0,0) size 766x38
    8           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"
    9           text run at (0,19) width 162: "sublist of the original one."
    10       RenderBlock {DIV} at (0,52) size 784x52
    11         RenderBlock {UL} at (0,0) size 784x19
    12           RenderListItem {LI} at (40,0) size 744x19
    13             RenderListMarker at (-17,0) size 7x19: bullet
    14             RenderText {#text} at (0,0) size 20x19
    15               text run at (0,0) width 20: "foo"
    16         RenderBlock {OL} at (0,33) size 784x19
    17           RenderListItem {LI} at (40,0) size 744x19
    18             RenderListMarker at (-20,0) size 16x19: "1"
    19             RenderText {#text} at (0,0) size 21x19
    20               text run at (0,0) width 21: "bar"
    21         RenderBlock (anonymous) at (0,66) size 784x0
     5    RenderBody {BODY} at (8,8) size 784x576
     6      RenderBlock {P} at (0,0) size 784x44
     7        RenderText {#text} at (0,0) size 774x44
     8          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"
     9          text run at (0,22) width 211: "not a sublist of the original one."
     10      RenderBlock {DIV} at (0,60) size 784x60
     11        RenderBlock {UL} at (0,0) size 784x22
     12          RenderListItem {LI} at (40,0) size 744x22
     13            RenderListMarker at (-18,0) size 7x22: bullet
     14            RenderText {#text} at (0,0) size 21x22
     15              text run at (0,0) width 21: "foo"
     16        RenderBlock {OL} at (0,38) size 784x22
     17          RenderListItem {LI} at (40,0) size 744x22
     18            RenderListMarker at (-21,0) size 16x22: "1"
     19            RenderText {#text} at (0,0) size 24x22
     20              text run at (0,0) width 24: "bar"
     21        RenderBlock (anonymous) at (0,76) size 784x0
    2222caret: position 0 of child 0 {#text} of child 0 {LI} of child 1 {OL} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/4916541-expected.txt

    r63292 r86376  
    44  RenderBlock {HTML} at (0,0) size 800x600
    55    RenderBody {BODY} at (8,8) size 784x584
    6       RenderBlock {P} at (0,0) size 784x38
    7         RenderText {#text} at (0,0) size 756x38
    8           text run at (0,0) width 383: "This tests selection preservation during an indent operation. "
    9           text run at (383,0) width 373: "The selection should start and end in the same parts of the"
    10           text run at (0,19) width 368: "words 'foo' and 'bar' before and after the indent operation."
    11       RenderBlock {DIV} at (0,52) size 784x38
    12         RenderBlock {BLOCKQUOTE} at (40,0) size 744x38
    13           RenderText {#text} at (0,0) size 20x19
    14             text run at (0,0) width 20: "foo"
    15           RenderBR {BR} at (20,14) size 0x0
    16           RenderText {#text} at (0,19) size 21x19
    17             text run at (0,19) width 21: "bar"
    18         RenderBlock (anonymous) at (0,38) size 784x0
    19 selection start: position 1 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
    20 selection end:   position 2 of child 2 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
     6      RenderBlock {P} at (0,0) size 784x44
     7        RenderText {#text} at (0,0) size 775x44
     8          text run at (0,0) width 408: "This tests selection preservation during an indent operation. "
     9          text run at (408,0) width 367: "The selection should start and end in the same parts of"
     10          text run at (0,22) width 424: "the words 'foo' and 'bar' before and after the indent operation."
     11      RenderBlock {DIV} at (0,60) size 784x44
     12        RenderBlock {BLOCKQUOTE} at (40,0) size 744x44
     13          RenderInline {SPAN} at (0,0) size 21x22
     14            RenderText {#text} at (0,0) size 21x22
     15              text run at (0,0) width 21: "foo"
     16            RenderBR {BR} at (21,16) size 0x0
     17          RenderInline {SPAN} at (0,0) size 24x22
     18            RenderText {#text} at (0,22) size 24x22
     19              text run at (0,22) width 24: "bar"
     20        RenderBlock (anonymous) at (0,44) size 784x0
     21selection start: position 1 of child 0 {#text} of child 0 {SPAN} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
     22selection end:   position 2 of child 0 {#text} of child 1 {SPAN} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/4924441-expected.txt

    r63292 r86376  
    33layer at (0,0) size 800x600
    44  RenderBlock {HTML} at (0,0) size 800x600
    5     RenderBody {BODY} at (8,8) size 784x578
    6       RenderBlock {P} at (0,0) size 784x38
    7         RenderText {#text} at (0,0) size 779x38
    8           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. "
    9           text run at (628,0) width 151: "You should see a single"
    10           text run at (0,19) width 221: "ordered list item in an indented list."
    11       RenderBlock {DIV} at (0,52) size 784x19
    12         RenderBlock {UL} at (0,0) size 784x19
    13           RenderBlock {OL} at (40,0) size 744x19
    14             RenderListItem {LI} at (40,0) size 704x19
    15               RenderListMarker at (-20,0) size 16x19: "1"
    16               RenderText {#text} at (0,0) size 20x19
    17                 text run at (0,0) width 20: "foo"
    18         RenderBlock (anonymous) at (0,33) size 784x0
     5    RenderBody {BODY} at (8,8) size 784x576
     6      RenderBlock {P} at (0,0) size 784x44
     7        RenderText {#text} at (0,0) size 783x44
     8          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. "
     9          text run at (669,0) width 114: "You should see a"
     10          text run at (0,22) width 280: "single ordered list item in an indented list."
     11      RenderBlock {DIV} at (0,60) size 784x22
     12        RenderBlock {UL} at (0,0) size 784x22
     13          RenderBlock {OL} at (40,0) size 744x22
     14            RenderListItem {LI} at (40,0) size 704x22
     15              RenderListMarker at (-21,0) size 16x22: "1"
     16              RenderText {#text} at (0,0) size 21x22
     17                text run at (0,0) width 21: "foo"
     18        RenderBlock (anonymous) at (0,38) size 784x0
    1919caret: position 3 of child 0 {#text} of child 0 {LI} of child 0 {OL} of child 0 {UL} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/5062376-expected.txt

    r63292 r86376  
    1 layer at (0,0) size 800x600
    2   RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x600
    4   RenderBlock {HTML} at (0,0) size 800x600
    5     RenderBody {BODY} at (8,8) size 784x584
    6       RenderBlock {P} at (0,0) size 784x38
    7         RenderText {#text} at (0,0) size 782x38
    8           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. "
    9           text run at (600,0) width 182: "The paragraph below should"
    10           text run at (0,19) width 102: "be right aligned."
    11       RenderBlock {DIV} at (0,52) size 784x19
    12         RenderText {#text} at (764,0) size 20x19
    13           text run at (764,0) width 20: "foo"
    14 selection start: position 0 of child 0 {#text} of child 2 {DIV} of body
    15 selection end:   position 3 of child 0 {#text} of child 2 {DIV} of body
     1This tests for a bug where centering text would prevent it from being right or left aligned again. The paragraph should be right aligned.
     2
     3Success
  • trunk/LayoutTests/platform/qt/editing/execCommand/5080333-1-expected.txt

    r63292 r86376  
    44  RenderBlock {HTML} at (0,0) size 800x600
    55    RenderBody {BODY} at (8,8) size 784x584
    6       RenderBlock {P} at (0,0) size 784x57
    7         RenderText {#text} at (0,0) size 783x57
    8           text run at (0,0) width 744: "This tests for a bug where changing the alignment of an image would result in a selection that wasn't the one that was"
    9           text run at (0,19) width 242: "present before the alignment change. "
    10           text run at (242,19) width 541: "The image should be centered and the caret should be the same before and after the"
    11           text run at (0,38) width 64: "operation."
    12       RenderBlock {DIV} at (0,71) size 784x141
    13         RenderBlock (anonymous) at (0,0) size 784x19
    14           RenderText {#text} at (0,0) size 20x19
    15             text run at (0,0) width 20: "foo"
    16           RenderBR {BR} at (20,14) size 0x0
    17         RenderBlock {DIV} at (0,19) size 784x103
     6      RenderBlock {P} at (0,0) size 784x66
     7        RenderText {#text} at (0,0) size 760x66
     8          text run at (0,0) width 760: "This tests for a bug where changing the alignment of an image would result in a selection that wasn't the one that"
     9          text run at (0,22) width 283: "was present before the alignment change. "
     10          text run at (283,22) width 474: "The image should be centered and the caret should be the same before"
     11          text run at (0,44) width 160: "and after the operation."
     12      RenderBlock {DIV} at (0,82) size 784x147
     13        RenderBlock (anonymous) at (0,0) size 784x22
     14          RenderText {#text} at (0,0) size 21x22
     15            text run at (0,0) width 21: "foo"
     16          RenderBR {BR} at (21,16) size 0x0
     17        RenderBlock {DIV} at (0,22) size 784x103
    1818          RenderImage {IMG} at (354,0) size 76x103
    19         RenderBlock (anonymous) at (0,122) size 784x19
    20           RenderText {#text} at (0,0) size 23x19
    21             text run at (0,0) width 23: "baz"
     19        RenderBlock (anonymous) at (0,125) size 784x22
     20          RenderText {#text} at (0,0) size 24x22
     21            text run at (0,0) width 24: "baz"
    2222caret: position 0 of child 0 {IMG} of child 2 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/5080333-2-expected.txt

    r63292 r86376  
    44  RenderBlock {HTML} at (0,0) size 800x600
    55    RenderBody {BODY} at (8,8) size 784x584
    6       RenderBlock {P} at (0,0) size 784x57
    7         RenderText {#text} at (0,0) size 783x57
    8           text run at (0,0) width 744: "This tests for a bug where changing the alignment of an image would result in a selection that wasn't the one that was"
    9           text run at (0,19) width 242: "present before the alignment change. "
    10           text run at (242,19) width 541: "The image should be centered and the selection should be the same before and after"
    11           text run at (0,38) width 88: "the operation."
    12       RenderBlock {DIV} at (0,71) size 784x141
    13         RenderBlock (anonymous) at (0,0) size 784x19
    14           RenderText {#text} at (0,0) size 20x19
    15             text run at (0,0) width 20: "foo"
    16           RenderBR {BR} at (20,14) size 0x0
    17         RenderBlock {DIV} at (0,19) size 784x103
     6      RenderBlock {P} at (0,0) size 784x66
     7        RenderText {#text} at (0,0) size 780x66
     8          text run at (0,0) width 760: "This tests for a bug where changing the alignment of an image would result in a selection that wasn't the one that"
     9          text run at (0,22) width 283: "was present before the alignment change. "
     10          text run at (283,22) width 497: "The image should be centered and the selection should be the same before"
     11          text run at (0,44) width 160: "and after the operation."
     12      RenderBlock {DIV} at (0,82) size 784x147
     13        RenderBlock (anonymous) at (0,0) size 784x22
     14          RenderText {#text} at (0,0) size 21x22
     15            text run at (0,0) width 21: "foo"
     16          RenderBR {BR} at (21,16) size 0x0
     17        RenderBlock {DIV} at (0,22) size 784x103
    1818          RenderImage {IMG} at (354,0) size 76x103
    19         RenderBlock (anonymous) at (0,122) size 784x19
    20           RenderText {#text} at (0,0) size 23x19
    21             text run at (0,0) width 23: "baz"
     19        RenderBlock (anonymous) at (0,125) size 784x22
     20          RenderText {#text} at (0,0) size 24x22
     21            text run at (0,0) width 24: "baz"
    2222selection start: position 0 of child 0 {IMG} of child 2 {DIV} of child 2 {DIV} of body
    2323selection end:   position 1 of child 0 {IMG} of child 2 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/5136770-expected.txt

    r63292 r86376  
    33layer at (0,0) size 800x600
    44  RenderBlock {HTML} at (0,0) size 800x600
    5     RenderBody {BODY} at (8,8) size 784x578
    6       RenderBlock {P} at (0,0) size 784x19
    7         RenderText {#text} at (0,0) size 375x19
    8           text run at (0,0) width 375: "This tests for a hang when performing InsertUnorderedList."
    9       RenderBlock {DIV} at (0,33) size 784x90
    10         RenderBlock {DIV} at (0,0) size 784x19
    11           RenderText {#text} at (0,0) size 347x19
    12             text run at (0,0) width 347: "There should be two empty unordered list items below."
    13         RenderBlock {DIV} at (0,33) size 784x57
    14           RenderBlock {UL} at (0,0) size 784x57
    15             RenderListItem {LI} at (40,0) size 744x19
    16               RenderListMarker at (-17,0) size 7x19: bullet
    17               RenderBR {BR} at (0,0) size 0x19
    18             RenderListItem {LI} at (40,19) size 744x19
    19               RenderListMarker at (-17,0) size 7x19: bullet
    20               RenderBR {BR} at (0,0) size 0x19
    21             RenderListItem {LI} at (40,38) size 744x19
    22               RenderListMarker at (-17,0) size 7x19: bullet
    23               RenderText {#text} at (0,0) size 239x19
    24                 text run at (0,0) width 239: "This should be an unordered list item."
    25           RenderBlock (anonymous) at (0,71) size 784x0
     5    RenderBody {BODY} at (8,8) size 784x576
     6      RenderBlock {P} at (0,0) size 784x22
     7        RenderText {#text} at (0,0) size 408x22
     8          text run at (0,0) width 408: "This tests for a hang when performing InsertUnorderedList."
     9      RenderBlock {DIV} at (0,38) size 784x104
     10        RenderBlock {DIV} at (0,0) size 784x22
     11          RenderText {#text} at (0,0) size 371x22
     12            text run at (0,0) width 371: "There should be two empty unordered list items below."
     13        RenderBlock {DIV} at (0,38) size 784x66
     14          RenderBlock {UL} at (0,0) size 784x66
     15            RenderListItem {LI} at (40,0) size 744x22
     16              RenderListMarker at (-18,0) size 7x22: bullet
     17              RenderBR {BR} at (0,0) size 0x22
     18            RenderListItem {LI} at (40,22) size 744x22
     19              RenderListMarker at (-18,0) size 7x22: bullet
     20              RenderBR {BR} at (0,0) size 0x22
     21            RenderListItem {LI} at (40,44) size 744x22
     22              RenderListMarker at (-18,0) size 7x22: bullet
     23              RenderText {#text} at (0,0) size 256x22
     24                text run at (0,0) width 256: "This should be an unordered list item."
     25          RenderBlock (anonymous) at (0,82) size 784x0
    2626selection start: position 0 of child 0 {BR} of child 0 {LI} of child 0 {UL} of child 3 {DIV} of child 2 {DIV} of body
    2727selection end:   position 38 of child 0 {#text} of child 2 {LI} of child 0 {UL} of child 3 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/5138441-expected.txt

    r63292 r86376  
    44  RenderBlock {HTML} at (0,0) size 800x600
    55    RenderBody {BODY} at (8,8) size 784x584
    6       RenderBlock {P} at (0,0) size 784x57
    7         RenderText {#text} at (0,0) size 779x57
    8           text run at (0,0) width 494: "This tests for a bug where indented text would appear quoted in GoogleDocs. "
    9           text run at (494,0) width 222: "Google docs uses blockquotes and"
    10           text run at (0,19) width 779: "FormatBlock to implement a \"Quote Text\" feature, and style rules for blockquotes appeared on the blockquotes that we use"
    11           text run at (0,38) width 148: "to implement indenting."
    12       RenderBlock {DIV} at (0,71) size 784x61
    13         RenderBlock {BLOCKQUOTE} at (40,0) size 744x19
    14           RenderText {#text} at (0,0) size 232x19
    15             text run at (0,0) width 232: "This should be indented, not quoted."
    16         RenderBlock {BLOCKQUOTE} at (7,26) size 770x35 [border: (1px dashed #AAAAAA)]
    17           RenderText {#text} at (8,8) size 175x19
    18             text run at (8,8) width 175: "This text should be Quoted."
    19 caret: position 0 of child 0 {#text} of child 1 {BLOCKQUOTE} of child 3 {DIV} of body
     6      RenderBlock {P} at (0,0) size 784x66
     7        RenderText {#text} at (0,0) size 757x66
     8          text run at (0,0) width 525: "This tests for a bug where indented text would appear quoted in GoogleDocs. "
     9          text run at (525,0) width 228: "Google docs uses blockquotes and"
     10          text run at (0,22) width 757: "FormatBlock to implement a \"Quote Text\" feature, and style rules for blockquotes appeared on the blockquotes"
     11          text run at (0,44) width 240: "that we use to implement indenting."
     12      RenderBlock {DIV} at (0,82) size 784x70
     13        RenderBlock {BLOCKQUOTE} at (40,0) size 744x22
     14          RenderBlock {DIV} at (0,0) size 744x22
     15            RenderText {#text} at (0,0) size 247x22
     16              text run at (0,0) width 247: "This should be indented, not quoted."
     17        RenderBlock {BLOCKQUOTE} at (8,30) size 768x40 [border: (1px dashed #AAAAAA)]
     18          RenderText {#text} at (9,9) size 186x22
     19            text run at (9,9) width 186: "This text should be Quoted."
     20caret: position 0 of child 0 {#text} of child 0 {DIV} of child 1 {BLOCKQUOTE} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/5142012-1-expected.txt

    r63292 r86376  
    44  RenderBlock {HTML} at (0,0) size 800x600
    55    RenderBody {BODY} at (8,8) size 784x584
    6       RenderBlock {P} at (0,0) size 784x38
    7         RenderText {#text} at (0,0) size 753x38
    8           text run at (0,0) width 440: "This tests for a bug when removing links from a selection with Unlink. "
    9           text run at (440,0) width 313: "There shouldn't be any links *inside the selection*"
    10           text run at (0,19) width 41: "below."
    11       RenderBlock {DIV} at (0,52) size 784x38
    12         RenderBlock {DIV} at (0,0) size 784x19
    13           RenderInline {A} at (0,0) size 21x19 [color=#0000EE]
    14             RenderText {#text} at (0,0) size 21x19
    15               text run at (0,0) width 21: "Hel"
    16           RenderInline {SPAN} at (0,0) size 11x19
    17             RenderText {#text} at (21,0) size 11x19
    18               text run at (21,0) width 11: "lo"
    19         RenderBlock (anonymous) at (0,19) size 784x0
    20         RenderBlock {DIV} at (0,19) size 784x19
    21           RenderInline {SPAN} at (0,0) size 13x19
    22             RenderText {#text} at (0,0) size 13x19
    23               text run at (0,0) width 13: "W"
    24           RenderText {#text} at (13,0) size 28x19
    25             text run at (13,0) width 28: "orld!"
     6      RenderBlock {P} at (0,0) size 784x44
     7        RenderText {#text} at (0,0) size 746x44
     8          text run at (0,0) width 477: "This tests for a bug when removing links from a selection with Unlink. "
     9          text run at (477,0) width 269: "There shouldn't be any links *inside the"
     10          text run at (0,22) width 113: "selection* below."
     11      RenderBlock {DIV} at (0,60) size 784x44
     12        RenderBlock {DIV} at (0,0) size 784x22
     13          RenderInline {A} at (0,0) size 23x22 [color=#0000EE]
     14            RenderText {#text} at (0,0) size 23x22
     15              text run at (0,0) width 23: "Hel"
     16          RenderInline {SPAN} at (0,0) size 12x22
     17            RenderText {#text} at (23,0) size 12x22
     18              text run at (23,0) width 12: "lo"
     19        RenderBlock (anonymous) at (0,22) size 784x0
     20        RenderBlock {DIV} at (0,22) size 784x22
     21          RenderInline {SPAN} at (0,0) size 16x22
     22            RenderText {#text} at (0,0) size 16x22
     23              text run at (0,0) width 16: "W"
     24          RenderText {#text} at (16,0) size 33x22
     25            text run at (16,0) width 33: "orld!"
    2626selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 0 {DIV} of child 2 {DIV} of body
    2727selection end:   position 1 of child 0 {#text} of child 0 {SPAN} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/5142012-2-expected.txt

    r63292 r86376  
    33layer at (0,0) size 800x600
    44  RenderBlock {HTML} at (0,0) size 800x600
    5     RenderBody {BODY} at (8,8) size 784x578
    6       RenderBlock {UL} at (0,0) size 784x19
    7         RenderListItem {LI} at (40,0) size 744x19
    8           RenderListMarker at (-17,0) size 7x19: bullet
    9           RenderInline {A} at (0,0) size 740x19 [color=#0000EE]
    10             RenderText {#text} at (0,0) size 740x19
    11               text run at (0,0) width 337: "This tests for a crash when creating a list from a link. "
    12               text run at (337,0) width 403: "This paragraph should be a link and should be inside a list item."
     5    RenderBody {BODY} at (8,8) size 784x576
     6      RenderBlock {UL} at (0,0) size 784x44
     7        RenderListItem {LI} at (40,0) size 744x44
     8          RenderListMarker at (-18,0) size 7x22: bullet
     9          RenderInline {A} at (0,0) size 738x44 [color=#0000EE]
     10            RenderText {#text} at (0,0) size 738x44
     11              text run at (0,0) width 362: "This tests for a crash when creating a list from a link. "
     12              text run at (362,0) width 372: "This paragraph should be a link and should be inside a"
     13              text run at (734,0) width 4: " "
     14              text run at (0,22) width 56: "list item."
    1315          RenderText {#text} at (0,0) size 0x0
    14       RenderBlock (anonymous) at (0,33) size 784x0
     16      RenderBlock (anonymous) at (0,60) size 784x0
    1517selection start: position 0 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 0 {UL} of body
    1618selection end:   position 123 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 0 {UL} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/5190926-expected.txt

    r63292 r86376  
    33layer at (0,0) size 800x600
    44  RenderBlock {HTML} at (0,0) size 800x600
    5     RenderBody {BODY} at (8,8) size 784x578
    6       RenderBlock {OL} at (0,0) size 784x57
    7         RenderListItem {LI} at (40,0) size 744x19
    8           RenderListMarker at (-20,0) size 16x19: "1"
    9           RenderInline {U} at (0,0) size 499x19
    10             RenderText {#text} at (0,0) size 499x19
    11               text run at (0,0) width 499: "This tests for a crash when making and removing lists from underlined content."
    12         RenderListItem {LI} at (40,19) size 744x19
    13           RenderListMarker at (-20,0) size 16x19: "2"
    14           RenderInline {U} at (0,0) size 273x19
    15             RenderText {#text} at (0,0) size 273x19
    16               text run at (0,0) width 273: "All three paragraphs should be in list items."
    17         RenderListItem {LI} at (40,38) size 744x19
    18           RenderListMarker at (-20,0) size 16x19: "3"
    19           RenderInline {U} at (0,0) size 221x19
    20             RenderText {#text} at (0,0) size 221x19
    21               text run at (0,0) width 221: "And all three should be underlined."
    22       RenderBlock (anonymous) at (0,71) size 784x0
     5    RenderBody {BODY} at (8,8) size 784x576
     6      RenderBlock {OL} at (0,0) size 784x66
     7        RenderListItem {LI} at (40,0) size 744x22
     8          RenderListMarker at (-21,0) size 16x22: "1"
     9          RenderInline {U} at (0,0) size 536x22
     10            RenderText {#text} at (0,0) size 536x22
     11              text run at (0,0) width 536: "This tests for a crash when making and removing lists from underlined content."
     12        RenderListItem {LI} at (40,22) size 744x22
     13          RenderListMarker at (-21,0) size 16x22: "2"
     14          RenderInline {U} at (0,0) size 294x22
     15            RenderText {#text} at (0,0) size 294x22
     16              text run at (0,0) width 294: "All three paragraphs should be in list items."
     17        RenderListItem {LI} at (40,44) size 744x22
     18          RenderListMarker at (-21,0) size 16x22: "3"
     19          RenderInline {U} at (0,0) size 240x22
     20            RenderText {#text} at (0,0) size 240x22
     21              text run at (0,0) width 240: "And all three should be underlined."
     22      RenderBlock (anonymous) at (0,82) size 784x0
    2323selection start: position 0 of child 0 {#text} of child 0 {U} of child 0 {LI} of child 0 {OL} of body
    2424selection end:   position 35 of child 0 {#text} of child 0 {U} of child 2 {LI} of child 0 {OL} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/create-list-with-hr-expected.txt

    r63292 r86376  
    1010layer at (0,0) size 800x600
    1111  RenderBlock {HTML} at (0,0) size 800x600
    12     RenderBody {BODY} at (8,8) size 784x578
    13       RenderBlock {P} at (0,0) size 784x40
    14         RenderText {#text} at (0,0) size 515x19
    15           text run at (0,0) width 515: "This test pushes a horizontal rule into an unordered list with InsertUnorderedList. "
    16         RenderInline {B} at (0,0) size 756x40
    17           RenderText {#text} at (515,0) size 756x40
    18             text run at (515,0) width 241: "This demonstrates what might be a"
    19             text run at (0,20) width 32: "bug:"
    20         RenderText {#text} at (32,20) size 431x19
    21           text run at (32,20) width 431: " the horizontal rule appears before the list marker in the render tree."
    22       RenderBlock {DIV} at (0,54) size 784x28
    23         RenderBlock {UL} at (0,0) size 784x28
    24           RenderListItem {LI} at (40,0) size 744x28
     12    RenderBody {BODY} at (8,8) size 784x576
     13      RenderBlock {P} at (0,0) size 784x44
     14        RenderText {#text} at (0,0) size 560x22
     15          text run at (0,0) width 560: "This test pushes a horizontal rule into an unordered list with InsertUnorderedList. "
     16        RenderInline {B} at (0,0) size 765x44
     17          RenderText {#text} at (560,0) size 765x44
     18            text run at (560,0) width 205: "This demonstrates what might"
     19            text run at (0,22) width 63: "be a bug:"
     20        RenderText {#text} at (63,22) size 463x22
     21          text run at (63,22) width 463: " the horizontal rule appears before the list marker in the render tree."
     22      RenderBlock {DIV} at (0,60) size 784x32
     23        RenderBlock {UL} at (0,0) size 784x32
     24          RenderListItem {LI} at (40,0) size 744x32
     25            RenderBlock (anonymous) at (0,0) size 744x0
    2526            RenderBlock {HR} at (0,0) size 744x2 [border: (1px inset #000000)]
    26             RenderBlock (anonymous) at (0,9) size 744x19
    27               RenderListMarker at (-17,0) size 7x19: bullet
    28         RenderBlock (anonymous) at (0,42) size 784x0
     27            RenderBlock (anonymous) at (0,10) size 744x22
     28              RenderListMarker at (-18,0) size 7x22: bullet
     29        RenderBlock (anonymous) at (0,48) size 784x0
    2930caret: position 0 of child 0 {HR} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/find-after-replace-expected.txt

    r30635 r86376  
    77EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    88EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 4 of #text > BODY > HTML > #document to 5 of #text > BODY > HTML > #document givenAction:WebViewInsertActionPasted
    9 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > BODY > HTML > #document to 0 of #text > BODY > HTML > #document toDOMRange:range from 3 of #text > BODY > HTML > #document to 3 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     9EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     10EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     11EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     12EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > BODY > HTML > #document to 4 of #text > BODY > HTML > #document toDOMRange:range from 3 of #text > BODY > HTML > #document to 3 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    1013EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    1114EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
     
    1518  RenderBlock {HTML} at (0,0) size 800x600
    1619    RenderBody {BODY} at (8,8) size 784x584
    17       RenderBlock {P} at (0,0) size 784x38
    18         RenderText {#text} at (0,0) size 783x38
    19           text run at (0,0) width 334: "This tests find and replace inside an editable iframe. "
    20           text run at (334,0) width 449: "You should see 'A B A B' below. With bug 4462420, you would see 'A B"
    21           text run at (0,19) width 29: "B A'."
    22       RenderBlock (anonymous) at (0,52) size 784x154
     20      RenderBlock {P} at (0,0) size 784x44
     21        RenderText {#text} at (0,0) size 781x44
     22          text run at (0,0) width 354: "This tests find and replace inside an editable iframe. "
     23          text run at (354,0) width 427: "You should see 'A B A B' below. With bug 4462420, you would"
     24          text run at (0,22) width 94: "see 'A B B A'."
     25      RenderBlock (anonymous) at (0,60) size 784x154
    2326        RenderPartObject {IFRAME} at (0,0) size 304x154 [border: (2px inset #000000)]
    2427          layer at (0,0) size 300x150
     
    2730            RenderBlock {HTML} at (0,0) size 300x150
    2831              RenderBody {BODY} at (8,8) size 284x134 [bgcolor=#FFFFE0]
    29                 RenderText {#text} at (0,0) size 26x19
    30                   text run at (0,0) width 26: "A B "
    31                 RenderText {#text} at (26,0) size 22x19
    32                   text run at (26,0) width 22: "A B"
     32                RenderText {#text} at (0,0) size 31x22
     33                  text run at (0,0) width 31: "A B "
     34                RenderText {#text} at (31,0) size 27x22
     35                  text run at (31,0) width 27: "A B"
    3336        RenderText {#text} at (0,0) size 0x0
    3437        RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/platform/qt/editing/execCommand/findString-2-expected.txt

    r63292 r86376  
    11EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    22EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    3 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     3EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > SPAN > DIV > BODY > HTML > #document to 3 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     4EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    45EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    56layer at (0,0) size 800x600
     
    89  RenderBlock {HTML} at (0,0) size 800x600
    910    RenderBody {BODY} at (8,8) size 784x584
    10       RenderBlock {P} at (0,0) size 784x38
    11         RenderText {#text} at (0,0) size 767x38
    12           text run at (0,0) width 767: "This tests to see if Find will get stuck when searching for a word that is currently selected, and was selected with a double"
    13           text run at (0,19) width 31: "click."
    14       RenderBlock {DIV} at (0,52) size 784x19
    15         RenderText {#text} at (0,0) size 24x19
    16           text run at (0,0) width 24: "foo "
    17         RenderInline {SPAN} at (0,0) size 21x19
    18           RenderText {#text} at (24,0) size 21x19
    19             text run at (24,0) width 21: "bar"
    20         RenderText {#text} at (45,0) size 103x19
    21           text run at (45,0) width 103: " baz foo bar baz"
     11      RenderBlock {P} at (0,0) size 784x44
     12        RenderText {#text} at (0,0) size 765x44
     13          text run at (0,0) width 765: "This tests to see if Find will get stuck when searching for a word that is currently selected, and was selected with a"
     14          text run at (0,22) width 85: "double click."
     15      RenderBlock {DIV} at (0,60) size 784x22
     16        RenderText {#text} at (0,0) size 25x22
     17          text run at (0,0) width 25: "foo "
     18        RenderInline {SPAN} at (0,0) size 24x22
     19          RenderText {#text} at (25,0) size 24x22
     20            text run at (25,0) width 24: "bar"
     21        RenderText {#text} at (49,0) size 109x22
     22          text run at (49,0) width 109: " baz foo bar baz"
    2223selection start: position 9 of child 2 {#text} of child 2 {DIV} of body
    2324selection end:   position 12 of child 2 {#text} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/findString-expected.txt

    r63292 r86376  
    77  RenderBlock {HTML} at (0,0) size 800x600
    88    RenderBody {BODY} at (8,8) size 784x584
    9       RenderBlock {P} at (0,0) size 784x19
    10         RenderText {#text} at (0,0) size 354x19
    11           text run at (0,0) width 354: "In the block below, the second 'bar ' should be selected."
    12       RenderBlock {DIV} at (0,33) size 52x40 [border: (1px solid #000000)]
    13         RenderText {#text} at (1,1) size 45x19
    14           text run at (1,1) width 45: "foo bar"
    15         RenderInline {SPAN} at (0,0) size 21x19
    16           RenderText {#text} at (1,20) size 21x19
    17             text run at (1,20) width 21: "bar"
    18         RenderText {#text} at (22,20) size 27x19
    19           text run at (22,20) width 27: " baz"
     9      RenderBlock {P} at (0,0) size 784x22
     10        RenderText {#text} at (0,0) size 373x22
     11          text run at (0,0) width 373: "In the block below, the second 'bar ' should be selected."
     12      RenderBlock {DIV} at (0,38) size 52x68 [border: (1px solid #000000)]
     13        RenderText {#text} at (1,1) size 49x22
     14          text run at (1,1) width 49: "foo bar"
     15        RenderInline {SPAN} at (0,0) size 24x22
     16          RenderText {#text} at (1,23) size 24x22
     17            text run at (1,23) width 24: "bar"
     18        RenderText {#text} at (1,45) size 24x22
     19          text run at (1,45) width 24: "baz"
    2020selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 2 {DIV} of body
    21 selection end:   position 1 of child 2 {#text} of child 2 {DIV} of body
     21selection end:   position 3 of child 0 {#text} of child 1 {SPAN} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/format-block-with-trailing-br-expected.txt

    r63292 r86376  
    1111  RenderBlock {HTML} at (0,0) size 800x600
    1212    RenderBody {BODY} at (8,8) size 784x584
    13       RenderBlock {DIV} at (0,0) size 784x49 [border: (1px solid #000000)]
    14         RenderBlock {PRE} at (1,15) size 782x19
    15           RenderText {#text} at (0,0) size 25x19
    16             text run at (0,0) width 25: "Foo"
     13      RenderBlock {DIV} at (0,0) size 784x45 [border: (1px solid #000000)]
     14        RenderBlock {PRE} at (1,14) size 782x17
     15          RenderText {#text} at (0,0) size 22x17
     16            text run at (0,0) width 22: "Foo"
    1717caret: position 0 of child 0 {#text} of child 1 {PRE} of child 0 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/indent-empty-root-expected.txt

    r63292 r86376  
    1010  RenderBlock {HTML} at (0,0) size 800x600
    1111    RenderBody {BODY} at (8,8) size 784x584
    12       RenderBlock {P} at (0,0) size 784x19
    13         RenderText {#text} at (0,0) size 296x19
    14           text run at (0,0) width 296: "This tests Indent in an empty editable element."
    15       RenderBlock {DIV} at (0,33) size 784x19
    16         RenderBlock {BLOCKQUOTE} at (40,0) size 744x19
    17           RenderBR {BR} at (0,0) size 0x19
     12      RenderBlock {P} at (0,0) size 784x22
     13        RenderText {#text} at (0,0) size 313x22
     14          text run at (0,0) width 313: "This tests Indent in an empty editable element."
     15      RenderBlock {DIV} at (0,38) size 784x22
     16        RenderBlock {BLOCKQUOTE} at (40,0) size 744x22
     17          RenderBR {BR} at (0,0) size 0x22
    1818caret: position 0 of child 0 {BR} of child 0 {BLOCKQUOTE} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/indent-list-item-expected.txt

    r63292 r86376  
    1010layer at (0,0) size 800x600
    1111  RenderBlock {HTML} at (0,0) size 800x600
    12     RenderBody {BODY} at (8,8) size 784x578
    13       RenderBlock {DIV} at (0,0) size 784x19
    14         RenderText {#text} at (0,0) size 379x19
    15           text run at (0,0) width 379: "This test uses the execCommand to Outdent the text below."
    16       RenderBlock (anonymous) at (0,19) size 784x19
    17         RenderBR {BR} at (0,0) size 0x19
    18       RenderBlock {DIV} at (0,52) size 784x57
    19         RenderBlock {UL} at (0,0) size 784x57
    20           RenderListItem {LI} at (40,0) size 744x19
    21             RenderListMarker at (-17,0) size 7x19: bullet
    22             RenderText {#text} at (0,0) size 25x19
    23               text run at (0,0) width 25: "Foo"
    24           RenderBlock {UL} at (40,19) size 744x19
    25             RenderListItem {LI} at (40,0) size 704x19
    26               RenderListMarker at (-17,0) size 7x19: white bullet
    27               RenderText {#text} at (0,0) size 22x19
    28                 text run at (0,0) width 22: "Bar"
    29           RenderListItem {LI} at (40,38) size 744x19
    30             RenderListMarker at (-17,0) size 7x19: bullet
    31             RenderText {#text} at (0,0) size 24x19
    32               text run at (0,0) width 24: "Baz"
     12    RenderBody {BODY} at (8,8) size 784x576
     13      RenderBlock {DIV} at (0,0) size 784x22
     14        RenderText {#text} at (0,0) size 398x22
     15          text run at (0,0) width 398: "This test uses the execCommand to Outdent the text below."
     16      RenderBlock (anonymous) at (0,22) size 784x22
     17        RenderBR {BR} at (0,0) size 0x22
     18      RenderBlock {DIV} at (0,60) size 784x66
     19        RenderBlock {UL} at (0,0) size 784x66
     20          RenderListItem {LI} at (40,0) size 744x22
     21            RenderListMarker at (-18,0) size 7x22: bullet
     22            RenderText {#text} at (0,0) size 26x22
     23              text run at (0,0) width 26: "Foo"
     24          RenderBlock {UL} at (40,22) size 744x22
     25            RenderListItem {LI} at (40,0) size 704x22
     26              RenderListMarker at (-18,0) size 7x22: white bullet
     27              RenderText {#text} at (0,0) size 26x22
     28                text run at (0,0) width 26: "Bar"
     29          RenderListItem {LI} at (40,44) size 744x22
     30            RenderListMarker at (-18,0) size 7x22: bullet
     31            RenderText {#text} at (0,0) size 26x22
     32              text run at (0,0) width 26: "Baz"
    3333caret: position 0 of child 0 {#text} of child 0 {LI} of child 3 {UL} of child 1 {UL} of child 4 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/indent-selection-expected.txt

    r63292 r86376  
    44EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    55EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    6 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document to 5 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     6EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > SPAN > BLOCKQUOTE > DIV > BODY > HTML > #document to 5 of #text > SPAN > BLOCKQUOTE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    77EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    88EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
     
    1212  RenderBlock {HTML} at (0,0) size 800x600
    1313    RenderBody {BODY} at (8,8) size 784x584
    14       RenderBlock {DIV} at (0,0) size 784x19
    15         RenderText {#text} at (0,0) size 367x19
    16           text run at (0,0) width 367: "This test uses the execCommand to indent the text below."
    17       RenderBlock (anonymous) at (0,19) size 784x19
    18         RenderBR {BR} at (0,0) size 0x19
    19       RenderBlock {DIV} at (0,38) size 784x199
    20         RenderBlock {BLOCKQUOTE} at (40,0) size 744x57
    21           RenderBlock (anonymous) at (0,0) size 744x38
    22             RenderText {#text} at (0,0) size 41x19
    23               text run at (0,0) width 41: "Lorem"
    24             RenderBR {BR} at (41,14) size 0x0
    25             RenderText {#text} at (0,19) size 82x19
    26               text run at (0,19) width 82: "more Lorem!"
    27           RenderBlock {BLOCKQUOTE} at (40,38) size 704x19
    28             RenderText {#text} at (0,0) size 38x19
    29               text run at (0,0) width 38: "ipsum"
    30         RenderBlock (anonymous) at (0,57) size 784x0
    31         RenderBlock {BLOCKQUOTE} at (40,71) size 744x57
    32           RenderBlock {UL} at (0,0) size 744x57
    33             RenderBlock {UL} at (40,0) size 704x57
    34               RenderListItem {LI} at (40,0) size 664x19
    35                 RenderListMarker at (-17,0) size 7x19: white bullet
    36                 RenderText {#text} at (0,0) size 25x19
    37                   text run at (0,0) width 25: "Foo"
    38               RenderListItem {LI} at (40,19) size 664x19
    39                 RenderListMarker at (-17,0) size 7x19: white bullet
    40                 RenderText {#text} at (0,0) size 22x19
    41                   text run at (0,0) width 22: "Bar"
    42               RenderListItem {LI} at (40,38) size 664x19
    43                 RenderListMarker at (-17,0) size 7x19: white bullet
    44                 RenderText {#text} at (0,0) size 24x19
    45                   text run at (0,0) width 24: "Baz"
    46         RenderBlock {BLOCKQUOTE} at (40,142) size 744x57
    47           RenderBlock {BLOCKQUOTE} at (40,0) size 704x19
    48             RenderText {#text} at (0,0) size 34x19
    49               text run at (0,0) width 34: "Dolor"
    50           RenderBlock (anonymous) at (0,19) size 744x38
    51             RenderText {#text} at (0,0) size 33x19
    52               text run at (0,0) width 33: "Sum!"
    53             RenderBR {BR} at (33,14) size 0x0
    54             RenderText {#text} at (0,19) size 36x19
    55               text run at (0,19) width 36: "Thing"
    56         RenderBlock (anonymous) at (0,199) size 784x0
    57 selection start: position 0 of child 0 {#text} of child 1 {BLOCKQUOTE} of child 4 {DIV} of body
    58 selection end:   position 5 of child 3 {#text} of child 3 {BLOCKQUOTE} of child 4 {DIV} of body
     14      RenderBlock {DIV} at (0,0) size 784x22
     15        RenderText {#text} at (0,0) size 385x22
     16          text run at (0,0) width 385: "This test uses the execCommand to indent the text below."
     17      RenderBlock (anonymous) at (0,22) size 784x22
     18        RenderBR {BR} at (0,0) size 0x22
     19      RenderBlock {DIV} at (0,44) size 784x230
     20        RenderBlock {BLOCKQUOTE} at (40,0) size 744x66
     21          RenderBlock (anonymous) at (0,0) size 744x44
     22            RenderInline {SPAN} at (0,0) size 46x22
     23              RenderText {#text} at (0,0) size 46x22
     24                text run at (0,0) width 46: "Lorem"
     25              RenderBR {BR} at (46,16) size 0x0
     26            RenderText {#text} at (0,22) size 90x22
     27              text run at (0,22) width 90: "more Lorem!"
     28          RenderBlock {BLOCKQUOTE} at (40,44) size 704x22
     29            RenderText {#text} at (0,0) size 41x22
     30              text run at (0,0) width 41: "ipsum"
     31        RenderBlock (anonymous) at (0,66) size 784x0
     32        RenderBlock {BLOCKQUOTE} at (40,82) size 744x66
     33          RenderBlock {UL} at (0,0) size 744x66
     34            RenderBlock {UL} at (40,0) size 704x66
     35              RenderListItem {LI} at (40,0) size 664x22
     36                RenderListMarker at (-18,0) size 7x22: white bullet
     37                RenderText {#text} at (0,0) size 26x22
     38                  text run at (0,0) width 26: "Foo"
     39              RenderListItem {LI} at (40,22) size 664x22
     40                RenderListMarker at (-18,0) size 7x22: white bullet
     41                RenderText {#text} at (0,0) size 26x22
     42                  text run at (0,0) width 26: "Bar"
     43              RenderListItem {LI} at (40,44) size 664x22
     44                RenderListMarker at (-18,0) size 7x22: white bullet
     45                RenderText {#text} at (0,0) size 26x22
     46                  text run at (0,0) width 26: "Baz"
     47        RenderBlock {BLOCKQUOTE} at (40,164) size 744x66
     48          RenderBlock {BLOCKQUOTE} at (40,0) size 704x22
     49            RenderText {#text} at (0,0) size 39x22
     50              text run at (0,0) width 39: "Dolor"
     51          RenderBlock (anonymous) at (0,22) size 744x44
     52            RenderText {#text} at (0,0) size 36x22
     53              text run at (0,0) width 36: "Sum!"
     54            RenderBR {BR} at (36,16) size 0x0
     55            RenderInline {SPAN} at (0,0) size 41x22
     56              RenderText {#text} at (0,22) size 41x22
     57                text run at (0,22) width 41: "Thing"
     58        RenderBlock (anonymous) at (0,230) size 784x0
     59selection start: position 0 of child 0 {#text} of child 0 {SPAN} of child 1 {BLOCKQUOTE} of child 4 {DIV} of body
     60selection end:   position 5 of child 0 {#text} of child 3 {SPAN} of child 3 {BLOCKQUOTE} of child 4 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/insert-list-and-stitch-expected.txt

    r63292 r86376  
    2020layer at (0,0) size 800x600
    2121  RenderBlock {HTML} at (0,0) size 800x600
    22     RenderBody {BODY} at (8,8) size 784x578
    23       RenderBlock {P} at (0,0) size 784x19
    24         RenderText {#text} at (0,0) size 615x19
    25           text run at (0,0) width 615: "The three items below should be stitched together into one ordered list when you click the button."
    26         RenderText {#text} at (0,0) size 0x0
    27       RenderBlock {DIV} at (0,33) size 784x57
    28         RenderBlock {DIV} at (0,0) size 784x57
    29           RenderBlock {OL} at (0,0) size 784x57
    30             RenderListItem {LI} at (40,0) size 744x19
    31               RenderListMarker at (-20,0) size 16x19: "1"
    32               RenderText {#text} at (0,0) size 20x19
    33                 text run at (0,0) width 20: "foo"
    34             RenderListItem {LI} at (40,19) size 744x19
    35               RenderListMarker at (-20,0) size 16x19: "2"
    36               RenderText {#text} at (0,0) size 21x19
    37                 text run at (0,0) width 21: "bar"
    38             RenderListItem {LI} at (40,38) size 744x19
    39               RenderListMarker at (-20,0) size 16x19: "3"
    40               RenderText {#text} at (0,0) size 23x19
    41                 text run at (0,0) width 23: "baz"
    42           RenderBlock (anonymous) at (0,71) size 784x0
     22    RenderBody {BODY} at (8,8) size 784x576
     23      RenderBlock {P} at (0,0) size 784x22
     24        RenderText {#text} at (0,0) size 656x22
     25          text run at (0,0) width 656: "The three items below should be stitched together into one ordered list when you click the button."
     26      RenderBlock {DIV} at (0,38) size 784x66
     27        RenderBlock {DIV} at (0,0) size 784x66
     28          RenderBlock {OL} at (0,0) size 784x66
     29            RenderListItem {LI} at (40,0) size 744x22
     30              RenderListMarker at (-21,0) size 16x22: "1"
     31              RenderText {#text} at (0,0) size 21x22
     32                text run at (0,0) width 21: "foo"
     33            RenderListItem {LI} at (40,22) size 744x22
     34              RenderListMarker at (-21,0) size 16x22: "2"
     35              RenderText {#text} at (0,0) size 24x22
     36                text run at (0,0) width 24: "bar"
     37            RenderListItem {LI} at (40,44) size 744x22
     38              RenderListMarker at (-21,0) size 16x22: "3"
     39              RenderText {#text} at (0,0) size 24x22
     40                text run at (0,0) width 24: "baz"
     41          RenderBlock (anonymous) at (0,82) size 784x0
    4342caret: position 0 of child 0 {#text} of child 2 {LI} of child 0 {OL} of child 1 {DIV} of child 1 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/insert-list-with-id-expected.txt

    r30635 r86376  
    1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
    2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
    3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    5 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of LI > OL > DIV > BODY > HTML > #document to 0 of LI > OL > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    7 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
    8 EDITING DELEGATE: shouldEndEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
    9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    10 EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
    11 layer at (0,0) size 800x600
    12   RenderView at (0,0) size 800x600
    13 layer at (0,0) size 800x600
    14   RenderBlock {HTML} at (0,0) size 800x600
    15     RenderBody {BODY} at (8,8) size 784x584
    16       RenderBlock {P} at (0,0) size 784x38
    17         RenderText {#text} at (0,0) size 778x38
    18           text run at (0,0) width 778: "This test makes sure Insert{Un}OrderedList properly adds an id to the inserted list when requested. The tests inserts a new"
    19           text run at (0,19) width 499: "list using the command, then removes it programmatically from JS using the id."
    20       RenderBlock (anonymous) at (0,52) size 784x19
    21         RenderBR {BR} at (0,0) size 0x19
    22       RenderBlock {DIV} at (0,71) size 784x19
    23       RenderBlock (anonymous) at (0,90) size 784x19
    24         RenderBR {BR} at (0,0) size 0x19
     1This test makes sure InsertOrderedList ignores the third argument passed to execCommand and does not add an id attribute to the inserted list.
     2
     3Success
  • trunk/LayoutTests/platform/qt/editing/execCommand/insertHorizontalRule-expected.txt

    r30635 r86376  
    55EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    66EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    7 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > BODY > HTML > #document to 3 of #text > DIV > BODY > HTML > #document toDOMRange:range from 2 of DIV > BODY > HTML > #document to 2 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     7EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     8EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 0 of #text > DIV > BODY > HTML > #document toDOMRange:range from 2 of DIV > BODY > HTML > #document to 2 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    89EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    910EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
     
    1617EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    1718EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    18 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > BODY > HTML > #document to 3 of #text > DIV > BODY > HTML > #document toDOMRange:range from 2 of DIV > BODY > HTML > #document to 2 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     19EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     20EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 0 of #text > DIV > BODY > HTML > #document toDOMRange:range from 2 of DIV > BODY > HTML > #document to 2 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    1921EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    2022EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
     
    2527  RenderBlock {HTML} at (0,0) size 800x600
    2628    RenderBody {BODY} at (8,8) size 784x584
    27       RenderBlock {P} at (0,0) size 784x19
    28         RenderText {#text} at (0,0) size 363x19
    29           text run at (0,0) width 363: "These are tests for execCommand(InsertHorizontalRule)."
    30       RenderBlock {P} at (0,33) size 784x19
    31         RenderText {#text} at (0,0) size 288x19
    32           text run at (0,0) width 288: "This test inserts an hr between 'foo' and 'bar'."
    33       RenderBlock {DIV} at (0,66) size 784x54
    34         RenderBlock (anonymous) at (0,0) size 784x19
    35           RenderText {#text} at (0,0) size 20x19
    36             text run at (0,0) width 20: "foo"
    37         RenderBlock {HR} at (0,26) size 784x2 [border: (1px inset #000000)]
    38         RenderBlock (anonymous) at (0,35) size 784x19
    39           RenderText {#text} at (0,0) size 21x19
    40             text run at (0,0) width 21: "bar"
    41       RenderBlock {P} at (0,134) size 784x19
    42         RenderText {#text} at (0,0) size 635x19
    43           text run at (0,0) width 635: "This test inserts an hr with id=\"hr\" between 'foo' and 'bar', fetches the hr using its id, then removes it."
    44       RenderBlock {DIV} at (0,167) size 784x19
    45         RenderText {#text} at (0,0) size 20x19
    46           text run at (0,0) width 20: "foo"
    47         RenderText {#text} at (20,0) size 21x19
    48           text run at (20,0) width 21: "bar"
     29      RenderBlock {P} at (0,0) size 784x22
     30        RenderText {#text} at (0,0) size 386x22
     31          text run at (0,0) width 386: "These are tests for execCommand(InsertHorizontalRule)."
     32      RenderBlock {P} at (0,38) size 784x22
     33        RenderText {#text} at (0,0) size 309x22
     34          text run at (0,0) width 309: "This test inserts an hr between 'foo' and 'bar'."
     35      RenderBlock {DIV} at (0,76) size 784x62
     36        RenderBlock (anonymous) at (0,0) size 784x22
     37          RenderText {#text} at (0,0) size 21x22
     38            text run at (0,0) width 21: "foo"
     39        RenderBlock {HR} at (0,30) size 784x2 [border: (1px inset #000000)]
     40        RenderBlock (anonymous) at (0,40) size 784x22
     41          RenderText {#text} at (0,0) size 24x22
     42            text run at (0,0) width 24: "bar"
     43      RenderBlock {P} at (0,154) size 784x22
     44        RenderText {#text} at (0,0) size 689x22
     45          text run at (0,0) width 689: "This test inserts an hr with id=\"hr\" between 'foo' and 'bar', fetches the hr using its id, then removes it."
     46      RenderBlock {DIV} at (0,192) size 784x22
     47        RenderText {#text} at (0,0) size 21x22
     48          text run at (0,0) width 21: "foo"
     49        RenderText {#text} at (21,0) size 24x22
     50          text run at (21,0) width 24: "bar"
  • trunk/LayoutTests/platform/qt/editing/execCommand/insertImage-expected.txt

    r63292 r86376  
    1212layer at (0,0) size 800x600
    1313  RenderBlock {HTML} at (0,0) size 800x600
    14     RenderBody {BODY} at (8,8) size 784x578
    15       RenderBlock {P} at (0,0) size 784x38
    16         RenderText {#text} at (0,0) size 764x38
    17           text run at (0,0) width 310: "This is a test of execCommand(InsertImage, ...). "
    18           text run at (310,0) width 454: "The first test passes execCommand a path to a valid image, the second"
    19           text run at (0,19) width 378: "passes execCommand a path where no image should exist."
    20       RenderBlock {DIV} at (0,52) size 784x103
     14    RenderBody {BODY} at (8,8) size 784x576
     15      RenderBlock {P} at (0,0) size 784x44
     16        RenderText {#text} at (0,0) size 747x44
     17          text run at (0,0) width 325: "This is a test of execCommand(InsertImage, ...). "
     18          text run at (325,0) width 422: "The first test passes execCommand a path to a valid image, the"
     19          text run at (0,22) width 442: "second passes execCommand a path where no image should exist."
     20      RenderBlock {DIV} at (0,60) size 784x103
    2121        RenderImage {IMG} at (0,0) size 76x103
    2222        RenderImage {IMG} at (76,83) size 20x20
    23       RenderBlock {UL} at (0,169) size 784x0
     23      RenderBlock {UL} at (0,179) size 784x0
    2424caret: position 1 of child 1 {IMG} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/nsresponder-outdent-expected.txt

    r86375 r86376  
    1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
     1EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
    22EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
    33EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    44EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    5 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of PRE > DIV > BODY > HTML > #document to 0 of PRE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     5EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    66EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    77EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
     
    1111  RenderBlock {HTML} at (0,0) size 800x600
    1212    RenderBody {BODY} at (8,8) size 784x584
    13       RenderBlock {DIV} at (0,0) size 784x49 [border: (1px solid #000000)]
    14         RenderBlock {PRE} at (1,15) size 782x19
    15           RenderText {#text} at (0,0) size 25x19
    16             text run at (0,0) width 25: "Foo"
    17 caret: position 0 of child 0 {#text} of child 1 {PRE} of child 0 {DIV} of body
     13      RenderBlock {P} at (0,0) size 784x22
     14        RenderText {#text} at (0,0) size 484x22
     15          text run at (0,0) width 212: "This tests the outdent: method. "
     16          text run at (212,0) width 272: "You should see an undented 'foo' below."
     17      RenderBlock {DIV} at (0,38) size 784x22
     18        RenderText {#text} at (0,0) size 21x22
     19          text run at (0,0) width 21: "foo"
     20caret: position 0 of child 0 {#text} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/outdent-selection-expected.txt

    r63292 r86376  
    11EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 12 of DIV > BODY > HTML > #document
    22EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
     3EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    34EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    45EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     
    910  RenderBlock {HTML} at (0,0) size 800x600
    1011    RenderBody {BODY} at (8,8) size 784x584
    11       RenderBlock {DIV} at (0,0) size 784x40
    12         RenderText {#text} at (0,0) size 383x19
    13           text run at (0,0) width 383: "This test uses the execCommand to Outdent the text below. "
    14         RenderInline {B} at (0,0) size 767x40
    15           RenderText {#text} at (383,0) size 767x40
    16             text run at (383,0) width 384: "This demonstrates a bug: the content in the blockquote"
    17             text run at (0,20) width 292: "that's not in a list is pulled out of position."
    18       RenderBlock (anonymous) at (0,40) size 784x19
    19         RenderBR {BR} at (0,0) size 0x19
    20       RenderBlock {DIV} at (0,59) size 784x199
    21         RenderBlock (anonymous) at (0,0) size 784x57
    22           RenderInline {SPAN} at (0,0) size 41x19
    23             RenderText {#text} at (0,0) size 41x19
    24               text run at (0,0) width 41: "Lorem"
    25           RenderBR {BR} at (41,14) size 0x0
    26           RenderText {#text} at (0,19) size 86x19
    27             text run at (0,19) width 86: "more Lorem! "
    28           RenderText {#text} at (86,19) size 38x19
    29             text run at (86,19) width 38: "ipsum"
    30           RenderBR {BR} at (124,33) size 0x0
    31           RenderText {#text} at (0,38) size 34x19
    32             text run at (0,38) width 34: "Dolor"
    33           RenderBR {BR} at (34,52) size 0x0
    34         RenderBlock {BLOCKQUOTE} at (40,57) size 744x57
    35           RenderBlock (anonymous) at (0,0) size 744x57
    36             RenderText {#text} at (0,0) size 25x19
    37               text run at (0,0) width 25: "Foo"
    38             RenderBR {BR} at (25,14) size 0x0
    39             RenderText {#text} at (0,19) size 22x19
    40               text run at (0,19) width 22: "Bar"
    41             RenderBR {BR} at (22,33) size 0x0
    42             RenderText {#text} at (0,38) size 24x19
    43               text run at (0,38) width 24: "Baz"
    44             RenderBR {BR} at (24,52) size 0x0
    45           RenderBlock {UL} at (0,71) size 744x0
    46           RenderBlock (anonymous) at (0,71) size 744x0
    47         RenderBlock (anonymous) at (0,128) size 784x19
    48           RenderText {#text} at (0,0) size 81x19
    49             text run at (0,0) width 81: "Dinner time?"
    50           RenderBR {BR} at (81,14) size 0x0
    51         RenderBlock {UL} at (0,161) size 784x0
    52         RenderBlock (anonymous) at (0,161) size 784x38
    53           RenderText {#text} at (0,0) size 33x19
    54             text run at (0,0) width 33: "Sum!"
    55           RenderBR {BR} at (33,14) size 0x0
    56           RenderInline {SPAN} at (0,0) size 36x19
    57             RenderText {#text} at (0,19) size 36x19
    58               text run at (0,19) width 36: "Thing"
     12      RenderBlock {DIV} at (0,0) size 784x44
     13        RenderText {#text} at (0,0) size 402x22
     14          text run at (0,0) width 402: "This test uses the execCommand to Outdent the text below. "
     15        RenderInline {B} at (0,0) size 773x44
     16          RenderText {#text} at (402,0) size 773x44
     17            text run at (402,0) width 371: "This demonstrates a bug: the content in the blockquote"
     18            text run at (0,22) width 279: "that's not in a list is pulled out of position."
     19      RenderBlock (anonymous) at (0,44) size 784x22
     20        RenderBR {BR} at (0,0) size 0x22
     21      RenderBlock {DIV} at (0,66) size 784x252
     22        RenderBlock (anonymous) at (0,0) size 784x44
     23          RenderInline {SPAN} at (0,0) size 46x22
     24            RenderText {#text} at (0,0) size 46x22
     25              text run at (0,0) width 46: "Lorem"
     26          RenderBR {BR} at (46,16) size 0x0
     27          RenderText {#text} at (0,22) size 90x22
     28            text run at (0,22) width 90: "more Lorem!"
     29        RenderBlock {BLOCKQUOTE} at (40,44) size 744x0
     30        RenderBlock (anonymous) at (0,44) size 784x22
     31          RenderText {#text} at (0,0) size 41x22
     32            text run at (0,0) width 41: "ipsum"
     33          RenderBR {BR} at (41,16) size 0x0
     34        RenderBlock {BLOCKQUOTE} at (40,66) size 744x66
     35          RenderBlock (anonymous) at (0,0) size 744x66
     36            RenderText {#text} at (0,0) size 26x22
     37              text run at (0,0) width 26: "Foo"
     38            RenderBR {BR} at (26,16) size 0x0
     39            RenderText {#text} at (0,22) size 26x22
     40              text run at (0,22) width 26: "Bar"
     41            RenderBR {BR} at (26,38) size 0x0
     42            RenderText {#text} at (0,44) size 26x22
     43              text run at (0,44) width 26: "Baz"
     44            RenderBR {BR} at (26,60) size 0x0
     45          RenderBlock {UL} at (0,82) size 744x0
     46        RenderBlock (anonymous) at (0,148) size 784x44
     47          RenderText {#text} at (0,0) size 39x22
     48            text run at (0,0) width 39: "Dolor"
     49          RenderBR {BR} at (39,16) size 0x0
     50          RenderText {#text} at (0,22) size 89x22
     51            text run at (0,22) width 89: "Dinner time?"
     52          RenderBR {BR} at (89,38) size 0x0
     53        RenderBlock {UL} at (0,208) size 784x0
     54        RenderBlock (anonymous) at (0,208) size 784x44
     55          RenderText {#text} at (0,0) size 36x22
     56            text run at (0,0) width 36: "Sum!"
     57          RenderBR {BR} at (36,16) size 0x0
     58          RenderInline {SPAN} at (0,0) size 41x22
     59            RenderText {#text} at (0,22) size 41x22
     60              text run at (0,22) width 41: "Thing"
    5961          RenderText {#text} at (0,0) size 0x0
    6062selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 4 {DIV} of body
    61 selection end:   position 5 of child 0 {#text} of child 16 {SPAN} of child 4 {DIV} of body
     63selection end:   position 5 of child 0 {#text} of child 17 {SPAN} of child 4 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/paste-1-expected.txt

    r30635 r86376  
    55EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    66EDITING DELEGATE: shouldDeleteDOMRange:range from 8 of #text > BODY > HTML > #document to 11 of #text > BODY > HTML > #document
     7EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     8EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     9EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    710EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 7 of #text > BODY > HTML > #document to 8 of #text > BODY > HTML > #document toDOMRange:range from 8 of #text > BODY > HTML > #document to 8 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    811EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     
    1720  RenderBlock {HTML} at (0,0) size 800x600
    1821    RenderBody {BODY} at (8,8) size 784x584
    19       RenderBlock {P} at (0,0) size 784x19
    20         RenderText {#text} at (0,0) size 515x19
    21           text run at (0,0) width 290: "This tests cut/paste inside an editable iframe. "
    22           text run at (290,0) width 225: "You should see 'foo bar baz' below."
    23       RenderBlock (anonymous) at (0,33) size 784x154
     22      RenderBlock {P} at (0,0) size 784x22
     23        RenderText {#text} at (0,0) size 543x22
     24          text run at (0,0) width 304: "This tests cut/paste inside an editable iframe. "
     25          text run at (304,0) width 239: "You should see 'foo bar baz' below."
     26      RenderBlock (anonymous) at (0,38) size 784x154
    2427        RenderPartObject {IFRAME} at (0,0) size 304x154 [border: (2px inset #000000)]
    2528          layer at (0,0) size 300x150
     
    2831            RenderBlock {HTML} at (0,0) size 300x150
    2932              RenderBody {BODY} at (8,8) size 284x134 [bgcolor=#FFFFE0]
    30                 RenderText {#text} at (0,0) size 49x19
    31                   text run at (0,0) width 49: "foo bar "
    32                 RenderText {#text} at (49,0) size 23x19
    33                   text run at (49,0) width 23: "baz"
     33                RenderText {#text} at (0,0) size 53x22
     34                  text run at (0,0) width 53: "foo bar "
     35                RenderText {#text} at (53,0) size 24x22
     36                  text run at (53,0) width 24: "baz"
    3437        RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/platform/qt/editing/execCommand/paste-2-expected.txt

    r30635 r86376  
    55EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    66EDITING DELEGATE: shouldDeleteDOMRange:range from 8 of #text > BODY > HTML > #document to 11 of #text > BODY > HTML > #document
    7 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 6 of #text > BODY > HTML > #document to 7 of #text > BODY > HTML > #document toDOMRange:range from 7 of #text > BODY > HTML > #document to 7 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     7EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     8EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     9EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
     10EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 7 of #text > BODY > HTML > #document to 8 of #text > BODY > HTML > #document toDOMRange:range from 8 of #text > BODY > HTML > #document to 8 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    811EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    912EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
    10 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 7 of #text > BODY > HTML > #document to 7 of #text > BODY > HTML > #document givenAction:WebViewInsertActionPasted
    11 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 7 of #text > BODY > HTML > #document to 7 of #text > BODY > HTML > #document toDOMRange:range from 3 of #text > BODY > HTML > #document to 3 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     13EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 8 of #text > BODY > HTML > #document to 8 of #text > BODY > HTML > #document givenAction:WebViewInsertActionPasted
     14EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 8 of #text > BODY > HTML > #document to 8 of #text > BODY > HTML > #document toDOMRange:range from 3 of #text > BODY > HTML > #document to 3 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    1215EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    1316EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
     
    1720  RenderBlock {HTML} at (0,0) size 800x600
    1821    RenderBody {BODY} at (8,8) size 784x584
    19       RenderBlock {P} at (0,0) size 784x19
    20         RenderText {#text} at (0,0) size 569x19
    21           text run at (0,0) width 344: "This tests copy/delete/paste inside an editable iframe. "
    22           text run at (344,0) width 225: "You should see 'foo bar baz' below."
    23       RenderBlock (anonymous) at (0,33) size 784x154
     22      RenderBlock {P} at (0,0) size 784x22
     23        RenderText {#text} at (0,0) size 597x22
     24          text run at (0,0) width 358: "This tests copy/delete/paste inside an editable iframe. "
     25          text run at (358,0) width 239: "You should see 'foo bar baz' below."
     26      RenderBlock (anonymous) at (0,38) size 784x154
    2427        RenderPartObject {IFRAME} at (0,0) size 304x154 [border: (2px inset #000000)]
    2528          layer at (0,0) size 300x150
     
    2831            RenderBlock {HTML} at (0,0) size 300x150
    2932              RenderBody {BODY} at (8,8) size 284x134 [bgcolor=#FFFFE0]
    30                 RenderText {#text} at (0,0) size 45x19
    31                   text run at (0,0) width 45: "foo bar"
    32                 RenderText {#text} at (45,0) size 23x19
    33                   text run at (45,0) width 23: "baz"
     33                RenderText {#text} at (0,0) size 53x22
     34                  text run at (0,0) width 53: "foo bar "
     35                RenderText {#text} at (53,0) size 24x22
     36                  text run at (53,0) width 24: "baz"
    3437        RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/platform/qt/editing/execCommand/print-expected.txt

    r63292 r86376  
    77  RenderBlock {HTML} at (0,0) size 800x600
    88    RenderBody {BODY} at (8,8) size 784x584
    9       RenderBlock {DIV} at (0,0) size 784x396 [border: (2px solid #FF0000)]
    10         RenderBlock (anonymous) at (14,14) size 756x64
    11           RenderInline {SPAN} at (0,0) size 743x63
    12             RenderText {#text} at (0,0) size 743x63
    13               text run at (0,0) width 743: "\"The quick brown fox jumps over the lazy dog\" uses every letter in the "
    14               text run at (0,32) width 184: "english language."
    15         RenderBlock (anonymous) at (14,102) size 756x256
    16           RenderBlock {P} at (0,0) size 756x256
    17             RenderText {#text} at (0,0) size 756x255
    18               text run at (0,0) width 511: "Here's to the crazy ones, the misfits, the rebels, "
    19               text run at (511,0) width 211: "the trouble makers, "
    20               text run at (722,0) width 33: "the"
    21               text run at (755,0) width 1: " "
    22               text run at (0,32) width 339: "round pegs in the square holes, "
    23               text run at (339,32) width 373: "the ones who see things differently."
    24               text run at (0,64) width 720: "There not fond of rules, and they have no respect for the status quo,"
    25               text run at (0,96) width 216: "you can quote then, "
    26               text run at (216,96) width 213: "disagree with them, "
    27               text run at (429,96) width 218: "glorify or vilify them, "
    28               text run at (647,96) width 106: "about the "
    29               text run at (0,128) width 406: "only thing you can't do is ignore them. "
    30               text run at (406,128) width 305: "Because they change things."
    31               text run at (0,160) width 383: "They push the human race forward. "
    32               text run at (383,160) width 363: "And while some may see them as "
    33               text run at (0,192) width 169: "the crazy ones, "
    34               text run at (169,192) width 165: "we see genius. "
    35               text run at (334,192) width 371: "Because the people who are crazy "
    36               text run at (0,224) width 453: "enough to think they can change the world "
    37               text run at (453,224) width 222: "are the ones who do."
    38         RenderBlock (anonymous) at (14,382) size 756x0
     9      RenderBlock {DIV} at (0,0) size 784x406 [border: (2px solid #FF0000)]
     10        RenderBlock (anonymous) at (14,14) size 756x66
     11          RenderInline {SPAN} at (0,0) size 732x66
     12            RenderText {#text} at (0,0) size 732x66
     13              text run at (0,0) width 726: "\"The quick brown fox jumps over the lazy dog\" uses every letter in the"
     14              text run at (726,0) width 6: " "
     15              text run at (0,33) width 176: "english language."
     16        RenderBlock (anonymous) at (14,104) size 756x264
     17          RenderBlock {P} at (0,0) size 756x264
     18            RenderText {#text} at (0,0) size 756x264
     19              text run at (0,0) width 488: "Here's to the crazy ones, the misfits, the rebels, "
     20              text run at (488,0) width 207: "the trouble makers, "
     21              text run at (695,0) width 32: "the"
     22              text run at (727,0) width 6: " "
     23              text run at (0,33) width 322: "round pegs in the square holes, "
     24              text run at (322,33) width 363: "the ones who see things differently. "
     25              text run at (685,33) width 62: "There"
     26              text run at (747,33) width 6: " "
     27              text run at (0,66) width 629: "not fond of rules, and they have no respect for the status quo, "
     28              text run at (629,66) width 79: "you can"
     29              text run at (708,66) width 6: " "
     30              text run at (0,99) width 120: "quote then, "
     31              text run at (120,99) width 207: "disagree with them, "
     32              text run at (327,99) width 227: "glorify or vilify them, "
     33              text run at (554,99) width 146: "about the only"
     34              text run at (700,99) width 6: " "
     35              text run at (0,132) width 348: "thing you can't do is ignore them. "
     36              text run at (348,132) width 291: "Because they change things. "
     37              text run at (639,132) width 106: "They push"
     38              text run at (745,132) width 6: " "
     39              text run at (0,165) width 262: "the human race forward. "
     40              text run at (262,165) width 492: "And while some may see them as the crazy ones,"
     41              text run at (754,165) width 2: "  "
     42              text run at (0,198) width 148: "we see genius. "
     43              text run at (148,198) width 603: "Because the people who are crazy enough to think they can"
     44              text run at (751,198) width 5: " "
     45              text run at (0,231) width 182: "change the world "
     46              text run at (182,231) width 208: "are the ones who do."
     47        RenderBlock (anonymous) at (14,392) size 756x0
    3948          RenderInline {SPAN} at (0,0) size 0x0
    4049          RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/platform/qt/editing/execCommand/remove-list-from-range-selection-expected.txt

    r63292 r86376  
    1010layer at (0,0) size 800x600
    1111  RenderBlock {HTML} at (0,0) size 800x600
    12     RenderBody {BODY} at (8,8) size 784x578
    13       RenderBlock {P} at (0,0) size 784x19
    14         RenderText {#text} at (0,0) size 522x19
    15           text run at (0,0) width 522: "This tests Insert{Un}OrderedList on a range selection that is entirely within one list."
    16       RenderBlock {DIV} at (0,33) size 784x109
    17         RenderBlock (anonymous) at (0,0) size 784x76
    18           RenderText {#text} at (0,0) size 74x19
    19             text run at (0,0) width 74: "None of the"
    20           RenderBR {BR} at (74,14) size 0x0
    21           RenderText {#text} at (0,19) size 104x19
    22             text run at (0,19) width 104: "selected content"
    23           RenderBR {BR} at (104,33) size 0x0
    24           RenderText {#text} at (0,38) size 62x19
    25             text run at (0,38) width 62: "should be"
    26           RenderBR {BR} at (62,52) size 0x0
    27           RenderText {#text} at (0,57) size 48x19
    28             text run at (0,57) width 48: "in a list."
    29           RenderBR {BR} at (48,71) size 0x0
    30         RenderBlock {OL} at (0,90) size 784x19
    31           RenderListItem {LI} at (40,0) size 744x19
    32             RenderListMarker at (-20,0) size 16x19: "1"
    33             RenderText {#text} at (0,0) size 320x19
    34               text run at (0,0) width 320: "This should be in a list and should not be selected."
     12    RenderBody {BODY} at (8,8) size 784x576
     13      RenderBlock {P} at (0,0) size 784x22
     14        RenderText {#text} at (0,0) size 563x22
     15          text run at (0,0) width 563: "This tests Insert{Un}OrderedList on a range selection that is entirely within one list."
     16      RenderBlock {DIV} at (0,38) size 784x126
     17        RenderBlock (anonymous) at (0,0) size 784x88
     18          RenderText {#text} at (0,0) size 78x22
     19            text run at (0,0) width 78: "None of the"
     20          RenderBR {BR} at (78,16) size 0x0
     21          RenderText {#text} at (0,22) size 106x22
     22            text run at (0,22) width 106: "selected content"
     23          RenderBR {BR} at (106,38) size 0x0
     24          RenderText {#text} at (0,44) size 65x22
     25            text run at (0,44) width 65: "should be"
     26          RenderBR {BR} at (65,60) size 0x0
     27          RenderText {#text} at (0,66) size 52x22
     28            text run at (0,66) width 52: "in a list."
     29          RenderBR {BR} at (52,82) size 0x0
     30        RenderBlock {OL} at (0,104) size 784x22
     31          RenderListItem {LI} at (40,0) size 744x22
     32            RenderListMarker at (-21,0) size 16x22: "1"
     33            RenderText {#text} at (0,0) size 336x22
     34              text run at (0,0) width 336: "This should be in a list and should not be selected."
    3535selection start: position 2 of child 0 {#text} of child 2 {DIV} of body
    3636selection end:   position 2 of child 6 {#text} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/remove-list-item-1-expected.txt

    r63292 r86376  
    1010layer at (0,0) size 800x600
    1111  RenderBlock {HTML} at (0,0) size 800x600
    12     RenderBody {BODY} at (8,8) size 784x578
    13       RenderBlock {P} at (0,0) size 784x19
    14         RenderText {#text} at (0,0) size 289x19
    15           text run at (0,0) width 289: "Outdenting a sublist should remove one level."
    16       RenderBlock {DIV} at (0,33) size 784x19
    17         RenderBlock {UL} at (0,0) size 784x19
    18           RenderListItem {LI} at (40,0) size 744x19
    19             RenderListMarker at (-17,0) size 7x19: bullet
    20             RenderText {#text} at (0,0) size 20x19
    21               text run at (0,0) width 20: "foo"
     12    RenderBody {BODY} at (8,8) size 784x576
     13      RenderBlock {P} at (0,0) size 784x22
     14        RenderText {#text} at (0,0) size 305x22
     15          text run at (0,0) width 305: "Outdenting a sublist should remove one level."
     16      RenderBlock {DIV} at (0,38) size 784x22
     17        RenderBlock {UL} at (0,0) size 784x22
     18          RenderListItem {LI} at (40,0) size 744x22
     19            RenderListMarker at (-18,0) size 7x22: bullet
     20            RenderText {#text} at (0,0) size 21x22
     21              text run at (0,0) width 21: "foo"
    2222caret: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/qt/editing/execCommand/selectAll-expected.txt

    r63292 r86376  
    99  RenderBlock {HTML} at (0,0) size 800x600
    1010    RenderBody {BODY} at (8,8) size 784x584
    11       RenderBlock {DIV} at (0,0) size 784x396 [border: (2px solid #FF0000)]
    12         RenderBlock (anonymous) at (14,14) size 756x64
    13           RenderInline {SPAN} at (0,0) size 743x63
    14             RenderText {#text} at (0,0) size 743x63
    15               text run at (0,0) width 743: "\"The quick brown fox jumps over the lazy dog\" uses every letter in the "
    16               text run at (0,32) width 184: "english language."
    17         RenderBlock (anonymous) at (14,102) size 756x256
    18           RenderBlock {P} at (0,0) size 756x256
    19             RenderText {#text} at (0,0) size 756x255
    20               text run at (0,0) width 511: "Here's to the crazy ones, the misfits, the rebels, "
    21               text run at (511,0) width 211: "the trouble makers, "
    22               text run at (722,0) width 33: "the"
    23               text run at (755,0) width 1: " "
    24               text run at (0,32) width 339: "round pegs in the square holes, "
    25               text run at (339,32) width 373: "the ones who see things differently."
    26               text run at (0,64) width 720: "There not fond of rules, and they have no respect for the status quo,"
    27               text run at (0,96) width 216: "you can quote then, "
    28               text run at (216,96) width 213: "disagree with them, "
    29               text run at (429,96) width 218: "glorify or vilify them, "
    30               text run at (647,96) width 106: "about the "
    31               text run at (0,128) width 406: "only thing you can't do is ignore them. "
    32               text run at (406,128) width 305: "Because they change things."
    33               text run at (0,160) width 383: "They push the human race forward. "
    34               text run at (383,160) width 363: "And while some may see them as "
    35               text run at (0,192) width 169: "the crazy ones, "
    36               text run at (169,192) width 165: "we see genius. "
    37               text run at (334,192) width 371: "Because the people who are crazy "
    38               text run at (0,224) width 453: "enough to think they can change the world "
    39               text run at (453,224) width 222: "are the ones who do."
    40         RenderBlock (anonymous) at (14,382) size 756x0
     11      RenderBlock {DIV} at (0,0) size 784x406 [border: (2px solid #FF0000)]
     12        RenderBlock (anonymous) at (14,14) size 756x66
     13          RenderInline {SPAN} at (0,0) size 732x66
     14            RenderText {#text} at (0,0) size 732x66
     15              text run at (0,0) width 726: "\"The quick brown fox jumps over the lazy dog\" uses every letter in the"
     16              text run at (726,0) width 6: " "
     17              text run at (0,33) width 176: "english language."
     18        RenderBlock (anonymous) at (14,104) size 756x264
     19          RenderBlock {P} at (0,0) size 756x264
     20            RenderText {#text} at (0,0) size 756x264
     21              text run at (0,0) width 488: "Here's to the crazy ones, the misfits, the rebels, "
     22              text run at (488,0) width 207: "the trouble makers, "
     23              text run at (695,0) width 32: "the"
     24              text run at (727,0) width 6: " "
     25              text run at (0,33) width 322: "round pegs in the square holes, "
     26              text run at (322,33) width 363: "the ones who see things differently. "
     27              text run at (685,33) width 62: "There"
     28              text run at (747,33) width 6: " "
     29              text run at (0,66) width 629: "not fond of rules, and they have no respect for the status quo, "
     30              text run at (629,66) width 79: "you can"
     31              text run at (708,66) width 6: " "
     32              text run at (0,99) width 120: "quote then, "
     33              text run at (120,99) width 207: "disagree with them, "
     34              text run at (327,99) width 227: "glorify or vilify them, "
     35              text run at (554,99) width 146: "about the only"
     36              text run at (700,99) width 6: " "
     37              text run at (0,132) width 348: "thing you can't do is ignore them. "
     38              text run at (348,132) width 291: "Because they change things. "
     39              text run at (639,132) width 106: "They push"
     40              text run at (745,132) width 6: " "
     41              text run at (0,165) width 262: "the human race forward. "
     42              text run at (262,165) width 492: "And while some may see them as the crazy ones,"
     43              text run at (754,165) width 2: "  "
     44              text run at (0,198) width 148: "we see genius. "
     45              text run at (148,198) width 603: "Because the people who are crazy enough to think they can"
     46              text run at (751,198) width 5: " "
     47              text run at (0,231) width 182: "change the world "
     48              text run at (182,231) width 208: "are the ones who do."
     49        RenderBlock (anonymous) at (14,392) size 756x0
    4150          RenderInline {SPAN} at (0,0) size 0x0
    4251          RenderText {#text} at (0,0) size 0x0
Note: See TracChangeset for help on using the changeset viewer.