Changeset 224177 in webkit


Ignore:
Timestamp:
Oct 30, 2017 4:13:49 AM (6 years ago)
Author:
Antti Koivisto
Message:

Destroy all unneeded anonymous wrappers in RenderObject::removeFromParentAndDestroyCleaningUpAnonymousWrappers()
https://bugs.webkit.org/show_bug.cgi?id=178933

Reviewed by Zalan Bujtas.

Source/WebCore:

Currently it just cleans up table related wrappers.

  • rendering/RenderObject.cpp:

(WebCore::findDestroyRootIncludingAnonymous):

Continuations are left as future work.

LayoutTests:

Many leftover empty anonymous wrappers go away in render tree dumps. No visual impact.

  • editing/deleting/delete-br-009-expected.txt:
  • platform/ios-wk2/editing/execCommand/4747450-expected.txt:
  • platform/ios-wk2/editing/execCommand/4924441-expected.txt:
  • platform/ios-wk2/editing/inserting/insert-br-quoted-004-expected.txt:
  • platform/ios-wk2/editing/inserting/insert-br-quoted-006-expected.txt:
  • platform/ios-wk2/editing/pasteboard/merge-end-blockquote-expected.txt:
  • platform/ios-wk2/editing/pasteboard/paste-line-endings-008-expected.txt:
  • platform/ios-wk2/editing/pasteboard/paste-match-style-001-expected.txt:
  • platform/ios-wk2/editing/pasteboard/paste-text-008-expected.txt:
  • platform/ios-wk2/editing/pasteboard/paste-text-009-expected.txt:
  • platform/ios-wk2/editing/pasteboard/undoable-fragment-removes-expected.txt:
  • platform/ios-wk2/editing/pasteboard/unrendered-br-expected.txt:
  • platform/ios-wk2/editing/style/4916887-expected.txt:
  • platform/ios-wk2/editing/style/5046875-1-expected.txt:
  • platform/ios-wk2/editing/style/5046875-2-expected.txt:
  • platform/ios-wk2/editing/style/5279521-expected.txt:
  • platform/ios-wk2/editing/style/create-block-for-style-003-expected.txt:
  • platform/ios-wk2/editing/style/create-block-for-style-004-expected.txt:
  • platform/ios-wk2/editing/style/create-block-for-style-007-expected.txt:
  • platform/ios-wk2/editing/style/create-block-for-style-009-expected.txt:
  • platform/ios-wk2/editing/style/create-block-for-style-010-expected.txt:
  • platform/ios-wk2/editing/style/create-block-for-style-011-expected.txt:
  • platform/ios-wk2/editing/style/create-block-for-style-012-expected.txt:
  • platform/ios-wk2/editing/style/create-block-for-style-013-expected.txt:
  • platform/ios/editing/deleting/4922367-expected.txt:
  • platform/ios/editing/deleting/type-delete-after-quote-expected.txt:
  • platform/ios/editing/execCommand/4916402-expected.txt:
  • platform/ios/editing/execCommand/4916541-expected.txt:
  • platform/ios/editing/execCommand/5136770-expected.txt:
  • platform/ios/editing/execCommand/5142012-2-expected.txt:
  • platform/ios/editing/execCommand/5190926-expected.txt:
  • platform/ios/editing/execCommand/5481523-expected.txt:
  • platform/ios/editing/pasteboard/5071074-2-expected.txt:
  • platform/ios/editing/pasteboard/displaced-generic-placeholder-expected.txt:
  • platform/ios/editing/pasteboard/displaced-placeholder-expected.txt:
  • platform/ios/editing/pasteboard/merge-after-delete-2-expected.txt:
  • platform/ios/editing/pasteboard/merge-after-delete-expected.txt:
  • platform/ios/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt:
  • platform/ios/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
  • platform/ios/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
  • platform/ios/fast/forms/button-generated-content-expected.txt:
  • platform/ios/fast/ruby/rubyDOM-remove-text2-expected.txt:
  • platform/mac-elcapitan/fast/forms/button-generated-content-expected.txt:
  • platform/mac/editing/deleting/4922367-expected.txt:
  • platform/mac/editing/deleting/delete-at-paragraph-boundaries-004-expected.txt:
  • platform/mac/editing/deleting/delete-at-paragraph-boundaries-010-expected.txt:
  • platform/mac/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-005-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-006-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-007-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-008-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-023-expected.txt:
  • platform/mac/editing/deleting/delete-block-merge-contents-024-expected.txt:
  • platform/mac/editing/deleting/delete-br-008-expected.txt:
  • platform/mac/editing/deleting/delete-br-010-expected.txt:
  • platform/mac/editing/deleting/delete-line-015-expected.txt:
  • platform/mac/editing/deleting/delete-line-016-expected.txt:
  • platform/mac/editing/deleting/delete-line-017-expected.txt:
  • platform/mac/editing/deleting/merge-no-br-expected.txt:
  • platform/mac/editing/deleting/type-delete-after-quote-expected.txt:
  • platform/mac/editing/execCommand/4747450-expected.txt:
  • platform/mac/editing/execCommand/4916402-expected.txt:
  • platform/mac/editing/execCommand/4916541-expected.txt:
  • platform/mac/editing/execCommand/4924441-expected.txt:
  • platform/mac/editing/execCommand/5136770-expected.txt:
  • platform/mac/editing/execCommand/5142012-2-expected.txt:
  • platform/mac/editing/execCommand/5190926-expected.txt:
  • platform/mac/editing/execCommand/5481523-expected.txt:
  • platform/mac/editing/execCommand/create-list-with-hr-expected.txt:
  • platform/mac/editing/execCommand/indent-selection-expected.txt:
  • platform/mac/editing/execCommand/insert-list-and-stitch-expected.txt:
  • platform/mac/editing/execCommand/nsresponder-indent-expected.txt:
  • platform/mac/editing/inserting/break-blockquote-after-delete-expected.txt:
  • platform/mac/editing/inserting/insert-br-quoted-004-expected.txt:
  • platform/mac/editing/inserting/insert-br-quoted-006-expected.txt:
  • platform/mac/editing/pasteboard/5071074-2-expected.txt:
  • platform/mac/editing/pasteboard/displaced-generic-placeholder-expected.txt:
  • platform/mac/editing/pasteboard/displaced-placeholder-expected.txt:
  • platform/mac/editing/pasteboard/merge-after-delete-2-expected.txt:
  • platform/mac/editing/pasteboard/merge-after-delete-expected.txt:
  • platform/mac/editing/pasteboard/merge-end-blockquote-expected.txt:
  • platform/mac/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt:
  • platform/mac/editing/pasteboard/paste-line-endings-008-expected.txt:
  • platform/mac/editing/pasteboard/paste-match-style-001-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-008-expected.txt:
  • platform/mac/editing/pasteboard/paste-text-009-expected.txt:
  • platform/mac/editing/pasteboard/smart-paste-007-expected.txt:
  • platform/mac/editing/pasteboard/smart-paste-008-expected.txt:
  • platform/mac/editing/pasteboard/undoable-fragment-removes-expected.txt:
  • platform/mac/editing/pasteboard/unrendered-br-expected.txt:
  • platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
  • platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
  • platform/mac/editing/style/4916887-expected.txt:
  • platform/mac/editing/style/5046875-1-expected.txt:
  • platform/mac/editing/style/5046875-2-expected.txt:
  • platform/mac/editing/style/5279521-expected.txt:
  • platform/mac/editing/style/create-block-for-style-003-expected.txt:
  • platform/mac/editing/style/create-block-for-style-004-expected.txt:
  • platform/mac/editing/style/create-block-for-style-007-expected.txt:
  • platform/mac/editing/style/create-block-for-style-009-expected.txt:
  • platform/mac/editing/style/create-block-for-style-010-expected.txt:
  • platform/mac/editing/style/create-block-for-style-011-expected.txt:
  • platform/mac/editing/style/create-block-for-style-012-expected.txt:
  • platform/mac/editing/style/create-block-for-style-013-expected.txt:
  • platform/mac/editing/style/smoosh-styles-001-expected.txt:
  • platform/mac/editing/style/style-boundary-005-expected.txt:
  • platform/mac/editing/style/unbold-in-bold-expected.txt:
  • platform/mac/editing/unsupported-content/list-delete-001-expected.txt:
  • platform/mac/fast/forms/button-generated-content-expected.txt:
  • platform/mac/fast/ruby/rubyDOM-remove-text2-expected.txt:
