| Index: LayoutTests/platform/mac/fast/css/first-child-pseudo-class-expected.txt
|
| diff --git a/LayoutTests/platform/mac/fast/css/first-child-pseudo-class-expected.txt b/LayoutTests/platform/mac/fast/css/first-child-pseudo-class-expected.txt
|
| index 9689a3e691b5b871374c3419e68475147196d8ac..324a3cdb14ce687e832d70faa16e2f4ac2d7b092 100644
|
| --- a/LayoutTests/platform/mac/fast/css/first-child-pseudo-class-expected.txt
|
| +++ b/LayoutTests/platform/mac/fast/css/first-child-pseudo-class-expected.txt
|
| @@ -23,11 +23,11 @@ layer at (0,0) size 785x2270
|
| text run at (617,0) width 4: "."
|
| RenderBlock {DIV} at (0,34) size 769x0 [bgcolor=#009900]
|
| RenderBlock {OL} at (0,34) size 769x2172
|
| - RenderListItem {LI} at (40,0) size 616x243 [bgcolor=#AAAAAA]
|
| - RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#990000]
|
| - RenderBlock {DIV} at (0,0) size 584x24 [bgcolor=#009900]
|
| - RenderBlock {PRE} at (16,53) size 584x106 [bgcolor=#FFFFFF]
|
| - RenderListMarker at (-37,6) size 17x18: "1"
|
| + RenderListItem {LI} at (40,0) size 615.19x243 [bgcolor=#AAAAAA]
|
| + RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#990000]
|
| + RenderBlock {DIV} at (0,0) size 583.19x24 [bgcolor=#009900]
|
| + RenderBlock {PRE} at (16,53) size 583.19x106 [bgcolor=#FFFFFF]
|
| + RenderListMarker at (-37,6.50) size 17x17: "1"
|
| RenderText {#text} at (7,8) size 144x92
|
| text run at (7,8) width 144: "div :first-child {"
|
| text run at (151,8) width 0: " "
|
| @@ -39,16 +39,16 @@ layer at (0,0) size 785x2270
|
| text run at (7,70) width 112: " <div></div>"
|
| text run at (119,70) width 0: " "
|
| text run at (7,85) width 48: "</div>"
|
| - RenderBlock {P} at (16,175) size 584x36
|
| + RenderBlock {P} at (16,175) size 583.19x36
|
| RenderText {#text} at (0,0) size 572x35
|
| text run at (0,0) width 572: "The CSS selector should match the inner div element, because it is the only child"
|
| text run at (0,18) width 165: "of the outer div element"
|
| - RenderListItem {LI} at (40,291) size 616x258 [bgcolor=#AAAAAA]
|
| - RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#990000]
|
| - RenderBlock {DIV} at (0,0) size 584x24 [bgcolor=#009900]
|
| - RenderBlock {BLOCKQUOTE} at (0,24) size 584x0
|
| - RenderBlock {PRE} at (16,53) size 584x121 [bgcolor=#FFFFFF]
|
| - RenderListMarker at (-37,6) size 17x18: "2"
|
| + RenderListItem {LI} at (40,291) size 615.19x258 [bgcolor=#AAAAAA]
|
| + RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#990000]
|
| + RenderBlock {DIV} at (0,0) size 583.19x24 [bgcolor=#009900]
|
| + RenderBlock {BLOCKQUOTE} at (0,24) size 583.19x0
|
| + RenderBlock {PRE} at (16,53) size 583.19x121 [bgcolor=#FFFFFF]
|
| + RenderListMarker at (-37,6.50) size 17x17: "2"
|
| RenderText {#text} at (7,8) size 224x107
|
| text run at (7,8) width 144: "div :first-child {"
|
| text run at (151,8) width 0: " "
|
| @@ -62,15 +62,15 @@ layer at (0,0) size 785x2270
|
| text run at (7,85) width 224: " <blockquote></blockquote>"
|
| text run at (231,85) width 0: " "
|
| text run at (7,100) width 48: "</div>"
|
| - RenderBlock {P} at (16,190) size 584x36
|
| + RenderBlock {P} at (16,190) size 583.19x36
|
| RenderText {#text} at (0,0) size 567x35
|
| text run at (0,0) width 567: "The CSS selector should match the inner div element, because it is the first child"
|
| text run at (0,18) width 165: "of the outer div element"
|
| - RenderListItem {LI} at (40,597) size 616x276 [bgcolor=#AAAAAA]
|
| - RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#990000]
|
| - RenderBlock {DIV} at (0,0) size 584x24 [bgcolor=#009900]
|
| - RenderBlock {PRE} at (16,53) size 584x121 [bgcolor=#FFFFFF]
|
| - RenderListMarker at (-37,6) size 17x18: "3"
|
| + RenderListItem {LI} at (40,597) size 615.19x276 [bgcolor=#AAAAAA]
|
| + RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#990000]
|
| + RenderBlock {DIV} at (0,0) size 583.19x24 [bgcolor=#009900]
|
| + RenderBlock {PRE} at (16,53) size 583.19x121 [bgcolor=#FFFFFF]
|
| + RenderListMarker at (-37,6.50) size 17x17: "3"
|
| RenderText {#text} at (7,8) size 208x107
|
| text run at (7,8) width 144: "div :first-child {"
|
| text run at (151,8) width 0: " "
|
| @@ -84,20 +84,20 @@ layer at (0,0) size 785x2270
|
| text run at (7,85) width 112: " <div></div>"
|
| text run at (119,85) width 0: " "
|
| text run at (7,100) width 48: "</div>"
|
| - RenderBlock {P} at (16,190) size 584x54
|
| + RenderBlock {P} at (16,190) size 583.19x54
|
| RenderText {#text} at (0,0) size 567x53
|
| text run at (0,0) width 567: "The CSS selector should match the inner div element, because it is the first child"
|
| text run at (0,18) width 169: "of the outer div element "
|
| text run at (169,18) width 358: "Comments are not elements, so they should not be"
|
| text run at (0,36) width 307: "considered when determining the first child."
|
| - RenderListItem {LI} at (40,921) size 616x291 [bgcolor=#AAAAAA]
|
| - RenderBlock {DIV} at (16,16) size 584x42 [bgcolor=#990000]
|
| - RenderBlock (anonymous) at (0,0) size 584x18
|
| + RenderListItem {LI} at (40,921) size 615.19x291 [bgcolor=#AAAAAA]
|
| + RenderBlock {DIV} at (16,16) size 583.19x42 [bgcolor=#990000]
|
| + RenderBlock (anonymous) at (0,0) size 583.19x18
|
| RenderListMarker at (-37,0) size 17x17: "4"
|
| RenderText {#text} at (0,0) size 4x17
|
| text run at (0,0) width 4: "."
|
| - RenderBlock {DIV} at (0,18) size 584x24 [bgcolor=#009900]
|
| - RenderBlock {PRE} at (16,71) size 584x118 [bgcolor=#FFFFFF]
|
| + RenderBlock {DIV} at (0,18) size 583.19x24 [bgcolor=#009900]
|
| + RenderBlock {PRE} at (16,71) size 583.19x118 [bgcolor=#FFFFFF]
|
| RenderText {#text} at (7,7) size 224x105
|
| text run at (7,7) width 144: "div :first-child {"
|
| text run at (151,7) width 0: " "
|
| @@ -111,18 +111,18 @@ layer at (0,0) size 785x2270
|
| text run at (7,82) width 112: " <div></div>"
|
| text run at (119,82) width 0: " "
|
| text run at (7,97) width 48: "</div>"
|
| - RenderBlock {P} at (16,205) size 584x54
|
| + RenderBlock {P} at (16,205) size 583.19x54
|
| RenderText {#text} at (0,0) size 567x53
|
| text run at (0,0) width 567: "The CSS selector should match the inner div element, because it is the first child"
|
| text run at (0,18) width 173: "of the outer div element. "
|
| text run at (173,18) width 348: "Regular text is not an element, so it should not be"
|
| text run at (0,36) width 307: "considered when determining the first child."
|
| - RenderListItem {LI} at (40,1260) size 616x258 [bgcolor=#AAAAAA]
|
| - RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#009900]
|
| - RenderBlock {BLOCKQUOTE} at (0,0) size 584x0 [bgcolor=#990000]
|
| - RenderBlock {DIV} at (0,0) size 584x24
|
| - RenderBlock {PRE} at (16,53) size 584x121 [bgcolor=#FFFFFF]
|
| - RenderListMarker at (-37,6) size 17x18: "5"
|
| + RenderListItem {LI} at (40,1260) size 615.19x258 [bgcolor=#AAAAAA]
|
| + RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#009900]
|
| + RenderBlock {BLOCKQUOTE} at (0,0) size 583.19x0 [bgcolor=#990000]
|
| + RenderBlock {DIV} at (0,0) size 583.19x24
|
| + RenderBlock {PRE} at (16,53) size 583.19x121 [bgcolor=#FFFFFF]
|
| + RenderListMarker at (-37,6.50) size 17x17: "5"
|
| RenderText {#text} at (7,8) size 224x107
|
| text run at (7,8) width 144: "div :first-child {"
|
| text run at (151,8) width 0: " "
|
| @@ -136,16 +136,16 @@ layer at (0,0) size 785x2270
|
| text run at (7,85) width 112: " <div></div>"
|
| text run at (119,85) width 0: " "
|
| text run at (7,100) width 48: "</div>"
|
| - RenderBlock {P} at (16,190) size 584x36
|
| + RenderBlock {P} at (16,190) size 583.19x36
|
| RenderText {#text} at (0,0) size 582x35
|
| text run at (0,0) width 582: "The CSS selector should not match the inner div element, because it is the second"
|
| text run at (0,18) width 203: "child of the outer div element"
|
| - RenderListItem {LI} at (40,1566) size 616x288 [bgcolor=#AAAAAA]
|
| - RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#990000]
|
| - RenderBlock {DIV} at (0,0) size 584x24 [bgcolor=#009900]
|
| - RenderBlock {DIV} at (0,24) size 584x0
|
| - RenderBlock {PRE} at (16,53) size 584x151 [bgcolor=#FFFFFF]
|
| - RenderListMarker at (-37,6) size 17x18: "6"
|
| + RenderListItem {LI} at (40,1566) size 615.19x288 [bgcolor=#AAAAAA]
|
| + RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#990000]
|
| + RenderBlock {DIV} at (0,0) size 583.19x24 [bgcolor=#009900]
|
| + RenderBlock {DIV} at (0,24) size 583.19x0
|
| + RenderBlock {PRE} at (16,53) size 583.19x151 [bgcolor=#FFFFFF]
|
| + RenderListMarker at (-37,6.50) size 17x17: "6"
|
| RenderText {#text} at (7,8) size 520x137
|
| text run at (7,8) width 144: "div :first-child {"
|
| text run at (151,8) width 0: " "
|
| @@ -162,16 +162,16 @@ layer at (0,0) size 785x2270
|
| text run at (7,115) width 392: "var ib = document.getElementById('insertBefore');"
|
| text run at (399,115) width 0: " "
|
| text run at (7,130) width 520: "ib.parentElement.insertBefore(document.createElement(\"div\"), ib);"
|
| - RenderBlock {P} at (16,220) size 584x36
|
| + RenderBlock {P} at (16,220) size 583.19x36
|
| RenderText {#text} at (0,0) size 567x35
|
| text run at (0,0) width 567: "The CSS selector should match the div element that is inserted by the Javascript"
|
| text run at (0,18) width 39: "code."
|
| - RenderListItem {LI} at (40,1902) size 616x270 [bgcolor=#AAAAAA]
|
| - RenderBlock {DIV} at (16,16) size 584x24 [bgcolor=#009900]
|
| - RenderBlock {DIV} at (0,0) size 584x0 [bgcolor=#990000]
|
| - RenderBlock {DIV} at (0,0) size 584x24
|
| - RenderBlock {PRE} at (16,53) size 584x151 [bgcolor=#FFFFFF]
|
| - RenderListMarker at (-37,6) size 17x18: "7"
|
| + RenderListItem {LI} at (40,1902) size 615.19x270 [bgcolor=#AAAAAA]
|
| + RenderBlock {DIV} at (16,16) size 583.19x24 [bgcolor=#009900]
|
| + RenderBlock {DIV} at (0,0) size 583.19x0 [bgcolor=#990000]
|
| + RenderBlock {DIV} at (0,0) size 583.19x24
|
| + RenderBlock {PRE} at (16,53) size 583.19x151 [bgcolor=#FFFFFF]
|
| + RenderListMarker at (-37,6.50) size 17x17: "7"
|
| RenderText {#text} at (7,8) size 520x137
|
| text run at (7,8) width 144: "div :first-child {"
|
| text run at (151,8) width 0: " "
|
| @@ -188,6 +188,6 @@ layer at (0,0) size 785x2270
|
| text run at (7,115) width 392: "var ib = document.getElementById('insertBefore');"
|
| text run at (399,115) width 0: " "
|
| text run at (7,130) width 520: "ib.parentElement.insertBefore(document.createElement(\"div\"), ib);"
|
| - RenderBlock {P} at (16,220) size 584x18
|
| + RenderBlock {P} at (16,220) size 583.19x18
|
| RenderText {#text} at (0,0) size 515x17
|
| text run at (0,0) width 515: "The original div element should not be a match for the :first-child selector."
|
|
|