Source/WebCore/ChangeLog

 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 NOBODY (OOPS!).
 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 Zan Dobersek <zdobersek@igalia.com>
216
317 [GCrypt] Add support for P-521 EC curves
224174

Source/WebCore/rendering/RenderObject.cpp

@@void RenderObject::willBeRemovedFromTree
14571457
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())
 1464 break;
 1465 if (destroyRootParent->isRenderView())
 1466 break;
 1467 if (destroyRootParent->isRenderFragmentedFlow())
 1468 break;
 1469 // FIXME: Destroy continuations here too.
 1470 if (destroyRootParent->isContinuation())
14671471 break;
1468  // single child?
1469  if (!(destroyRootParent->firstChild() == destroyRoot && destroyRootParent->lastChild() == destroyRoot))
 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;
14751478}
224174

LayoutTests/editing/deleting/delete-br-009-expected.txt

@@layer at (0,0) size 800x600
1717 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
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
2322 text run at (14,14) width 43: "Two"
224174

LayoutTests/platform/ios-wk2/editing/execCommand/4747450-expected.txt

@@layer at (0,0) size 800x600
2222 RenderListItem {LI} at (40,0) size 744x20
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
224174

LayoutTests/platform/ios-wk2/editing/execCommand/4924441-expected.txt

@@layer at (0,0) size 800x600
1515 RenderListMarker at (-21,0) size 16x19: "1"
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
224174

LayoutTests/platform/ios-wk2/editing/inserting/insert-br-quoted-004-expected.txt