Location:
trunk
Files:
113 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r224173 r224177  
     12017-10-30  Antti Koivisto  <antti@apple.com>
     2
     3        Destroy all unneeded anonymous wrappers in RenderObject::removeFromParentAndDestroyCleaningUpAnonymousWrappers()
     4        https://bugs.webkit.org/show_bug.cgi?id=178933
     5
     6        Reviewed by Zalan Bujtas.
     7
     8        Many leftover empty anonymous wrappers go away in render tree dumps. No visual impact.
     9
     10        * editing/deleting/delete-br-009-expected.txt:
     11        * platform/ios-wk2/editing/execCommand/4747450-expected.txt:
     12        * platform/ios-wk2/editing/execCommand/4924441-expected.txt:
     13        * platform/ios-wk2/editing/inserting/insert-br-quoted-004-expected.txt:
     14        * platform/ios-wk2/editing/inserting/insert-br-quoted-006-expected.txt:
     15        * platform/ios-wk2/editing/pasteboard/merge-end-blockquote-expected.txt:
     16        * platform/ios-wk2/editing/pasteboard/paste-line-endings-008-expected.txt:
     17        * platform/ios-wk2/editing/pasteboard/paste-match-style-001-expected.txt:
     18        * platform/ios-wk2/editing/pasteboard/paste-text-008-expected.txt:
     19        * platform/ios-wk2/editing/pasteboard/paste-text-009-expected.txt:
     20        * platform/ios-wk2/editing/pasteboard/undoable-fragment-removes-expected.txt:
     21        * platform/ios-wk2/editing/pasteboard/unrendered-br-expected.txt:
     22        * platform/ios-wk2/editing/style/4916887-expected.txt:
     23        * platform/ios-wk2/editing/style/5046875-1-expected.txt:
     24        * platform/ios-wk2/editing/style/5046875-2-expected.txt:
     25        * platform/ios-wk2/editing/style/5279521-expected.txt:
     26        * platform/ios-wk2/editing/style/create-block-for-style-003-expected.txt:
     27        * platform/ios-wk2/editing/style/create-block-for-style-004-expected.txt:
     28        * platform/ios-wk2/editing/style/create-block-for-style-007-expected.txt:
     29        * platform/ios-wk2/editing/style/create-block-for-style-009-expected.txt:
     30        * platform/ios-wk2/editing/style/create-block-for-style-010-expected.txt:
     31        * platform/ios-wk2/editing/style/create-block-for-style-011-expected.txt:
     32        * platform/ios-wk2/editing/style/create-block-for-style-012-expected.txt:
     33        * platform/ios-wk2/editing/style/create-block-for-style-013-expected.txt:
     34        * platform/ios/editing/deleting/4922367-expected.txt:
     35        * platform/ios/editing/deleting/type-delete-after-quote-expected.txt:
     36        * platform/ios/editing/execCommand/4916402-expected.txt:
     37        * platform/ios/editing/execCommand/4916541-expected.txt:
     38        * platform/ios/editing/execCommand/5136770-expected.txt:
     39        * platform/ios/editing/execCommand/5142012-2-expected.txt:
     40        * platform/ios/editing/execCommand/5190926-expected.txt:
     41        * platform/ios/editing/execCommand/5481523-expected.txt:
     42        * platform/ios/editing/pasteboard/5071074-2-expected.txt:
     43        * platform/ios/editing/pasteboard/displaced-generic-placeholder-expected.txt:
     44        * platform/ios/editing/pasteboard/displaced-placeholder-expected.txt:
     45        * platform/ios/editing/pasteboard/merge-after-delete-2-expected.txt:
     46        * platform/ios/editing/pasteboard/merge-after-delete-expected.txt:
     47        * platform/ios/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt:
     48        * platform/ios/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
     49        * platform/ios/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
     50        * platform/ios/fast/forms/button-generated-content-expected.txt:
     51        * platform/ios/fast/ruby/rubyDOM-remove-text2-expected.txt:
     52        * platform/mac-elcapitan/fast/forms/button-generated-content-expected.txt:
     53        * platform/mac/editing/deleting/4922367-expected.txt:
     54        * platform/mac/editing/deleting/delete-at-paragraph-boundaries-004-expected.txt:
     55        * platform/mac/editing/deleting/delete-at-paragraph-boundaries-010-expected.txt:
     56        * platform/mac/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
     57        * platform/mac/editing/deleting/delete-block-merge-contents-005-expected.txt:
     58        * platform/mac/editing/deleting/delete-block-merge-contents-006-expected.txt:
     59        * platform/mac/editing/deleting/delete-block-merge-contents-007-expected.txt:
     60        * platform/mac/editing/deleting/delete-block-merge-contents-008-expected.txt:
     61        * platform/mac/editing/deleting/delete-block-merge-contents-023-expected.txt:
     62        * platform/mac/editing/deleting/delete-block-merge-contents-024-expected.txt:
     63        * platform/mac/editing/deleting/delete-br-008-expected.txt:
     64        * platform/mac/editing/deleting/delete-br-010-expected.txt:
     65        * platform/mac/editing/deleting/delete-line-015-expected.txt:
     66        * platform/mac/editing/deleting/delete-line-016-expected.txt:
     67        * platform/mac/editing/deleting/delete-line-017-expected.txt:
     68        * platform/mac/editing/deleting/merge-no-br-expected.txt:
     69        * platform/mac/editing/deleting/type-delete-after-quote-expected.txt:
     70        * platform/mac/editing/execCommand/4747450-expected.txt:
     71        * platform/mac/editing/execCommand/4916402-expected.txt:
     72        * platform/mac/editing/execCommand/4916541-expected.txt:
     73        * platform/mac/editing/execCommand/4924441-expected.txt:
     74        * platform/mac/editing/execCommand/5136770-expected.txt:
     75        * platform/mac/editing/execCommand/5142012-2-expected.txt:
     76        * platform/mac/editing/execCommand/5190926-expected.txt:
     77        * platform/mac/editing/execCommand/5481523-expected.txt:
     78        * platform/mac/editing/execCommand/create-list-with-hr-expected.txt:
     79        * platform/mac/editing/execCommand/indent-selection-expected.txt:
     80        * platform/mac/editing/execCommand/insert-list-and-stitch-expected.txt:
     81        * platform/mac/editing/execCommand/nsresponder-indent-expected.txt:
     82        * platform/mac/editing/inserting/break-blockquote-after-delete-expected.txt:
     83        * platform/mac/editing/inserting/insert-br-quoted-004-expected.txt:
     84        * platform/mac/editing/inserting/insert-br-quoted-006-expected.txt:
     85        * platform/mac/editing/pasteboard/5071074-2-expected.txt:
     86        * platform/mac/editing/pasteboard/displaced-generic-placeholder-expected.txt:
     87        * platform/mac/editing/pasteboard/displaced-placeholder-expected.txt:
     88        * platform/mac/editing/pasteboard/merge-after-delete-2-expected.txt:
     89        * platform/mac/editing/pasteboard/merge-after-delete-expected.txt:
     90        * platform/mac/editing/pasteboard/merge-end-blockquote-expected.txt:
     91        * platform/mac/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt:
     92        * platform/mac/editing/pasteboard/paste-line-endings-008-expected.txt:
     93        * platform/mac/editing/pasteboard/paste-match-style-001-expected.txt:
     94        * platform/mac/editing/pasteboard/paste-text-008-expected.txt:
     95        * platform/mac/editing/pasteboard/paste-text-009-expected.txt:
     96        * platform/mac/editing/pasteboard/smart-paste-007-expected.txt:
     97        * platform/mac/editing/pasteboard/smart-paste-008-expected.txt:
     98        * platform/mac/editing/pasteboard/undoable-fragment-removes-expected.txt:
     99        * platform/mac/editing/pasteboard/unrendered-br-expected.txt:
     100        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
     101        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
     102        * platform/mac/editing/style/4916887-expected.txt:
     103        * platform/mac/editing/style/5046875-1-expected.txt:
     104        * platform/mac/editing/style/5046875-2-expected.txt:
     105        * platform/mac/editing/style/5279521-expected.txt:
     106        * platform/mac/editing/style/create-block-for-style-003-expected.txt:
     107        * platform/mac/editing/style/create-block-for-style-004-expected.txt:
     108        * platform/mac/editing/style/create-block-for-style-007-expected.txt:
     109        * platform/mac/editing/style/create-block-for-style-009-expected.txt:
     110        * platform/mac/editing/style/create-block-for-style-010-expected.txt:
     111        * platform/mac/editing/style/create-block-for-style-011-expected.txt:
     112        * platform/mac/editing/style/create-block-for-style-012-expected.txt:
     113        * platform/mac/editing/style/create-block-for-style-013-expected.txt:
     114        * platform/mac/editing/style/smoosh-styles-001-expected.txt:
     115        * platform/mac/editing/style/style-boundary-005-expected.txt:
     116        * platform/mac/editing/style/unbold-in-bold-expected.txt:
     117        * platform/mac/editing/unsupported-content/list-delete-001-expected.txt:
     118        * platform/mac/fast/forms/button-generated-content-expected.txt:
     119        * platform/mac/fast/ruby/rubyDOM-remove-text2-expected.txt:
     120
    11212017-10-30  Zan Dobersek  <zdobersek@igalia.com>
    2122
  • trunk/LayoutTests/editing/deleting/delete-br-009-expected.txt

    r177774 r224177  
    1818        RenderText {#text} at (14,14) size 40x28
    1919          text run at (14,14) width 40: "One"
    20       RenderBlock (anonymous) at (0,56) size 784x0
    2120      RenderBlock {DIV} at (0,56) size 784x56 [border: (2px solid #FF0000)]
    2221        RenderText {#text} at (14,14) size 43x28
  • trunk/LayoutTests/platform/ios-wk2/editing/execCommand/4747450-expected.txt

    r177519 r224177  
    2323              RenderListMarker at (-18,0) size 7x19: bullet
    2424              RenderBR {BR} at (0,0) size 0x19
    25           RenderBlock (anonymous) at (0,36) size 784x0
    2625caret: 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/ios-wk2/editing/execCommand/4924441-expected.txt

    r177519 r224177  
    1616              RenderText {#text} at (0,0) size 22x19
    1717                text run at (0,0) width 22: "foo"
    18         RenderBlock (anonymous) at (0,36) size 784x0
    1918caret: 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/ios-wk2/editing/inserting/insert-br-quoted-004-expected.txt

    r193911 r224177  
    4343                RenderBlock {DIV} at (0,0) size 672x30
    4444                  RenderBR {BR} at (0,1) size 0x28
    45                 RenderBlock (anonymous) at (0,30) size 672x0
    4645          RenderBlock (anonymous) at (0,64) size 756x30
    4746            RenderBR {BR} at (0,1) size 0x28
  • trunk/LayoutTests/platform/ios-wk2/editing/inserting/insert-br-quoted-006-expected.txt

    r193911 r224177  
    4444                RenderBlock {DIV} at (0,0) size 672x30
    4545                  RenderBR {BR} at (0,1) size 0x28
    46             RenderBlock (anonymous) at (2,62) size 672x0
    4746          RenderBlock (anonymous) at (0,88) size 756x30
    4847            RenderBR {BR} at (0,1) size 0x28
  • trunk/LayoutTests/platform/ios-wk2/editing/pasteboard/merge-end-blockquote-expected.txt

    r177519 r224177  
    3737            RenderText {#text} at (0,0) size 104x19
    3838              text run at (0,0) width 104: "Blockquotedfoo"
    39         RenderBlock (anonymous) at (0,36) size 784x0
    4039        RenderBlock {BLOCKQUOTE} at (40,36) size 704x20
    4140          RenderBlock {DIV} at (0,0) size 704x20
  • trunk/LayoutTests/platform/ios-wk2/editing/pasteboard/paste-line-endings-008-expected.txt

    r177519 r224177  
    4848            RenderText {#text} at (0,1) size 77x28
    4949              text run at (0,1) width 77: "line one"
    50           RenderBlock (anonymous) at (2,32) size 780x0
    5150          RenderBlock {DIV} at (2,32) size 780x30
    5251            RenderText {#text} at (0,1) size 78x28
  • trunk/LayoutTests/platform/ios-wk2/editing/pasteboard/paste-match-style-001-expected.txt

    r177519 r224177  
    4444            RenderText {#text} at (2,3) size 26x28
    4545              text run at (2,3) width 26: "ab"
    46         RenderBlock (anonymous) at (0,34) size 784x0
    4746caret: position 2 of child 0 {#text} of child 0 {B} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/ios-wk2/editing/pasteboard/paste-text-008-expected.txt

    r222051 r224177  
    125125          RenderText {#text} at (0,1) size 438x28
    126126            text run at (0,1) width 438: "Upon such a full seashallows and in miseries."
    127       RenderBlock (anonymous) at (0,146) size 784x0
    128127      RenderBlock {DIV} at (0,146) size 784x58 [border: (2px solid #FF0000)]
    129128        RenderText {#text} at (14,15) size 380x28
  • trunk/LayoutTests/platform/ios-wk2/editing/pasteboard/paste-text-009-expected.txt

    r222051 r224177  
    105105          RenderText {#text} at (0,1) size 18x28
    106106            text run at (0,1) width 18: "U"
    107       RenderBlock (anonymous) at (0,146) size 784x0
    108107      RenderBlock {DIV} at (0,146) size 784x58 [border: (2px solid #FF0000)]
    109108        RenderText {#text} at (14,15) size 380x28
  • trunk/LayoutTests/platform/ios-wk2/editing/pasteboard/undoable-fragment-removes-expected.txt

    r222051 r224177  
    3535            text run at (0,0) width 21: "bar"
    3636      RenderBlock {DIV} at (0,108) size 784x22 [border: (1px solid #000000)]
    37         RenderBR {BR} at (1,1) size 0x19
     37        RenderBlock (anonymous) at (1,1) size 782x20
     38          RenderBR {BR} at (0,0) size 0x19
    3839caret: position 0 of child 0 {BR} of child 6 {DIV} of body
  • trunk/LayoutTests/platform/ios-wk2/editing/pasteboard/unrendered-br-expected.txt

    r222051 r224177  
    2222          RenderText {#text} at (0,0) size 120x19
    2323            text run at (0,0) width 120: "Second paragraph."
    24         RenderBlock (anonymous) at (0,40) size 784x0
    2524caret: position 17 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/ios-wk2/editing/style/4916887-expected.txt

    r177519 r224177  
    1212            RenderText {#text} at (0,0) size 158x19
    1313              text run at (0,0) width 158: "This text should be blue."
    14         RenderBlock (anonymous) at (0,20) size 784x0
    1514selection start: position 0 of child 0 {#text} of child 0 {FONT} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
    1615selection end:   position 25 of child 0 {#text} of child 0 {FONT} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/ios-wk2/editing/style/5046875-1-expected.txt

    r177519 r224177  
    1313          RenderText {#text} at (381,0) size 22x19
    1414            text run at (381,0) width 22: "foo"
    15         RenderBlock (anonymous) at (0,20) size 784x0
    1615        RenderBlock {DIV} at (0,20) size 784x40
    1716          RenderBlock {DIV} at (0,0) size 784x20
  • trunk/LayoutTests/platform/ios-wk2/editing/style/5046875-2-expected.txt

    r177519 r224177  
    1717          RenderText {#text} at (0,0) size 21x19
    1818            text run at (0,0) width 21: "bar"
    19         RenderBlock (anonymous) at (0,40) size 784x0
    2019        RenderBlock {DIV} at (0,40) size 784x20
    2120          RenderText {#text} at (380,0) size 24x19
  • trunk/LayoutTests/platform/ios-wk2/editing/style/5279521-expected.txt

    r177519 r224177  
    77        RenderBlock {DIV} at (0,0) size 784x103
    88          RenderImage {IMG} at (708,0) size 76x103
    9         RenderBlock (anonymous) at (0,103) size 784x0
    109        RenderBlock {DIV} at (0,103) size 784x20
    1110          RenderText {#text} at (6,0) size 778x19
  • trunk/LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-003-expected.txt

    r193911 r224177  
    2929            RenderText {#text} at (361,1) size 34x28
    3030              text run at (361,1) width 34: "baz"
    31           RenderBlock (anonymous) at (14,104) size 756x0
    3231caret: position 0 of child 0 {#text} of child 4 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-004-expected.txt

    r193911 r224177  
    3434            RenderText {#text} at (361,1) size 34x28
    3535              text run at (361,1) width 34: "baz"
    36           RenderBlock (anonymous) at (14,104) size 756x0
    3736caret: position 3 of child 0 {#text} of child 3 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-007-expected.txt

    r193911 r224177  
    2121            RenderText {#text} at (362,1) size 32x28
    2222              text run at (362,1) width 32: "foo"
    23           RenderBlock (anonymous) at (14,44) size 756x0
    2423          RenderBlock {DIV} at (14,44) size 756x58 [border: (2px solid #FF0000)]
    2524            RenderText {#text} at (14,15) size 31x28
  • trunk/LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-009-expected.txt

    r193911 r224177  
    2929            RenderText {#text} at (361,1) size 34x28
    3030              text run at (361,1) width 34: "baz"
    31           RenderBlock (anonymous) at (14,132) size 756x0
    3231caret: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-010-expected.txt

    r193911 r224177  
    2323            RenderText {#text} at (362,1) size 32x28
    2424              text run at (362,1) width 32: "foo"
    25           RenderBlock (anonymous) at (14,44) size 756x0
    2625          RenderBlock {DIV} at (14,44) size 756x58 [border: (2px solid #FF0000)]
    2726            RenderText {#text} at (362,15) size 32x28
  • trunk/LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-011-expected.txt

    r193911 r224177  
    3030            RenderText {#text} at (361,1) size 34x28
    3131              text run at (361,1) width 34: "baz"
    32           RenderBlock (anonymous) at (14,132) size 756x0
    3332selection start: position 1 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
    3433selection end:   position 1 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-012-expected.txt

    r193911 r224177  
    3333              RenderText {#text} at (347,1) size 34x28
    3434                text run at (347,1) width 34: "baz"
    35             RenderBlock (anonymous) at (14,74) size 728x0
    3635selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
    3736selection end:   position 1 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-013-expected.txt

    r193911 r224177  
    3030              RenderText {#text} at (347,1) size 34x28
    3131                text run at (347,1) width 34: "baz"
    32             RenderBlock (anonymous) at (14,74) size 728x0
    3332caret: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/ios/editing/deleting/4922367-expected.txt

    r195740 r224177  
    2020                  RenderText {#text} at (2,2) size 8x19
    2121                    text run at (2,2) width 8: "2"
    22           RenderBlock (anonymous) at (0,30) size 784x0
    23         RenderBlock (anonymous) at (0,30) size 784x0
    2422      RenderBlock {UL} at (0,102) size 784x0
    2523caret: position 0 of child 0 {TABLE} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/ios/editing/deleting/type-delete-after-quote-expected.txt

    r179104 r224177  
    1212          RenderText {#text} at (12,0) size 142x19
    1313            text run at (12,0) width 142: "This should be quoted"
    14         RenderBlock (anonymous) at (0,36) size 784x0
    1514caret: position 0 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/ios/editing/execCommand/4916402-expected.txt

    r179104 r224177  
    1919            RenderText {#text} at (0,0) size 21x19
    2020              text run at (0,0) width 21: "bar"
    21         RenderBlock (anonymous) at (0,72) size 784x0
    2221caret: position 0 of child 0 {#text} of child 0 {LI} of child 1 {OL} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/ios/editing/execCommand/4916541-expected.txt

    r179104 r224177  
    1818            RenderText {#text} at (0,20) size 21x19
    1919              text run at (0,20) width 21: "bar"
    20         RenderBlock (anonymous) at (0,40) size 784x0
    2120selection start: position 1 of child 0 {#text} of child 0 {SPAN} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
    2221selection end:   position 2 of child 0 {#text} of child 1 {SPAN} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/ios/editing/execCommand/5136770-expected.txt

    r179104 r224177  
    2323              RenderText {#text} at (0,0) size 243x19
    2424                text run at (0,0) width 243: "This should be an unordered list item."
    25           RenderBlock (anonymous) at (0,76) size 784x0
    2625selection 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
    2726selection 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/ios/editing/execCommand/5142012-2-expected.txt

    r179104 r224177  
    1414              text run at (0,20) width 33: "item."
    1515          RenderText {#text} at (0,0) size 0x0
    16       RenderBlock (anonymous) at (0,56) size 784x0
    1716selection start: position 0 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 0 {UL} of body
    1817selection end:   position 123 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 0 {UL} of body
  • trunk/LayoutTests/platform/ios/editing/execCommand/5190926-expected.txt

    r179104 r224177  
    2020            RenderText {#text} at (0,0) size 226x19
    2121              text run at (0,0) width 226: "And all three should be underlined."
    22       RenderBlock (anonymous) at (0,76) size 784x0
    2322selection start: position 0 of child 0 {#text} of child 0 {U} of child 0 {LI} of child 0 {OL} of body
    2423selection end:   position 35 of child 0 {#text} of child 0 {U} of child 2 {LI} of child 0 {OL} of body
  • trunk/LayoutTests/platform/ios/editing/execCommand/5481523-expected.txt

    r191623 r224177  
    2828                    RenderText {#text} at (2,2) size 31x19
    2929                      text run at (2,2) width 31: "Four"
    30         RenderBlock (anonymous) at (0,56) size 784x0
    3130selection start: position 0 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of body
    3231selection end:   position 2 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/ios/editing/pasteboard/5071074-2-expected.txt

    r179104 r224177  
    1717            RenderText {#text} at (162,0) size 139x19
    1818              text run at (162,0) width 139: "This should be a link."
    19         RenderBlock (anonymous) at (0,40) size 784x0
    2019caret: position 22 of child 0 {#text} of child 1 {A} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/ios/editing/pasteboard/displaced-generic-placeholder-expected.txt

    r179104 r224177  
    2121          RenderText {#text} at (0,0) size 120x19
    2222            text run at (0,0) width 120: "Second paragraph."
    23         RenderBlock (anonymous) at (0,40) size 784x0
    2423caret: position 17 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/ios/editing/pasteboard/displaced-placeholder-expected.txt

    r179104 r224177  
    2020          RenderText {#text} at (0,0) size 120x19
    2121            text run at (0,0) width 120: "Second paragraph."
    22         RenderBlock (anonymous) at (0,40) size 784x0
    2322caret: position 17 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/ios/editing/pasteboard/merge-after-delete-2-expected.txt

    r179104 r224177  
    3131          RenderText {#text} at (1,1) size 30x19
    3232            text run at (1,1) width 30: "bfoo"
    33         RenderBlock (anonymous) at (1,27) size 778x0
    3433        RenderBlock {DIV} at (3,27) size 774x22 [border: (1px solid #000000)]
    3534          RenderText {#text} at (1,1) size 21x19
  • trunk/LayoutTests/platform/ios/editing/pasteboard/merge-after-delete-expected.txt

    r179104 r224177  
    1717          RenderText {#text} at (1,1) size 27x19
    1818            text run at (1,1) width 27: "ffoo"
    19         RenderBlock (anonymous) at (1,31) size 774x0
    2019        RenderBlock {DIV} at (5,31) size 766x22 [border: (1px solid #0000FF)]
    2120          RenderBR {BR} at (1,1) size 0x19
  • trunk/LayoutTests/platform/ios/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt

    r179104 r224177  
    1414          RenderText {#text} at (22,0) size 42x19
    1515            text run at (22,0) width 42: "Line 2"
    16         RenderBlock (anonymous) at (0,40) size 784x0
    1716caret: position 6 of child 0 {#text} of child 1 {BLOCKQUOTE} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/ios/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt

    r188412 r224177  
    1212            text run at (2,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
    1313            text run at (25,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
    14       RenderBlock (anonymous) at (0,169) size 784x0
    1514      RenderBlock {PRE} at (0,182) size 784x0
    1615selection start: position 5 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/ios/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt

    r188412 r224177  
    1212            text run at (2,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
    1313            text run at (25,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
    14       RenderBlock (anonymous) at (0,169) size 784x0
    1514      RenderBlock {PRE} at (0,182) size 784x0
    1615selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/ios/fast/forms/button-generated-content-expected.txt

    r179104 r224177  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x290
    4   RenderBlock {HTML} at (0,0) size 800x290
    5     RenderBody {BODY} at (8,16) size 784x266
     3layer at (0,0) size 800x292
     4  RenderBlock {HTML} at (0,0) size 800x292
     5    RenderBody {BODY} at (8,16) size 784x268
    66      RenderBlock {P} at (0,0) size 784x40
    77        RenderText {#text} at (0,0) size 322x19
     
    1919          text run at (435,20) width 5: "."
    2020      RenderBlock {HR} at (0,56) size 784x2 [border: (1px inset #000000)]
    21       RenderBlock (anonymous) at (0,66) size 784x200
     21      RenderBlock (anonymous) at (0,66) size 784x202
    2222        RenderButton {BUTTON} at (2,2) size 56x20 [color=#0000FF] [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    2323          RenderBlock (anonymous) at (12,3) size 32x14
     
    5454          text run at (134,25) width 5: " "
    5555        RenderBR {BR} at (0,0) size 0x0
    56         RenderButton {BUTTON} at (2,54) size 24x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    57           RenderBlock (anonymous) at (12,10) size 0x0
    58         RenderText {#text} at (28,49) size 4x19
    59           text run at (28,49) width 4: " "
    60         RenderButton {BUTTON} at (34,50) size 55x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     56        RenderButton {BUTTON} at (2,50) size 24x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     57        RenderText {#text} at (28,54) size 4x19
     58          text run at (28,54) width 4: " "
     59        RenderButton {BUTTON} at (34,55) size 55x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    6160          RenderBlock (anonymous) at (12,3) size 31x14
    6261            RenderText {#text} at (0,0) size 31x14
    6362              text run at (0,0) width 31: "button"
    64         RenderText {#text} at (90,49) size 5x19
    65           text run at (90,49) width 5: " "
     63        RenderText {#text} at (90,54) size 5x19
     64          text run at (90,54) width 5: " "
    6665        RenderBR {BR} at (0,0) size 0x0
    67         RenderButton {BUTTON} at (2,82) size 24x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    68           RenderBlock (anonymous) at (12,10) size 0x0
    69         RenderText {#text} at (28,77) size 4x19
    70           text run at (28,77) width 4: " "
    71         RenderButton {BUTTON} at (34,78) size 55x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     66        RenderButton {BUTTON} at (2,79) size 24x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     67        RenderText {#text} at (28,83) size 4x19
     68          text run at (28,83) width 4: " "
     69        RenderButton {BUTTON} at (34,84) size 55x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    7270          RenderBlock (anonymous) at (12,3) size 31x14
    7371            RenderText {#text} at (0,0) size 31x14
    7472              text run at (0,0) width 31: "button"
    75         RenderText {#text} at (90,77) size 5x19
    76           text run at (90,77) width 5: " "
     73        RenderText {#text} at (90,83) size 5x19
     74          text run at (90,83) width 5: " "
    7775        RenderBR {BR} at (0,0) size 0x0
    78         RenderButton {BUTTON} at (2,106) size 56x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     76        RenderButton {BUTTON} at (2,108) size 56x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    7977          RenderBlock (anonymous) at (12,3) size 32x14
    8078            RenderInline (generated) at (0,0) size 32x14
    8179              RenderText at (0,0) size 32x14
    8280                text run at (0,0) width 32: "before"
    83         RenderText {#text} at (59,105) size 5x19
    84           text run at (59,105) width 5: " "
    85         RenderButton {BUTTON} at (65,106) size 86x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     81        RenderText {#text} at (59,107) size 5x19
     82          text run at (59,107) width 5: " "
     83        RenderButton {BUTTON} at (65,108) size 86x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    8684          RenderBlock (anonymous) at (12,3) size 62x14
    8785            RenderInline (generated) at (0,0) size 32x14
     
    9088            RenderText {#text} at (31,0) size 31x14
    9189              text run at (31,0) width 31: "button"
    92         RenderText {#text} at (152,105) size 5x19
    93           text run at (152,105) width 5: " "
     90        RenderText {#text} at (152,107) size 5x19
     91          text run at (152,107) width 5: " "
    9492        RenderBR {BR} at (0,0) size 0x0
    95         RenderButton {BUTTON} at (2,130) size 47x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     93        RenderButton {BUTTON} at (2,132) size 47x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    9694          RenderBlock (anonymous) at (12,3) size 23x14
    9795            RenderInline (generated) at (0,0) size 23x14
    9896              RenderText at (0,0) size 23x14
    9997                text run at (0,0) width 23: "after"
    100         RenderText {#text} at (50,129) size 5x19
    101           text run at (50,129) width 5: " "
    102         RenderButton {BUTTON} at (56,130) size 77x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     98        RenderText {#text} at (50,131) size 5x19
     99          text run at (50,131) width 5: " "
     100        RenderButton {BUTTON} at (56,132) size 77x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    103101          RenderBlock (anonymous) at (12,3) size 53x14
    104102            RenderText {#text} at (0,0) size 31x14
     
    107105              RenderText at (30,0) size 23x14
    108106                text run at (30,0) width 23: "after"
    109         RenderText {#text} at (134,129) size 5x19
    110           text run at (134,129) width 5: " "
     107        RenderText {#text} at (134,131) size 5x19
     108          text run at (134,131) width 5: " "
    111109        RenderBR {BR} at (0,0) size 0x0
    112         RenderButton {BUTTON} at (2,154) size 56x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     110        RenderButton {BUTTON} at (2,156) size 56x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    113111          RenderBlock (anonymous) at (12,3) size 32x14
    114112            RenderInline (generated) at (0,0) size 32x14
    115113              RenderText at (0,0) size 32x14
    116114                text run at (0,0) width 32: "before"
    117         RenderText {#text} at (59,153) size 5x19
    118           text run at (59,153) width 5: " "
    119         RenderButton {BUTTON} at (65,154) size 86x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     115        RenderText {#text} at (59,155) size 5x19
     116          text run at (59,155) width 5: " "
     117        RenderButton {BUTTON} at (65,156) size 86x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    120118          RenderBlock (anonymous) at (12,3) size 62x14
    121119            RenderInline (generated) at (0,0) size 32x14
     
    124122            RenderText {#text} at (31,0) size 31x14
    125123              text run at (31,0) width 31: "button"
    126         RenderText {#text} at (152,153) size 5x19
    127           text run at (152,153) width 5: " "
     124        RenderText {#text} at (152,155) size 5x19
     125          text run at (152,155) width 5: " "
    128126        RenderBR {BR} at (0,0) size 0x0
    129         RenderButton {BUTTON} at (2,178) size 47x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     127        RenderButton {BUTTON} at (2,180) size 47x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    130128          RenderBlock (anonymous) at (12,3) size 23x14
    131129            RenderInline (generated) at (0,0) size 23x14
    132130              RenderText at (0,0) size 23x14
    133131                text run at (0,0) width 23: "after"
    134         RenderText {#text} at (50,177) size 5x19
    135           text run at (50,177) width 5: " "
    136         RenderButton {BUTTON} at (56,178) size 77x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
     132        RenderText {#text} at (50,179) size 5x19
     133          text run at (50,179) width 5: " "
     134        RenderButton {BUTTON} at (56,180) size 77x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
    137135          RenderBlock (anonymous) at (12,3) size 53x14
    138136            RenderText {#text} at (0,0) size 31x14
     
    141139              RenderText at (30,0) size 23x14
    142140                text run at (30,0) width 23: "after"
    143         RenderText {#text} at (134,177) size 5x19
    144           text run at (134,177) width 5: " "
     141        RenderText {#text} at (134,179) size 5x19
     142          text run at (134,179) width 5: " "
    145143        RenderBR {BR} at (0,0) size 0x0
  • trunk/LayoutTests/platform/ios/fast/ruby/rubyDOM-remove-text2-expected.txt

    r179104 r224177  
    2121              RenderText {#text} at (0,0) size 108x11
    2222                text run at (0,0) width 108: "Hyper-text Markup Language"
    23             RenderRubyBase (anonymous) at (0,0) size 108x0
    2423          RenderRubyRun (anonymous) at (265,0) size 9x20
    2524            RenderRubyBase (anonymous) at (0,0) size 8x20
  • trunk/LayoutTests/platform/mac-elcapitan/fast/forms/button-generated-content-expected.txt

    r202826 r224177  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x268
    4   RenderBlock {HTML} at (0,0) size 800x268
    5     RenderBody {BODY} at (8,16) size 784x244
     3layer at (0,0) size 800x262
     4  RenderBlock {HTML} at (0,0) size 800x262
     5    RenderBody {BODY} at (8,16) size 784x238
    66      RenderBlock {P} at (0,0) size 784x36
    77        RenderText {#text} at (0,0) size 322x18
     
    1919          text run at (435,18) width 5: "."
    2020      RenderBlock {HR} at (0,52) size 784x2 [border: (1px inset #000000)]
    21       RenderBlock (anonymous) at (0,62) size 784x182
     21      RenderBlock (anonymous) at (0,62) size 784x176
    2222        RenderButton {BUTTON} at (2,2) size 50x18 [color=#0000FF] [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    2323          RenderBlock (anonymous) at (8,2) size 34x13
     
    5454          text run at (126,23) width 5: " "
    5555        RenderBR {BR} at (0,0) size 0x0
    56         RenderButton {BUTTON} at (2,52) size 16x15 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    57           RenderBlock (anonymous) at (8,7) size 0x0
     56        RenderButton {BUTTON} at (2,47) size 16x15 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    5857        RenderText {#text} at (20,45) size 4x18
    5958          text run at (20,45) width 4: " "
     
    6564          text run at (78,45) width 5: " "
    6665        RenderBR {BR} at (0,0) size 0x0
    67         RenderButton {BUTTON} at (2,77) size 16x15 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    68           RenderBlock (anonymous) at (8,7) size 0x0
    69         RenderText {#text} at (20,70) size 4x18
    70           text run at (20,70) width 4: " "
    71         RenderButton {BUTTON} at (26,71) size 51x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     66        RenderButton {BUTTON} at (2,69) size 16x15 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     67        RenderText {#text} at (20,67) size 4x18
     68          text run at (20,67) width 4: " "
     69        RenderButton {BUTTON} at (26,68) size 51x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    7270          RenderBlock (anonymous) at (8,2) size 35x13
    7371            RenderText {#text} at (0,0) size 35x13
    7472              text run at (0,0) width 35: "button"
    75         RenderText {#text} at (78,70) size 5x18
    76           text run at (78,70) width 5: " "
     73        RenderText {#text} at (78,67) size 5x18
     74          text run at (78,67) width 5: " "
    7775        RenderBR {BR} at (0,0) size 0x0
    78         RenderButton {BUTTON} at (2,96) size 50x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     76        RenderButton {BUTTON} at (2,90) size 50x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    7977          RenderBlock (anonymous) at (8,2) size 34x13
    8078            RenderInline (generated) at (0,0) size 34x13
    8179              RenderText at (0,0) size 34x13
    8280                text run at (0,0) width 34: "before"
    83         RenderText {#text} at (53,95) size 5x18
    84           text run at (53,95) width 5: " "
    85         RenderButton {BUTTON} at (59,96) size 85x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     81        RenderText {#text} at (53,89) size 5x18
     82          text run at (53,89) width 5: " "
     83        RenderButton {BUTTON} at (59,90) size 85x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    8684          RenderBlock (anonymous) at (8,2) size 69x13
    8785            RenderInline (generated) at (0,0) size 34x13
     
    9088            RenderText {#text} at (33,0) size 36x13
    9189              text run at (33,0) width 36: "button"
    92         RenderText {#text} at (145,95) size 5x18
    93           text run at (145,95) width 5: " "
     90        RenderText {#text} at (145,89) size 5x18
     91          text run at (145,89) width 5: " "
    9492        RenderBR {BR} at (0,0) size 0x0
    95         RenderButton {BUTTON} at (2,118) size 41x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     93        RenderButton {BUTTON} at (2,112) size 41x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    9694          RenderBlock (anonymous) at (8,2) size 25x13
    9795            RenderInline (generated) at (0,0) size 25x13
    9896              RenderText at (0,0) size 25x13
    9997                text run at (0,0) width 25: "after"
    100         RenderText {#text} at (44,117) size 5x18
    101           text run at (44,117) width 5: " "
    102         RenderButton {BUTTON} at (50,118) size 75x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     98        RenderText {#text} at (44,111) size 5x18
     99          text run at (44,111) width 5: " "
     100        RenderButton {BUTTON} at (50,112) size 75x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    103101          RenderBlock (anonymous) at (8,2) size 59x13
    104102            RenderText {#text} at (0,0) size 35x13
     
    107105              RenderText at (34,0) size 25x13
    108106                text run at (34,0) width 25: "after"
    109         RenderText {#text} at (126,117) size 5x18
    110           text run at (126,117) width 5: " "
     107        RenderText {#text} at (126,111) size 5x18
     108          text run at (126,111) width 5: " "
    111109        RenderBR {BR} at (0,0) size 0x0
    112         RenderButton {BUTTON} at (2,140) size 50x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     110        RenderButton {BUTTON} at (2,134) size 50x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    113111          RenderBlock (anonymous) at (8,2) size 34x13
    114112            RenderInline (generated) at (0,0) size 34x13
    115113              RenderText at (0,0) size 34x13
    116114                text run at (0,0) width 34: "before"
    117         RenderText {#text} at (53,139) size 5x18
    118           text run at (53,139) width 5: " "
    119         RenderButton {BUTTON} at (59,140) size 85x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     115        RenderText {#text} at (53,133) size 5x18
     116          text run at (53,133) width 5: " "
     117        RenderButton {BUTTON} at (59,134) size 85x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    120118          RenderBlock (anonymous) at (8,2) size 69x13
    121119            RenderInline (generated) at (0,0) size 34x13
     
    124122            RenderText {#text} at (33,0) size 36x13
    125123              text run at (33,0) width 36: "button"
    126         RenderText {#text} at (145,139) size 5x18
    127           text run at (145,139) width 5: " "
     124        RenderText {#text} at (145,133) size 5x18
     125          text run at (145,133) width 5: " "
    128126        RenderBR {BR} at (0,0) size 0x0
    129         RenderButton {BUTTON} at (2,162) size 41x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     127        RenderButton {BUTTON} at (2,156) size 41x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    130128          RenderBlock (anonymous) at (8,2) size 25x13
    131129            RenderInline (generated) at (0,0) size 25x13
    132130              RenderText at (0,0) size 25x13
    133131                text run at (0,0) width 25: "after"
    134         RenderText {#text} at (44,161) size 5x18
    135           text run at (44,161) width 5: " "
    136         RenderButton {BUTTON} at (50,162) size 75x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     132        RenderText {#text} at (44,155) size 5x18
     133          text run at (44,155) width 5: " "
     134        RenderButton {BUTTON} at (50,156) size 75x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    137135          RenderBlock (anonymous) at (8,2) size 59x13
    138136            RenderText {#text} at (0,0) size 35x13
     
    141139              RenderText at (34,0) size 25x13
    142140                text run at (34,0) width 25: "after"
    143         RenderText {#text} at (126,161) size 5x18
    144           text run at (126,161) width 5: " "
     141        RenderText {#text} at (126,155) size 5x18
     142          text run at (126,155) width 5: " "
    145143        RenderBR {BR} at (0,0) size 0x0
  • trunk/LayoutTests/platform/mac/editing/deleting/4922367-expected.txt

    r195740 r224177  
    2020                  RenderText {#text} at (2,2) size 8x18
    2121                    text run at (2,2) width 8: "2"
    22           RenderBlock (anonymous) at (0,28) size 784x0
    23         RenderBlock (anonymous) at (0,28) size 784x0
    2422      RenderBlock {UL} at (0,96) size 784x0
    2523caret: position 0 of child 0 {TABLE} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-at-paragraph-boundaries-004-expected.txt

    r177774 r224177  
    3636            RenderText {#text} at (0,0) size 18x28
    3737              text run at (0,0) width 18: "A"
    38           RenderBlock (anonymous) at (2,30) size 780x0
    3938          RenderBlock {P} at (2,30) size 780x28
    4039            RenderText {#text} at (0,0) size 18x28
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-at-paragraph-boundaries-010-expected.txt

    r177774 r224177  
    5555              RenderText {#text} at (0,0) size 112x28
    5656                text run at (0,0) width 112: "cha cha cha"
    57             RenderBlock (anonymous) at (2,30) size 776x0
    5857          RenderBlock {DIV} at (2,90) size 780x28
    5958            RenderText {#text} at (0,0) size 20x28
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt

    r177774 r224177  
    4141        RenderBlock {P} at (2,82) size 780x32 [border: (2px solid #FF0000)]
    4242          RenderBR {BR} at (2,2) size 0x28
    43         RenderBlock (anonymous) at (2,138) size 780x0
    4443caret: position 0 of child 0 {BR} of child 1 {P} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-005-expected.txt

    r177774 r224177  
    2121              text run at (0,0) width 83: "OneTwo"
    2222          RenderBlock {DIV} at (0,28) size 756x28
    23             RenderBlock (anonymous) at (0,0) size 756x0
    2423            RenderBlock {DIV} at (0,0) size 756x28
    2524              RenderText {#text} at (0,0) size 56x28
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-006-expected.txt

    r177774 r224177  
    2121              text run at (0,0) width 83: "OneTwo"
    2222          RenderBlock {DIV} at (0,28) size 756x28
    23             RenderBlock (anonymous) at (0,0) size 756x0
    2423            RenderBlock {DIV} at (0,0) size 756x28
    2524              RenderText {#text} at (0,0) size 56x28
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-007-expected.txt

    r177774 r224177  
    2121              text run at (0,0) width 83: "OneTwo"
    2222          RenderBlock {DIV} at (0,28) size 756x28
    23             RenderBlock (anonymous) at (0,0) size 756x0
    2423            RenderBlock {DIV} at (0,0) size 756x28
    2524              RenderText {#text} at (0,0) size 56x28
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-008-expected.txt

    r177774 r224177  
    2222          RenderBlock {DIV} at (0,28) size 756x56
    2323            RenderBlock {DIV} at (0,0) size 756x28
    24               RenderBlock (anonymous) at (0,0) size 756x0
    2524              RenderBlock {DIV} at (0,0) size 756x28
    2625                RenderText {#text} at (0,0) size 56x28
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-023-expected.txt

    r177774 r224177  
    1818      RenderBlock {DIV} at (0,80) size 784x62
    1919        RenderBlock {DIV} at (0,0) size 784x62 [border: (2px solid #FF0000)]
    20           RenderBlock (anonymous) at (14,14) size 756x0
    2120          RenderBlock {DIV} at (14,14) size 756x34 [border: (3px solid #FFFF00)]
    22             RenderBlock (anonymous) at (3,3) size 750x0
    2321            RenderBlock {DIV} at (3,3) size 750x28
    2422              RenderText {#text} at (0,0) size 35x28
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-024-expected.txt

    r177774 r224177  
    2020      RenderBlock {DIV} at (0,80) size 784x62
    2121        RenderBlock {DIV} at (0,0) size 784x62 [border: (2px solid #FF0000)]
    22           RenderBlock (anonymous) at (14,14) size 756x0
    2322          RenderBlock {DIV} at (14,14) size 756x34 [border: (3px solid #FFFF00)]
    24             RenderBlock (anonymous) at (3,3) size 750x0
    2523            RenderBlock {DIV} at (3,3) size 750x28
    2624              RenderText {#text} at (0,0) size 18x28
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-br-008-expected.txt

    r177774 r224177  
    1818        RenderText {#text} at (14,14) size 40x28
    1919          text run at (14,14) width 40: "One"
    20       RenderBlock (anonymous) at (0,56) size 784x0
    2120      RenderBlock {DIV} at (0,56) size 784x56 [border: (2px solid #FF0000)]
    2221        RenderText {#text} at (14,14) size 43x28
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-br-010-expected.txt

    r177774 r224177  
    2222        RenderText {#text} at (14,14) size 83x28
    2323          text run at (14,14) width 83: "OneTwo"
    24       RenderBlock (anonymous) at (0,56) size 784x0
    2524caret: position 3 of child 0 {#text} of child 1 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-line-015-expected.txt

    r177774 r224177  
    2323        RenderBlock {DIV} at (0,18) size 784x18
    2424          RenderBR {BR} at (0,0) size 0x18
    25         RenderBlock (anonymous) at (0,36) size 784x0
    2625caret: position 0 of child 0 {BR} of child 2 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-line-016-expected.txt

    r177774 r224177  
    2424        RenderBlock {DIV} at (0,18) size 784x50
    2525          RenderBR {BR} at (0,0) size 0x18
    26         RenderBlock (anonymous) at (0,68) size 784x0
    2726caret: position 0 of child 0 {BR} of child 2 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/deleting/delete-line-017-expected.txt

    r177774 r224177  
    2121          RenderText {#text} at (0,0) size 8x18
    2222            text run at (0,0) width 8: "a"
    23         RenderBlock (anonymous) at (0,18) size 784x0
    2423        RenderBlock {DIV} at (0,18) size 784x18
    2524          RenderText {#text} at (0,0) size 8x18
  • trunk/LayoutTests/platform/mac/editing/deleting/merge-no-br-expected.txt

    r177774 r224177  
    2020            text run at (11,11) width 55: "OneTwo"
    2121        RenderBlock {DIV} at (16,64) size 736x96 [border: (3px solid #008000)]
    22           RenderBlock (anonymous) at (11,11) size 714x0
    2322          RenderBlock {DIV} at (19,19) size 698x40 [border: (3px solid #000000)]
    2423            RenderText {#text} at (11,11) size 38x18
  • trunk/LayoutTests/platform/mac/editing/deleting/type-delete-after-quote-expected.txt

    r177774 r224177  
    1212          RenderText {#text} at (12,0) size 142x18
    1313            text run at (12,0) width 142: "This should be quoted"
    14         RenderBlock (anonymous) at (0,34) size 784x0
    1514caret: position 0 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/execCommand/4747450-expected.txt

    r177774 r224177  
    2323              RenderListMarker at (-17,0) size 7x18: bullet
    2424              RenderBR {BR} at (0,0) size 0x18
    25           RenderBlock (anonymous) at (0,34) size 784x0
    2625caret: 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/mac/editing/execCommand/4916402-expected.txt

    r177774 r224177  
    1919            RenderText {#text} at (0,0) size 21x18
    2020              text run at (0,0) width 21: "bar"
    21         RenderBlock (anonymous) at (0,68) size 784x0
    2221caret: position 0 of child 0 {#text} of child 0 {LI} of child 1 {OL} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/execCommand/4916541-expected.txt

    r177774 r224177  
    1818            RenderText {#text} at (0,18) size 21x18
    1919              text run at (0,18) width 21: "bar"
    20         RenderBlock (anonymous) at (0,36) size 784x0
    2120selection start: position 1 of child 0 {#text} of child 0 {SPAN} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
    2221selection end:   position 2 of child 0 {#text} of child 1 {SPAN} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/execCommand/4924441-expected.txt

    r177774 r224177  
    1616              RenderText {#text} at (0,0) size 22x18
    1717                text run at (0,0) width 22: "foo"
    18         RenderBlock (anonymous) at (0,34) size 784x0
    1918caret: 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/mac/editing/execCommand/5136770-expected.txt

    r177774 r224177  
    2323              RenderText {#text} at (0,0) size 243x18
    2424                text run at (0,0) width 243: "This should be an unordered list item."
    25           RenderBlock (anonymous) at (0,70) size 784x0
    2625selection 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
    2726selection 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/mac/editing/execCommand/5142012-2-expected.txt

    r177774 r224177  
    1414              text run at (0,18) width 33: "item."
    1515          RenderText {#text} at (0,0) size 0x0
    16       RenderBlock (anonymous) at (0,52) size 784x0
    1716selection start: position 0 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 0 {UL} of body
    1817selection end:   position 123 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 0 {UL} of body
  • trunk/LayoutTests/platform/mac/editing/execCommand/5190926-expected.txt

    r177774 r224177  
    2020            RenderText {#text} at (0,0) size 226x18
    2121              text run at (0,0) width 226: "And all three should be underlined."
    22       RenderBlock (anonymous) at (0,70) size 784x0
    2322selection start: position 0 of child 0 {#text} of child 0 {U} of child 0 {LI} of child 0 {OL} of body
    2423selection end:   position 35 of child 0 {#text} of child 0 {U} of child 2 {LI} of child 0 {OL} of body
  • trunk/LayoutTests/platform/mac/editing/execCommand/5481523-expected.txt

    r191623 r224177  
    2828                    RenderText {#text} at (2,2) size 31x18
    2929                      text run at (2,2) width 31: "Four"
    30         RenderBlock (anonymous) at (0,52) size 784x0
    3130selection start: position 0 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of body
    3231selection end:   position 2 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/execCommand/create-list-with-hr-expected.txt

    r177774 r224177  
    2525            RenderBlock (anonymous) at (0,10) size 744x18
    2626              RenderListMarker at (-17,0) size 7x18: bullet
    27         RenderBlock (anonymous) at (0,44) size 784x0
    2827caret: position 0 of child 0 {HR} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/execCommand/indent-selection-expected.txt

    r177774 r224177  
    2828            RenderText {#text} at (0,0) size 40x18
    2929              text run at (0,0) width 40: "ipsum"
    30         RenderBlock (anonymous) at (0,54) size 784x0
    3130        RenderBlock {BLOCKQUOTE} at (40,70) size 744x54
    3231          RenderBlock {UL} at (0,0) size 744x54
     
    5554              RenderText {#text} at (0,18) size 39x18
    5655                text run at (0,18) width 39: "Thing"
    57         RenderBlock (anonymous) at (0,194) size 784x0
    5856selection start: position 0 of child 0 {#text} of child 0 {SPAN} of child 1 {BLOCKQUOTE} of child 4 {DIV} of body
    5957selection end:   position 5 of child 0 {#text} of child 3 {SPAN} of child 3 {BLOCKQUOTE} of child 4 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/execCommand/insert-list-and-stitch-expected.txt

    r177774 r224177  
    3636              RenderText {#text} at (0,0) size 23x18
    3737                text run at (0,0) width 23: "baz"
    38           RenderBlock (anonymous) at (0,70) size 784x0
    3938caret: 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/mac/editing/execCommand/nsresponder-indent-expected.txt

    r177774 r224177  
    1818          RenderText {#text} at (0,0) size 22x18
    1919            text run at (0,0) width 22: "foo"
    20         RenderBlock (anonymous) at (0,18) size 784x0
    2120caret: position 0 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/inserting/break-blockquote-after-delete-expected.txt

    r177774 r224177  
    2222              RenderText {#text} at (12,0) size 36x18
    2323                text run at (12,0) width 36: "green"
    24         RenderBlock (anonymous) at (0,54) size 784x0
    2524caret: position 5 of child 2 {#text} of child 4 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/inserting/insert-br-quoted-004-expected.txt

    r177774 r224177  
    4343                RenderBlock {DIV} at (0,0) size 672x28
    4444                  RenderBR {BR} at (0,0) size 0x28
    45                 RenderBlock (anonymous) at (0,28) size 672x0
    4645          RenderBlock (anonymous) at (0,60) size 756x28
    4746            RenderBR {BR} at (0,0) size 0x28
  • trunk/LayoutTests/platform/mac/editing/inserting/insert-br-quoted-006-expected.txt

    r177774 r224177  
    4444                RenderBlock {DIV} at (0,0) size 672x28
    4545                  RenderBR {BR} at (0,0) size 0x28
    46             RenderBlock (anonymous) at (2,58) size 672x0
    4746          RenderBlock (anonymous) at (0,84) size 756x28
    4847            RenderBR {BR} at (0,0) size 0x28
  • trunk/LayoutTests/platform/mac/editing/pasteboard/5071074-2-expected.txt

    r177774 r224177  
    1717            RenderText {#text} at (162,0) size 139x18
    1818              text run at (162,0) width 139: "This should be a link."
    19         RenderBlock (anonymous) at (0,36) size 784x0
    2019caret: position 22 of child 0 {#text} of child 1 {A} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/pasteboard/displaced-generic-placeholder-expected.txt

    r177774 r224177  
    2121          RenderText {#text} at (0,0) size 120x18
    2222            text run at (0,0) width 120: "Second paragraph."
    23         RenderBlock (anonymous) at (0,36) size 784x0
    2423caret: position 17 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/pasteboard/displaced-placeholder-expected.txt

    r177774 r224177  
    2020          RenderText {#text} at (0,0) size 120x18
    2121            text run at (0,0) width 120: "Second paragraph."
    22         RenderBlock (anonymous) at (0,36) size 784x0
    2322caret: position 17 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/pasteboard/merge-after-delete-2-expected.txt

    r177774 r224177  
    3131          RenderText {#text} at (1,1) size 30x18
    3232            text run at (1,1) width 30: "bfoo"
    33         RenderBlock (anonymous) at (1,25) size 778x0
    3433        RenderBlock {DIV} at (3,25) size 774x20 [border: (1px solid #000000)]
    3534          RenderText {#text} at (1,1) size 21x18
  • trunk/LayoutTests/platform/mac/editing/pasteboard/merge-after-delete-expected.txt

    r177774 r224177  
    1717          RenderText {#text} at (1,1) size 27x18
    1818            text run at (1,1) width 27: "ffoo"
    19         RenderBlock (anonymous) at (1,29) size 774x0
    2019        RenderBlock {DIV} at (5,29) size 766x20 [border: (1px solid #0000FF)]
    2120          RenderBR {BR} at (1,1) size 0x18
  • trunk/LayoutTests/platform/mac/editing/pasteboard/merge-end-blockquote-expected.txt

    r177774 r224177  
    3737            RenderText {#text} at (0,0) size 104x18
    3838              text run at (0,0) width 104: "Blockquotedfoo"
    39         RenderBlock (anonymous) at (0,34) size 784x0
    4039        RenderBlock {BLOCKQUOTE} at (40,34) size 704x18
    4140          RenderBlock {DIV} at (0,0) size 704x18
  • trunk/LayoutTests/platform/mac/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt

    r177774 r224177  
    1414          RenderText {#text} at (22,0) size 42x18
    1515            text run at (22,0) width 42: "Line 2"
    16         RenderBlock (anonymous) at (0,36) size 784x0
    1716caret: position 6 of child 0 {#text} of child 1 {BLOCKQUOTE} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/pasteboard/paste-line-endings-008-expected.txt

    r177774 r224177  
    4848            RenderText {#text} at (0,0) size 77x28
    4949              text run at (0,0) width 77: "line one"
    50           RenderBlock (anonymous) at (2,30) size 780x0
    5150          RenderBlock {DIV} at (2,30) size 780x28
    5251            RenderText {#text} at (0,0) size 78x28
  • trunk/LayoutTests/platform/mac/editing/pasteboard/paste-match-style-001-expected.txt

    r177774 r224177  
    4444            RenderText {#text} at (2,2) size 26x28
    4545              text run at (2,2) width 26: "ab"
    46         RenderBlock (anonymous) at (0,32) size 784x0
    4746caret: position 2 of child 0 {#text} of child 0 {B} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/pasteboard/paste-text-008-expected.txt

    r177774 r224177  
    125125          RenderText {#text} at (0,0) size 438x28
    126126            text run at (0,0) width 438: "Upon such a full seashallows and in miseries."
    127       RenderBlock (anonymous) at (0,140) size 784x0
    128127      RenderBlock {DIV} at (0,140) size 784x56 [border: (2px solid #FF0000)]
    129128        RenderText {#text} at (14,14) size 378x28
  • trunk/LayoutTests/platform/mac/editing/pasteboard/paste-text-009-expected.txt

    r177774 r224177  
    105105          RenderText {#text} at (0,0) size 18x28
    106106            text run at (0,0) width 18: "U"
    107       RenderBlock (anonymous) at (0,140) size 784x0
    108107      RenderBlock {DIV} at (0,140) size 784x56 [border: (2px solid #FF0000)]
    109108        RenderText {#text} at (14,14) size 378x28
  • trunk/LayoutTests/platform/mac/editing/pasteboard/smart-paste-007-expected.txt

    r177774 r224177  
    4747          RenderText {#text} at (2,2) size 52x28
    4848            text run at (2,2) width 52: ". test."
    49         RenderBlock (anonymous) at (0,32) size 784x0
    5049caret: position 6 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/pasteboard/smart-paste-008-expected.txt

    r177774 r224177  
    3333          RenderText {#text} at (0,0) size 56x18
    3434            text run at (0,0) width 56: "f foo bar"
    35         RenderBlock (anonymous) at (0,18) size 784x0
    3635caret: position 5 of child 0 {#text} of child 0 {DIV} of child 4 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/pasteboard/undoable-fragment-removes-expected.txt

    r177774 r224177  
    3535            text run at (0,0) width 21: "bar"
    3636      RenderBlock {DIV} at (0,100) size 784x20 [border: (1px solid #000000)]
    37         RenderBR {BR} at (1,1) size 0x18
     37        RenderBlock (anonymous) at (1,1) size 782x18
     38          RenderBR {BR} at (0,0) size 0x18
    3839caret: position 0 of child 0 {BR} of child 6 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/pasteboard/unrendered-br-expected.txt

    r207834 r224177  
    2222          RenderText {#text} at (0,0) size 120x18
    2323            text run at (0,0) width 120: "Second paragraph."
    24         RenderBlock (anonymous) at (0,36) size 784x0
    2524caret: position 17 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt

    r177774 r224177  
    1212            text run at (2,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
    1313            text run at (24,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
    14       RenderBlock (anonymous) at (0,168) size 784x0
    1514      RenderBlock {PRE} at (0,181) size 784x0
    1615selection start: position 5 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt

    r177774 r224177  
    1212            text run at (2,0) width 128: "\x{543E}\x{8F29}\x{306F}\x{732B}\x{3067}\x{3042}\x{308B}\x{3002}"
    1313            text run at (24,0) width 128: "\x{540D}\x{524D}\x{306F}\x{307E}\x{3060}\x{7121}\x{3044}\x{3002}"
    14       RenderBlock (anonymous) at (0,168) size 784x0
    1514      RenderBlock {PRE} at (0,181) size 784x0
    1615selection start: position 2 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/style/4916887-expected.txt

    r177774 r224177  
    1212            RenderText {#text} at (0,0) size 158x18
    1313              text run at (0,0) width 158: "This text should be blue."
    14         RenderBlock (anonymous) at (0,18) size 784x0
    1514selection start: position 0 of child 0 {#text} of child 0 {FONT} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
    1615selection end:   position 25 of child 0 {#text} of child 0 {FONT} of child 0 {BLOCKQUOTE} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/style/5046875-1-expected.txt

    r177774 r224177  
    1313          RenderText {#text} at (381,0) size 22x18
    1414            text run at (381,0) width 22: "foo"
    15         RenderBlock (anonymous) at (0,18) size 784x0
    1615        RenderBlock {DIV} at (0,18) size 784x36
    1716          RenderBlock {DIV} at (0,0) size 784x18
  • trunk/LayoutTests/platform/mac/editing/style/5046875-2-expected.txt

    r177774 r224177  
    1717          RenderText {#text} at (0,0) size 21x18
    1818            text run at (0,0) width 21: "bar"
    19         RenderBlock (anonymous) at (0,36) size 784x0
    2019        RenderBlock {DIV} at (0,36) size 784x18
    2120          RenderText {#text} at (380,0) size 24x18
  • trunk/LayoutTests/platform/mac/editing/style/5279521-expected.txt

    r177774 r224177  
    77        RenderBlock {DIV} at (0,0) size 784x103
    88          RenderImage {IMG} at (708,0) size 76x103
    9         RenderBlock (anonymous) at (0,103) size 784x0
    109        RenderBlock {DIV} at (0,103) size 784x18
    1110          RenderText {#text} at (6,0) size 778x18
  • trunk/LayoutTests/platform/mac/editing/style/create-block-for-style-003-expected.txt

    r177774 r224177  
    2929            RenderText {#text} at (361,0) size 34x28
    3030              text run at (361,0) width 34: "baz"
    31           RenderBlock (anonymous) at (14,98) size 756x0
    3231caret: position 0 of child 0 {#text} of child 4 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/style/create-block-for-style-004-expected.txt

    r177774 r224177  
    3434            RenderText {#text} at (361,0) size 34x28
    3535              text run at (361,0) width 34: "baz"
    36           RenderBlock (anonymous) at (14,98) size 756x0
    3736caret: position 3 of child 0 {#text} of child 3 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/style/create-block-for-style-007-expected.txt

    r177774 r224177  
    2121            RenderText {#text} at (362,0) size 32x28
    2222              text run at (362,0) width 32: "foo"
    23           RenderBlock (anonymous) at (14,42) size 756x0
    2423          RenderBlock {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
    2524            RenderText {#text} at (14,14) size 31x28
  • trunk/LayoutTests/platform/mac/editing/style/create-block-for-style-009-expected.txt

    r177774 r224177  
    2929            RenderText {#text} at (361,0) size 34x28
    3030              text run at (361,0) width 34: "baz"
    31           RenderBlock (anonymous) at (14,126) size 756x0
    3231caret: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/style/create-block-for-style-010-expected.txt

    r177774 r224177  
    2323            RenderText {#text} at (362,0) size 32x28
    2424              text run at (362,0) width 32: "foo"
    25           RenderBlock (anonymous) at (14,42) size 756x0
    2625          RenderBlock {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
    2726            RenderText {#text} at (362,14) size 32x28
  • trunk/LayoutTests/platform/mac/editing/style/create-block-for-style-011-expected.txt

    r177774 r224177  
    3030            RenderText {#text} at (361,0) size 34x28
    3131              text run at (361,0) width 34: "baz"
    32           RenderBlock (anonymous) at (14,126) size 756x0
    3332selection start: position 1 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
    3433selection end:   position 1 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/style/create-block-for-style-012-expected.txt

    r177774 r224177  
    3333              RenderText {#text} at (347,0) size 34x28
    3434                text run at (347,0) width 34: "baz"
    35             RenderBlock (anonymous) at (14,70) size 728x0
    3635selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
    3736selection end:   position 1 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/style/create-block-for-style-013-expected.txt

    r177774 r224177  
    3030              RenderText {#text} at (347,0) size 34x28
    3131                text run at (347,0) width 34: "baz"
    32             RenderBlock (anonymous) at (14,70) size 728x0
    3332caret: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/style/smoosh-styles-001-expected.txt

    r177774 r224177  
    5959            RenderText {#text} at (57,2) size 21x28
    6060              text run at (57,2) width 21: "fg"
    61         RenderBlock (anonymous) at (0,32) size 784x0
    6261caret: position 3 of child 2 {#text} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/style/style-boundary-005-expected.txt

    r177774 r224177  
    6565          RenderText {#text} at (122,2) size 24x18
    6666            text run at (122,2) width 24: "one"
    67         RenderBlock (anonymous) at (0,22) size 784x0
    6867caret: position 3 of child 2 {#text} of child 1 {DIV} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/style/unbold-in-bold-expected.txt

    r186135 r224177  
    8787            text run at (164,14) width 78: " xxxxxx"
    8888        RenderInline {SPAN} at (0,0) size 0x28
    89       RenderBlock (anonymous) at (0,56) size 784x0
    9089selection start: position 0 of child 1 {#text} of child 1 {DIV} of body
    9190selection end:   position 6 of child 1 {#text} of child 1 {DIV} of body
  • trunk/LayoutTests/platform/mac/editing/unsupported-content/list-delete-001-expected.txt

    r177774 r224177  
    6363              RenderText {#text} at (0,0) size 44x28
    6464                text run at (0,0) width 44: "after"
    65           RenderBlock (anonymous) at (2,106) size 780x0
    6665caret: position 0 of child 0 {#text} of child 1 {LI} of child 1 {UL} of child 1 {DIV} of child 5 {DIV} of body
  • trunk/LayoutTests/platform/mac/fast/forms/button-generated-content-expected.txt

    r202826 r224177  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x268
    4   RenderBlock {HTML} at (0,0) size 800x268
    5     RenderBody {BODY} at (8,16) size 784x244
     3layer at (0,0) size 800x262
     4  RenderBlock {HTML} at (0,0) size 800x262
     5    RenderBody {BODY} at (8,16) size 784x238
    66      RenderBlock {P} at (0,0) size 784x36
    77        RenderText {#text} at (0,0) size 322x18
     
    1919          text run at (435,18) width 5: "."
    2020      RenderBlock {HR} at (0,52) size 784x2 [border: (1px inset #000000)]
    21       RenderBlock (anonymous) at (0,62) size 784x182
     21      RenderBlock (anonymous) at (0,62) size 784x176
    2222        RenderButton {BUTTON} at (2,2) size 50x18 [color=#0000FF] [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    2323          RenderBlock (anonymous) at (8,2) size 34x13
     
    5454          text run at (127,23) width 5: " "
    5555        RenderBR {BR} at (0,0) size 0x0
    56         RenderButton {BUTTON} at (2,52) size 16x15 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    57           RenderBlock (anonymous) at (8,7) size 0x0
     56        RenderButton {BUTTON} at (2,47) size 16x15 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    5857        RenderText {#text} at (20,45) size 4x18
    5958          text run at (20,45) width 4: " "
     
    6564          text run at (78,45) width 5: " "
    6665        RenderBR {BR} at (0,0) size 0x0
    67         RenderButton {BUTTON} at (2,77) size 16x15 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    68           RenderBlock (anonymous) at (8,7) size 0x0
    69         RenderText {#text} at (20,70) size 4x18
    70           text run at (20,70) width 4: " "
    71         RenderButton {BUTTON} at (26,71) size 51x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     66        RenderButton {BUTTON} at (2,69) size 16x15 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     67        RenderText {#text} at (20,67) size 4x18
     68          text run at (20,67) width 4: " "
     69        RenderButton {BUTTON} at (26,68) size 51x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    7270          RenderBlock (anonymous) at (8,2) size 35x13
    7371            RenderText {#text} at (0,0) size 35x13
    7472              text run at (0,0) width 35: "button"
    75         RenderText {#text} at (78,70) size 5x18
    76           text run at (78,70) width 5: " "
     73        RenderText {#text} at (78,67) size 5x18
     74          text run at (78,67) width 5: " "
    7775        RenderBR {BR} at (0,0) size 0x0
    78         RenderButton {BUTTON} at (2,96) size 50x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     76        RenderButton {BUTTON} at (2,90) size 50x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    7977          RenderBlock (anonymous) at (8,2) size 34x13
    8078            RenderInline (generated) at (0,0) size 34x13
    8179              RenderText at (0,0) size 34x13
    8280                text run at (0,0) width 34: "before"
    83         RenderText {#text} at (53,95) size 5x18
    84           text run at (53,95) width 5: " "
    85         RenderButton {BUTTON} at (59,96) size 86x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     81        RenderText {#text} at (53,89) size 5x18
     82          text run at (53,89) width 5: " "
     83        RenderButton {BUTTON} at (59,90) size 86x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    8684          RenderBlock (anonymous) at (8,2) size 69x13
    8785            RenderInline (generated) at (0,0) size 34x13
     
    9088            RenderText {#text} at (33,0) size 36x13
    9189              text run at (33,0) width 36: "button"
    92         RenderText {#text} at (146,95) size 5x18
    93           text run at (146,95) width 5: " "
     90        RenderText {#text} at (146,89) size 5x18
     91          text run at (146,89) width 5: " "
    9492        RenderBR {BR} at (0,0) size 0x0
    95         RenderButton {BUTTON} at (2,118) size 41x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     93        RenderButton {BUTTON} at (2,112) size 41x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    9694          RenderBlock (anonymous) at (8,2) size 25x13
    9795            RenderInline (generated) at (0,0) size 25x13
    9896              RenderText at (0,0) size 25x13
    9997                text run at (0,0) width 25: "after"
    100         RenderText {#text} at (44,117) size 5x18
    101           text run at (44,117) width 5: " "
    102         RenderButton {BUTTON} at (50,118) size 76x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     98        RenderText {#text} at (44,111) size 5x18
     99          text run at (44,111) width 5: " "
     100        RenderButton {BUTTON} at (50,112) size 76x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    103101          RenderBlock (anonymous) at (8,2) size 60x13
    104102            RenderText {#text} at (0,0) size 35x13
     
    107105              RenderText at (34,0) size 26x13
    108106                text run at (34,0) width 26: "after"
    109         RenderText {#text} at (127,117) size 5x18
    110           text run at (127,117) width 5: " "
     107        RenderText {#text} at (127,111) size 5x18
     108          text run at (127,111) width 5: " "
    111109        RenderBR {BR} at (0,0) size 0x0
    112         RenderButton {BUTTON} at (2,140) size 50x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     110        RenderButton {BUTTON} at (2,134) size 50x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    113111          RenderBlock (anonymous) at (8,2) size 34x13
    114112            RenderInline (generated) at (0,0) size 34x13
    115113              RenderText at (0,0) size 34x13
    116114                text run at (0,0) width 34: "before"
    117         RenderText {#text} at (53,139) size 5x18
    118           text run at (53,139) width 5: " "
    119         RenderButton {BUTTON} at (59,140) size 86x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     115        RenderText {#text} at (53,133) size 5x18
     116          text run at (53,133) width 5: " "
     117        RenderButton {BUTTON} at (59,134) size 86x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    120118          RenderBlock (anonymous) at (8,2) size 69x13
    121119            RenderInline (generated) at (0,0) size 34x13
     
    124122            RenderText {#text} at (33,0) size 36x13
    125123              text run at (33,0) width 36: "button"
    126         RenderText {#text} at (146,139) size 5x18
    127           text run at (146,139) width 5: " "
     124        RenderText {#text} at (146,133) size 5x18
     125          text run at (146,133) width 5: " "
    128126        RenderBR {BR} at (0,0) size 0x0
    129         RenderButton {BUTTON} at (2,162) size 41x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     127        RenderButton {BUTTON} at (2,156) size 41x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    130128          RenderBlock (anonymous) at (8,2) size 25x13
    131129            RenderInline (generated) at (0,0) size 25x13
    132130              RenderText at (0,0) size 25x13
    133131                text run at (0,0) width 25: "after"
    134         RenderText {#text} at (44,161) size 5x18
    135           text run at (44,161) width 5: " "
    136         RenderButton {BUTTON} at (50,162) size 76x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
     132        RenderText {#text} at (44,155) size 5x18
     133          text run at (44,155) width 5: " "
     134        RenderButton {BUTTON} at (50,156) size 76x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
    137135          RenderBlock (anonymous) at (8,2) size 60x13
    138136            RenderText {#text} at (0,0) size 35x13
     
    141139              RenderText at (34,0) size 26x13
    142140                text run at (34,0) width 26: "after"
    143         RenderText {#text} at (127,161) size 5x18
    144           text run at (127,161) width 5: " "
     141        RenderText {#text} at (127,155) size 5x18
     142          text run at (127,155) width 5: " "
    145143        RenderBR {BR} at (0,0) size 0x0
  • trunk/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.txt

    r177774 r224177  
    2121              RenderText {#text} at (0,0) size 108x10
    2222                text run at (0,0) width 108: "Hyper-text Markup Language"
    23             RenderRubyBase (anonymous) at (0,0) size 108x0
    2423          RenderRubyRun (anonymous) at (264,0) size 9x18
    2524            RenderRubyBase (anonymous) at (0,0) size 8x18
  • trunk/Source/WebCore/ChangeLog

    r224176 r224177  
     12017-10-27  Antti Koivisto  <antti@apple.com>
     2
     3        Destroy all unneeded anonymous wrappers in RenderObject::removeFromParentAndDestroyCleaningUpAnonymousWrappers()
     4        https://bugs.webkit.org/show_bug.cgi?id=178933
     5
     6        Reviewed by Zalan Bujtas.
     7
     8        Currently it just cleans up table related wrappers.
     9
     10        * rendering/RenderObject.cpp:
     11        (WebCore::findDestroyRootIncludingAnonymous):
     12
     13        Continuations are left as future work.
     14
    1152017-10-30  Zalan Bujtas  <zalan@apple.com>
    216
  • trunk/Source/WebCore/rendering/RenderObject.cpp

    r224150 r224177  
    14581458static RenderObject& findDestroyRootIncludingAnonymous(RenderObject& renderer)
    14591459{
    1460     auto* inlineWrapperForDisplayContents = is<RenderText>(renderer) ? downcast<RenderText>(renderer).inlineWrapperForDisplayContents() : nullptr;
    1461 
    1462     auto* destroyRoot = inlineWrapperForDisplayContents ? inlineWrapperForDisplayContents : &renderer;
    1463     auto* destroyRootParent = destroyRoot->parent();
    1464     while (destroyRootParent && destroyRootParent->isAnonymous()) {
    1465         if (!destroyRootParent->isTableCell() && !destroyRootParent->isTableRow()
    1466             && !destroyRootParent->isTableCaption() && !destroyRootParent->isTableSection() && !destroyRootParent->isTable())
     1460    auto* destroyRoot = &renderer;
     1461    while (true) {
     1462        auto* destroyRootParent = destroyRoot->parent();
     1463        if (!destroyRootParent->isAnonymous())
    14671464            break;
    1468         // single child?
    1469         if (!(destroyRootParent->firstChild() == destroyRoot && destroyRootParent->lastChild() == destroyRoot))
     1465        if (destroyRootParent->isRenderView())
     1466            break;
     1467        if (destroyRootParent->isRenderFragmentedFlow())
     1468            break;
     1469        // FIXME: Destroy continuations here too.
     1470        if (destroyRootParent->isContinuation())
     1471            break;
     1472        bool destroyingOnlyChild = destroyRootParent->firstChild() == destroyRoot && destroyRootParent->lastChild() == destroyRoot;
     1473        if (!destroyingOnlyChild)
    14701474            break;
    14711475        destroyRoot = destroyRootParent;
    1472         destroyRootParent = destroyRootParent->parent();
    14731476    }
    14741477    return *destroyRoot;
Note: See TracChangeset for help on using the changeset viewer.