@@layer at (0,0) size 800x600
4242 RenderBlock {DIV} at (0,0) size 672x30
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
4847 RenderBlock {BLOCKQUOTE} at (40,118) size 676x64 [border: (2px solid #0000FF)]
224174

LayoutTests/platform/ios-wk2/editing/inserting/insert-br-quoted-006-expected.txt

@@layer at (0,0) size 800x600
4343 RenderBlock {DIV} at (0,0) size 672x30
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
4948 RenderBlock {BLOCKQUOTE} at (40,142) size 676x64 [border: (2px solid #0000FF)]
224174

LayoutTests/platform/ios-wk2/editing/pasteboard/merge-end-blockquote-expected.txt

@@layer at (0,0) size 800x600
3636 RenderBlock {DIV} at (0,0) size 704x20
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
4241 RenderText {#text} at (0,0) size 49x19
224174

LayoutTests/platform/ios-wk2/editing/pasteboard/paste-line-endings-008-expected.txt

@@layer at (0,0) size 800x600
4747 RenderBlock {DIV} at (2,2) size 780x30
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
5352 text run at (0,1) width 78: "line two"
224174

LayoutTests/platform/ios-wk2/editing/pasteboard/paste-match-style-001-expected.txt

@@layer at (0,0) size 800x600
4343 RenderInline {B} at (0,0) size 26x28
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
224174

LayoutTests/platform/ios-wk2/editing/pasteboard/paste-text-008-expected.txt

@@layer at (0,0) size 800x600
124124 RenderBlock (anonymous) at (14,102) size 756x30
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
130129 text run at (14,15) width 380: "Upon such a full sea are we now afloat,"
224174

LayoutTests/platform/ios-wk2/editing/pasteboard/paste-text-009-expected.txt

@@layer at (0,0) size 800x600
104104 RenderBlock (anonymous) at (14,102) size 756x30
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
110109 text run at (14,15) width 380: "Upon such a full sea are we now afloat,"
224174

LayoutTests/platform/ios-wk2/editing/pasteboard/undoable-fragment-removes-expected.txt

@@layer at (0,0) size 800x600
3434 RenderText {#text} at (0,0) size 21x19
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
224174

LayoutTests/platform/ios-wk2/editing/pasteboard/unrendered-br-expected.txt

@@layer at (0,0) size 800x600
2121 RenderBlock {DIV} at (0,20) size 784x20
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
224174

LayoutTests/platform/ios-wk2/editing/style/4916887-expected.txt

@@layer at (0,0) size 800x600
1111 RenderInline {FONT} at (0,0) size 158x19 [color=#0000FF]
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
224174

LayoutTests/platform/ios-wk2/editing/style/5046875-1-expected.txt

@@layer at (0,0) size 800x600
1212 RenderBlock {DIV} at (0,0) size 784x20
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
1817 RenderText {#text} at (381,0) size 22x19
224174

LayoutTests/platform/ios-wk2/editing/style/5046875-2-expected.txt

@@layer at (0,0) size 800x600
1616 RenderBlock {DIV} at (0,20) size 784x20
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
2221 text run at (380,0) width 24: "baz"
224174

LayoutTests/platform/ios-wk2/editing/style/5279521-expected.txt

@@layer at (0,0) size 800x600
66 RenderBlock {DIV} at (0,0) size 784x123
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
1211 text run at (6,0) width 778: "This tests for a crash when changing the alignment of content that starts with an image not inside its own block container."
224174

LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-003-expected.txt

@@layer at (0,0) size 800x600
2828 RenderBlock {DIV} at (14,74) size 756x30
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
224174

LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-004-expected.txt

@@layer at (0,0) size 800x600
3333 RenderBlock {DIV} at (14,74) size 756x30
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
224174

LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-007-expected.txt

@@layer at (0,0) size 800x600
2020 RenderBlock {DIV} at (14,14) size 756x30
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
2625 text run at (14,15) width 31: "bar"
224174

LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-009-expected.txt

@@layer at (0,0) size 800x600
2828 RenderBlock {DIV} at (14,102) size 756x30
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
224174

LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-010-expected.txt

@@layer at (0,0) size 800x600
2222 RenderBlock {DIV} at (14,14) size 756x30
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
2827 text run at (362,15) width 32: "bar"
224174

LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-011-expected.txt

@@layer at (0,0) size 800x600
2929 RenderBlock {DIV} at (14,102) size 756x30
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
224174

LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-012-expected.txt

@@layer at (0,0) size 800x600
3232 RenderBlock {DIV} at (14,44) size 728x30
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
224174

LayoutTests/platform/ios-wk2/editing/style/create-block-for-style-013-expected.txt

@@layer at (0,0) size 800x600
2929 RenderBlock {DIV} at (14,44) size 728x30
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
224174

LayoutTests/platform/ios/editing/deleting/4922367-expected.txt

@@layer at (0,0) size 800x600
1919 RenderTableCell {TD} at (16,2) size 12x24 [border: (1px solid #BBBBBB)] [r=0 c=1 rs=1 cs=1]
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
224174

LayoutTests/platform/ios/editing/deleting/type-delete-after-quote-expected.txt

@@layer at (0,0) size 800x600
1111 RenderBlock {BLOCKQUOTE} at (0,0) size 744x20 [color=#0000FF] [border: none (2px solid #0000FF)]
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
224174

LayoutTests/platform/ios/editing/execCommand/4916402-expected.txt

@@layer at (0,0) size 800x600
1818 RenderListMarker at (-21,0) size 16x19: "1"
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
224174

LayoutTests/platform/ios/editing/execCommand/4916541-expected.txt

@@layer at (0,0) size 800x600
1717 RenderInline {SPAN} at (0,0) size 21x19
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
224174

LayoutTests/platform/ios/editing/execCommand/5136770-expected.txt

@@layer at (0,0) size 800x600
2222 RenderListMarker at (-18,0) size 7x19: bullet
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
224174

LayoutTests/platform/ios/editing/execCommand/5142012-2-expected.txt

@@layer at (0,0) size 800x600
1313 text run at (716,0) width 5: " "
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
224174

LayoutTests/platform/ios/editing/execCommand/5190926-expected.txt

@@layer at (0,0) size 800x600
1919 RenderInline {U} at (0,0) size 226x19
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
224174

LayoutTests/platform/ios/editing/execCommand/5481523-expected.txt

@@layer at (0,0) size 800x600
2727 RenderTableCell {TD} at (45,28) size 35x24 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
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
224174

LayoutTests/platform/ios/editing/pasteboard/5071074-2-expected.txt

@@layer at (0,0) size 800x600
1616 RenderInline {A} at (0,0) size 139x19 [color=#0000EE]
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
224174

LayoutTests/platform/ios/editing/pasteboard/displaced-generic-placeholder-expected.txt

@@layer at (0,0) size 800x600
2020 RenderBlock {DIV} at (0,20) size 784x20
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
224174

LayoutTests/platform/ios/editing/pasteboard/displaced-placeholder-expected.txt

@@layer at (0,0) size 800x600
1919 RenderBlock {DIV} at (0,20) size 784x20
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
224174

LayoutTests/platform/ios/editing/pasteboard/merge-after-delete-2-expected.txt

@@layer at (0,0) size 800x600
3030 RenderBlock {DIV} at (3,3) size 774x22 [border: (1px solid #FF0000)]
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
3635 text run at (1,1) width 21: "bar"
224174

LayoutTests/platform/ios/editing/pasteboard/merge-after-delete-expected.txt

@@layer at (0,0) size 800x600
1616 RenderBlock {DIV} at (5,5) size 766x22 [border: (1px solid #0000FF)]
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
2221caret: position 0 of child 0 {BR} of child 1 {DIV} of child 0 {DIV} of body
224174

LayoutTests/platform/ios/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt

@@layer at (0,0) size 800x600
1313 RenderBlock {BLOCKQUOTE} at (0,20) size 784x20 [color=#0000FF] [border: none (2px solid #0000FF)]
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
224174

LayoutTests/platform/ios/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt

@@layer at (0,0) size 800x198
1111 RenderText {#text} at (2,0) size 42x128
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
1716selection end: position 13 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
224174

LayoutTests/platform/ios/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt

@@layer at (0,0) size 800x198
1111 RenderText {#text} at (2,0) size 42x128
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
1716selection end: position 10 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
224174

LayoutTests/platform/mac-elcapitan/fast/forms/button-generated-content-expected.txt

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
88 text run at (0,0) width 299: "This is a test of generated content in <button> "

@@layer at (0,0) size 800x268
1818 RenderText {#text} at (435,18) size 5x18
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
2424 RenderInline (generated) at (0,0) size 34x13

@@layer at (0,0) size 800x268
5353 RenderText {#text} at (126,23) size 5x18
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: " "
6059 RenderButton {BUTTON} at (26,46) size 51x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]

@@layer at (0,0) size 800x268
6463 RenderText {#text} at (78,45) size 5x18
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
8886 RenderText at (0,0) size 34x13
8987 text run at (0,0) width 34: "before"
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
105103 text run at (0,0) width 35: "button"
106104 RenderInline (generated) at (0,0) size 25x13
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
122120 RenderText at (0,0) size 34x13
123121 text run at (0,0) width 34: "before"
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
139137 text run at (0,0) width 35: "button"
140138 RenderInline (generated) at (0,0) size 25x13
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
224174

LayoutTests/platform/mac/editing/deleting/4922367-expected.txt

@@layer at (0,0) size 800x600
1919 RenderTableCell {TD} at (16,2) size 12x22 [border: (1px solid #BBBBBB)] [r=0 c=1 rs=1 cs=1]
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
224174

LayoutTests/platform/mac/editing/deleting/delete-at-paragraph-boundaries-004-expected.txt

@@layer at (0,0) size 800x600
3535 RenderBlock {P} at (2,2) size 780x28
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
4140 text run at (0,0) width 18: "A"
224174

LayoutTests/platform/mac/editing/deleting/delete-at-paragraph-boundaries-010-expected.txt

@@layer at (0,0) size 800x600
5454 RenderBlock {DIV} at (2,2) size 776x28
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
6059 text run at (0,0) width 20: "ur"
224174

LayoutTests/platform/mac/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt

@@layer at (0,0) size 800x600
4040 text run at (2,2) width 48: "hello"
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
224174

LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-005-expected.txt

@@layer at (0,0) size 800x600
2020 RenderText {#text} at (0,0) size 83x28
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
2625 text run at (0,0) width 56: "Three"
224174

LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-006-expected.txt

@@layer at (0,0) size 800x600
2020 RenderText {#text} at (0,0) size 83x28
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
2625 text run at (0,0) width 56: "Three"
224174

LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-007-expected.txt

@@layer at (0,0) size 800x600
2020 RenderText {#text} at (0,0) size 83x28
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
2625 text run at (0,0) width 56: "Three"
224174

LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-008-expected.txt

@@layer at (0,0) size 800x600
2121 text run at (0,0) width 83: "OneTwo"
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
2726 text run at (0,0) width 56: "Three"
224174

LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-023-expected.txt

@@layer at (0,0) size 800x600
1717 text run at (14,14) width 513: "Should see \"XX\" in a yellow box nested in a red box."
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
2523 text run at (0,0) width 35: "XX"
224174

LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-024-expected.txt

@@layer at (0,0) size 800x600
1919 text run at (14,14) width 496: "Should see \"X\" in a yellow box nested in a red box."
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
2725 text run at (0,0) width 18: "X"
224174

LayoutTests/platform/mac/editing/deleting/delete-br-008-expected.txt

@@layer at (0,0) size 800x600
1717 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
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
2322 text run at (14,14) width 43: "Two"
224174

LayoutTests/platform/mac/editing/deleting/delete-br-010-expected.txt

@@layer at (0,0) size 800x600
2121 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
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
224174

LayoutTests/platform/mac/editing/deleting/delete-line-015-expected.txt

@@layer at (0,0) size 800x600
2222 text run at (0,0) width 8: "a"
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
224174

LayoutTests/platform/mac/editing/deleting/delete-line-016-expected.txt

@@layer at (0,0) size 800x600
2323 text run at (0,0) width 8: "a"
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
224174

LayoutTests/platform/mac/editing/deleting/delete-line-017-expected.txt

@@layer at (0,0) size 800x600
2020 RenderBlock {DIV} at (0,0) size 784x18
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
2625 text run at (0,0) width 8: "b"
224174

LayoutTests/platform/mac/editing/deleting/merge-no-br-expected.txt

@@layer at (0,0) size 800x600
1919 RenderText {#text} at (11,11) size 55x18
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
2524 text run at (11,11) width 38: "Three"
224174

LayoutTests/platform/mac/editing/deleting/type-delete-after-quote-expected.txt

@@layer at (0,0) size 800x600
1111 RenderBlock {BLOCKQUOTE} at (0,0) size 744x18 [color=#0000FF] [border: none (2px solid #0000FF)]
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
224174

LayoutTests/platform/mac/editing/execCommand/4747450-expected.txt

@@layer at (0,0) size 800x600
2222 RenderListItem {LI} at (40,0) size 744x18
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
224174

LayoutTests/platform/mac/editing/execCommand/4916402-expected.txt

@@layer at (0,0) size 800x600
1818 RenderListMarker at (-20,0) size 16x18: "1"
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
224174

LayoutTests/platform/mac/editing/execCommand/4916541-expected.txt

@@layer at (0,0) size 800x600
1717 RenderInline {SPAN} at (0,0) size 21x18
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
224174

LayoutTests/platform/mac/editing/execCommand/4924441-expected.txt

@@layer at (0,0) size 800x600
1515 RenderListMarker at (-20,0) size 16x18: "1"
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
224174

LayoutTests/platform/mac/editing/execCommand/5136770-expected.txt

@@layer at (0,0) size 800x600
2222 RenderListMarker at (-17,0) size 7x18: bullet
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
224174

LayoutTests/platform/mac/editing/execCommand/5142012-2-expected.txt

@@layer at (0,0) size 800x600
1313 text run at (716,0) width 5: " "
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
224174

LayoutTests/platform/mac/editing/execCommand/5190926-expected.txt

@@layer at (0,0) size 800x600
1919 RenderInline {U} at (0,0) size 226x18
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
224174

LayoutTests/platform/mac/editing/execCommand/5481523-expected.txt

@@layer at (0,0) size 800x600
2727 RenderTableCell {TD} at (45,26) size 35x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
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
224174

LayoutTests/platform/mac/editing/execCommand/create-list-with-hr-expected.txt

@@layer at (0,0) size 800x600
2424 RenderBlock {HR} at (0,0) size 744x2 [border: (1px inset #000000)]
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
224174

LayoutTests/platform/mac/editing/execCommand/indent-selection-expected.txt

@@layer at (0,0) size 800x600
2727 RenderBlock {BLOCKQUOTE} at (40,36) size 704x18
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
3332 RenderBlock {UL} at (40,0) size 704x54

@@layer at (0,0) size 800x600
5453 RenderInline {SPAN} at (0,0) size 39x18
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
224174

LayoutTests/platform/mac/editing/execCommand/insert-list-and-stitch-expected.txt

@@layer at (0,0) size 800x600
3535 RenderListMarker at (-20,0) size 16x18: "3"
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
224174

LayoutTests/platform/mac/editing/execCommand/nsresponder-indent-expected.txt

@@layer at (0,0) size 800x600
1717 RenderBlock {BLOCKQUOTE} at (40,0) size 744x18
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
224174

LayoutTests/platform/mac/editing/inserting/break-blockquote-after-delete-expected.txt

@@layer at (0,0) size 800x600
2121 RenderBlock {BLOCKQUOTE} at (0,0) size 772x18 [color=#008000] [border: none (2px solid #008000)]
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
224174

LayoutTests/platform/mac/editing/inserting/insert-br-quoted-004-expected.txt

@@layer at (0,0) size 800x600
4242 RenderBlock {DIV} at (0,0) size 672x28
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
4847 RenderBlock {BLOCKQUOTE} at (40,112) size 676x60 [border: (2px solid #0000FF)]
224174

LayoutTests/platform/mac/editing/inserting/insert-br-quoted-006-expected.txt

@@layer at (0,0) size 800x600
4343 RenderBlock {DIV} at (0,0) size 672x28
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
4948 RenderBlock {BLOCKQUOTE} at (40,136) size 676x60 [border: (2px solid #0000FF)]
224174

LayoutTests/platform/mac/editing/pasteboard/5071074-2-expected.txt

@@layer at (0,0) size 800x600
1616 RenderInline {A} at (0,0) size 139x18 [color=#0000EE]
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
224174

LayoutTests/platform/mac/editing/pasteboard/displaced-generic-placeholder-expected.txt

@@layer at (0,0) size 800x600
2020 RenderBlock {DIV} at (0,18) size 784x18
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
224174

LayoutTests/platform/mac/editing/pasteboard/displaced-placeholder-expected.txt

@@layer at (0,0) size 800x600
1919 RenderBlock {DIV} at (0,18) size 784x18
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
224174

LayoutTests/platform/mac/editing/pasteboard/merge-after-delete-2-expected.txt

@@layer at (0,0) size 800x600
3030 RenderBlock {DIV} at (3,3) size 774x20 [border: (1px solid #FF0000)]
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
3635 text run at (1,1) width 21: "bar"
224174

LayoutTests/platform/mac/editing/pasteboard/merge-after-delete-expected.txt

@@layer at (0,0) size 800x600
1616 RenderBlock {DIV} at (5,5) size 766x20 [border: (1px solid #0000FF)]
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
2221caret: position 0 of child 0 {BR} of child 1 {DIV} of child 0 {DIV} of body
224174

LayoutTests/platform/mac/editing/pasteboard/merge-end-blockquote-expected.txt

@@layer at (0,0) size 800x600
3636 RenderBlock {DIV} at (0,0) size 704x18
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
4241 RenderText {#text} at (0,0) size 49x18
224174

LayoutTests/platform/mac/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt

@@layer at (0,0) size 800x600
1313 RenderBlock {BLOCKQUOTE} at (0,18) size 784x18 [color=#0000FF] [border: none (2px solid #0000FF)]
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
224174

LayoutTests/platform/mac/editing/pasteboard/paste-line-endings-008-expected.txt

@@layer at (0,0) size 800x600
4747 RenderBlock {DIV} at (2,2) size 780x28
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
5352 text run at (0,0) width 78: "line two"
224174

LayoutTests/platform/mac/editing/pasteboard/paste-match-style-001-expected.txt

@@layer at (0,0) size 800x600
4343 RenderInline {B} at (0,0) size 26x28
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
224174

LayoutTests/platform/mac/editing/pasteboard/paste-text-008-expected.txt

@@layer at (0,0) size 800x600
124124 RenderBlock (anonymous) at (14,98) size 756x28
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
130129 text run at (14,14) width 378: "Upon such a full sea are we now afloat,"
224174

LayoutTests/platform/mac/editing/pasteboard/paste-text-009-expected.txt

@@layer at (0,0) size 800x600
104104 RenderBlock (anonymous) at (14,98) size 756x28
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
110109 text run at (14,14) width 378: "Upon such a full sea are we now afloat,"
224174

LayoutTests/platform/mac/editing/pasteboard/smart-paste-007-expected.txt

@@layer at (0,0) size 800x600
4646 RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
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
224174

LayoutTests/platform/mac/editing/pasteboard/smart-paste-008-expected.txt

@@layer at (0,0) size 800x600
3232 RenderBlock {DIV} at (0,0) size 784x18
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
224174

LayoutTests/platform/mac/editing/pasteboard/undoable-fragment-removes-expected.txt

@@layer at (0,0) size 800x600
3434 RenderText {#text} at (0,0) size 21x18
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
224174

LayoutTests/platform/mac/editing/pasteboard/unrendered-br-expected.txt

@@layer at (0,0) size 800x600
2121 RenderBlock {DIV} at (0,18) size 784x18
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
224174

LayoutTests/platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt

@@layer at (0,0) size 800x197
1111 RenderText {#text} at (2,0) size 40x128
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
1716selection end: position 13 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
224174

LayoutTests/platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt

@@layer at (0,0) size 800x197
1111 RenderText {#text} at (2,0) size 40x128
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
1716selection end: position 10 of child 0 {#text} of child 1 {P} of child 3 {DIV} of body
224174

LayoutTests/platform/mac/editing/style/4916887-expected.txt

@@layer at (0,0) size 800x600
1111 RenderInline {FONT} at (0,0) size 158x18 [color=#0000FF]
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
224174

LayoutTests/platform/mac/editing/style/5046875-1-expected.txt

@@layer at (0,0) size 800x600
1212 RenderBlock {DIV} at (0,0) size 784x18
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
1817 RenderText {#text} at (381,0) size 22x18
224174

LayoutTests/platform/mac/editing/style/5046875-2-expected.txt

@@layer at (0,0) size 800x600
1616 RenderBlock {DIV} at (0,18) size 784x18
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
2221 text run at (380,0) width 24: "baz"
224174

LayoutTests/platform/mac/editing/style/5279521-expected.txt

@@layer at (0,0) size 800x600
66 RenderBlock {DIV} at (0,0) size 784x121
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
1211 text run at (6,0) width 778: "This tests for a crash when changing the alignment of content that starts with an image not inside its own block container."
224174

LayoutTests/platform/mac/editing/style/create-block-for-style-003-expected.txt

@@layer at (0,0) size 800x600
2828 RenderBlock {DIV} at (14,70) size 756x28
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
224174

LayoutTests/platform/mac/editing/style/create-block-for-style-004-expected.txt

@@layer at (0,0) size 800x600
3333 RenderBlock {DIV} at (14,70) size 756x28
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
224174

LayoutTests/platform/mac/editing/style/create-block-for-style-007-expected.txt

@@layer at (0,0) size 800x600
2020 RenderBlock {DIV} at (14,14) size 756x28
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
2625 text run at (14,14) width 31: "bar"
224174

LayoutTests/platform/mac/editing/style/create-block-for-style-009-expected.txt

@@layer at (0,0) size 800x600
2828 RenderBlock {DIV} at (14,98) size 756x28
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
224174

LayoutTests/platform/mac/editing/style/create-block-for-style-010-expected.txt

@@layer at (0,0) size 800x600
2222 RenderBlock {DIV} at (14,14) size 756x28
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
2827 text run at (362,14) width 32: "bar"
224174

LayoutTests/platform/mac/editing/style/create-block-for-style-011-expected.txt

@@layer at (0,0) size 800x600
2929 RenderBlock {DIV} at (14,98) size 756x28
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
224174

LayoutTests/platform/mac/editing/style/create-block-for-style-012-expected.txt

@@layer at (0,0) size 800x600
3232 RenderBlock {DIV} at (14,42) size 728x28
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
224174

LayoutTests/platform/mac/editing/style/create-block-for-style-013-expected.txt

@@layer at (0,0) size 800x600
2929 RenderBlock {DIV} at (14,42) size 728x28
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
224174

LayoutTests/platform/mac/editing/style/smoosh-styles-001-expected.txt

@@layer at (0,0) size 800x600
5858 RenderInline {SPAN} at (0,0) size 21x28 [color=#FF0000]
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
224174

LayoutTests/platform/mac/editing/style/style-boundary-005-expected.txt

@@layer at (0,0) size 800x600
6464 text run at (89,2) width 34: " four"
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
224174

LayoutTests/platform/mac/editing/style/unbold-in-bold-expected.txt

@@layer at (0,0) size 800x600
8686 RenderText {#text} at (164,14) size 78x28
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
224174

LayoutTests/platform/mac/editing/unsupported-content/list-delete-001-expected.txt

@@layer at (0,0) size 800x600
6262 RenderListMarker at (-22,0) size 9x28: bullet
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
224174

LayoutTests/platform/mac/fast/forms/button-generated-content-expected.txt

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
88 text run at (0,0) width 299: "This is a test of generated content in <button> "

@@layer at (0,0) size 800x268
1818 RenderText {#text} at (435,18) size 5x18
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
2424 RenderInline (generated) at (0,0) size 34x13

@@layer at (0,0) size 800x268
5353 RenderText {#text} at (127,23) size 5x18
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: " "
6059 RenderButton {BUTTON} at (26,46) size 51x18 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]

@@layer at (0,0) size 800x268
6463 RenderText {#text} at (78,45) size 5x18
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
8886 RenderText at (0,0) size 34x13
8987 text run at (0,0) width 34: "before"
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
105103 text run at (0,0) width 35: "button"
106104 RenderInline (generated) at (0,0) size 26x13
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
122120 RenderText at (0,0) size 34x13
123121 text run at (0,0) width 34: "before"
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
139137 text run at (0,0) width 35: "button"
140138 RenderInline (generated) at (0,0) size 26x13
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
224174

LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.txt

@@layer at (0,0) size 800x600
2020 RenderRubyText {RT} at (0,-10) size 108x10
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
2625 RenderText {#text} at (0,0) size 8x18
224174