Update HR implementation to match the spec.

Don't hardcode HR as establishing a new formatting context.
Set overflow:hidden in the UA stylesheet instead. [1]
Also specify unicode-bidi:isolate [2]

Some heavy test expectation rebaselining is necessary, since making
HR overflow:hidden entails that it will now establish a PaintLayer.

[1] https://html.spec.whatwg.org/multipage/rendering.html#the-hr-element-2
[2] https://html.spec.whatwg.org/multipage/rendering.html#bidi-rendering

BUG=728499

Change-Id: I1734242d240cb236269b218283bcb16b4ca7c0e4
Reviewed-on: https://chromium-review.googlesource.com/521044
Commit-Queue: Morten Stenshorne <mstensho@opera.com>
Reviewed-by: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#478611}
diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/rendering/non-replaced-elements/the-hr-element-0/hr-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/html/rendering/non-replaced-elements/the-hr-element-0/hr-expected.txt
index 86ddb325..14e95c2 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/html/rendering/non-replaced-elements/the-hr-element-0/hr-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/html/rendering/non-replaced-elements/the-hr-element-0/hr-expected.txt
@@ -1,6 +1,6 @@
 This is a testharness.js-based test.
 PASS display 
-FAIL unicodeBidi assert_equals: expected "isolate" but got "normal"
+PASS unicodeBidi 
 FAIL color assert_equals: expected "rgb(128, 128, 128)" but got "rgb(0, 0, 0)"
 PASS borderTopStyle 
 PASS borderRightStyle 
@@ -14,7 +14,7 @@
 PASS marginRight 
 PASS marginBottom 
 PASS marginLeft 
-FAIL overflow assert_equals: expected "hidden" but got "visible"
+PASS overflow 
 PASS height 
 PASS box-sizing 
 Harness: the test ran to completion.
diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/rendering/non-replaced-elements/the-hr-element-0/setting-overflow-visible-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/html/rendering/non-replaced-elements/the-hr-element-0/setting-overflow-visible-expected.txt
deleted file mode 100644
index 221ccd4..0000000
--- a/third_party/WebKit/LayoutTests/external/wpt/html/rendering/non-replaced-elements/the-hr-element-0/setting-overflow-visible-expected.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-This is a testharness.js-based test.
-PASS control 
-FAIL overflow: visible assert_equals: hr.offsetLeft expected 0 but got 50
-Harness: the test ran to completion.
-
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/comments-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/comments-expected.txt
index 82a10a6..1a9619c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/comments-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/comments-expected.txt
@@ -37,7 +37,6 @@
           text run at (0,208) width 176: ".eight {color: green;}"
           text run at (176,208) width 0: " "
           text run at (0,224) width 0: " "
-      LayoutBlockFlow {HR} at (0,289) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,307) size 769x20 [color=#008000]
         LayoutText {#text} at (0,0) size 194x19
           text run at (0,0) width 194: "This sentence should be green."
@@ -98,3 +97,5 @@
               LayoutBlockFlow {P} at (4,256) size 194x20 [color=#008000]
                 LayoutText {#text} at (0,0) size 194x19
                   text run at (0,0) width 194: "This sentence should be green."
+layer at (8,297) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,289) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/containment-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/containment-expected.txt
index a098c9e..3e77590 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/containment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/containment-expected.txt
@@ -28,7 +28,6 @@
           text run at (168,128) width 0: " "
           text run at (0,144) width 24: "-->"
           text run at (24,144) width 0: " "
-      LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,227) size 769x20
         LayoutText {#text} at (0,0) size 404x19
           text run at (0,0) width 404: "This sentence should be underlined due to the linked style sheet "
@@ -208,3 +207,5 @@
               LayoutBlockFlow {P} at (4,360) size 747x20 [color=#008000]
                 LayoutText {#text} at (0,0) size 203x19
                   text run at (0,0) width 203: "This paragraph should be green."
+layer at (8,217) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.txt
index 2ea3da9..0c57862 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/contextual_selectors-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 224: "EM, UL LI LI {color: green;}"
           text run at (224,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 625x19
           text run at (0,0) width 625: "This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table."
@@ -80,3 +79,5 @@
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
                       LayoutText {#text} at (0,0) size 136x19
                         text run at (0,0) width 136: "This should be green."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.txt
index 9b3f2e4..2b6ca6d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/grouping-expected.txt
@@ -11,7 +11,6 @@
           text run at (0,0) width 272: ".one, .two, .three {color: green;}"
           text run at (272,0) width 0: " "
           text run at (0,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x20 [color=#008000]
         LayoutText {#text} at (0,0) size 194x19
           text run at (0,0) width 194: "This sentence should be green."
@@ -42,3 +41,5 @@
               LayoutBlockFlow {P} at (4,76) size 194x20 [color=#008000]
                 LayoutText {#text} at (0,0) size 194x19
                   text run at (0,0) width 194: "This sentence should be green."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.txt
index 74fa0af1..05ba2d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/id_as_selector-expected.txt
@@ -23,7 +23,6 @@
           text run at (0,96) width 240: "P#five, P#five2 {color: blue;}"
           text run at (240,96) width 0: " "
           text run at (0,112) width 240: "P#six, P#six2 {color: purple;}"
-      LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,195) size 769x20 [color=#008000]
         LayoutText {#text} at (0,0) size 194x19
           text run at (0,0) width 194: "This sentence should be green."
@@ -90,3 +89,5 @@
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
                   LayoutText {#text} at (0,0) size 237x19
                     text run at (0,0) width 237: "This sentence should NOT be purple."
+layer at (8,185) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.txt
index 880003e..385205e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/basic/inheritance-expected.txt
@@ -22,7 +22,6 @@
           text run at (152,80) width 0: " "
           text run at (0,96) width 184: ".three {color: purple;}"
           text run at (184,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {H3} at (0,181.72) size 784x24 [color=#0000FF]
         LayoutText {#text} at (0,0) size 220x22
           text run at (0,0) width 220: "This sentence should show "
@@ -187,3 +186,5 @@
                     text run at (354,0) width 173: "this part (which is spanned)"
                 LayoutText {#text} at (527,0) size 4x19
                   text run at (527,0) width 4: "."
+layer at (8,169) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.txt
index 4b3c862..088e98e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border-expected.txt
@@ -26,7 +26,6 @@
           text run at (168,112) width 0: " "
           text run at (0,128) width 232: "TD {border: 2px solid green;}"
           text run at (232,128) width 0: " "
-      LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,211) size 769x40
         LayoutText {#text} at (0,0) size 748x39
           text run at (0,0) width 627: "Note that all table cells on this page should have a two-pixel solid green border along all four sides. "
@@ -184,3 +183,5 @@
               LayoutBlockFlow {P} at (5,600) size 743x20
                 LayoutText {#text} at (0,0) size 175x19
                   text run at (0,0) width 175: "This is an unstyled element."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.txt
index 4461804..e44fb27 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom-expected.txt
@@ -16,7 +16,6 @@
           text run at (344,32) width 0: " "
           text run at (0,48) width 288: "TD {border-bottom: green 2px solid;}"
           text run at (288,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x40
         LayoutText {#text} at (0,0) size 731x39
           text run at (0,0) width 658: "Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. "
@@ -161,3 +160,5 @@
                       text run at (131,20) width 50: "beneath"
                   LayoutText {#text} at (181,20) size 390x19
                     text run at (181,20) width 390: " the nested list (below the line \"...nested within the list item.\")."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.txt
index d9ca275..46324cd2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 320: ".two {border-bottom: purple thin solid;}"
           text run at (320,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 666x19
           text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
@@ -57,3 +56,5 @@
                   text run at (463,20) width 292: ", which should have a thin solid purple bottom"
                   text run at (0,40) width 49: "border. "
                   text run at (48,40) width 430: "The line-height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.txt
index 2882e86..46eecd0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (440,64) width 0: " "
           text run at (0,80) width 272: ".five {border-bottom-width: 25px;}"
           text run at (272,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 157x19
           text run at (0,0) width 157: "(These will only work if "
@@ -101,3 +100,5 @@
               LayoutBlockFlow {P} at (4,327) size 687x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 203x19
                   text run at (0,0) width 203: "This element has a class of zero."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.txt
index 5cc63bb..aaa790c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_bottom_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (432,16) width 0: " "
           text run at (0,32) width 280: ".three {border-bottom-width: 25px;}"
           text run at (280,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x108 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
         LayoutText {#text} at (3,3) size 172x19
           text run at (3,3) width 172: "This element has a class of "
@@ -85,3 +84,5 @@
                 LayoutText {#text} at (248,43) size 751x39
                   text run at (248,43) width 506: ", which should have no bottom border width or visible border because no border"
                   text run at (3,63) width 83: "style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.txt
index b3fd76e69..0a59aac0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color-expected.txt
@@ -14,7 +14,6 @@
           text run at (568,16) width 0: " "
           text run at (0,32) width 728: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
           text run at (728,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x26 [border: (3px solid #800080)]
         LayoutText {#text} at (3,3) size 357x19
           text run at (3,3) width 357: "This element should have a purple border surrounding it."
@@ -47,3 +46,5 @@
                 LayoutText {#text} at (3,3) size 740x39
                   text run at (3,3) width 740: "This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on"
                   text run at (3,23) width 245: "the bottom, and yellow on the left side."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.txt
index 79bcc152..28bc9a3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_color_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (568,16) width 0: " "
           text run at (0,32) width 728: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
           text run at (728,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 677x19
           text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
@@ -72,3 +71,5 @@
                   text run at (0,40) width 620: "the first and second cases, and a purple-green-blue-yellow medium-width solid border in the third. "
                   text run at (620,40) width 136: "The line-height of the"
                   text run at (0,60) width 327: "parent element should not change at all, on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.txt
index 12d947c..9e6aee4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 256: ".two {border: 10px olive inset;}"
           text run at (256,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 677x19
           text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
@@ -56,3 +55,5 @@
                 LayoutText {#text} at (431,20) size 762x39
                   text run at (431,20) width 331: ", which should result in a 10-pixel inset olive border."
                   text run at (0,40) width 429: "The line-height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.txt
index 5ad51b1a..e8bd419 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left-expected.txt
@@ -22,7 +22,6 @@
           text run at (328,80) width 0: " "
           text run at (0,96) width 272: "TD {border-left: green 2px solid;}"
           text run at (272,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (20,179) size 749x40
         LayoutText {#text} at (0,0) size 707x39
           text run at (0,0) width 634: "Note that all table cells on this page should have a two-pixel solid green border along their left sides. "
@@ -160,3 +159,5 @@
                     text run at (3,0) width 691: "Each list item in this 'parent' list should have a medium-width border along its left side, in each of three colors."
                     text run at (3,20) width 641: "The first item's border should travel the entire height the nested list (to end near the baseline of the line"
                     text run at (3,40) width 597: "\"...nested within the list item.\"), even though the nested list does not have any border styles set."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.txt
index 0cef3d89..2ba28bc1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_inline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 304: ".two {border-left: purple thin solid;}"
           text run at (304,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (20,131) size 764x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 760x19
           text run at (0,0) width 760: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with classes of"
@@ -59,3 +58,5 @@
                   text run at (579,20) width 138: ", which should have a"
                   text run at (0,40) width 179: "thin solid purple left border. "
                   text run at (178,40) width 430: "The line-height of the parent element should not change on any line."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.txt
index 6ecd9b46..c86cbcfa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (424,64) width 0: " "
           text run at (0,80) width 256: ".five {border-left-width: 25px;}"
           text run at (256,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 157x19
           text run at (0,0) width 157: "(These will only work if "
@@ -101,3 +100,5 @@
                     text run at (513,3) width 96: "border-style"
                 LayoutText {#text} at (609,0) size 54x19
                   text run at (609,0) width 54: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.txt
index 040b9c1d..289bb38 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_left_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (416,16) width 0: " "
           text run at (0,32) width 264: ".three {border-left-width: 25px;}"
           text run at (264,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x86 [border: (3px solid #000000) (25px solid #000000)]
         LayoutText {#text} at (25,3) size 172x19
           text run at (25,3) width 172: "This element has a class of "
@@ -95,3 +94,5 @@
                 LayoutText {#text} at (355,43) size 693x39
                   text run at (355,43) width 363: ", which should have no left border width or visible border"
                   text run at (25,63) width 202: "because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.txt
index 7a49cc7..550508a9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 312: ".two {border-right: purple thin solid;}"
           text run at (312,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 764x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 752x39
           text run at (0,0) width 752: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with classes"
@@ -60,3 +59,5 @@
                   text run at (588,20) width 138: ", which should have a"
                   text run at (0,40) width 188: "thin solid purple right border. "
                   text run at (187,40) width 430: "The line-height of the parent element should not change on any line."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.txt
index 776991a..e6faca3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_inline-expected.txt
@@ -22,7 +22,6 @@
           text run at (336,80) width 0: " "
           text run at (0,96) width 280: "TD {border-right: green 2px solid;}"
           text run at (280,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,179) size 749x40
         LayoutText {#text} at (0,0) size 716x39
           text run at (0,0) width 643: "Note that all table cells on this page should have a two-pixel solid green border along their right sides. "
@@ -164,3 +163,5 @@
                     text run at (601,40) width 76: "The borders"
                     text run at (0,60) width 668: "should line up together at the right edge of the document's body, as each list element has a default width of"
                     text run at (0,80) width 41: "100%."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.txt
index 22a7aa2c..d2aa7db 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (432,64) width 0: " "
           text run at (0,80) width 272: ".five {border-right-width: 100px;}"
           text run at (272,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 157x19
           text run at (0,0) width 157: "(These will only work if "
@@ -102,3 +101,5 @@
                     text run at (522,3) width 96: "border-style"
                 LayoutText {#text} at (618,0) size 54x19
                   text run at (618,0) width 54: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.txt
index bde86ba..bb033458 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_right_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (424,16) width 0: " "
           text run at (0,32) width 272: ".three {border-right-width: 25px;}"
           text run at (272,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x86 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
         LayoutText {#text} at (3,3) size 172x19
           text run at (3,3) width 172: "This element has a class of "
@@ -95,3 +94,5 @@
                 LayoutText {#text} at (333,43) size 702x39
                   text run at (333,43) width 372: ", which should have no right border width or visible border"
                   text run at (3,63) width 202: "because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style-expected.txt
index 2307f29..bfd7463 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style-expected.txt
@@ -32,7 +32,6 @@
           text run at (368,160) width 0: " "
           text run at (0,176) width 552: ".eleven {border-style: none; border-color: red; border-width: thick;}"
           text run at (552,176) width 0: " "
-      LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,259) size 769x30 [border: (5px dotted #000000)]
         LayoutText {#text} at (5,5) size 472x19
           text run at (5,5) width 472: "This paragraph should have a thick black dotted border all the way around."
@@ -119,3 +118,5 @@
               LayoutBlockFlow {P} at (4,504) size 747x20
                 LayoutText {#text} at (0,0) size 278x19
                   text run at (0,0) width 278: "This paragraph should have no border at all."
+layer at (8,249) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.txt
index d285584..8ff3921f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_style_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (544,16) width 0: " "
           text run at (0,32) width 568: ".three {border-style: none; border-color: purple; border-width: thick;}"
           text run at (568,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 664x19
           text run at (0,0) width 664: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
@@ -68,3 +67,5 @@
                 LayoutText {#text} at (65,40) size 687x19
                   text run at (65,40) width 254: ", which should result in no border at all. "
                   text run at (319,40) width 433: "The line-height of the parent element should not change, on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.txt
index ce22c311..4bcea375 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top-expected.txt
@@ -16,7 +16,6 @@
           text run at (320,32) width 0: " "
           text run at (0,48) width 264: "TD {border-top: green 2px solid;}"
           text run at (264,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x40
         LayoutText {#text} at (0,0) size 755x39
           text run at (0,0) width 634: "Note that all table cells on this page should have a two-pixel solid green border along their top sides. "
@@ -149,3 +148,5 @@
                   LayoutListMarker (anonymous) at (-18,3) size 7x19: bullet
                   LayoutText {#text} at (0,3) size 480x19
                     text run at (0,3) width 480: "Each list item in this list should have a medium-width black border at its top."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.txt
index a306882..65b75a3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 296: ".two {border-top: purple thin solid;}"
           text run at (296,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 666x19
           text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
@@ -57,3 +56,5 @@
                 LayoutText {#text} at (439,20) size 756x39
                   text run at (439,20) width 317: ", which should have a thin solid purple top border."
                   text run at (0,40) width 429: "The line-height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.txt
index 2beeb0e..6b05407 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (416,64) width 0: " "
           text run at (0,80) width 248: ".five {border-top-width: 25px;}"
           text run at (248,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 157x19
           text run at (0,0) width 157: "(These will only work if "
@@ -95,3 +94,5 @@
                     text run at (527,3) width 96: "border-style"
                 LayoutText {#text} at (623,0) size 54x19
                   text run at (623,0) width 54: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.txt
index d47d849..62c8bdd4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_top_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (408,16) width 0: " "
           text run at (0,32) width 256: ".three {border-top-width: 25px;}"
           text run at (256,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x88 [border: (25px solid #000000) (3px solid #000000)]
         LayoutText {#text} at (3,25) size 172x19
           text run at (3,25) width 172: "This element has a class of "
@@ -84,3 +83,5 @@
                 LayoutText {#text} at (234,65) size 746x39
                   text run at (234,65) width 515: ", which should have no top border width or visible border because no border style"
                   text run at (3,85) width 50: "was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.txt
index ce76531..fda2646 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (384,64) width 0: " "
           text run at (0,80) width 216: ".five {border-width: 25px;}"
           text run at (216,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 157x19
           text run at (0,0) width 157: "(These will only work if "
@@ -95,3 +94,5 @@
                     text run at (498,3) width 96: "border-style"
                 LayoutText {#text} at (594,0) size 54x19
                   text run at (594,0) width 54: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.txt
index 547baec..6465ff64 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/border_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (376,16) width 0: " "
           text run at (0,32) width 224: ".three {border-width: 25px;}"
           text run at (224,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x110 [border: (25px solid #000000)]
         LayoutText {#text} at (25,25) size 172x19
           text run at (25,25) width 172: "This element has a class of "
@@ -83,3 +82,5 @@
                 LayoutText {#text} at (713,45) size 692x39
                   text run at (713,45) width 4: ","
                   text run at (25,65) width 430: "which should have no border width because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.txt
index 92368dc..345d819 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear-expected.txt
@@ -16,7 +16,6 @@
           text run at (168,32) width 0: " "
           text run at (0,48) width 160: ".four {clear: none;}"
           text run at (160,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutImage (floating) {IMG} at (0,123) size 15x50
       LayoutBlockFlow {P} at (0,131) size 769x20
         LayoutText {#text} at (18,0) size 594x19
@@ -89,3 +88,5 @@
                   text run at (18,0) width 390: "This paragraph should be between both tall orange rectangles."
               LayoutBlockFlow (anonymous) at (4,394) size 658x20
                 LayoutBR {BR} at (18,0) size 0x19
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.txt
index 745c91e..088bc55 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/clear_float-expected.txt
@@ -24,7 +24,6 @@
           text run at (0,112) width 480: "             color: black; background: yellow; clear: none;}"
           text run at (480,112) width 0: " "
           text run at (0,128) width 0: " "
-      LayoutBlockFlow {HR} at (0,190) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (floating) {DIV} at (0,200) size 192x125.38 [color=#FFFFFF] [bgcolor=#008000]
         LayoutBlockFlow {H1} at (8,8) size 176x23
           LayoutText {#text} at (0,0) size 84x22
@@ -158,3 +157,5 @@
                     text run at (0,0) width 298: "The top of the yellow rectangle (to which this"
                     text run at (0,20) width 298: "paragraph belongs) should be vertically aligned"
                     text run at (0,40) width 219: "with the top of the green rectangle."
+layer at (8,198) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,190) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.txt
index ae5cbb34..d306f80 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 160: ".two {float: right;}"
           text run at (160,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutImage (floating) {IMG} at (0,107) size 15x50
       LayoutBlockFlow {P} at (0,115) size 784x40
         LayoutText {#text} at (15,0) size 763x39
@@ -22,7 +21,6 @@
           text run at (15,20) width 212: "which has been floated to the left."
       LayoutBlockFlow (anonymous) at (0,171) size 784x20
         LayoutBR {BR} at (0,0) size 0x19
-      LayoutBlockFlow {HR} at (0,199) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutImage (floating) {IMG} at (769,209) size 15x50
       LayoutBlockFlow {P} at (0,217) size 784x40
         LayoutText {#text} at (0,0) size 730x39
@@ -49,10 +47,15 @@
                   text run at (15,20) width 254: "image which has been floated to the left."
               LayoutBlockFlow (anonymous) at (4,60) size 762x20
                 LayoutBR {BR} at (0,0) size 0x19
-              LayoutBlockFlow {HR} at (4,88) size 762x2 [border: (1px inset #EEEEEE)]
               LayoutImage (floating) {IMG} at (751,98) size 15x50
               LayoutBlockFlow {P} at (4,106) size 762x40
                 LayoutText {#text} at (0,0) size 730x39
                   text run at (0,0) width 607: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
                   text run at (606,0) width 124: "In this case, it is the"
                   text run at (0,20) width 263: "image which has been floated to the right."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,207) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,199) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,398) size 762x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,88) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.txt
index 28431d1..527a8af1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.txt
@@ -32,7 +32,6 @@
           text run at (0,176) width 200: "TABLE {margin: 20px 0px;}"
           text run at (200,176) width 0: " "
           text run at (0,192) width 0: " "
-      LayoutBlockFlow {HR} at (0,254) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,264) size 769x40
         LayoutText {#text} at (0,0) size 769x39
           text run at (0,0) width 769: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this page"
@@ -157,6 +156,8 @@
                         LayoutBlockFlow {IMG} at (0,0) size 100x1
                       LayoutTableCell {TD} at (600,10) size 20x1 [bgcolor=#000000] [r=0 c=14 rs=1 cs=1]
                         LayoutBlockFlow {IMG} at (0,0) size 20x1
+layer at (8,262) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,254) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (8,442) size 20x1
   LayoutBlockFlow {SPAN} at (0,0) size 20x1
     LayoutInline {SPAN} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.txt
index 3281c57..b620475 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_margin-expected.txt
@@ -25,7 +25,6 @@
           text run at (0,112) width 400: "#img5 {margin-right: -30px; margin-bottom: -30px;}"
           text run at (400,112) width 0: " "
           text run at (0,128) width 0: " "
-      LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (30,215) size 729x92 [bgcolor=#FFFFFF]
         LayoutText {#text} at (0,0) size 729x91
           text run at (0,0) width 663: "This paragraph should have a white background which extends to the edges of the"
@@ -163,3 +162,5 @@
                   text run at (0,92) width 489: "first of all, which extends to the edges of the element's box. "
                   text run at (489,92) width 214: "There is no padding set on"
                   text run at (0,115) width 217: "this paragraph whatsoever."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.txt
index f952eed..d883c0ad 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_on_text_elements-expected.txt
@@ -16,7 +16,6 @@
           text run at (0,80) width 36: "other."
       LayoutBlockFlow (anonymous) at (0,100) size 769x20
         LayoutBR {BR} at (0,0) size 0x19
-      LayoutBlockFlow {HR} at (0,128) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,138) size 769x100
         LayoutBlockFlow (floating) {P} at (0,0) size 769x80 [bgcolor=#FFFF00]
           LayoutText {#text} at (0,0) size 769x79
@@ -28,7 +27,6 @@
         LayoutText {#text} at (15,80) size 4x19
           text run at (15,80) width 4: " "
         LayoutBR {BR} at (19,95) size 0x0
-      LayoutBlockFlow {HR} at (0,246) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,256) size 769x120
         LayoutBlockFlow (floating) {P} at (0,0) size 384.50x120 [bgcolor=#FFFF00]
           LayoutText {#text} at (0,0) size 385x119
@@ -42,7 +40,6 @@
         LayoutText {#text} at (399,0) size 5x19
           text run at (399,0) width 5: " "
         LayoutBR {BR} at (403,15) size 1x0
-      LayoutBlockFlow {HR} at (0,384) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,394) size 769x120
         LayoutBlockFlow (floating) {P} at (384.50,0) size 384.50x120 [bgcolor=#FFFF00]
           LayoutText {#text} at (0,0) size 384x119
@@ -56,7 +53,6 @@
         LayoutText {#text} at (15,0) size 4x19
           text run at (15,0) width 4: " "
         LayoutBR {BR} at (19,15) size 0x0
-      LayoutBlockFlow {HR} at (0,522) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,532) size 769x60
         LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 21x36
@@ -68,7 +64,6 @@
           text run at (0,40) width 675: "be vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
       LayoutBlockFlow (anonymous) at (0,592) size 769x20
         LayoutBR {BR} at (0,0) size 0x19
-      LayoutBlockFlow {HR} at (0,620) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (floating) {P} at (423,640) size 336x216 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
         LayoutText {#text} at (8,8) size 320x199
           text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
@@ -100,7 +95,6 @@
           text run at (0,200) width 319: "due to the margin styles set for the floated element."
       LayoutBlockFlow (anonymous) at (0,850) size 769x20
         LayoutBR {BR} at (0,0) size 0x19
-      LayoutBlockFlow {HR} at (0,878) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,888) size 769x28 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
         LayoutBlockFlow (floating) {DIV} at (425,14) size 330x250 [bgcolor=#FFFF00]
           LayoutBlockFlow {P} at (5,5) size 320x240
@@ -122,7 +116,6 @@
             text run at (0,0) width 268: "See description in the box on the right side"
       LayoutBlockFlow (anonymous) at (0,916) size 769x246
         LayoutBR {BR} at (0,0) size 0x19
-      LayoutBlockFlow {HR} at (0,1170) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (floating) {DIV} at (0,1180) size 192.25x80 [bgcolor=#66CCFF]
         LayoutBlockFlow {P} at (0,0) size 192.25x80
           LayoutText {#text} at (0,0) size 192x79
@@ -144,7 +137,6 @@
           text run at (221,20) width 200: "and a yellow box (on the right)."
       LayoutBlockFlow (anonymous) at (0,1220) size 769x40
         LayoutBR {BR} at (192,0) size 1x19
-      LayoutBlockFlow {HR} at (0,1268) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,1278) size 769x140
         LayoutBlockFlow (floating) {DIV} at (0,0) size 576.75x140 [bgcolor=#66CCFF]
           LayoutBlockFlow (floating) {DIV} at (422.56,0) size 144.19x40 [bgcolor=#FFFF00]
@@ -168,7 +160,6 @@
               text run at (0,120) width 31: "blue "
               text run at (31,120) width 138: "stripe on its right side."
         LayoutBR {BR} at (576,0) size 1x19
-      LayoutBlockFlow {HR} at (0,1426) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (0,1436) size 769x1494 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x1492
           LayoutTableRow {TR} at (0,0) size 767x28
@@ -194,7 +185,6 @@
                   text run at (0,80) width 69: "each other."
               LayoutBlockFlow (anonymous) at (4,104) size 747x20
                 LayoutBR {BR} at (0,0) size 0x19
-              LayoutBlockFlow {HR} at (4,132) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,142) size 747x100
                 LayoutBlockFlow (floating) {P} at (0,0) size 747x80 [bgcolor=#FFFF00]
                   LayoutText {#text} at (0,0) size 747x79
@@ -206,7 +196,6 @@
                 LayoutText {#text} at (15,80) size 4x19
                   text run at (15,80) width 4: " "
                 LayoutBR {BR} at (19,95) size 0x0
-              LayoutBlockFlow {HR} at (4,250) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,260) size 747x120
                 LayoutBlockFlow (floating) {P} at (0,0) size 373.50x120 [bgcolor=#FFFF00]
                   LayoutText {#text} at (0,0) size 373x119
@@ -220,7 +209,6 @@
                 LayoutText {#text} at (388,0) size 5x19
                   text run at (388,0) width 5: " "
                 LayoutBR {BR} at (392,15) size 1x0
-              LayoutBlockFlow {HR} at (4,388) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,398) size 747x120
                 LayoutBlockFlow (floating) {P} at (373.50,0) size 373.50x120 [bgcolor=#FFFF00]
                   LayoutText {#text} at (0,0) size 373x119
@@ -234,7 +222,6 @@
                 LayoutText {#text} at (15,0) size 4x19
                   text run at (15,0) width 4: " "
                 LayoutBR {BR} at (19,15) size 0x0
-              LayoutBlockFlow {HR} at (4,526) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {P} at (4,536) size 747x60
                 LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
                   LayoutText {#text} at (0,0) size 21x36
@@ -246,7 +233,6 @@
                   text run at (0,40) width 721: "should be vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
               LayoutBlockFlow (anonymous) at (4,596) size 747x20
                 LayoutBR {BR} at (0,0) size 0x19
-              LayoutBlockFlow {HR} at (4,624) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (floating) {P} at (405,644) size 336x216 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
                 LayoutText {#text} at (8,8) size 320x199
                   text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
@@ -279,7 +265,6 @@
                   text run at (0,220) width 166: "set for the floated element."
               LayoutBlockFlow (anonymous) at (4,874) size 747x20
                 LayoutBR {BR} at (0,0) size 0x19
-              LayoutBlockFlow {HR} at (4,902) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (4,912) size 747x28 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
                 LayoutBlockFlow (floating) {DIV} at (403,14) size 330x250 [bgcolor=#FFFF00]
                   LayoutBlockFlow {P} at (5,5) size 320x240
@@ -301,7 +286,6 @@
                     text run at (0,0) width 268: "See description in the box on the right side"
               LayoutBlockFlow (anonymous) at (4,940) size 747x246
                 LayoutBR {BR} at (0,0) size 0x19
-              LayoutBlockFlow {HR} at (4,1194) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (floating) {DIV} at (4,1204) size 186.75x80 [bgcolor=#66CCFF]
                 LayoutBlockFlow {P} at (0,0) size 186.75x80
                   LayoutText {#text} at (0,0) size 186x79
@@ -324,7 +308,6 @@
                   text run at (215,20) width 200: "and a yellow box (on the right)."
               LayoutBlockFlow (anonymous) at (4,1244) size 747x40
                 LayoutBR {BR} at (186,0) size 1x19
-              LayoutBlockFlow {HR} at (4,1292) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,1302) size 747x140
                 LayoutBlockFlow (floating) {DIV} at (0,0) size 560.25x140 [bgcolor=#66CCFF]
                   LayoutBlockFlow (floating) {DIV} at (410.19,0) size 140.06x40 [bgcolor=#FFFF00]
@@ -349,4 +332,39 @@
                       text run at (0,120) width 112: "have a 10px blue "
                       text run at (112,120) width 138: "stripe on its right side."
                 LayoutBR {BR} at (560,0) size 1x19
-              LayoutBlockFlow {HR} at (4,1450) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (8,136) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,128) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,254) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,246) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,392) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,384) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,530) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,522) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,628) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,620) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,886) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,878) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1178) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1170) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1276) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1268) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1434) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1426) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (25,1605) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,132) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1723) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,250) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1861) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,388) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1999) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,526) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2097) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,624) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2375) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,902) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2667) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1194) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2765) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1292) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2923) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1450) size 747x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.txt
index 8f9764a..6f7f6591 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/height-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 168: ".two {height: 100px;}"
           text run at (168,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,107) size 769x50
         LayoutImage {IMG} at (0,0) size 50x50
         LayoutText {#text} at (0,0) size 0x0
@@ -74,3 +73,5 @@
                     text run at (175,23) width 48: "height"
                 LayoutText {#text} at (223,20) size 66x19
                   text run at (223,20) width 66: " property)."
+layer at (8,105) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin-expected.txt
index f821211..f2cf746 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin-expected.txt
@@ -22,7 +22,6 @@
           text run at (168,80) width 0: " "
           text run at (0,96) width 360: ".six {margin: -10px; background-color: aqua;}"
           text run at (360,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,179) size 784x40
         LayoutText {#text} at (0,0) size 738x39
           text run at (0,0) width 738: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in"
@@ -162,3 +161,5 @@
               LayoutBlockFlow {P} at (4,1227) size 762x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 203x19
                   text run at (0,0) width 203: "This element has a class of zero."
+layer at (8,169) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.txt
index 4a79943c..4ad886b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom-expected.txt
@@ -25,7 +25,6 @@
           text run at (0,112) width 176: "P, UL {margin-top: 0;}"
           text run at (176,112) width 0: " "
           text run at (0,128) width 0: " "
-      LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,203) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
@@ -148,3 +147,5 @@
               LayoutBlockFlow {P} at (4,763.75) size 747x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 232x19
                   text run at (0,0) width 232: "This element also has a class of zero."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.txt
index 331cbce4..7399d38f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_bottom_inline-expected.txt
@@ -12,7 +12,6 @@
           text run at (408,0) width 0: " "
           text run at (0,16) width 416: ".two {margin-bottom: -10px; background-color: aqua;}"
           text run at (416,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 480x19
           text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
@@ -93,3 +92,5 @@
                   text run at (249,20) width 9: ". "
                   text run at (257,20) width 490: "Margins on inline elements does not affect line-height calculations, so all lines"
                   text run at (0,40) width 305: "in this element should have the same line-height."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.txt
index bba1eaf..29f7c7d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (352,16) width 0: " "
           text run at (0,32) width 360: ".two {margin: -10px; background-color: aqua;}"
           text run at (360,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,107) size 784x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
@@ -122,3 +121,5 @@
               LayoutBlockFlow {P} at (4,288) size 762x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 203x19
                   text run at (0,0) width 203: "This element has a class of zero."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.txt
index 1b6f9175..287e2e8 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left-expected.txt
@@ -20,7 +20,6 @@
           text run at (392,64) width 0: " "
           text run at (0,80) width 408: ".five {margin-left: -10px; background-color: aqua;}"
           text run at (408,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
@@ -118,3 +117,5 @@
                   text run at (146,20) width 386: "In all other respects, however, the element should be normal. "
                   text run at (531,20) width 206: "No styles have been applied to it"
                   text run at (0,40) width 366: "besides the negative left margin and the background color."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.txt
index 1a76650..a9c479c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_left_inline-expected.txt
@@ -12,7 +12,6 @@
           text run at (392,0) width 0: " "
           text run at (0,16) width 400: ".two {margin-left: -10px; background-color: aqua;}"
           text run at (400,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 542x19
           text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
@@ -97,3 +96,5 @@
                     text run at (283,20) width 28: "first"
                 LayoutText {#text} at (310,20) size 233x19
                   text run at (310,20) width 233: " line in which the inline box appears."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.txt
index 4cf1c10..fcacfb5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right-expected.txt
@@ -20,7 +20,6 @@
           text run at (552,64) width 0: " "
           text run at (0,80) width 416: ".five {margin-right: -10px; background-color: aqua;}"
           text run at (416,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 784x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (581,0) size 203x19
           text run at (581,0) width 203: "This element has a class of zero."
@@ -118,3 +117,5 @@
                   text run at (114,20) width 386: "In all other respects, however, the element should be normal. "
                   text run at (499,20) width 256: "No styles have been applied to it besides"
                   text run at (0,40) width 325: "the negative right margin and the background color."
+layer at (8,153) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.txt
index df6f6c8..389f43a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_right_inline-expected.txt
@@ -12,7 +12,6 @@
           text run at (552,0) width 0: " "
           text run at (0,16) width 408: ".two {margin-right: -10px; background-color: aqua;}"
           text run at (408,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 542x19
           text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
@@ -97,3 +96,5 @@
                     text run at (292,20) width 24: "last"
                 LayoutText {#text} at (315,20) size 233x19
                   text run at (315,20) width 233: " line in which the inline box appears."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.txt
index 5a49d49..cceec31b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top-expected.txt
@@ -24,7 +24,6 @@
           text run at (392,96) width 0: " "
           text run at (0,112) width 200: "P, UL {margin-bottom: 0;}"
           text run at (200,112) width 0: " "
-      LayoutBlockFlow {HR} at (0,174) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,184) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
@@ -135,3 +134,5 @@
                   text run at (51,20) width 488: "No other styles have been applied to it besides a light blue background color. "
                   text run at (538,20) width 203: "In all other respects, the element"
                   text run at (0,40) width 113: "should be normal."
+layer at (8,182) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,174) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.txt
index 411ca21..5a863e0 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/margin_top_inline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 392: ".two {margin-top: -10px; background-color: aqua;}"
           text run at (392,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 476x19
           text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
@@ -96,3 +95,5 @@
                   text run at (331,20) width 9: ". "
                   text run at (339,20) width 407: "Margins on inline elements do not affect line-height calculations,"
                   text run at (0,40) width 375: "so all lines in this element should have the same line-height."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding-expected.txt
index 29166c25..8bdf7b4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding-expected.txt
@@ -20,7 +20,6 @@
           text run at (360,64) width 0: " "
           text run at (0,80) width 376: ".five {padding: -20px; background-color: aqua;}"
           text run at (376,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
@@ -91,3 +90,5 @@
                   text run at (0,0) width 541: "This element should have no padding, since negative padding values are not allowed. "
                   text run at (541,0) width 183: "Both the content background"
                   text run at (0,20) width 325: "and the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom-expected.txt
index c1fca379..c2d5034 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom-expected.txt
@@ -20,7 +20,6 @@
           text run at (416,64) width 0: " "
           text run at (0,80) width 432: ".five {padding-bottom: -20px; background-color: aqua;}"
           text run at (432,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
@@ -97,3 +96,5 @@
                   text run at (0,0) width 589: "This element should have no bottom padding, since negative padding values are not allowed. "
                   text run at (589,0) width 104: "Both the content"
                   text run at (0,20) width 404: "background and the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.txt
index f31ee89..165bd15 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_bottom_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 424: ".two {padding-bottom: -10px; background-color: aqua;}"
           text run at (424,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 476x19
           text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
@@ -98,3 +97,5 @@
                   text run at (522,20) width 8: ". "
                   text run at (530,20) width 227: "Padding on inline elements does not"
                   text run at (0,40) width 567: "affect line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.txt
index 85d9102..de24b3d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_inline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 368: ".two {padding: -10px; background-color: aqua;}"
           text run at (368,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
@@ -124,3 +123,5 @@
               LayoutBlockFlow {P} at (4,288) size 747x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 203x19
                   text run at (0,0) width 203: "This element has a class of zero."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.txt
index ce000c86..6fea302 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left-expected.txt
@@ -20,7 +20,6 @@
           text run at (400,64) width 0: " "
           text run at (0,80) width 416: ".five {padding-left: -20px; background-color: aqua;}"
           text run at (416,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
@@ -114,3 +113,5 @@
                   text run at (0,0) width 565: "This element should have no left padding, since negative padding values are not allowed. "
                   text run at (565,0) width 104: "Both the content"
                   text run at (0,20) width 404: "background and the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.txt
index 5ebba3e6..25146a6 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_left_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 408: ".two {padding-left: -10px; background-color: aqua;}"
           text run at (408,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 542x19
           text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
@@ -100,3 +99,5 @@
                 LayoutText {#text} at (539,20) size 715x39
                   text run at (539,20) width 176: " line in which the inline box"
                   text run at (0,40) width 52: "appears."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right-expected.txt
index 758f04d..d318d8e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right-expected.txt
@@ -20,7 +20,6 @@
           text run at (560,64) width 0: " "
           text run at (0,80) width 576: ".five {padding-right: -20px; text-align: right; background-color: aqua;}"
           text run at (576,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
@@ -132,3 +131,5 @@
                   text run at (14,20) width 408: "background and the normal padding should be aqua (light blue). "
                   text run at (422,20) width 325: "The text has been right-aligned in order to make the"
                   text run at (532,40) width 215: "lack of right padding easier to see."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.txt
index d7a0f33..4ed3e6b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_right_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 568: ".two {padding-right: -10px; text-align: right; background-color: aqua;}"
           text run at (568,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x40 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 542x19
           text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
@@ -101,3 +100,5 @@
                 LayoutText {#text} at (571,20) size 747x39
                   text run at (571,20) width 176: " line in which the inline box"
                   text run at (0,40) width 52: "appears."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top-expected.txt
index fe84802..f986bff7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top-expected.txt
@@ -20,7 +20,6 @@
           text run at (392,64) width 0: " "
           text run at (0,80) width 408: ".five {padding-top: -20px; background-color: aqua;}"
           text run at (408,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 203x19
           text run at (0,0) width 203: "This element has a class of zero."
@@ -90,3 +89,5 @@
                   text run at (0,0) width 565: "This element should have no top padding, since negative padding values are not allowed. "
                   text run at (565,0) width 104: "Both the content"
                   text run at (0,20) width 404: "background and the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.txt
index 8c11a3a..643a2d8f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/padding_top_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 400: ".two {padding-top: -10px; background-color: aqua;}"
           text run at (400,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 476x19
           text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
@@ -98,3 +97,5 @@
                   text run at (498,20) width 8: ". "
                   text run at (506,20) width 227: "Padding on inline elements does not"
                   text run at (0,40) width 567: "affect line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/width-expected.txt
index 86904ed..c056d92 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/width-expected.txt
@@ -14,7 +14,6 @@
           text run at (144,16) width 0: " "
           text run at (0,32) width 152: "TABLE {width: 50%;}"
           text run at (152,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,107) size 769x50
         LayoutImage {IMG} at (0,0) size 50x50
         LayoutText {#text} at (0,0) size 0x0
@@ -84,3 +83,5 @@
                   text run at (63,160) width 109: " property without"
                   text run at (0,180) width 144: "the need for the user to"
                   text run at (0,200) width 173: "resize the viewing window."
+layer at (8,105) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.txt
index 8eaf452..c6fb7ba60 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/cascade_order-expected.txt
@@ -29,7 +29,6 @@
           text run at (0,144) width 296: ".one {text-decoration: line-through;}"
           text run at (296,144) width 0: " "
           text run at (0,160) width 0: " "
-      LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,243) size 769x160
         LayoutListItem {LI} at (40,0) size 729x20 [color=#0000FF]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -140,3 +139,5 @@
               LayoutBlockFlow {P} at (4,252) size 683x20
                 LayoutText {#text} at (0,0) size 683x19
                   text run at (0,0) width 683: "This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported)."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.txt
index 57d496e..56bb801 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/cascade/important-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 176: "P#id1 {color: purple;}"
           text run at (176,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x40 [color=#008000]
         LayoutText {#text} at (0,0) size 767x39
           text run at (0,0) width 767: "This sentence should be green, because the declaration marked important should override any other normal declaration for"
@@ -66,3 +65,5 @@
                   text run at (0,0) width 604: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. "
                   text run at (604,0) width 96: "This is because"
                   text run at (0,20) width 645: "declarations marked important have more weight than normal declarations given in a STYLE attribute."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.txt
index 3a1f03d1..f511b8e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/display-expected.txt
@@ -18,7 +18,6 @@
           text run at (272,48) width 0: " "
           text run at (0,64) width 152: "I {display: block;}"
           text run at (152,64) width 0: " "
-      LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,147) size 769x20
         LayoutText {#text} at (0,0) size 293x19
           text run at (0,0) width 293: "This sentence should be a block-level element."
@@ -129,3 +128,5 @@
                 LayoutBlockFlow (anonymous) at (0,40) size 747x20
                   LayoutText {#text} at (0,0) size 203x19
                     text run at (0,0) width 203: "should be a block-level element."
+layer at (8,137) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.txt
index 05977e2..4c4676f5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style-expected.txt
@@ -12,7 +12,6 @@
           text run at (304,0) width 0: " "
           text run at (0,16) width 496: ".two {list-style: url(../resources/oransqr.gif) disc outside;}"
           text run at (496,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,99) size 784x40
         LayoutListItem {LI} at (40,0) size 744x40
           LayoutListMarker (anonymous) at (0,0) size 20x19: "A"
@@ -51,3 +50,5 @@
                     text run at (0,0) width 476: "The text in this item have an orange square for its bullet; failing that, a disc. "
                     text run at (476,0) width 233: "Also, the bullet should be outside the"
                     text run at (0,20) width 283: "text block, as the list has been set to 'outside'."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.txt
index f888b02..b2b4173 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_image-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 240: ".two {list-style-image: none;}"
           text run at (240,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,115) size 784x60
         LayoutListItem {LI} at (40,0) size 744x20
           LayoutListMarker (anonymous) at (-22,0) size 15x15
@@ -78,3 +77,5 @@
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
                   LayoutText {#text} at (0,0) size 231x19
                     text run at (0,0) width 231: "...standard list markers for each item."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.txt
index 27118d1..98bde63 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_position-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 280: ".two {list-style-position: inside;}"
           text run at (280,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,115) size 784x40
         LayoutListItem {LI} at (40,0) size 744x40
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -50,3 +49,5 @@
                   LayoutText {#text} at (22,0) size 710x39
                     text run at (22,0) width 688: "The text in this item should not behave as expected; that is, it should line up with the bullet on the left margin,"
                     text run at (0,20) width 263: "leaving no blank space beneath the bullet."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_type-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_type-expected.txt
index 9739db2d..387eec5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_type-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/list_style_type-expected.txt
@@ -27,7 +27,6 @@
           text run at (0,128) width 240: ".nine {list-style-type: none;}"
           text run at (240,128) width 0: " "
           text run at (0,144) width 0: " "
-      LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,227) size 769x60
         LayoutListItem {LI} at (40,0) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -268,3 +267,5 @@
                 LayoutListItem {LI} at (40,40) size 276x20
                   LayoutText {#text} at (0,0) size 150x19
                     text run at (0,0) width 150: "...nothing for each item."
+layer at (8,217) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.txt
index 77b69b0..242c504 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/classification/white_space-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 232: ".three {white-space: normal;}"
           text run at (232,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x100
         LayoutText {#text} at (0,0) size 568x99
           text run at (0,0) width 0: " "
@@ -78,3 +77,5 @@
                 LayoutText {#text} at (452,20) size 4x19
                   text run at (452,20) width 4: "."
                   text run at (456,20) width 0: " "
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.txt
index 07a4d4b..6b255d11 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background-expected.txt
@@ -16,7 +16,6 @@
           text run at (592,32) width 0: " "
           text run at (0,48) width 592: ".three {background: lime url(../resources/oransqr.gif) repeat-x left top;}"
           text run at (592,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x60
         LayoutText {#text} at (0,0) size 728x19
           text run at (0,0) width 728: "This document should have a green background with an orange strip running across the entire top of the page, since"
@@ -88,3 +87,5 @@
                   text run at (0,20) width 703: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in"
                   text run at (0,40) width 178: "handling these declarations. "
                   text run at (178,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.txt
index 45a890e5..b1aaa57 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_attachment-expected.txt
@@ -11,7 +11,6 @@
           text run at (0,0) width 872: "BODY {background-image: url(../resources/bg.gif); background-repeat: repeat-x; background-attachment: fixed;}"
           text run at (872,0) width 0: " "
           text run at (0,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x100
         LayoutText {#text} at (0,0) size 780x99
           text run at (0,0) width 763: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which does"
@@ -26,8 +25,6 @@
         LayoutText {#text} at (0,0) size 508x19
           text run at (0,0) width 417: "In fact, why not the relevant section from the CSS1 specification? "
           text run at (417,0) width 91: "A capital idea."
-      LayoutBlockFlow {HR} at (0,251) size 784x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow {HR} at (0,261) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {H4} at (0,284.27) size 784x20
         LayoutInline {A} at (0,0) size 220x19
           LayoutText {#text} at (0,0) size 220x19
@@ -115,8 +112,6 @@
                 LayoutText {#text} at (0,0) size 508x19
                   text run at (0,0) width 417: "In fact, why not the relevant section from the CSS1 specification? "
                   text run at (417,0) width 91: "A capital idea."
-              LayoutBlockFlow {HR} at (4,156) size 762x2 [border: (1px inset #EEEEEE)]
-              LayoutBlockFlow {HR} at (4,166) size 762x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H4} at (4,189.27) size 762x20
                 LayoutInline {A} at (0,0) size 220x19
                   LayoutText {#text} at (0,0) size 220x19
@@ -177,3 +172,13 @@
                   text run at (71,0) width 670: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
                   text run at (0,20) width 716: "HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that"
                   text run at (0,40) width 93: "support 'fixed'."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,259) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,251) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,269) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,261) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,863) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,156) size 762x2 [border: (1px inset #EEEEEE)]
+layer at (25,873) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,166) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.txt
index b90ff19b..8a60759 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_color-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 296: ".two {background-color: transparent;}"
           text run at (296,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x20 [bgcolor=#008000]
         LayoutText {#text} at (0,0) size 277x19
           text run at (0,0) width 277: "This element's background should be green."
@@ -81,3 +80,5 @@
                 LayoutText {#text} at (0,0) size 744x19
                   text run at (0,0) width 462: "This element should allow the document background to \"shine through.\" "
                   text run at (462,0) width 282: "There should be no green backgrounds here!"
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.txt
index 6c118856..543ce73 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_image-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 240: ".one {background-image: none;}"
           text run at (240,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x40
         LayoutText {#text} at (0,0) size 746x39
           text run at (0,0) width 502: "This sentence should be backed by an image-- a green grid pattern, in this case. "
@@ -92,3 +91,5 @@
                 LayoutText {#text} at (0,0) size 705x39
                   text run at (0,0) width 705: "This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \"shine"
                   text run at (0,20) width 108: "through\" instead."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.txt
index cfe290d..6350d97 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_position-expected.txt
@@ -41,7 +41,6 @@
           text run at (0,240) width 488: "       background-repeat: no-repeat; background-color: aqua;}"
           text run at (488,240) width 0: " "
           text run at (0,256) width 0: " "
-      LayoutBlockFlow {HR} at (0,321) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,339) size 769x20
         LayoutText {#text} at (0,0) size 503x19
           text run at (0,0) width 503: "This document should have a single, small green image in its upper right corner."
@@ -146,3 +145,5 @@
                   text run at (0,40) width 141: "corner of the element. "
                   text run at (141,40) width 603: "The background color will make it easier to determine the edges of the paragraph, which should"
                   text run at (0,60) width 173: "assist in evaluating this test."
+layer at (8,329) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,321) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.txt
index 4f465149..624f90b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/background_repeat-expected.txt
@@ -37,7 +37,6 @@
           text run at (0,208) width 240: "       background-color: red;}"
           text run at (240,208) width 0: " "
           text run at (0,224) width 0: " "
-      LayoutBlockFlow {HR} at (0,289) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,307) size 784x60
         LayoutText {#text} at (0,0) size 784x19
           text run at (0,0) width 784: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the default for"
@@ -305,3 +304,5 @@
                   text run at (173,80) width 241: "This ought to be enough text, though. "
                   text run at (414,80) width 341: "A background color is present, although if it is visible,"
                   text run at (0,100) width 308: "then the image may not have been tiled correctly."
+layer at (8,297) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,289) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.txt
index 4514142..c3b1fc7 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/color_and_background/color-expected.txt
@@ -11,7 +11,6 @@
           text run at (0,0) width 160: ".one {color: green;}"
           text run at (160,0) width 0: " "
           text run at (0,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x20 [color=#008000]
         LayoutText {#text} at (0,0) size 194x19
           text run at (0,0) width 194: "This sentence should be green."
@@ -36,3 +35,5 @@
               LayoutBlockFlow {P} at (4,40) size 194x20 [color=#008000]
                 LayoutText {#text} at (0,0) size 194x19
                   text run at (0,0) width 194: "This sentence should be green."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/conformance/forward_compatible_parsing-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/conformance/forward_compatible_parsing-expected.txt
index 6e56c63..66ce4051 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/conformance/forward_compatible_parsing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/conformance/forward_compatible_parsing-expected.txt
@@ -113,7 +113,6 @@
           text run at (0,832) width 208: "P.twentyfour {color: red;}"
           text run at (208,832) width 0: " "
           text run at (0,848) width 0: " "
-      LayoutBlockFlow {HR} at (0,913) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,931) size 769x20 [color=#008000]
         LayoutText {#text} at (0,0) size 485x19
           text run at (0,0) width 485: "This paragraph should be green, because only the rotation should be ignored."
@@ -543,3 +542,5 @@
                 LayoutText {#text} at (0,0) size 728x39
                   text run at (0,0) width 728: "This paragraph should be black, because the color declaration after the previous ruleset should be considered part of"
                   text run at (0,20) width 639: "the selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied."
+layer at (8,921) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,913) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.txt
index d783f1c..a027deb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/canvas-expected.txt
@@ -12,7 +12,6 @@
           text run at (240,0) width 0: " "
           text run at (0,16) width 552: "BODY {background-color: green; background-image: none; margin: 25px;}"
           text run at (552,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 750x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 750x60
         LayoutText {#text} at (0,0) size 737x59
           text run at (0,0) width 387: "The body of this document should have a green background. "
@@ -39,3 +38,5 @@
                   text run at (0,20) width 430: "background set for the HTML element should surround the BODY. "
                   text run at (429,20) width 277: "If the BODY content is significantly shorter"
                   text run at (0,40) width 550: "than the browser's window height, then the bottom border may be larger than 25 pixels."
+layer at (25,106) size 750x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 750x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/floating_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/floating_elements-expected.txt
index fb570ddf..a92b1b2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/floating_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/floating_elements-expected.txt
@@ -25,13 +25,11 @@
           text run at (0,112) width 176: ".right {float: right;}"
           text run at (176,112) width 0: " "
           text run at (0,128) width 0: " "
-      LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,211) size 769x40
         LayoutText {#text} at (0,0) size 751x39
           text run at (0,0) width 681: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. "
           text run at (681,0) width 67: "Other than"
           text run at (0,20) width 751: "the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the floats."
-      LayoutBlockFlow {HR} at (24,275) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,301) size 765x110 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 130x59
@@ -50,7 +48,6 @@
           text run at (199,45) width 354: "of this DIV, which means that the borders of the floating"
           text run at (199,65) width 360: "elements should not overlap the top or side borders of the"
           text run at (199,85) width 31: "DIV."
-      LayoutBlockFlow {HR} at (364.28,419) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,429) size 765x70 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
@@ -59,7 +56,6 @@
           text run at (194,5) width 537: "The floating images within this DIV should not go beyond the left or right inner edge"
           text run at (20,25) width 707: "of this DIV, which means that the borders of the floating images should not overlap the top or side borders of the"
           text run at (5,45) width 31: "DIV."
-      LayoutBlockFlow {HR} at (24,523) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,549) size 442x250 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 122x39
@@ -88,7 +84,6 @@
           text run at (114,185) width 298: "In addition, they should not overlap each other."
           text run at (5,205) width 425: "The first two should be side by side, whereas the third should be on"
           text run at (5,225) width 95: "the next \"line.\""
-      LayoutBlockFlow {HR} at (364.28,807) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,817) size 360x210 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
@@ -107,7 +102,6 @@
           text run at (5,165) width 40: "other. "
           text run at (44,165) width 308: "The first two should be side by side, whereas the"
           text run at (5,185) width 213: "third should be on the next \"line.\""
-      LayoutBlockFlow {HR} at (24,1051) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1077) size 314x384 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 130x59
@@ -139,7 +133,6 @@
           text run at (5,319) width 268: "side-by-side, but instead the first should be"
           text run at (5,339) width 288: "floated left, and the second floated to the right"
           text run at (5,359) width 94: "below the first."
-      LayoutBlockFlow {HR} at (364.28,1469) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1479) size 410x246 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
@@ -158,7 +151,6 @@
           text run at (69,181) width 334: "In addition, the floated images should not be side-by-"
           text run at (5,201) width 390: "side, but instead the first should be floated left, and the second"
           text run at (5,221) width 213: "floated to the right below the first."
-      LayoutBlockFlow {HR} at (24,1749) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1775) size 765x130 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (566,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 139x59
@@ -179,7 +171,6 @@
           text run at (199,85) width 61: "any way. "
           text run at (259,85) width 265: "In addition, the top of the left-floating box"
           text run at (5,105) width 365: "should not be higher than the top of the right-floating box."
-      LayoutBlockFlow {HR} at (364.28,1913) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1923) size 765x70 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
@@ -189,7 +180,6 @@
           text run at (20,25) width 705: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in any"
           text run at (5,45) width 34: "way. "
           text run at (38,45) width 662: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
-      LayoutBlockFlow {HR} at (24,2017) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2043) size 765x150 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 183x19
           text run at (199,5) width 175: "This is text within the DIV. "
@@ -216,7 +206,6 @@
           text run at (530,85) width 13: "In"
           text run at (5,105) width 544: "order to mark these points clearly, an asterisk has been inserted just before each floated"
           text run at (5,125) width 53: "element."
-      LayoutBlockFlow {HR} at (364.28,2201) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2211) size 765x90 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 183x19
           text run at (20,5) width 175: "This is text within the DIV. "
@@ -232,7 +221,6 @@
           text run at (5,45) width 725: "high as the top edge of the inline element containing the content just before the floating images occur in the source. "
           text run at (730,45) width 13: "In"
           text run at (5,65) width 590: "order to mark these points clearly, an asterisk has been inserted just before each floated image."
-      LayoutBlockFlow {HR} at (24,2325) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2351) size 765x290 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 183x19
           text run at (199,5) width 175: "This is text within the DIV. "
@@ -282,7 +270,6 @@
           text run at (5,245) width 722: "has room for a floated element, then the element should float so that its top is aligned with the top of the line-box in"
           text run at (5,265) width 173: "which the asterisk appears. "
           text run at (178,265) width 402: "Otherwise, its top should align with the top of the next line-box."
-      LayoutBlockFlow {HR} at (364.28,2649) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2659) size 765x130 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 183x19
           text run at (20,5) width 175: "This is text within the DIV. "
@@ -309,7 +296,6 @@
           text run at (20,85) width 700: "has room for a floated image, then the image should float so that its top is aligned with the top of the line-box in"
           text run at (5,105) width 173: "which the asterisk appears. "
           text run at (178,105) width 402: "Otherwise, its top should align with the top of the next line-box."
-      LayoutBlockFlow {HR} at (24,2813) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2839) size 490x330 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 54x19
           text run at (199,5) width 54: "This is *"
@@ -342,7 +328,6 @@
           text run at (5,265) width 475: "align with the top of the line-box following the insertion point of the floated"
           text run at (5,285) width 466: "element to avoid floating elements appearing before text which precedes it"
           text run at (5,305) width 150: "in the source document."
-      LayoutBlockFlow {HR} at (364.28,3177) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,3187) size 490x250 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 54x19
           text run at (20,5) width 54: "This is *"
@@ -365,7 +350,6 @@
           text run at (5,185) width 429: "line-box following the insertion point of the floated element to avoid"
           text run at (5,205) width 442: "floating elements appearing before text which precedes it in the source"
           text run at (5,225) width 66: "document."
-      LayoutBlockFlow {HR} at (24,3461) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (0,3487) size 769x3295 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x3293
           LayoutTableRow {TR} at (0,0) size 767x28
@@ -384,7 +368,6 @@
                   text run at (681,0) width 36: "Other"
                   text run at (0,20) width 740: "than the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the"
                   text run at (0,40) width 38: "floats."
-              LayoutBlockFlow {HR} at (28,88) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,114) size 743x110 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 130x59
@@ -403,7 +386,6 @@
                   text run at (199,45) width 332: "inner edge of this DIV, which means that the borders"
                   text run at (199,65) width 332: "of the floating elements should not overlap the top or"
                   text run at (199,85) width 151: "side borders of the DIV."
-              LayoutBlockFlow {HR} at (357.83,232) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,242) size 743x70 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
@@ -412,7 +394,6 @@
                   text run at (194,5) width 503: "The floating images within this DIV should not go beyond the left or right inner"
                   text run at (20,25) width 701: "edge of this DIV, which means that the borders of the floating images should not overlap the top or side borders"
                   text run at (5,45) width 71: "of the DIV."
-              LayoutBlockFlow {HR} at (28,336) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,362) size 442x250 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 122x39
@@ -441,7 +422,6 @@
                   text run at (114,185) width 298: "In addition, they should not overlap each other."
                   text run at (5,205) width 425: "The first two should be side by side, whereas the third should be on"
                   text run at (5,225) width 95: "the next \"line.\""
-              LayoutBlockFlow {HR} at (357.83,620) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,630) size 360x210 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
@@ -460,7 +440,6 @@
                   text run at (5,165) width 40: "other. "
                   text run at (44,165) width 308: "The first two should be side by side, whereas the"
                   text run at (5,185) width 213: "third should be on the next \"line.\""
-              LayoutBlockFlow {HR} at (28,864) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,890) size 314x384 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 130x59
@@ -492,7 +471,6 @@
                   text run at (5,319) width 268: "side-by-side, but instead the first should be"
                   text run at (5,339) width 288: "floated left, and the second floated to the right"
                   text run at (5,359) width 94: "below the first."
-              LayoutBlockFlow {HR} at (357.83,1282) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1292) size 410x246 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
@@ -511,7 +489,6 @@
                   text run at (69,181) width 334: "In addition, the floated images should not be side-by-"
                   text run at (5,201) width 390: "side, but instead the first should be floated left, and the second"
                   text run at (5,221) width 213: "floated to the right below the first."
-              LayoutBlockFlow {HR} at (28,1562) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1588) size 743x130 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (544,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 139x59
@@ -532,7 +509,6 @@
                   text run at (199,85) width 133: "the DIV in any way. "
                   text run at (331,85) width 189: "In addition, the top of the left-"
                   text run at (5,105) width 445: "floating box should not be higher than the top of the right-floating box."
-              LayoutBlockFlow {HR} at (357.83,1726) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1736) size 743x70 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
@@ -542,7 +518,6 @@
                   text run at (20,25) width 678: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in"
                   text run at (5,45) width 61: "any way. "
                   text run at (65,45) width 662: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
-              LayoutBlockFlow {HR} at (28,1830) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1856) size 743x150 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 183x19
                   text run at (199,5) width 175: "This is text within the DIV. "
@@ -568,7 +543,6 @@
                   text run at (5,105) width 127: "occur in the source. "
                   text run at (132,105) width 411: "In order to mark these points clearly, an asterisk has been inserted"
                   text run at (5,125) width 203: "just before each floated element."
-              LayoutBlockFlow {HR} at (357.83,2014) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2024) size 743x90 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 183x19
                   text run at (20,5) width 175: "This is text within the DIV. "
@@ -584,7 +558,6 @@
                   text run at (5,45) width 689: "as high as the top edge of the inline element containing the content just before the floating images occur in the"
                   text run at (5,65) width 49: "source. "
                   text run at (54,65) width 607: "In order to mark these points clearly, an asterisk has been inserted just before each floated image."
-              LayoutBlockFlow {HR} at (28,2138) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2164) size 743x250 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 183x19
                   text run at (199,5) width 175: "This is text within the DIV. "
@@ -631,7 +604,6 @@
                   text run at (199,205) width 470: "its top is aligned with the top of the line-box in which the asterisk appears. "
                   text run at (669,205) width 69: "Otherwise,"
                   text run at (199,225) width 329: "its top should align with the top of the next line-box."
-              LayoutBlockFlow {HR} at (357.83,2423) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2433) size 743x130 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 183x19
                   text run at (20,5) width 175: "This is text within the DIV. "
@@ -657,7 +629,6 @@
                   text run at (20,85) width 712: "If a line has room for a floated image, then the image should float so that its top is aligned with the top of the line-"
                   text run at (5,105) width 217: "box in which the asterisk appears. "
                   text run at (222,105) width 402: "Otherwise, its top should align with the top of the next line-box."
-              LayoutBlockFlow {HR} at (28,2587) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2613) size 490x330 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 54x19
                   text run at (199,5) width 54: "This is *"
@@ -690,7 +661,6 @@
                   text run at (5,265) width 475: "align with the top of the line-box following the insertion point of the floated"
                   text run at (5,285) width 466: "element to avoid floating elements appearing before text which precedes it"
                   text run at (5,305) width 150: "in the source document."
-              LayoutBlockFlow {HR} at (357.83,2951) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2961) size 490x250 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 54x19
                   text run at (20,5) width 54: "This is *"
@@ -713,4 +683,65 @@
                   text run at (5,185) width 429: "line-box following the insertion point of the floated element to avoid"
                   text run at (5,205) width 442: "floating elements appearing before text which precedes it in the source"
                   text run at (5,225) width 66: "document."
-              LayoutBlockFlow {HR} at (28,3235) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (32,283) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,275) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,427) size 41x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,419) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,531) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,523) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,815) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,807) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1059) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1051) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1477) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1469) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1757) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1749) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1921) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1913) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2025) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2017) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2209) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2201) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2333) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2325) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2657) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2649) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2821) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2813) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,3185) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,3177) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,3469) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,3461) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (49,3612) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,88) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,3756) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,232) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,3860) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,336) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4144) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,620) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,4388) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,864) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4806) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1282) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5086) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1562) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5250) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1726) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5354) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1830) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5538) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2014) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5662) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2138) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5947) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2423) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,6111) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2587) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,6475) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2951) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,6759) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,3235) size 562.25x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/height_of_lines-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/height_of_lines-expected.txt
index c799fd6d..114d900 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/height_of_lines-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/height_of_lines-expected.txt
@@ -41,7 +41,6 @@
           text run at (0,256) width 320: "     border-width: 10px; margin: -10px;}"
           text run at (320,256) width 0: " "
           text run at (0,272) width 0: " "
-      LayoutBlockFlow {HR} at (0,337) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,353) size 769x464
         LayoutText {#text} at (0,2) size 767x238
           text run at (0,2) width 420: "This paragraph should have a font size of 14px and a line height of 20px. "
@@ -131,3 +130,5 @@
                   text run at (475,424) width 8: ". "
                   text run at (483,424) width 241: "The last image in this paragraph has -10px"
                   text run at (0,466) width 714: "margins set on it, so that should pull the text in toward the image in the vertical direction, and also in the horizontal direction."
+layer at (8,345) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,337) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.txt
index 36bc39a..23fb586 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/inline_elements-expected.txt
@@ -21,7 +21,6 @@
           text run at (0,80) width 192: "          padding: 2pt;}"
           text run at (192,80) width 0: " "
           text run at (0,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,179) size 769x192
         LayoutText {#text} at (0,6) size 187x19
           text run at (0,6) width 187: "This is a paragraph that has a "
@@ -94,3 +93,5 @@
                 LayoutText {#text} at (171,48) size 415x15
                   text run at (171,48) width 3: " "
                   text run at (174,48) width 412: "The line spacing in the whole paragraph should be 12pt, with font-size 10pt."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.txt
index 9ea477e..bf3b75c2 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/replaced_elements-expected.txt
@@ -24,7 +24,6 @@
           text run at (200,96) width 0: " "
           text run at (0,112) width 464: "          margin-right: 0; margin-left: auto; width: 50%;}"
           text run at (464,112) width 0: " "
-      LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,195) size 769x20
         LayoutImage {IMG} at (0,0) size 15x15
         LayoutText {#text} at (15,0) size 434x19
@@ -85,3 +84,5 @@
                   text run at (0,0) width 735: "The above image should be a square resized so its width is 50% of its parent element, and aligned at the right edge of"
                   text run at (0,20) width 123: "the parent element: "
                   text run at (123,20) width 395: "the document body in the first half, and the table in the second."
+layer at (8,185) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.txt
index 396d56f..0c0bb39 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/formatting_model/vertical_formatting-expected.txt
@@ -47,7 +47,6 @@
           text run at (0,288) width 160: "TABLE {clear: both;}"
           text run at (160,288) width 0: " "
           text run at (0,304) width 0: " "
-      LayoutBlockFlow {HR} at (0,369) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,387) size 769x40
         LayoutText {#text} at (0,0) size 754x39
           text run at (0,0) width 754: "There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins should"
@@ -170,3 +169,5 @@
               LayoutBlockFlow {P} at (4,1017) size 747x57.78
                 LayoutText {#text} at (0,38) size 167x19
                   text run at (0,38) width 167: "This is the next paragraph."
+layer at (8,377) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,369) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.txt
index 698c90ed..dde77cd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/anchor-expected.txt
@@ -19,7 +19,6 @@
           text run at (0,64) width 176: "#one {color: #006600;}"
           text run at (176,64) width 0: " "
           text run at (0,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 500x19
           text run at (0,0) width 500: "The following anchors should appear as described; none of them should be red."
@@ -160,3 +159,5 @@
                   text run at (539,0) width 192: "It's a named anchor, and styles"
                   text run at (0,20) width 350: "declared for the A tag are applied to them under CSS1. "
                   text run at (350,20) width 326: "It also should NOT turn orange when clicked upon."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.txt
index 9c7d02b5..f4b1834 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstletter-expected.txt
@@ -18,7 +18,6 @@
           text run at (0,32) width 312: "P.three:first-letter {font-size: 350%;}"
           text run at (312,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x60
         LayoutInline {<pseudo:first-letter>} at (0,0) size 10x19 [color=#800000]
           LayoutTextFragment (anonymous) at (0,0) size 10x19
@@ -91,3 +90,5 @@
                   text run at (0,66) width 617: "quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
                   text run at (617,66) width 122: "Note that this is not"
                   text run at (0,86) width 284: "required under CSS1, but it is recommended."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.txt
index e4c5f8ce..e3fe5eb 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/firstline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 360: ".three:first-line {font-variant: small-caps;}"
           text run at (360,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x60
         LayoutText {#text} at (0,0) size 761x59
           text run at (0,0) width 423: "The first line of this paragraph, and only that one, should be green. "
@@ -80,3 +79,5 @@
                   text run at (309,40) width 225: " is not supported by your browser). "
                   text run at (534,40) width 207: "This is extra text included for the"
                   text run at (0,60) width 472: "purposes of making the paragraph long enough to have more than one line."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.txt
index c45bcb2..dc49c2e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -24,7 +24,6 @@
           text run at (0,80) width 368: "P.three:first-line {font-variant: small-caps;}"
           text run at (368,80) width 0: " "
           text run at (0,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,179) size 769x60
         LayoutInline {<pseudo:first-letter>} at (0,0) size 10x19 [color=#800000]
           LayoutTextFragment (anonymous) at (0,0) size 10x19
@@ -102,3 +101,5 @@
                   text run at (0,86) width 739: "Note that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it"
                   text run at (0,106) width 111: "is recommended. "
                   text run at (111,106) width 450: "In addition, the entire first line should be in a small-caps font and green."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.txt
index 2f3966a2..92c169e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/pseudo/pseudo_elements_in_selectors-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 256: "P:first-line.three {color: red;}"
           text run at (256,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x40
         LayoutText {#text} at (0,0) size 718x39
           text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
@@ -75,3 +74,5 @@
                   text run at (446,20) width 277: "If neither is the case, then the user agent has"
                   text run at (0,40) width 687: "correctly ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be"
                   text run at (0,60) width 209: "considered to have failed the test."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.txt
index b33d7392..ac0a5e3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/color_units-expected.txt
@@ -32,7 +32,6 @@
           text run at (264,160) width 0: " "
           text run at (0,176) width 264: ".eleven {color: rgb(50%,0%,60%);}"
           text run at (264,176) width 0: " "
-      LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,259) size 769x20
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This sentence should be black."
@@ -236,3 +235,5 @@
                     text run at (281,3) width 40: "style"
                 LayoutText {#text} at (321,0) size 59x19
                   text run at (321,0) width 59: " attribute."
+layer at (8,249) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.txt
index aa1c1d3..a8965ee 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/length_units-expected.txt
@@ -30,7 +30,6 @@
           text run at (208,144) width 0: " "
           text run at (0,160) width 624: ".ten {font-size: 40px; border-left: 1ex solid purple; background-color: aqua;}"
           text run at (624,160) width 0: " "
-      LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,243) size 769x40
         LayoutText {#text} at (0,0) size 761x39
           text run at (0,0) width 761: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer) edges"
@@ -170,3 +169,5 @@
                   text run at (18,145) width 710: "the same number of pixels as the lower-case"
                   text run at (18,193) width 642: "'x' in this element's font, as well as solid"
                   text run at (18,241) width 112: "purple."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.txt
index c6284ac9..c629852 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/percentage_units-expected.txt
@@ -17,7 +17,6 @@
           text run at (0,48) width 208: ".three {margin-left: 25%;}"
           text run at (208,48) width 0: " "
           text run at (0,64) width 0: " "
-      LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,147) size 769x136 [bgcolor=#FFFF00]
         LayoutBlockFlow {DIV} at (192.25,0) size 384.50x60 [bgcolor=#FFFFFF]
           LayoutBlockFlow {P} at (0,0) size 384.50x60
@@ -64,3 +63,5 @@
                 LayoutText {#text} at (0,0) size 549x39
                   text run at (0,0) width 549: "This paragraph should have a left margin of 25% the width of its parent element, which"
                   text run at (0,20) width 356: "should require some extra text in order to test effectively."
+layer at (8,137) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.txt
index 9bf389b5..1c05dc9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/css1/units/urls-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 352: "BODY {background: url(../resources/bg.gif);}"
           text run at (352,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x20
         LayoutText {#text} at (0,0) size 386x19
           text run at (0,0) width 386: "This page should have a green grid pattern as its background."
@@ -58,3 +57,5 @@
                   text run at (620,0) width 117: "If an image, in this"
                   text run at (0,20) width 759: "case a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation"
                   text run at (0,40) width 313: "to the document's URL, not the stylesheet's URL."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/4278698-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/4278698-expected.txt
index 67a34ca..dfb3dc5 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/4278698-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/inserting/4278698-expected.txt
@@ -15,9 +15,10 @@
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 444x19
           text run at (0,0) width 444: "If successful, you should see 'a' followed by 10 spaces followed by 'b'."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,102) size 784x24 [border: (2px solid #FFAAAA)]
         LayoutBlockFlow {PRE} at (2,2) size 780x20 [border: (2px solid #AAAAFF)]
           LayoutText {#text} at (2,2) size 96x16
             text run at (2,2) width 96: "a          b"
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 3 of child 0 {#text} of child 1 {PRE} of child 7 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.txt
index 8a7368f..1e2efa4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/drop-text-without-selection-expected.txt
@@ -23,7 +23,6 @@
         LayoutText {#text} at (0,0) size 653x19
           text run at (0,0) width 478: "The text field should accept drag-and-dropped text, such as the link, even if "
           text run at (478,0) width 175: "no text is currently selected."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,102) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (154,1) size 4x19
@@ -33,6 +32,8 @@
             text run at (158,1) width 162: "drop me into the text field"
         LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (10,113) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
     LayoutText {#text} at (0,0) size 119x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4402375-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4402375-expected.txt
index e205460..30ef675c 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4402375-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/4402375-expected.txt
@@ -13,7 +13,6 @@
         LayoutText {#text} at (280,0) size 761x39
           text run at (280,0) width 481: " \"REGRESSION (417.8-TOT): finding text sometimes also selects previous"
           text run at (0,20) width 137: "image (5127) (6451)\""
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,74) size 784x40
         LayoutText {#text} at (0,0) size 743x39
           text run at (0,0) width 413: "This test uses a right aligned image next to some left aligned text. "
@@ -23,5 +22,7 @@
         LayoutImage (floating) {IMG} at (708,0) size 76x103
         LayoutText {#text} at (0,0) size 178x19
           text run at (0,0) width 178: "This text should be selected."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 selection start: position 0 of child 1 {#text} of child 6 {DIV} of body
 selection end:   position 29 of child 1 {#text} of child 6 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.txt
index 0473f08d..885a6af 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/6476-expected.txt
@@ -15,7 +15,6 @@
         LayoutInline {SPAN} at (0,0) size 1x19
         LayoutText {#text} at (0,20) size 181x19
           text run at (0,20) width 181: "thisshouldbeonthesecondline"
-      LayoutBlockFlow {HR} at (0,48) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,66) size 784x40
         LayoutText {#text} at (0,0) size 131x19
           text run at (0,0) width 131: "This is a testcase for "
@@ -32,4 +31,6 @@
           text run at (318,0) width 446: "To run it manually, click in the space after all the text on the first line in"
           text run at (0,20) width 166: "the above editable region. "
           text run at (166,20) width 384: "Clicking should create a caret after the first space after the 'e'."
+layer at (8,56) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,48) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 1 of child 2 {#text} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.txt
index 25d898e6..71cb288 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/editing/selection/click-start-of-line-expected.txt
@@ -21,10 +21,11 @@
         LayoutText {#text} at (0,0) size 728x19
           text run at (0,0) width 549: "To test interactively, click the left side of the W on the second line. The caret should be "
           text run at (548,0) width 180: "move to the start of that line."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,102) size 250x114
         LayoutText {#text} at (0,1) size 233x112
           text run at (0,1) width 152: "Alice in"
           text run at (152,1) width 12: " "
           text run at (0,58) width 233: "Wonderland"
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 10 of child 0 {#text} of child 7 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-inherit-color-bug-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-inherit-color-bug-expected.txt
index 650318cd..63ff7f3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-inherit-color-bug-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/backgrounds/background-inherit-color-bug-expected.txt
@@ -8,13 +8,11 @@
           LayoutText {#text} at (0,0) size 580x36
             text run at (0,0) width 580: "Affected Browsers: Safari 2.0, Windows Internet Explorer 6"
             text run at (0,18) width 30: "SP2"
-        LayoutBlockFlow {HR} at (4,72) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (4,90) size 615.19x54
           LayoutText {#text} at (0,0) size 610x54
             text run at (0,0) width 610: "Bug Description: On the Affected Browsers, if a rule sets the"
             text run at (0,18) width 540: "'background-color' of an element, this color cannot be"
             text run at (0,36) width 480: "overridden by 'background:inherit' declarations."
-        LayoutBlockFlow {HR} at (4,160) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (4,178) size 615.19x90
           LayoutText {#text} at (0,0) size 600x54
             text run at (0,0) width 600: "Example: With the following code, the background color of H1"
@@ -28,13 +26,11 @@
           LayoutText {#text} at (0,72) size 290x18
             text run at (0,72) width 50: "  H1 "
             text run at (50,72) width 240: "{ background: inherit; }"
-        LayoutBlockFlow {HR} at (4,284) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (4,302) size 615.19x54
           LayoutText {#text} at (0,0) size 610x54
             text run at (0,0) width 610: "Work-around: The 'background-color' can only be overridden by"
             text run at (0,18) width 600: "another 'background-color' declaration, or by a 'background'"
             text run at (0,36) width 380: "declaration that does specify a color."
-        LayoutBlockFlow {HR} at (4,372) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow (anonymous) at (4,382) size 615.19x20
           LayoutText {#text} at (0,0) size 401x19
             text run at (0,0) width 401: "This is in contradiction with the CSS2 specification which says:"
@@ -75,3 +71,11 @@
           LayoutText {#text} at (4,4) size 485x73
             text run at (4,4) width 485: "This header has a pink background"
             text run at (4,41) width 219: "and that's good."
+layer at (85,80) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,72) size 615.19x2 [border: (1px inset #EEEEEE)]
+layer at (85,168) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,160) size 615.19x2 [border: (1px inset #EEEEEE)]
+layer at (85,292) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,284) size 615.19x2 [border: (1px inset #EEEEEE)]
+layer at (85,380) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,372) size 615.19x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.txt
index d2d8fce..8d4ea39 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/014-expected.txt
@@ -70,7 +70,6 @@
         LayoutInline {CODE} at (0,0) size 440x16
           LayoutText {#text} at (0,0) size 440x16
             text run at (0,0) width 440: "div.box.one:after{ content:'generated content here!'; }"
-      LayoutBlockFlow {HR} at (0,392.44) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {H2} at (0,414.34) size 769x27
         LayoutText {#text} at (0,0) size 477x26
           text run at (0,0) width 477: "Example (view source to see CSS and HTML):"
@@ -104,3 +103,5 @@
           LayoutBlockFlow {<pseudo:after>} at (0,20) size 717x20 [color=#008000]
             LayoutTextFragment (anonymous) at (0,0) size 111x19
               text run at (0,0) width 111: "generated content"
+layer at (8,414) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,392.44) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/016-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/016-expected.txt
index dc214f67..0b8eb3b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/016-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/016-expected.txt
@@ -9,7 +9,6 @@
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 323x19
           text run at (0,0) width 323: "The href attribute of the last one is changed onload."
-      LayoutBlockFlow {HR} at (0,72) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,90) size 784x20
         LayoutInline {A} at (0,0) size 60x19 [color=#0000EE]
           LayoutText {#text} at (0,0) size 8x19
@@ -38,3 +37,5 @@
           LayoutInline {<pseudo:after>} at (0,0) size 52x19
             LayoutTextFragment (anonymous) at (8,0) size 52x19
               text run at (8,0) width 52: "(href=4)"
+layer at (8,88) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,72) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.txt
index 259e9770..1c3b34d9 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css-generated-content/hover-style-change-expected.txt
@@ -9,7 +9,6 @@
         LayoutInline {<pseudo:after>} at (0,0) size 178x19
           LayoutTextFragment (anonymous) at (82,0) size 178x19
             text run at (82,0) width 178: "and generated hover content"
-      LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,46) size 784x40
         LayoutText {#text} at (0,0) size 52x19
           text run at (0,0) width 52: "Test for "
@@ -34,4 +33,6 @@
           text run at (0,0) width 754: "To reproduce the bug outside of DumpRenderTree, mouse over the div several times, and the style change won't update"
           text run at (0,20) width 70: "every time "
           text run at (70,20) width 85: "like it should."
+layer at (8,36) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 3 of child 0 {#text} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.txt
index 2d375f3..4596e352 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/find-next-layer-expected.txt
@@ -15,7 +15,8 @@
             text run at (403,0) width 375: "Drop shadow obscures \"add more stuff\" bubble at live.com"
         LayoutText {#text} at (777,0) size 5x19
           text run at (777,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,54) size 784x0
   LayoutBlockFlow (relative positioned) {DIV} at (0,46) size 784x0
 layer at (8,54) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.txt
index bf210d3d..349e37e 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/first-letter-detach-expected.txt
@@ -23,7 +23,6 @@
             text run at (231,0) width 9: "P"
         LayoutText {#text} at (240,0) size 208x19
           text run at (240,0) width 208: "ASS\x{201D}, with nothing before the P."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x20
         LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#0000FF]
           LayoutTextFragment (anonymous) at (0,0) size 9x19
@@ -42,3 +41,5 @@
             text run at (0,0) width 9: "P"
         LayoutTextFragment {#text} at (9,0) size 30x19
           text run at (9,0) width 30: "ASS"
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/h1-in-section-elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/h1-in-section-elements-expected.txt
index d4a5cd43..5721458f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/h1-in-section-elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/h1-in-section-elements-expected.txt
@@ -12,65 +12,49 @@
           LayoutTableRow {TR} at (0,2) size 152x75
             LayoutTableCell {TD} at (2,2) size 73x74.81 [r=0 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 71x72.81
-                LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
                 LayoutBlockFlow {H1} at (0,21.91) size 71x29 [border: (1px solid #00FF00)]
                   LayoutText {#text} at (1,1) size 69x26
                     text run at (1,1) width 69: "MMM"
-                LayoutBlockFlow {HR} at (0,70.81) size 71x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (77,2) size 73x74.81 [r=0 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H2} at (1,22.91) size 71x29 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 69x26
                   text run at (1,1) width 69: "MMM"
-              LayoutBlockFlow {HR} at (1,71.81) size 71x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,79) size 152x68
             LayoutTableCell {TD} at (2,79) size 73x68.44 [r=1 c=0 rs=1 cs=1]
               LayoutBlockFlow {ARTICLE} at (1,1) size 71x66.44
                 LayoutBlockFlow {SECTION} at (0,0) size 71x66.44
-                  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {H1} at (0,20.72) size 71x25 [border: (1px solid #00FF00)]
                     LayoutText {#text} at (1,1) size 54x22
                       text run at (1,1) width 54: "MMM"
-                  LayoutBlockFlow {HR} at (0,64.44) size 71x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (77,79) size 73x68.44 [r=1 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H3} at (1,21.72) size 71x25 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 54x22
                   text run at (1,1) width 54: "MMM"
-              LayoutBlockFlow {HR} at (1,65.44) size 71x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,149) size 152x71
             LayoutTableCell {TD} at (2,149) size 73x70.53 [r=2 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 71x68.53
                 LayoutBlockFlow {ARTICLE} at (0,0) size 71x68.53
                   LayoutBlockFlow {SECTION} at (0,0) size 71x68.53
-                    LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
                     LayoutBlockFlow {H1} at (0,23.27) size 71x22 [border: (1px solid #00FF00)]
                       LayoutText {#text} at (1,1) size 45x19
                         text run at (1,1) width 45: "MMM"
-                    LayoutBlockFlow {HR} at (0,66.53) size 71x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (77,149) size 73x70.53 [r=2 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H4} at (1,24.27) size 71x22 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 45x19
                   text run at (1,1) width 45: "MMM"
-              LayoutBlockFlow {HR} at (1,67.53) size 71x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,222) size 152x68
             LayoutTableCell {TD} at (2,222) size 73x68.34 [r=3 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 71x66.34
                 LayoutBlockFlow {ASIDE} at (0,0) size 71x66.34
                   LayoutBlockFlow {ARTICLE} at (0,0) size 71x66.34
                     LayoutBlockFlow {SECTION} at (0,0) size 71x66.34
-                      LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
                       LayoutBlockFlow {H1} at (0,24.17) size 71x18 [border: (1px solid #00FF00)]
                         LayoutText {#text} at (1,1) size 36x15
                           text run at (1,1) width 36: "MMM"
-                      LayoutBlockFlow {HR} at (0,64.34) size 71x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (77,222) size 73x68.34 [r=3 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H5} at (1,25.17) size 71x18 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 36x15
                   text run at (1,1) width 36: "MMM"
-              LayoutBlockFlow {HR} at (1,65.34) size 71x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,292) size 152x71
             LayoutTableCell {TD} at (2,292) size 73x70.94 [r=4 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 71x68.94
@@ -79,82 +63,62 @@
                     LayoutBlockFlow {ASIDE} at (0,0) size 71x68.94
                       LayoutBlockFlow {ARTICLE} at (0,0) size 71x68.94
                         LayoutBlockFlow {SECTION} at (0,0) size 71x68.94
-                          LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
                           LayoutBlockFlow {H1} at (0,26.97) size 71x15 [border: (1px solid #00FF00)]
                             LayoutText {#text} at (1,1) size 30x13
                               text run at (1,1) width 30: "MMM"
-                          LayoutBlockFlow {HR} at (0,66.94) size 71x2 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {DIV} at (0,68.94) size 71x0
             LayoutTableCell {TD} at (77,292) size 73x70.94 [r=4 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H6} at (1,27.97) size 71x15 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 30x13
                   text run at (1,1) width 30: "MMM"
-              LayoutBlockFlow {HR} at (1,67.94) size 71x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (152,36) size 365x152
         LayoutTableSection {TBODY} at (0,0) size 365x152
           LayoutTableRow {TR} at (2,0) size 75x152
             LayoutTableCell {TD} at (2,2) size 74.81x73 [r=0 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 72.81x71
-                LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
                 LayoutBlockFlow {H1} at (21.91,0) size 29x71 [border: (1px solid #00FF00)]
                   LayoutText {#text} at (1,1) size 26x69
                     text run at (1,1) width 69: "MMM"
-                LayoutBlockFlow {HR} at (70.81,0) size 2x71 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (2,77) size 74.81x73 [r=0 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H2} at (22.91,1) size 29x71 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 26x69
                   text run at (1,1) width 69: "MMM"
-              LayoutBlockFlow {HR} at (71.81,1) size 2x71 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (79,0) size 68x152
             LayoutTableCell {TD} at (79,2) size 68.44x73 [r=1 c=0 rs=1 cs=1]
               LayoutBlockFlow {ARTICLE} at (1,1) size 66.44x71
                 LayoutBlockFlow {SECTION} at (0,0) size 66.44x71
-                  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {H1} at (20.72,0) size 25x71 [border: (1px solid #00FF00)]
                     LayoutText {#text} at (1,1) size 22x54
                       text run at (1,1) width 54: "MMM"
-                  LayoutBlockFlow {HR} at (64.44,0) size 2x71 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (79,77) size 68.44x73 [r=1 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H3} at (21.72,1) size 25x71 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 22x54
                   text run at (1,1) width 54: "MMM"
-              LayoutBlockFlow {HR} at (65.44,1) size 2x71 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (149,0) size 71x152
             LayoutTableCell {TD} at (149,2) size 70.53x73 [r=2 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 68.53x71
                 LayoutBlockFlow {ARTICLE} at (0,0) size 68.53x71
                   LayoutBlockFlow {SECTION} at (0,0) size 68.53x71
-                    LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
                     LayoutBlockFlow {H1} at (23.27,0) size 22x71 [border: (1px solid #00FF00)]
                       LayoutText {#text} at (1,1) size 19x45
                         text run at (1,1) width 45: "MMM"
-                    LayoutBlockFlow {HR} at (66.53,0) size 2x71 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (149,77) size 70.53x73 [r=2 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H4} at (24.27,1) size 22x71 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 19x45
                   text run at (1,1) width 45: "MMM"
-              LayoutBlockFlow {HR} at (67.53,1) size 2x71 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (222,0) size 68x152
             LayoutTableCell {TD} at (222,2) size 68.34x73 [r=3 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 66.34x71
                 LayoutBlockFlow {ASIDE} at (0,0) size 66.34x71
                   LayoutBlockFlow {ARTICLE} at (0,0) size 66.34x71
                     LayoutBlockFlow {SECTION} at (0,0) size 66.34x71
-                      LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
                       LayoutBlockFlow {H1} at (24.17,0) size 18x71 [border: (1px solid #00FF00)]
                         LayoutText {#text} at (1,1) size 15x36
                           text run at (1,1) width 36: "MMM"
-                      LayoutBlockFlow {HR} at (64.34,0) size 2x71 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (222,77) size 68.34x73 [r=3 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H5} at (25.17,1) size 18x71 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 15x36
                   text run at (1,1) width 36: "MMM"
-              LayoutBlockFlow {HR} at (65.34,1) size 2x71 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (292,0) size 71x152
             LayoutTableCell {TD} at (292,2) size 70.94x73 [r=4 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 68.94x71
@@ -163,15 +127,91 @@
                     LayoutBlockFlow {ASIDE} at (0,0) size 68.94x71
                       LayoutBlockFlow {ARTICLE} at (0,0) size 68.94x71
                         LayoutBlockFlow {SECTION} at (0,0) size 68.94x71
-                          LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
                           LayoutBlockFlow {H1} at (26.97,0) size 15x71 [border: (1px solid #00FF00)]
                             LayoutText {#text} at (1,1) size 13x30
                               text run at (1,1) width 30: "MMM"
-                          LayoutBlockFlow {HR} at (66.94,0) size 2x71 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {DIV} at (68.94,0) size 0x71
             LayoutTableCell {TD} at (292,77) size 70.94x73 [r=4 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H6} at (27.97,1) size 15x71 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 13x30
                   text run at (1,1) width 30: "MMM"
-              LayoutBlockFlow {HR} at (67.94,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (11,55) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,126) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,70.81) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,55) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,126) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,71.81) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,132) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,196) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,64.44) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,132) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,196) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,65.44) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,202) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,269) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,66.53) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,202) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,269) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,67.53) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,275) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,339) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,64.34) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,275) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,339) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,65.34) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,345) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,412) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,66.94) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,345) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,412) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,67.94) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (520,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (449,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (70.81,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (520,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (449,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (71.81,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (443,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (379,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (64.44,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (443,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (379,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (65.44,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (373,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (306,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (66.53,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (373,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (306,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (67.53,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (300,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (236,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (64.34,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (300,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (236,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (65.34,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (230,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (163,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (66.94,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (230,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (163,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (67.94,1) size 2x71 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.txt
index 54f4a6b..5f7df57f 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/hover-subselector-expected.txt
@@ -8,7 +8,6 @@
           LayoutText {#text} at (0,0) size 225x19
             text run at (0,0) width 225: "This should turn red when hovered."
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,46) size 784x40
         LayoutText {#text} at (0,0) size 52x19
           text run at (0,0) width 52: "Test for "
@@ -26,3 +25,5 @@
             text run at (191,23) width 97: "span#t:hover"
         LayoutText {#text} at (287,20) size 171x19
           text run at (287,20) width 171: " matches the hovered span."
+layer at (8,36) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.txt
index 296f200..f2a5042 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-expected.txt
@@ -3,7 +3,6 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,18) size 784x20
         LayoutText {#text} at (0,0) size 52x19
           text run at (0,0) width 52: "Test for "
@@ -16,7 +15,6 @@
             text run at (403,0) width 318: "Resize corner does not track the mouse accurately"
         LayoutText {#text} at (720,0) size 5x19
           text run at (720,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,189) size 784x363
         LayoutText {#text} at (169,106) size 4x19
           text run at (169,106) width 4: " "
@@ -25,6 +23,10 @@
           text run at (198,168) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,8) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,62) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,72) size 173x125 clip at (10,74) size 169x121
   LayoutBlockFlow {DIV} at (0,64) size 173x125 [border: (2px solid #0000FF)]
 layer at (8,197) size 169x121 clip at (10,199) size 165x117
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.txt
index 6d68a76..cf7b541 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-expected.txt
@@ -3,7 +3,6 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x542
-      LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,18) size 784x20
         LayoutText {#text} at (0,0) size 52x19
           text run at (0,0) width 52: "Test for "
@@ -16,6 +15,9 @@
             text run at (361,0) width 336: "Resize corner does not track in transformed elements"
         LayoutText {#text} at (696,0) size 5x19
           text run at (696,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,8) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,62) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (58,114) size 163x129 clip at (60,116) size 159x125
   LayoutBlockFlow {DIV} at (50,106) size 163x129 [border: (2px solid #0000FF)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
index 1a69f90..40e9a40 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
@@ -3,7 +3,6 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,18) size 784x20
         LayoutText {#text} at (0,0) size 52x19
           text run at (0,0) width 52: "Test for "
@@ -16,9 +15,12 @@
             text run at (354,0) width 249: "resize property doesn't work on iframes"
         LayoutText {#text} at (602,0) size 5x19
           text run at (602,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,64) size 784x230
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,8) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,62) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (58,122) size 163x130
   LayoutIFrame {IFRAME} at (50,50) size 163x130 [border: (2px solid #0000FF)]
     layer at (0,0) size 159x126
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.txt
index 6764ff6e..11501fbe 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/rtl-ordering-expected.txt
@@ -15,7 +15,6 @@
             text run at (0,20) width 370 LTR override: "type=\"button\"> text is reversed on \"visual Hebrew\" pages"
         LayoutText {#text} at (369,20) size 5x19
           text run at (369,20) width 5 LTR override: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,74) size 784x20
         LayoutText {#text} at (0,0) size 295x19
           text run at (0,0) width 295 LTR override: "The text on both buttons should like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
@@ -32,7 +31,6 @@
             LayoutText {#text} at (0,0) size 31x16
               text run at (0,0) width 31 RTL: "\x{5DB}\x{5E4}\x{5EA}\x{5D5}\x{5E8}"
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,162) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,180) size 784x20
         LayoutText {#text} at (0,0) size 249x19
           text run at (0,0) width 249 LTR override: "The following lines should be identical:"
@@ -43,3 +41,7 @@
       LayoutBlockFlow {P} at (0,252) size 784x20
         LayoutText {#text} at (0,0) size 65x19
           text run at (0,0) width 65 LTR override: "21-\x{5D4} \x{5D4}\x{5D0}\x{5DE}\x{5D4}"
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,170) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,162) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.txt
index 3e91f3a6..11bb2d4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/css/universal-hover-quirk-expected.txt
@@ -8,7 +8,6 @@
           LayoutText {#text} at (0,0) size 249x19
             text run at (0,0) width 249: "This should not turn red when hovered."
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,46) size 784x40
         LayoutText {#text} at (0,0) size 52x19
           text run at (0,0) width 52: "Test for "
@@ -26,4 +25,6 @@
         LayoutText {#text} at (750,0) size 784x39
           text run at (750,0) width 34: " does"
           text run at (0,20) width 223: "not match anything in quirks mode."
+layer at (8,36) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 1 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.txt
index 3385ba9..ea0aa89 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/34176-expected.txt
@@ -10,7 +10,6 @@
           text run at (53,20) width 716: "TextRun3's bidi level is 1. TextRun2 and TextRun3 are siblings. But their ancestor (not their parent) is a sibling of"
           text run at (96,40) width 72: "TextRun1. "
           text run at (167,40) width 602: "The visual order should be TextRun3 TextRun1 TextRun2, not TextRun3 TextRun2 TextRun1."
-      LayoutBlockFlow {HR} at (0,76) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,94) size 769x20
         LayoutText {#text} at (312,0) size 457x19
           text run at (312,0) width 342: "Pure text. The following 3 lines should all display as \""
@@ -49,7 +48,6 @@
           LayoutInline {SPAN} at (0,0) size 23x19
             LayoutText {#text} at (660,0) size 23x19
               text run at (660,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
-      LayoutBlockFlow {HR} at (0,198) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,216) size 769x20
         LayoutText {#text} at (321,0) size 448x19
           text run at (321,0) width 448: "Text in <em>. The English text should be displayed as \"This is a Test\"."
@@ -96,7 +94,6 @@
           LayoutInline {EM} at (0,0) size 25x19
             LayoutText {#text} at (744,0) size 25x19
               text run at (744,0) width 25: "Test"
-      LayoutBlockFlow {HR} at (0,360) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,378) size 769x20
         LayoutText {#text} at (297,0) size 472x19
           text run at (297,0) width 472: "Text in <strong>. The following lines should all display as \"This is a Test\"."
@@ -132,7 +129,6 @@
           LayoutInline {STRONG} at (0,0) size 28x19
             LayoutText {#text} at (741,0) size 28x19
               text run at (741,0) width 28: "Test"
-      LayoutBlockFlow {HR} at (0,502) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,520) size 769x20
         LayoutText {#text} at (332,0) size 437x19
           text run at (332,0) width 437: "Text in <i>. The following lines should all display as \"This is a Test\"."
@@ -168,7 +164,6 @@
           LayoutInline {I} at (0,0) size 25x19
             LayoutText {#text} at (744,0) size 25x19
               text run at (744,0) width 25: "Test"
-      LayoutBlockFlow {HR} at (0,644) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,662) size 769x20
         LayoutText {#text} at (328,0) size 441x19
           text run at (328,0) width 441: "Text in <b>. The following lines should all display as \"This is a Test\"."
@@ -208,7 +203,6 @@
         LayoutInline {B} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,786) size 769x746
-        LayoutBlockFlow {HR} at (0,0) size 769x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (0,18) size 769x20
           LayoutText {#text} at (100,0) size 669x19
             text run at (100,0) width 669: "Text in <img>, <href>, <em>, <tr>. The following English text should all display as \"This is a Test\"."
@@ -281,7 +275,6 @@
           LayoutBlockFlow (anonymous) at (0,46) size 769x0
             LayoutInline {SPAN} at (0,0) size 0x0
               LayoutInline {EM} at (0,0) size 0x0
-        LayoutBlockFlow {HR} at (0,208) size 769x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {UL} at (0,226) size 769x520
           LayoutListItem {LI} at (40,0) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -389,5 +382,19 @@
               text run at (0,0) width 117: "Test 25: : Success"
       LayoutBlockFlow (anonymous) at (0,1548) size 769x0
         LayoutInline {B} at (0,0) size 0x0
+layer at (8,92) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,76) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,214) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,198) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,376) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,360) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,518) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,502) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,660) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,644) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,802) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1010) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,208) size 769x2 [border: (1px inset #EEEEEE)]
 selection start: position 0 of child 0 {#text} of child 14 {DIV} of child 56 {B} of body
 selection end:   position 4 of child 0 {#text} of child 14 {DIV} of child 56 {B} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.txt
index 0643b448..98e5ab3 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLElement/bdo-expected.txt
@@ -14,7 +14,6 @@
           text run at (0,0) width 727: "If successful, the first sentence would be backward, and the second sentence regular. There should then be an extra "
           text run at (726,0) width 36: "blank"
           text run at (0,20) width 697: "line, followed by a line reading only \"A,\" and finally, a sentence where only the word \"umbrella\" is backward."
-      LayoutBlockFlow {HR} at (0,128) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,138) size 784x120
         LayoutBR {BR} at (0,0) size 0x19
         LayoutInline {BDO} at (0,0) size 221x19
@@ -47,3 +46,5 @@
           LayoutText {#text} at (81,100) size 209x19
             text run at (81,100) width 209 LTR override: " sure would be useful in this rain."
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,136) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,128) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
index 02fd1dd..bb640df 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
@@ -19,6 +19,7 @@
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 243x19
           text run at (0,0) width 243: "There should be a green square below."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,102) size 784x0
       LayoutBlockFlow {DIV} at (0,102) size 100x100 [bgcolor=#008000]
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.txt
index 1e89d0d9..359eafa 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/012-expected.txt
@@ -18,7 +18,6 @@
           text run at (0,0) width 579: "Note that the second section is collapsed when the page opens and expanding it works fine. "
           text run at (579,0) width 168: "Just the collapse is broken."
       LayoutBlockFlow {DIV} at (0,154.91) size 784x157
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {DIV} at (0,10) size 784x21
           LayoutImage {IMG} at (0,0) size 16x16
           LayoutText {#text} at (16,1) size 75x19
@@ -55,7 +54,10 @@
                 LayoutTableCell {TD} at (36,50) size 746x22 [r=2 c=1 rs=1 cs=1]
                   LayoutText {#text} at (1,1) size 74x19
                     text run at (1,1) width 74: "block three."
-        LayoutBlockFlow {HR} at (0,155) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,163) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,318) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,155) size 784x2 [border: (1px inset #EEEEEE)]
 hidden layer at (8,194) size 109x74
   LayoutBlockFlow (positioned) {DIV} at (8,193.91) size 109x74
     LayoutTable {TABLE} at (0,0) size 109x74
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.txt
index 05292e3..4db2889 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/dynamic/selection-highlight-adjust-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,20) width 138: "highlight stays behind"
         LayoutText {#text} at (138,20) size 4x19
           text run at (138,20) width 4: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,66) size 784x75
         LayoutImage {IMG} at (0,0) size 0x30
         LayoutBR {BR} at (0,15) size 0x19
@@ -27,5 +26,7 @@
         LayoutText {#text} at (309,55) size 4x19
           text run at (309,55) width 4: " "
         LayoutBR {BR} at (313,55) size 0x19
+layer at (8,72) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 selection start: position 0 of child 0 {#text} of child 6 {SPAN} of child 5 {DIV} of body
 selection end:   position 51 of child 0 {#text} of child 6 {SPAN} of child 5 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/invalid-UTF-8-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/invalid-UTF-8-expected.txt
index e12d7b98..cee56e07 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/invalid-UTF-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/invalid-UTF-8-expected.txt
@@ -9,7 +9,8 @@
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 502x19
           text run at (0,0) width 502: "The output should be: \"\x{442}??\x{442}\" (with black diamonds in place of question marks)."
-      LayoutBlockFlow {HR} at (0,72) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,90) size 784x28
         LayoutText {#text} at (0,3) size 36x19
           text run at (0,3) width 36: "\x{442}\x{FFFD}\x{FFFD}\x{442}"
+layer at (8,80) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,72) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.txt
index 7b806aa..3fc1c58 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-big-endian-expected.txt
@@ -22,7 +22,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,28.66) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,37.31) size 784x37
         LayoutInline {SPAN} at (0,0) size 110x35
           LayoutInline {SPAN} at (0,0) size 110x35
@@ -45,7 +44,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,80.97) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,89.63) size 784x52
         LayoutInline {SPAN} at (0,0) size 571x50
           LayoutInline {SPAN} at (0,0) size 571x50
@@ -65,7 +63,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,148.28) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,156.94) size 784x21
         LayoutInline {SPAN} at (0,0) size 126x22
           LayoutInline {SPAN} at (0,0) size 126x22
@@ -88,7 +85,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,246.59) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,255.25) size 784x21
         LayoutInline {SPAN} at (0,0) size 128x16
           LayoutInline {SPAN} at (0,0) size 128x16
@@ -137,7 +133,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,345.91) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,354.56) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -237,7 +232,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,567.22) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,575.88) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -337,7 +331,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,788.53) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,797.19) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -394,7 +387,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,923.84) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,932.50) size 784x52
         LayoutInline {SPAN} at (0,0) size 196x50
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -419,7 +411,6 @@
             LayoutBR {BR} at (195,49) size 1x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,991.16) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,999.81) size 784x21
         LayoutInline {SPAN} at (0,0) size 182x16
           LayoutInline {SPAN} at (0,0) size 182x19
@@ -442,7 +433,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1027.47) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,1036.13) size 784x20
         LayoutInline {SPAN} at (0,0) size 257x16
           LayoutInline {SPAN} at (0,0) size 257x16
@@ -459,7 +449,6 @@
             LayoutText {#text} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1062.78) size 784x31.33
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (0,15.33) size 784x16
           LayoutText {#text} at (0,0) size 204x16
             text run at (0,0) width 204: "This itinerary is subject to change. "
@@ -471,6 +460,28 @@
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
+layer at (8,37) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,156) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,255) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,354) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,575) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,797) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,932) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,999) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,1035) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,1071) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (23,45) size 84x16
   LayoutInline (relative positioned) {SPAN} at (0,0) size 84x16
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.txt
index 7b806aa..3fc1c58 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/encoding/utf-16-little-endian-expected.txt
@@ -22,7 +22,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,28.66) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,37.31) size 784x37
         LayoutInline {SPAN} at (0,0) size 110x35
           LayoutInline {SPAN} at (0,0) size 110x35
@@ -45,7 +44,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,80.97) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,89.63) size 784x52
         LayoutInline {SPAN} at (0,0) size 571x50
           LayoutInline {SPAN} at (0,0) size 571x50
@@ -65,7 +63,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,148.28) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,156.94) size 784x21
         LayoutInline {SPAN} at (0,0) size 126x22
           LayoutInline {SPAN} at (0,0) size 126x22
@@ -88,7 +85,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,246.59) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,255.25) size 784x21
         LayoutInline {SPAN} at (0,0) size 128x16
           LayoutInline {SPAN} at (0,0) size 128x16
@@ -137,7 +133,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,345.91) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,354.56) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -237,7 +232,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,567.22) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,575.88) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -337,7 +331,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,788.53) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,797.19) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -394,7 +387,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,923.84) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,932.50) size 784x52
         LayoutInline {SPAN} at (0,0) size 196x50
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -419,7 +411,6 @@
             LayoutBR {BR} at (195,49) size 1x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,991.16) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,999.81) size 784x21
         LayoutInline {SPAN} at (0,0) size 182x16
           LayoutInline {SPAN} at (0,0) size 182x19
@@ -442,7 +433,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1027.47) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,1036.13) size 784x20
         LayoutInline {SPAN} at (0,0) size 257x16
           LayoutInline {SPAN} at (0,0) size 257x16
@@ -459,7 +449,6 @@
             LayoutText {#text} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1062.78) size 784x31.33
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (0,15.33) size 784x16
           LayoutText {#text} at (0,0) size 204x16
             text run at (0,0) width 204: "This itinerary is subject to change. "
@@ -471,6 +460,28 @@
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
+layer at (8,37) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,156) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,255) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,354) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,575) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,797) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,932) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,999) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,1035) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,1071) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (23,45) size 84x16
   LayoutInline (relative positioned) {SPAN} at (0,0) size 84x16
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.txt
index 086c346..c2c0577 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/button/button-inner-block-reuse-expected.txt
@@ -21,7 +21,6 @@
           text run at (0,0) width 559: "In the render tree, the button should have only one child, an anonymous block wrapping "
           text run at (559,0) width 144: "all of the button's other"
           text run at (0,20) width 80: "descendants."
-      LayoutBlockFlow {HR} at (0,112) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,122) size 784x6
         LayoutButton {BUTTON} at (0,0) size 16x6 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
           LayoutBlockFlow (anonymous) at (8,3) size 0x0
@@ -32,3 +31,5 @@
             LayoutBlockFlow (anonymous) at (0,0) size 0x0
               LayoutInline {SPAN} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,120) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,112) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.txt
index 5dc98b03..d1bb674 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/fieldset/fieldset-align-expected.txt
@@ -34,7 +34,6 @@
         LayoutBlockFlow (anonymous) at (14,25.59) size 737x22
           LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,282.38) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,300.38) size 769x20
         LayoutText {#text} at (0,0) size 147x19
           text run at (0,0) width 147: "Legend align test, RTL"
@@ -73,7 +72,6 @@
       LayoutBlockFlow (anonymous) at (0,574.75) size 769x0
         LayoutInline {SPAN} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,582.75) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,600.75) size 769x20
         LayoutText {#text} at (0,0) size 270x19
           text run at (0,0) width 270: "Legend align test with margin and padding"
@@ -105,7 +103,6 @@
         LayoutBlockFlow (anonymous) at (17,35) size 705x22
           LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,992.75) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,1010.75) size 769x20
         LayoutText {#text} at (0,0) size 308x19
           text run at (0,0) width 308: "Legend align test with margin and padding, RTL"
@@ -152,6 +149,8 @@
   LayoutBlockFlow {DIV} at (2,3) size 150x16
 layer at (26,251) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
+layer at (8,290) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,282.38) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (609,373) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
 layer at (609,433) size 150x16
@@ -160,6 +159,8 @@
   LayoutBlockFlow {DIV} at (2,3) size 150x16
 layer at (609,552) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
+layer at (8,591) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,582.75) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (42,683) size 150x16 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (2,3) size 150x16
 layer at (42,772) size 150x16 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
@@ -168,6 +169,8 @@
   LayoutBlockFlow {DIV} at (2,3) size 150x16
 layer at (42,950) size 150x16 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (2,3) size 150x16
+layer at (8,1001) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,992.75) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (593,1093) size 150x16 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (2,3) size 150x16
 layer at (593,1182) size 150x16 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.txt
index 3eadbde..44db997 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/floating-textfield-relayout-expected.txt
@@ -16,7 +16,8 @@
             text run at (0,20) width 59: "keystroke"
         LayoutText {#text} at (58,20) size 5x19
           text run at (58,20) width 5: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,74) size 784x0
   LayoutBlockFlow (relative positioned) {DIV} at (0,66) size 784x0
     LayoutTextControl (floating) {INPUT} at (0,0) size 392x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.txt
index 998fcb9..2f294bd 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/image-border-expected.txt
@@ -12,9 +12,10 @@
         LayoutText {#text} at (0,35) size 53x19
           text run at (0,35) width 53: "border:0"
         LayoutImage {IMG} at (53,0) size 338x50
-      LayoutBlockFlow {HR} at (0,119) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,129) size 784x57
         LayoutText {#text} at (0,37) size 53x19
           text run at (0,37) width 53: "border:1"
         LayoutImage {IMG} at (53,0) size 340x52 [border: (1px solid #000000)]
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,127) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,119) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.txt
index 5aa5e21..3f8a443 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/input-value-expected.txt
@@ -10,7 +10,6 @@
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 712x19
           text run at (0,0) width 712: "Results that match Gecko are like WinIE, but with \"before\" for the attribute in the first two rows and the last row."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {FORM} at (0,102) size 784x376
         LayoutTable {TABLE} at (0,0) size 758x376
           LayoutTableSection {THEAD} at (0,0) size 758x26
@@ -204,6 +203,8 @@
               LayoutTableCell {TD} at (695,325) size 61x22 [r=13 c=3 rs=1 cs=1]
                 LayoutText {#text} at (1,1) size 40x19
                   text run at (1,1) width 40: "before"
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (400,140) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
     LayoutText {#text} at (0,0) size 36x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-rtl-expected.txt
index 42fe2cb..f36f8b47 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/menulist-appearance-rtl-expected.txt
@@ -53,7 +53,6 @@
             LayoutText {#text} at (0,0) size 69x19
               text run at (0,0) width 22: "abc"
               text run at (22,0) width 47 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-      LayoutBlockFlow {HR} at (0,252) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,262) size 784x59
         LayoutBlockFlow (anonymous) at (0,0) size 784x20
           LayoutText {#text} at (0,0) size 622x19
@@ -67,10 +66,13 @@
               LayoutText (anonymous) at (4,1) size 91x16
                 text run at (4,1) width 91 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,329) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,347) size 784x20
         LayoutText {#text} at (0,0) size 694x19
           text run at (0,0) width 694: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
+layer at (8,268) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,252) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,345) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,329) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,399) size 784x160
   LayoutBlockFlow {DIV} at (0,383) size 784x160
     LayoutMultiColumnSet (anonymous) at (0,0) size 784x160
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.txt
index 9b78ded..3cfe2cef 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/select/select-visual-hebrew-expected.txt
@@ -6,7 +6,6 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 619x19
           text run at (0,0) width 619 LTR override: "This tests that native pop-ups are rendered in logical order even in visually-ordered Hebrew pages."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,54) size 784x20
         LayoutText {#text} at (0,0) size 381x19
           text run at (0,0) width 381 LTR override: "Text on the pop-up and in the list should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
@@ -16,3 +15,5 @@
             LayoutText (anonymous) at (4,1) size 31x16
               text run at (4,1) width 31 RTL: "\x{5DB}\x{5E4}\x{5EA}\x{5D5}\x{5E8}"
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.txt
index 135bf2a..cbf1ff1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/forms/visual-hebrew-text-field-expected.txt
@@ -15,13 +15,14 @@
             text run at (0,20) width 249 LTR override: "are reversed on \"visual Hebrew\" pages"
         LayoutText {#text} at (248,20) size 5x19
           text run at (248,20) width 5 LTR override: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,74) size 784x20
         LayoutText {#text} at (0,0) size 272x19
           text run at (0,0) width 272 LTR override: "Text in the field should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
       LayoutBlockFlow (anonymous) at (0,110) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 154x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (10,121) size 150x16
   LayoutBlockFlow {DIV} at (2,3) size 150x16
     LayoutText {#text} at (0,0) size 31x16
diff --git a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.txt
index 24ddf213..45825d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/fast/layers/opacity-outline-expected.txt
@@ -16,6 +16,7 @@
             text run at (0,20) width 314: "outline causes the outline to disappear completely"
         LayoutText {#text} at (314,20) size 4x19
           text run at (314,20) width 4: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,74) size 100x100 transparent
   LayoutBlockFlow {DIV} at (0,66) size 100x100 [bgcolor=#C0C0C0]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.txt
index bb22c9e..397654d 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/table_createcaption-expected.txt
@@ -29,7 +29,6 @@
         LayoutText {#text} at (733,0) size 778x39
           text run at (733,0) width 45: ". Upon"
           text run at (0,20) width 584: "failure, the first table will have no caption, and the second table will have the caption Things."
-      LayoutBlockFlow {HR} at (0,168) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (0,178) size 110x102 [border: (1px outset #808080)]
         LayoutBlockFlow {CAPTION} at (0,0) size 110x20
           LayoutInline {B} at (0,0) size 44x19
@@ -86,3 +85,5 @@
             LayoutTableCell {TD} at (74,54) size 51x24 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 39x19
                 text run at (2,2) width 39: "Green"
+layer at (8,176) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,168) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.txt
index 17f8d44..81243d88 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/html/tabular_data/td_colspan_rendering-expected.txt
@@ -23,7 +23,6 @@
           text run at (0,20) width 709: "column in the first row should span only column \"one\" and the second cell should span all of the other columns. "
           text run at (709,20) width 73: "The second"
           text run at (0,40) width 520: "table tests the zero value. \"Just A\" should span \"A\" and \"Just B\" should span \"B.\""
-      LayoutBlockFlow {HR} at (0,208) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,218) size 784x20
         LayoutBR {BR} at (0,0) size 0x19
       LayoutTable {TABLE} at (0,238) size 270x76 [border: (1px outset #808080)]
@@ -102,3 +101,5 @@
             LayoutTableCell {TD} at (177,28) size 16x24 [border: (1px inset #808080)] [r=1 c=7 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 12x19
                 text run at (2,2) width 12: "H"
+layer at (8,216) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,208) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/flexible-box-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/flexible-box-overflow-expected.txt
index 8ee9ff0b..1b3a288 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/flexible-box-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/flexible-box-overflow-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,20) width 238: "their top, left and children's overflows"
         LayoutText {#text} at (237,20) size 5x19
           text run at (237,20) width 5: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,66) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
@@ -40,3 +39,5 @@
               text run at (1,101) width 31: "Nam"
               text run at (1,121) width 98: "consectetuer mi"
               text run at (1,141) width 61: "eget velit."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/flexible-box-overflow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
index 8ee9ff0b..1b3a288 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,20) width 238: "their top, left and children's overflows"
         LayoutText {#text} at (237,20) size 5x19
           text run at (237,20) width 5: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,66) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
@@ -40,3 +39,5 @@
               text run at (1,101) width 31: "Nam"
               text run at (1,121) width 98: "consectetuer mi"
               text run at (1,141) width 61: "eget velit."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/inline-block-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/inline-block-overflow-expected.txt
index 49b1491..3780744 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/inline-block-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/inline-block-overflow-expected.txt
@@ -6,7 +6,6 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 322x19
           text run at (0,0) width 322: "This is a repaint test of inline blocks with overflow."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,46) size 784x20
         LayoutInline {SPAN} at (0,0) size 198x19
           LayoutText {#text} at (0,0) size 98x19
@@ -16,3 +15,5 @@
               text run at (0,0) width 74: "inline block"
               text run at (0,20) width 92: "with overflow."
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-child-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-child-outline-expected.txt
index 5f06479..50deb47b4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-child-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-child-outline-expected.txt
@@ -6,7 +6,8 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 319x19
           text run at (0,0) width 319: "This tests repainting of a layer's children's outlines."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,54) size 100x100
   LayoutBlockFlow (relative positioned) {DIV} at (0,46) size 100x100 [bgcolor=#C0C0C0]
     LayoutBlockFlow {DIV} at (0,0) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-outline-expected.txt
index f0c6cc6..10c2f0a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-outline-expected.txt
@@ -14,7 +14,8 @@
             text run at (554,0) width 194: " Layer outline does not repaint"
         LayoutText {#text} at (747,0) size 5x19
           text run at (747,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,194) size 100x100 clip at (19,195) size 98x98
   LayoutBlockFlow {DIV} at (10,186) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
 layer at (8,54) size 784x130
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-outline-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-outline-horizontal-expected.txt
index f0c6cc6..10c2f0a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-outline-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/layer-outline-horizontal-expected.txt
@@ -14,7 +14,8 @@
             text run at (554,0) width 194: " Layer outline does not repaint"
         LayoutText {#text} at (747,0) size 5x19
           text run at (747,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,194) size 100x100 clip at (19,195) size 98x98
   LayoutBlockFlow {DIV} at (10,186) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
 layer at (8,54) size 784x130
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.txt
index 8d4aaf9..076a8ffc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-expected.txt
@@ -15,7 +15,6 @@
             text run at (523,0) width 244: "Text shadow does not repaint correctly"
         LayoutText {#text} at (766,0) size 5x19
           text run at (766,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (30,68) size 724x21
         LayoutInline {SPAN} at (0,0) size 202x20 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 202x20
@@ -39,3 +38,5 @@
             text run at (0,0) width 97: "Lorem ipsum"
         LayoutText {#text} at (97,1) size 89x19
           text run at (97,1) width 89: " dolor sit amet"
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.txt
index 8d4aaf9..076a8ffc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/text-shadow-horizontal-expected.txt
@@ -15,7 +15,6 @@
             text run at (523,0) width 244: "Text shadow does not repaint correctly"
         LayoutText {#text} at (766,0) size 5x19
           text run at (766,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (30,68) size 724x21
         LayoutInline {SPAN} at (0,0) size 202x20 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 202x20
@@ -39,3 +38,5 @@
             text run at (0,0) width 97: "Lorem ipsum"
         LayoutText {#text} at (97,1) size 89x19
           text run at (97,1) width 89: " dolor sit amet"
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.txt
index 625653f..d655f7b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/plugins/embed-attributes-style-expected.txt
@@ -9,7 +9,6 @@
           text run at (395,0) width 366: "Previous versions of WebKit supported valign and border,"
           text run at (0,20) width 43: "which "
           text run at (43,20) width 451: "didn't match IE and FF. The only special support should be for 'hidden.'"
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,66) size 784x0
       LayoutBlockFlow {DIV} at (0,66) size 784x105
         LayoutText {#text} at (50,85) size 122x19
@@ -23,6 +22,8 @@
         LayoutText {#text} at (52,87) size 102x19
           text run at (52,87) width 4: " "
           text run at (56,87) width 98: "hidden attribute"
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,74) size 50x100
   LayoutEmbeddedObject (relative positioned) {EMBED} at (0,0) size 50x100
 layer at (8,179) size 50x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/absolute-position-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/printing/absolute-position-headers-and-footers-expected.txt
index 2de4fbb..01a0487 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/absolute-position-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/absolute-position-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 606x20
         LayoutText {#text} at (0,0) size 606x19
           text run at (0,0) width 606: "crbug.com/303728: Header Line is absolute positioned so should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 606x2 [border: (1px inset #EEEEEE)]
+layer at (8,28) size 606x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 606x2 [border: (1px inset #EEEEEE)]
 layer at (8,761) size 601x38
   LayoutBlockFlow (positioned) {DIV} at (8,761) size 601x38
     LayoutBlockFlow {DIV} at (0,8) size 601x30
-      LayoutBlockFlow {HR} at (0,0) size 601x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 601x20
         LayoutText {#text} at (0,0) size 601x19
           text run at (0,0) width 601: "crbug.com/303728: Footer Line is absolute positioned so should not be repeated on every page."
+layer at (8,769) size 601x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 601x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-but-static-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
index b1e3497..5753a61 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 667x20
         LayoutText {#text} at (0,0) size 667x19
           text run at (0,0) width 667: "crbug.com/303728: Fixed-position header Line is statically positioned and will be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 667x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 667x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 667x2 [border: (1px inset #EEEEEE)]
 layer at (8,2685) size 613x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (8,2685) size 613x38
     LayoutBlockFlow {DIV} at (0,8) size 613x30
-      LayoutBlockFlow {HR} at (0,0) size 613x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 613x20
         LayoutText {#text} at (0,0) size 613x19
           text run at (0,0) width 613: "crbug.com/303728: Footer Line is statically positioned and should not be repeated on every page."
+layer at (8,2693) size 613x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 613x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
index 81b9030b..f001a86 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
@@ -11,7 +11,8 @@
         LayoutText {#text} at (0,0) size 466x39
           text run at (0,0) width 466: "crbug.com/303728: Header Line should be repeated on every page except"
           text run at (0,20) width 377: "where it's clipped by the absolute element on pages 3 and 4."
-      LayoutBlockFlow {HR} at (0,48) size 500x2 [border: (1px inset #EEEEEE)]
+layer at (5,53) size 500x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,48) size 500x2 [border: (1px inset #EEEEEE)]
 layer at (0,1000) size 600x2000 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,1000) size 600x2000 [bgcolor=#000000]
     LayoutText zI: 2 {#text} at (0,0) size 57x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-expected.txt
index 978427f..36751ff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 516x20
         LayoutText {#text} at (0,0) size 516x19
           text run at (0,0) width 516: "crbug.com/303728: Fixed-position header Line should be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 516x2 [border: (1px inset #EEEEEE)]
+layer at (8,28) size 516x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 516x2 [border: (1px inset #EEEEEE)]
 layer at (8,761) size 420x38
   LayoutBlockFlow (positioned) {DIV} at (8,761) size 420x38
     LayoutBlockFlow {DIV} at (0,8) size 420x30
-      LayoutBlockFlow {HR} at (0,0) size 420x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 420x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "crbug.com/303728: Footer Line should be repeated on every page."
+layer at (8,769) size 420x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 420x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
index ff752a5..fc91a85 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
@@ -233,13 +233,15 @@
       LayoutBlockFlow (anonymous) at (0,0) size 449x20
         LayoutText {#text} at (0,0) size 449x19
           text run at (0,0) width 449: "crbug.com/303728: Header Line should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 449x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 449x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 449x2 [border: (1px inset #EEEEEE)]
 layer at (8,2685) size 1030x0
   LayoutBlockFlow {DIV} at (0,2669) size 1030x0
 layer at (8,2647) size 444x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (0,-38) size 444x38
     LayoutBlockFlow {DIV} at (0,8) size 444x30
-      LayoutBlockFlow {HR} at (0,0) size 444x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 444x20
         LayoutText {#text} at (0,0) size 444x19
           text run at (0,0) width 444: "crbug.com/303728: Footer Line should not be repeated on every page."
+layer at (8,2655) size 444x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 444x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
index 2f703cab..fb731ac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 2000x20
         LayoutText {#text} at (0,0) size 696x19
           text run at (0,0) width 696: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
-      LayoutBlockFlow {HR} at (0,28) size 2000x2 [border: (1px inset #EEEEEE)]
+layer at (13,33) size 2000x2 backgroundClip at (13,33) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 2000x2 [border: (1px inset #EEEEEE)]
 layer at (8,751) size 2010x48 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (8,751) size 2010x48 [border: (5px solid #000000)]
     LayoutBlockFlow {DIV} at (5,13) size 2000x30
-      LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 2000x20
         LayoutText {#text} at (0,0) size 696x19
           text run at (0,0) width 696: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
+layer at (13,764) size 2000x2 backgroundClip at (13,764) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.txt
index 97d1450f..00f324b 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/custom/svg-float-border-padding-expected.txt
@@ -15,7 +15,6 @@
       LayoutBlockFlow {p} at (0,232) size 784x20
         LayoutText {#text} at (0,0) size 353x19
           text run at (0,0) width 353: "There should be a red, white and blue pattern above this"
-      LayoutBlockFlow {hr} at (0,268) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {p} at (0,286) size 784x20
         LayoutText {#text} at (0,0) size 354x19
           text run at (0,0) width 354: "There should be a red, white and blue pattern below this"
@@ -24,3 +23,5 @@
       LayoutBlockFlow {p} at (0,482) size 784x20
         LayoutText {#text} at (0,0) size 353x19
           text run at (0,0) width 353: "There should be a red, white and blue pattern above this"
+layer at (8,276) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {hr} at (0,268) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
index 5d63c8d..4b4e705 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
@@ -16,7 +16,6 @@
       LayoutBlockFlow {p} at (0,357.41) size 761.97x27
         LayoutText {#text} at (0,0) size 523x26
           text run at (0,0) width 523: "There should be a red, white and blue pattern above this"
-      LayoutBlockFlow {hr} at (0,407.44) size 761.97x2.88 [border: (1.44px inset #EEEEEE)]
       LayoutBlockFlow {p} at (0,433.34) size 761.97x27
         LayoutText {#text} at (0,0) size 524x26
           text run at (0,0) width 524: "There should be a red, white and blue pattern below this"
@@ -25,3 +24,5 @@
       LayoutBlockFlow {p} at (0,713.73) size 761.97x27
         LayoutText {#text} at (0,0) size 523x26
           text run at (0,0) width 523: "There should be a red, white and blue pattern above this"
+layer at (12,419) size 762x3 backgroundClip at (12,419) size 761x3 clip at (0,0) size 0x0
+  LayoutBlockFlow {hr} at (0,407.44) size 761.97x2.88 [border: (1.44px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
index 56ca777..f4ef9d1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
@@ -16,7 +16,6 @@
       LayoutBlockFlow {p} at (0,287.06) size 769x27
         LayoutText {#text} at (0,0) size 523x26
           text run at (0,0) width 523: "There should be a red, white and blue pattern above this"
-      LayoutBlockFlow {hr} at (0,337.09) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {p} at (0,362.13) size 769x27
         LayoutText {#text} at (0,0) size 524x26
           text run at (0,0) width 524: "There should be a red, white and blue pattern below this"
@@ -25,3 +24,5 @@
       LayoutBlockFlow {p} at (0,572.16) size 769x27
         LayoutText {#text} at (0,0) size 523x26
           text run at (0,0) width 523: "There should be a red, white and blue pattern above this"
+layer at (8,345) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {hr} at (0,337.09) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-expected.txt
index 8ee9ff0b..1b3a288 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,20) width 238: "their top, left and children's overflows"
         LayoutText {#text} at (237,20) size 5x19
           text run at (237,20) width 5: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,66) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
@@ -40,3 +39,5 @@
               text run at (1,101) width 31: "Nam"
               text run at (1,121) width 98: "consectetuer mi"
               text run at (1,141) width 61: "eget velit."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
index 8ee9ff0b..1b3a288 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,20) width 238: "their top, left and children's overflows"
         LayoutText {#text} at (237,20) size 5x19
           text run at (237,20) width 5: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,66) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
@@ -40,3 +39,5 @@
               text run at (1,101) width 31: "Nam"
               text run at (1,121) width 98: "consectetuer mi"
               text run at (1,141) width 61: "eget velit."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/inline-block-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/inline-block-overflow-expected.txt
index 49b1491..3780744 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/inline-block-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/inline-block-overflow-expected.txt
@@ -6,7 +6,6 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 322x19
           text run at (0,0) width 322: "This is a repaint test of inline blocks with overflow."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,46) size 784x20
         LayoutInline {SPAN} at (0,0) size 198x19
           LayoutText {#text} at (0,0) size 98x19
@@ -16,3 +15,5 @@
               text run at (0,0) width 74: "inline block"
               text run at (0,20) width 92: "with overflow."
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-child-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-child-outline-expected.txt
index 5f06479..50deb47b4 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-child-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-child-outline-expected.txt
@@ -6,7 +6,8 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 319x19
           text run at (0,0) width 319: "This tests repainting of a layer's children's outlines."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,54) size 100x100
   LayoutBlockFlow (relative positioned) {DIV} at (0,46) size 100x100 [bgcolor=#C0C0C0]
     LayoutBlockFlow {DIV} at (0,0) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-outline-expected.txt
index f0c6cc6..10c2f0a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-outline-expected.txt
@@ -14,7 +14,8 @@
             text run at (554,0) width 194: " Layer outline does not repaint"
         LayoutText {#text} at (747,0) size 5x19
           text run at (747,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,194) size 100x100 clip at (19,195) size 98x98
   LayoutBlockFlow {DIV} at (10,186) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
 layer at (8,54) size 784x130
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-outline-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-outline-horizontal-expected.txt
index f0c6cc6..10c2f0a 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-outline-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/layer-outline-horizontal-expected.txt
@@ -14,7 +14,8 @@
             text run at (554,0) width 194: " Layer outline does not repaint"
         LayoutText {#text} at (747,0) size 5x19
           text run at (747,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,194) size 100x100 clip at (19,195) size 98x98
   LayoutBlockFlow {DIV} at (10,186) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
 layer at (8,54) size 784x130
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/text-shadow-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/text-shadow-expected.txt
index 8d4aaf9..076a8ffc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/text-shadow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/text-shadow-expected.txt
@@ -15,7 +15,6 @@
             text run at (523,0) width 244: "Text shadow does not repaint correctly"
         LayoutText {#text} at (766,0) size 5x19
           text run at (766,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (30,68) size 724x21
         LayoutInline {SPAN} at (0,0) size 202x20 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 202x20
@@ -39,3 +38,5 @@
             text run at (0,0) width 97: "Lorem ipsum"
         LayoutText {#text} at (97,1) size 89x19
           text run at (97,1) width 89: " dolor sit amet"
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/text-shadow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/text-shadow-horizontal-expected.txt
index 8d4aaf9..076a8ffc 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/text-shadow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/text-shadow-horizontal-expected.txt
@@ -15,7 +15,6 @@
             text run at (523,0) width 244: "Text shadow does not repaint correctly"
         LayoutText {#text} at (766,0) size 5x19
           text run at (766,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (30,68) size 724x21
         LayoutInline {SPAN} at (0,0) size 202x20 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 202x20
@@ -39,3 +38,5 @@
             text run at (0,0) width 97: "Lorem ipsum"
         LayoutText {#text} at (97,1) size 89x19
           text run at (97,1) width 89: " dolor sit amet"
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/comments-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/comments-expected.txt
new file mode 100644
index 0000000..1a9619c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/comments-expected.txt
@@ -0,0 +1,101 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 921
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x921 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x921
+    LayoutBlockFlow {BODY} at (8,8) size 769x905 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x240
+        LayoutText {#text} at (0,0) size 334x240
+          text run at (0,0) width 230: "/* This is a CSS1 comment. */"
+          text run at (230,0) width 0: " "
+          text run at (0,16) width 334: ".one {color: green;} /* Another comment */"
+          text run at (334,16) width 0: " "
+          text run at (0,32) width 287: "/* The following should not be used:"
+          text run at (287,32) width 0: " "
+          text run at (0,48) width 167: ".two {color: red;} */"
+          text run at (167,48) width 0: " "
+          text run at (0,64) width 318: ".three {color: green; /* color: red; */}"
+          text run at (318,64) width 0: " "
+          text run at (0,80) width 22: "/**"
+          text run at (22,80) width 0: " "
+          text run at (0,96) width 175: ".four {color: red;} */"
+          text run at (175,96) width 0: " "
+          text run at (0,112) width 168: ".five {color: green;}"
+          text run at (168,112) width 0: " "
+          text run at (0,128) width 30: "/**/"
+          text run at (30,128) width 0: " "
+          text run at (0,144) width 160: ".six {color: green;}"
+          text run at (160,144) width 0: " "
+          text run at (0,160) width 79: "/*********/"
+          text run at (79,160) width 0: " "
+          text run at (0,176) width 176: ".seven {color: green;}"
+          text run at (176,176) width 0: " "
+          text run at (0,192) width 125: "/* a comment **/"
+          text run at (125,192) width 0: " "
+          text run at (0,208) width 176: ".eight {color: green;}"
+          text run at (176,208) width 0: " "
+          text run at (0,224) width 0: " "
+      LayoutBlockFlow {P} at (0,307) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,343) size 769x20
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,379) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,415) size 769x20
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,451) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,487) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,523) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,559) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutTable {TABLE} at (0,595) size 216x310 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 214x308
+          LayoutTableRow {TR} at (0,0) size 214x28
+            LayoutTableCell {TD} at (0,0) size 214x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 214x280
+            LayoutTableCell {TD} at (0,154) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 202x280 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 194x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,40) size 194x20
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,76) size 194x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,112) size 194x20
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,148) size 194x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,184) size 194x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,220) size 194x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,256) size 194x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+layer at (8,297) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,289) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/containment-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/containment-expected.txt
new file mode 100644
index 0000000..3e77590
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/containment-expected.txt
@@ -0,0 +1,211 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1029
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1029 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1029
+    LayoutBlockFlow {BODY} at (8,8) size 769x1013 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x160
+        LayoutText {#text} at (0,0) size 728x160
+          text run at (0,0) width 624: "<LINK rel=\"stylesheet\" type=\"text/css\" href=\"linktest.css\" title=\"Default SS\">"
+          text run at (624,0) width 0: " "
+          text run at (0,16) width 728: "<LINK rel=\"alternate stylesheet\" type=\"text/css\" href=\"linktest2.css\" title=\"Alternate SS\">"
+          text run at (728,16) width 0: " "
+          text run at (0,32) width 208: "@import url(imptest1.css);"
+          text run at (208,32) width 0: " "
+          text run at (0,48) width 192: "@import \"imptest1a.css\";"
+          text run at (192,48) width 0: " "
+          text run at (0,64) width 128: "UL {color: red;}"
+          text run at (128,64) width 0: " "
+          text run at (0,80) width 176: ".four {color: purple;}"
+          text run at (176,80) width 0: " "
+          text run at (0,96) width 208: "@import url(imptest2.css);"
+          text run at (208,96) width 0: " "
+          text run at (0,112) width 32: "<!--"
+          text run at (32,112) width 0: " "
+          text run at (0,128) width 168: "P.six {color: green;}"
+          text run at (168,128) width 0: " "
+          text run at (0,144) width 24: "-->"
+          text run at (24,144) width 0: " "
+      LayoutBlockFlow {P} at (0,227) size 769x20
+        LayoutText {#text} at (0,0) size 404x19
+          text run at (0,0) width 404: "This sentence should be underlined due to the linked style sheet "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (404,3) size 96x16
+            text run at (404,3) width 96: "linktest.css"
+        LayoutText {#text} at (500,0) size 254x19
+          text run at (500,0) width 254: ", the reference to which is shown above."
+      LayoutBlockFlow {P} at (0,263) size 769x40
+        LayoutText {#text} at (0,0) size 442x19
+          text run at (0,0) width 442: "This sentence should NOT be underlined due to the linked style sheet "
+        LayoutInline {CODE} at (0,0) size 104x16
+          LayoutText {#text} at (442,3) size 104x16
+            text run at (442,3) width 104: "linktest2.css"
+        LayoutText {#text} at (546,0) size 8x19
+          text run at (546,0) width 8: ", "
+        LayoutInline {STRONG} at (0,0) size 41x19
+          LayoutText {#text} at (554,0) size 41x19
+            text run at (554,0) width 41: "unless"
+        LayoutText {#text} at (595,0) size 741x39
+          text run at (595,0) width 146: " the external style sheet"
+          text run at (0,20) width 325: "\"Alternate SS\" has been selected via the user agent."
+      LayoutBlockFlow {UL} at (0,319) size 769x60 [color=#FF0000]
+        LayoutListItem {LI} at (40,0) size 729x20 [color=#008000]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 390x19
+            text run at (0,0) width 390: "This sentence should be green due to an imported style sheet ["
+          LayoutInline {CODE} at (0,0) size 208x16
+            LayoutText {#text} at (390,3) size 208x16
+              text run at (390,3) width 208: "@import url(imptest1.css);"
+          LayoutText {#text} at (598,0) size 9x19
+            text run at (598,0) width 9: "]."
+        LayoutListItem {LI} at (40,20) size 729x20 [color=#800080]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 395x19
+            text run at (0,0) width 395: "This sentence should be purple due to an imported style sheet ["
+          LayoutInline {CODE} at (0,0) size 184x16
+            LayoutText {#text} at (395,3) size 184x16
+              text run at (395,3) width 184: "@import \"imptest1a.css\""
+          LayoutText {#text} at (579,0) size 9x19
+            text run at (579,0) width 9: "]."
+        LayoutListItem {LI} at (40,40) size 729x20 [color=#008000]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 393x19
+            text run at (0,0) width 393: "This sentence should be green thanks to the STYLE attribute ["
+          LayoutInline {CODE} at (0,0) size 168x16
+            LayoutText {#text} at (393,3) size 168x16
+              text run at (393,3) width 168: "STYLE=\"color: green;\""
+          LayoutText {#text} at (561,0) size 9x19
+            text run at (561,0) width 9: "]."
+      LayoutBlockFlow {P} at (0,395) size 769x20 [color=#800080]
+        LayoutText {#text} at (0,0) size 500x19
+          text run at (0,0) width 500: "This sentence should be purple, and it doesn't have a terminating paragraph tag."
+      LayoutBlockFlow {OL} at (0,431) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
+          LayoutText {#text} at (0,0) size 201x19
+            text run at (0,0) width 201: "This list should NOT be purple."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "2"
+          LayoutText {#text} at (0,0) size 172x19
+            text run at (0,0) width 172: "It should, instead, be black."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
+          LayoutText {#text} at (0,0) size 501x19
+            text run at (0,0) width 501: "If it IS purple, then the browser hasn't correctly parsed the preceding paragraph."
+      LayoutBlockFlow {P} at (0,507) size 769x40
+        LayoutText {#text} at (0,0) size 697x19
+          text run at (0,0) width 197: "This sentence should be black. "
+          text run at (197,0) width 500: "If it is red, then the browser has inappropriately imported the styles from the file"
+        LayoutInline {TT} at (0,0) size 96x16
+          LayoutText {#text} at (0,23) size 96x16
+            text run at (0,23) width 96: "imptest2.css"
+        LayoutText {#text} at (96,20) size 33x19
+          text run at (96,20) width 33: " (see "
+        LayoutInline {A} at (0,0) size 68x19 [color=#0000FF]
+          LayoutText {#text} at (129,20) size 68x19
+            text run at (129,20) width 68: "section 3.0"
+        LayoutText {#text} at (197,20) size 275x19
+          text run at (197,20) width 275: " of the CSS1 specification for more details)."
+      LayoutBlockFlow {P} at (0,563) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This paragraph should be green."
+      LayoutTable {TABLE} at (0,599) size 769x414 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x412
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x384
+            LayoutTableCell {TD} at (0,206) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x384 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 404x19
+                  text run at (0,0) width 404: "This sentence should be underlined due to the linked style sheet "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (404,3) size 96x16
+                    text run at (404,3) width 96: "linktest.css"
+                LayoutText {#text} at (500,0) size 708x39
+                  text run at (500,0) width 208: ", the reference to which is shown"
+                  text run at (0,20) width 42: "above."
+              LayoutBlockFlow {P} at (4,60) size 747x40
+                LayoutText {#text} at (0,0) size 442x19
+                  text run at (0,0) width 442: "This sentence should NOT be underlined due to the linked style sheet "
+                LayoutInline {CODE} at (0,0) size 104x16
+                  LayoutText {#text} at (442,3) size 104x16
+                    text run at (442,3) width 104: "linktest2.css"
+                LayoutText {#text} at (546,0) size 8x19
+                  text run at (546,0) width 8: ", "
+                LayoutInline {STRONG} at (0,0) size 41x19
+                  LayoutText {#text} at (554,0) size 41x19
+                    text run at (554,0) width 41: "unless"
+                LayoutText {#text} at (595,0) size 741x39
+                  text run at (595,0) width 146: " the external style sheet"
+                  text run at (0,20) width 325: "\"Alternate SS\" has been selected via the user agent."
+              LayoutBlockFlow {UL} at (4,116) size 747x60 [color=#FF0000]
+                LayoutListItem {LI} at (40,0) size 707x20 [color=#008000]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 390x19
+                    text run at (0,0) width 390: "This sentence should be green due to an imported style sheet ["
+                  LayoutInline {CODE} at (0,0) size 208x16
+                    LayoutText {#text} at (390,3) size 208x16
+                      text run at (390,3) width 208: "@import url(imptest1.css);"
+                  LayoutText {#text} at (598,0) size 9x19
+                    text run at (598,0) width 9: "]."
+                LayoutListItem {LI} at (40,20) size 707x20 [color=#800080]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 395x19
+                    text run at (0,0) width 395: "This sentence should be purple due to an imported style sheet ["
+                  LayoutInline {CODE} at (0,0) size 184x16
+                    LayoutText {#text} at (395,3) size 184x16
+                      text run at (395,3) width 184: "@import \"imptest1a.css\""
+                  LayoutText {#text} at (579,0) size 9x19
+                    text run at (579,0) width 9: "]."
+                LayoutListItem {LI} at (40,40) size 707x20 [color=#008000]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 393x19
+                    text run at (0,0) width 393: "This sentence should be green thanks to the STYLE attribute ["
+                  LayoutInline {CODE} at (0,0) size 168x16
+                    LayoutText {#text} at (393,3) size 168x16
+                      text run at (393,3) width 168: "STYLE=\"color: green;\""
+                  LayoutText {#text} at (561,0) size 9x19
+                    text run at (561,0) width 9: "]."
+              LayoutBlockFlow {P} at (4,192) size 747x20 [color=#800080]
+                LayoutText {#text} at (0,0) size 500x19
+                  text run at (0,0) width 500: "This sentence should be purple, and it doesn't have a terminating paragraph tag."
+              LayoutBlockFlow {OL} at (4,228) size 747x60
+                LayoutListItem {LI} at (40,0) size 707x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
+                  LayoutText {#text} at (0,0) size 201x19
+                    text run at (0,0) width 201: "This list should NOT be purple."
+                LayoutListItem {LI} at (40,20) size 707x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "2"
+                  LayoutText {#text} at (0,0) size 172x19
+                    text run at (0,0) width 172: "It should, instead, be black."
+                LayoutListItem {LI} at (40,40) size 707x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
+                  LayoutText {#text} at (0,0) size 501x19
+                    text run at (0,0) width 501: "If it IS purple, then the browser hasn't correctly parsed the preceding paragraph."
+              LayoutBlockFlow {P} at (4,304) size 747x40
+                LayoutText {#text} at (0,0) size 697x19
+                  text run at (0,0) width 197: "This sentence should be black. "
+                  text run at (197,0) width 500: "If it is red, then the browser has inappropriately imported the styles from the file"
+                LayoutInline {TT} at (0,0) size 96x16
+                  LayoutText {#text} at (0,23) size 96x16
+                    text run at (0,23) width 96: "imptest2.css"
+                LayoutText {#text} at (96,20) size 33x19
+                  text run at (96,20) width 33: " (see "
+                LayoutInline {A} at (0,0) size 68x19 [color=#0000FF]
+                  LayoutText {#text} at (129,20) size 68x19
+                    text run at (129,20) width 68: "section 3.0"
+                LayoutText {#text} at (197,20) size 275x19
+                  text run at (197,20) width 275: " of the CSS1 specification for more details)."
+              LayoutBlockFlow {P} at (4,360) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This paragraph should be green."
+layer at (8,217) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/contextual_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/contextual_selectors-expected.txt
new file mode 100644
index 0000000..0c57862
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/contextual_selectors-expected.txt
@@ -0,0 +1,83 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20 [color=#000080]
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 472x64
+          text run at (0,0) width 288: "P {color: navy; font-family: serif;}"
+          text run at (288,0) width 0: " "
+          text run at (0,16) width 472: "HTML BODY TABLE P {color: purple; font-family: sans-serif;}"
+          text run at (472,16) width 0: " "
+          text run at (0,32) width 224: "EM, UL LI LI {color: green;}"
+          text run at (224,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x20 [color=#000080]
+        LayoutText {#text} at (0,0) size 625x19
+          text run at (0,0) width 625: "This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table."
+      LayoutBlockFlow {P} at (0,167) size 784x20 [color=#000080]
+        LayoutText {#text} at (0,0) size 559x19
+          text run at (0,0) width 559: "This sentence should be normal for its section, except for the last word, which should be "
+        LayoutInline {EM} at (0,0) size 36x19 [color=#008000]
+          LayoutText {#text} at (559,0) size 36x19
+            text run at (559,0) width 36: "green"
+        LayoutText {#text} at (594,0) size 5x19
+          text run at (594,0) width 5: "."
+      LayoutBlockFlow {UL} at (0,203) size 784x40
+        LayoutListItem {LI} at (40,0) size 744x40
+          LayoutBlockFlow (anonymous) at (0,0) size 744x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutInline {EM} at (0,0) size 39x19 [color=#008000]
+              LayoutText {#text} at (0,0) size 39x19
+                text run at (0,0) width 39: "Hello."
+            LayoutText {#text} at (39,0) size 399x19
+              text run at (39,0) width 4: " "
+              text run at (43,0) width 395: "The first \"hello\" should be green, but this part should be black."
+          LayoutBlockFlow {UL} at (0,20) size 744x20
+            LayoutListItem {LI} at (40,0) size 704x20 [color=#008000]
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 136x19
+                text run at (0,0) width 136: "This should be green."
+      LayoutTable {TABLE} at (0,259) size 722x165 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 720x163
+          LayoutTableRow {TR} at (0,0) size 720x28
+            LayoutTableCell {TD} at (0,0) size 720x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 720x135
+            LayoutTableCell {TD} at (0,81) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 708x135 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 700x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 700x18
+                  text run at (0,0) width 700: "This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table."
+              LayoutBlockFlow {P} at (4,39) size 700x20 [color=#800080]
+                LayoutText {#text} at (0,1) size 623x18
+                  text run at (0,1) width 623: "This sentence should be normal for its section, except for the last word, which should be "
+                LayoutInline {EM} at (0,0) size 41x19 [color=#008000]
+                  LayoutText {#text} at (623,0) size 41x19
+                    text run at (623,0) width 41: "green"
+                LayoutText {#text} at (664,1) size 4x18
+                  text run at (664,1) width 4: "."
+              LayoutBlockFlow {UL} at (4,75) size 700x40
+                LayoutListItem {LI} at (40,0) size 660x40
+                  LayoutBlockFlow (anonymous) at (0,0) size 660x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutInline {EM} at (0,0) size 39x19 [color=#008000]
+                      LayoutText {#text} at (0,0) size 39x19
+                        text run at (0,0) width 39: "Hello."
+                    LayoutText {#text} at (39,0) size 399x19
+                      text run at (39,0) width 4: " "
+                      text run at (43,0) width 395: "The first \"hello\" should be green, but this part should be black."
+                  LayoutBlockFlow {UL} at (0,20) size 660x20
+                    LayoutListItem {LI} at (40,0) size 620x20 [color=#008000]
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 136x19
+                        text run at (0,0) width 136: "This should be green."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/grouping-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/grouping-expected.txt
new file mode 100644
index 0000000..2b6ca6d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/grouping-expected.txt
@@ -0,0 +1,45 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 272x32
+          text run at (0,0) width 272: ".one, .two, .three {color: green;}"
+          text run at (272,0) width 0: " "
+          text run at (0,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,135) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,171) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutTable {TABLE} at (0,207) size 216x130 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 214x128
+          LayoutTableRow {TR} at (0,0) size 214x28
+            LayoutTableCell {TD} at (0,0) size 214x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 214x100
+            LayoutTableCell {TD} at (0,64) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 202x100 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 194x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,40) size 194x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,76) size 194x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/id_as_selector-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/id_as_selector-expected.txt
new file mode 100644
index 0000000..05ba2d1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/id_as_selector-expected.txt
@@ -0,0 +1,93 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 659
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x659 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x659
+    LayoutBlockFlow {BODY} at (8,8) size 769x643 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x128
+        LayoutText {#text} at (0,0) size 272x128
+          text run at (0,0) width 160: "#one {color: green;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 152: "#a1 {color: green;}"
+          text run at (152,16) width 0: " "
+          text run at (0,32) width 224: "P#two, P#two2 {color: blue;}"
+          text run at (224,32) width 0: " "
+          text run at (0,48) width 272: "P#three, P#three2 {color: purple;}"
+          text run at (272,48) width 0: " "
+          text run at (0,64) width 168: "#four {color: green;}"
+          text run at (168,64) width 0: " "
+          text run at (0,80) width 152: "#a2 {color: green;}"
+          text run at (152,80) width 0: " "
+          text run at (0,96) width 240: "P#five, P#five2 {color: blue;}"
+          text run at (240,96) width 0: " "
+          text run at (0,112) width 240: "P#six, P#six2 {color: purple;}"
+      LayoutBlockFlow {P} at (0,195) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,231) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,267) size 769x20 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 200x19
+          text run at (0,0) width 200: "This paragraph should be blue ["
+        LayoutInline {TT} at (0,0) size 64x16
+          LayoutText {#text} at (200,3) size 64x16
+            text run at (200,3) width 64: "ID=\"two\""
+        LayoutText {#text} at (264,0) size 9x19
+          text run at (264,0) width 9: "]."
+      LayoutBlockFlow {PRE} at (0,303) size 769x16
+        LayoutText {#text} at (0,0) size 392x16
+          text run at (0,0) width 392: "This sentence should NOT be blue [PRE ID=\"two2\"]."
+          text run at (392,0) width 0: " "
+      LayoutBlockFlow {PRE} at (0,332) size 769x16
+        LayoutText {#text} at (0,0) size 472x16
+          text run at (0,0) width 472: "This sentence should be black, not purple [PRE ID=\"three\"]."
+          text run at (472,0) width 0: " "
+      LayoutBlockFlow {UL} at (0,364) size 769x20
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 237x19
+            text run at (0,0) width 237: "This sentence should NOT be purple."
+      LayoutTable {TABLE} at (0,400) size 422x243 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 420x241
+          LayoutTableRow {TR} at (0,0) size 420x28
+            LayoutTableCell {TD} at (0,0) size 420x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 420x213
+            LayoutTableCell {TD} at (0,120) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 408x213 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 400x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,40) size 400x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,76) size 400x20 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 200x19
+                  text run at (0,0) width 200: "This paragraph should be blue ["
+                LayoutInline {TT} at (0,0) size 72x16
+                  LayoutText {#text} at (200,3) size 72x16
+                    text run at (200,3) width 72: "ID=\"five\""
+                LayoutText {#text} at (272,0) size 9x19
+                  text run at (272,0) width 9: "]."
+              LayoutBlockFlow {PRE} at (4,112) size 400x16
+                LayoutText {#text} at (0,0) size 400x16
+                  text run at (0,0) width 400: "This sentence should NOT be blue [PRE ID=\"five2\"]."
+                  text run at (400,0) width 0: " "
+              LayoutBlockFlow {PRE} at (4,141) size 400x16
+                LayoutText {#text} at (0,0) size 360x16
+                  text run at (0,0) width 360: "This sentence should be black [PRE ID=\"six\"]."
+                  text run at (360,0) width 0: " "
+              LayoutBlockFlow {UL} at (4,173) size 400x20
+                LayoutListItem {LI} at (40,0) size 360x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 237x19
+                    text run at (0,0) width 237: "This sentence should NOT be purple."
+layer at (8,185) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/inheritance-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/inheritance-expected.txt
new file mode 100644
index 0000000..385205e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/basic/inheritance-expected.txt
@@ -0,0 +1,190 @@
+layer at (0,0) size 800x600 scrollHeight 768
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x768 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x767.59
+    LayoutBlockFlow {BODY} at (8,8) size 784x751.59 [color=#008000] [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x112
+        LayoutText {#text} at (0,0) size 272x112
+          text run at (0,0) width 160: "BODY {color: green;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 136: "H3 {color: blue;}"
+          text run at (136,16) width 0: " "
+          text run at (0,32) width 152: "EM {color: purple;}"
+          text run at (152,32) width 0: " "
+          text run at (0,48) width 208: ".one {font-style: italic;}"
+          text run at (208,48) width 0: " "
+          text run at (0,64) width 272: ".two {text-decoration: underline;}"
+          text run at (272,64) width 0: " "
+          text run at (0,80) width 152: "#two {color: navy;}"
+          text run at (152,80) width 0: " "
+          text run at (0,96) width 184: ".three {color: purple;}"
+          text run at (184,96) width 0: " "
+      LayoutBlockFlow {H3} at (0,181.72) size 784x24 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 220x22
+          text run at (0,0) width 220: "This sentence should show "
+        LayoutInline {STRONG} at (0,0) size 35x22
+          LayoutText {#text} at (220,0) size 35x22
+            text run at (220,0) width 35: "blue"
+        LayoutText {#text} at (255,0) size 42x22
+          text run at (255,0) width 42: " and "
+        LayoutInline {EM} at (0,0) size 51x22 [color=#800080]
+          LayoutText {#text} at (297,1) size 51x22
+            text run at (297,1) width 51: "purple"
+        LayoutText {#text} at (348,0) size 5x22
+          text run at (348,0) width 5: "."
+      LayoutBlockFlow {H3} at (0,224.44) size 784x24 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 197x22
+          text run at (0,0) width 197: "This sentence should be "
+        LayoutInline {SPAN} at (0,0) size 34x22
+          LayoutText {#text} at (197,1) size 34x22
+            text run at (197,1) width 34: "blue"
+        LayoutText {#text} at (231,0) size 104x22
+          text run at (231,0) width 104: " throughout."
+      LayoutBlockFlow {P} at (0,267.16) size 784x20
+        LayoutText {#text} at (0,0) size 226x19
+          text run at (0,0) width 226: "This should be green except for the "
+        LayoutInline {EM} at (0,0) size 117x19 [color=#800080]
+          LayoutText {#text} at (226,0) size 117x19
+            text run at (226,0) width 117: "emphasized words"
+        LayoutText {#text} at (342,0) size 161x19
+          text run at (342,0) width 161: ", which should be purple."
+      LayoutBlockFlow {H3} at (0,305.88) size 784x23 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 296x22
+          text run at (0,0) width 296: "This should be blue and underlined."
+      LayoutBlockFlow {P} at (0,347.59) size 784x20
+        LayoutText {#text} at (0,0) size 293x19
+          text run at (0,0) width 293: "This sentence should be underlined, including "
+        LayoutInline {TT} at (0,0) size 72x16
+          LayoutText {#text} at (293,3) size 72x16
+            text run at (293,3) width 72: "this part"
+        LayoutText {#text} at (365,0) size 8x19
+          text run at (365,0) width 8: ", "
+        LayoutInline {I} at (0,0) size 52x19
+          LayoutText {#text} at (373,0) size 52x19
+            text run at (373,0) width 52: "this part"
+        LayoutText {#text} at (425,0) size 8x19
+          text run at (425,0) width 8: ", "
+        LayoutInline {EM} at (0,0) size 52x19 [color=#800080]
+          LayoutText {#text} at (433,0) size 52x19
+            text run at (433,0) width 52: "this part"
+        LayoutText {#text} at (485,0) size 35x19
+          text run at (485,0) width 35: ", and "
+        LayoutInline {STRONG} at (0,0) size 57x19
+          LayoutText {#text} at (520,0) size 57x19
+            text run at (520,0) width 57: "this part"
+        LayoutText {#text} at (577,0) size 4x19
+          text run at (577,0) width 4: "."
+      LayoutBlockFlow {P} at (0,383.59) size 784x20 [color=#000080]
+        LayoutText {#text} at (0,0) size 436x19
+          text run at (0,0) width 436: "This sentence should also be underlined, as well as dark blue (navy), "
+        LayoutInline {TT} at (0,0) size 152x16
+          LayoutText {#text} at (436,3) size 152x16
+            text run at (436,3) width 152: "including this part"
+        LayoutText {#text} at (588,0) size 4x19
+          text run at (588,0) width 4: "."
+      LayoutBlockFlow {P} at (0,419.59) size 784x20 [color=#800080]
+        LayoutText {#text} at (0,0) size 266x19
+          text run at (0,0) width 266: "This sentence should be purple, including "
+        LayoutInline {STRONG} at (0,0) size 57x19
+          LayoutText {#text} at (266,0) size 57x19
+            text run at (266,0) width 57: "this part"
+        LayoutText {#text} at (323,0) size 31x19
+          text run at (323,0) width 31: " and "
+        LayoutInline {SPAN} at (0,0) size 173x19
+          LayoutText {#text} at (354,0) size 173x19
+            text run at (354,0) width 173: "this part (which is spanned)"
+        LayoutText {#text} at (527,0) size 4x19
+          text run at (527,0) width 4: "."
+      LayoutTable {TABLE} at (0,455.59) size 614x296 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 612x294
+          LayoutTableRow {TR} at (0,0) size 612x28
+            LayoutTableCell {TD} at (0,0) size 612x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 612x266
+            LayoutTableCell {TD} at (0,147) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 600x265.88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {H3} at (4,4) size 592x24 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 220x22
+                  text run at (0,0) width 220: "This sentence should show "
+                LayoutInline {STRONG} at (0,0) size 35x22
+                  LayoutText {#text} at (220,0) size 35x22
+                    text run at (220,0) width 35: "blue"
+                LayoutText {#text} at (255,0) size 42x22
+                  text run at (255,0) width 42: " and "
+                LayoutInline {EM} at (0,0) size 51x22 [color=#800080]
+                  LayoutText {#text} at (297,1) size 51x22
+                    text run at (297,1) width 51: "purple"
+                LayoutText {#text} at (348,0) size 5x22
+                  text run at (348,0) width 5: "."
+              LayoutBlockFlow {H3} at (4,46.72) size 592x24 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 197x22
+                  text run at (0,0) width 197: "This sentence should be "
+                LayoutInline {SPAN} at (0,0) size 34x22
+                  LayoutText {#text} at (197,1) size 34x22
+                    text run at (197,1) width 34: "blue"
+                LayoutText {#text} at (231,0) size 104x22
+                  text run at (231,0) width 104: " throughout."
+              LayoutBlockFlow {P} at (4,89.44) size 592x20
+                LayoutText {#text} at (0,0) size 226x19
+                  text run at (0,0) width 226: "This should be green except for the "
+                LayoutInline {EM} at (0,0) size 117x19 [color=#800080]
+                  LayoutText {#text} at (226,0) size 117x19
+                    text run at (226,0) width 117: "emphasized words"
+                LayoutText {#text} at (342,0) size 161x19
+                  text run at (342,0) width 161: ", which should be purple."
+              LayoutBlockFlow {H3} at (4,128.16) size 592x23 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 296x22
+                  text run at (0,0) width 296: "This should be blue and underlined."
+              LayoutBlockFlow {P} at (4,169.88) size 592x20
+                LayoutText {#text} at (0,0) size 293x19
+                  text run at (0,0) width 293: "This sentence should be underlined, including "
+                LayoutInline {TT} at (0,0) size 72x16
+                  LayoutText {#text} at (293,3) size 72x16
+                    text run at (293,3) width 72: "this part"
+                LayoutText {#text} at (365,0) size 8x19
+                  text run at (365,0) width 8: ", "
+                LayoutInline {I} at (0,0) size 52x19
+                  LayoutText {#text} at (373,0) size 52x19
+                    text run at (373,0) width 52: "this part"
+                LayoutText {#text} at (425,0) size 8x19
+                  text run at (425,0) width 8: ", "
+                LayoutInline {EM} at (0,0) size 52x19 [color=#800080]
+                  LayoutText {#text} at (433,0) size 52x19
+                    text run at (433,0) width 52: "this part"
+                LayoutText {#text} at (485,0) size 35x19
+                  text run at (485,0) width 35: ", and "
+                LayoutInline {STRONG} at (0,0) size 57x19
+                  LayoutText {#text} at (520,0) size 57x19
+                    text run at (520,0) width 57: "this part"
+                LayoutText {#text} at (577,0) size 4x19
+                  text run at (577,0) width 4: "."
+              LayoutBlockFlow {P} at (4,205.88) size 592x20 [color=#000080]
+                LayoutText {#text} at (0,0) size 436x19
+                  text run at (0,0) width 436: "This sentence should also be underlined, as well as dark blue (navy), "
+                LayoutInline {TT} at (0,0) size 152x16
+                  LayoutText {#text} at (436,3) size 152x16
+                    text run at (436,3) width 152: "including this part"
+                LayoutText {#text} at (588,0) size 4x19
+                  text run at (588,0) width 4: "."
+              LayoutBlockFlow {P} at (4,241.88) size 592x20 [color=#800080]
+                LayoutText {#text} at (0,0) size 266x19
+                  text run at (0,0) width 266: "This sentence should be purple, including "
+                LayoutInline {STRONG} at (0,0) size 57x19
+                  LayoutText {#text} at (266,0) size 57x19
+                    text run at (266,0) width 57: "this part"
+                LayoutText {#text} at (323,0) size 31x19
+                  text run at (323,0) width 31: " and "
+                LayoutInline {SPAN} at (0,0) size 173x19
+                  LayoutText {#text} at (354,0) size 173x19
+                    text run at (354,0) width 173: "this part (which is spanned)"
+                LayoutText {#text} at (527,0) size 4x19
+                  text run at (527,0) width 4: "."
+layer at (8,169) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border-expected.txt
new file mode 100644
index 0000000..088e98e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border-expected.txt
@@ -0,0 +1,187 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1475
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1475 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1475
+    LayoutBlockFlow {BODY} at (8,8) size 769x1459 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x144
+        LayoutText {#text} at (0,0) size 272x144
+          text run at (0,0) width 272: ".one {border: medium black solid;}"
+          text run at (272,0) width 0: " "
+          text run at (0,16) width 264: ".two {border: thin maroon ridge;}"
+          text run at (264,16) width 0: " "
+          text run at (0,32) width 272: ".three {border: 10px teal outset;}"
+          text run at (272,32) width 0: " "
+          text run at (0,48) width 264: ".four {border: 10px olive inset;}"
+          text run at (264,48) width 0: " "
+          text run at (0,64) width 224: ".five {border: 10px maroon;}"
+          text run at (224,64) width 0: " "
+          text run at (0,80) width 232: ".six {border: maroon double;}"
+          text run at (232,80) width 0: " "
+          text run at (0,96) width 256: ".seven {border: left red solid;}"
+          text run at (256,96) width 0: " "
+          text run at (0,112) width 168: ".eight {border: 0px;}"
+          text run at (168,112) width 0: " "
+          text run at (0,128) width 232: "TD {border: 2px solid green;}"
+          text run at (232,128) width 0: " "
+      LayoutBlockFlow {P} at (0,211) size 769x40
+        LayoutText {#text} at (0,0) size 748x39
+          text run at (0,0) width 627: "Note that all table cells on this page should have a two-pixel solid green border along all four sides. "
+          text run at (627,0) width 121: "This border applies"
+          text run at (0,20) width 317: "only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,267) size 769x26 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 483x19
+          text run at (3,3) width 483: "This paragraph should have a medium black solid border all the way around."
+      LayoutBlockFlow {P} at (0,309) size 769x22 [border: (1px ridge #800000)]
+        LayoutText {#text} at (1,1) size 480x19
+          text run at (1,1) width 480: "This paragraph should have a thin maroon ridged border all the way around."
+      LayoutBlockFlow {P} at (0,347) size 769x40 [border: (10px outset #008080)]
+        LayoutText {#text} at (10,10) size 518x19
+          text run at (10,10) width 518: "This paragraph should have a ten-pixel-wide teal outset border all the way around."
+      LayoutBlockFlow {P} at (0,403) size 769x40 [border: (10px inset #808000)]
+        LayoutText {#text} at (10,10) size 519x19
+          text run at (10,10) width 519: "This paragraph should have a ten-pixel-wide olive inset border all the way around."
+      LayoutBlockFlow {P} at (0,459) size 769x20
+        LayoutText {#text} at (0,0) size 348x19
+          text run at (0,0) width 348: "This paragraph should have no border around it, as the "
+        LayoutInline {TT} at (0,0) size 96x16
+          LayoutText {#text} at (348,3) size 96x16
+            text run at (348,3) width 96: "border-style"
+        LayoutText {#text} at (444,0) size 322x19
+          text run at (444,0) width 322: " was not set, and it should not be offset in any way."
+      LayoutBlockFlow {P} at (0,495) size 769x46 [border: (3px double #800000)]
+        LayoutText {#text} at (3,3) size 535x19
+          text run at (3,3) width 535: "This paragraph should have a medium maroon double border around it, even though "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (538,6) size 96x16
+            text run at (538,6) width 96: "border-width"
+        LayoutText {#text} at (634,3) size 746x39
+          text run at (634,3) width 115: " was not explicitly"
+          text run at (3,23) width 21: "set."
+      LayoutBlockFlow {P} at (0,557) size 769x20
+        LayoutText {#text} at (0,0) size 621x19
+          text run at (0,0) width 621: "This paragraph should have no border around it, as its declaration is invalid and should be ignored."
+      LayoutBlockFlow {P} at (0,593) size 769x20
+        LayoutInline {A} at (0,0) size 25x19
+          LayoutText {#text} at (0,0) size 25x19
+            text run at (0,0) width 25: "The"
+        LayoutText {#text} at (25,0) size 715x19
+          text run at (25,0) width 715: " following image is also an anchor which points to a target on this page, but it should not have a border around it: "
+        LayoutInline {A} at (0,0) size 16x19 [color=#0000FF]
+          LayoutImage {IMG} at (739.70,0) size 15x15
+        LayoutText {#text} at (754,0) size 5x19
+          text run at (754,0) width 5: "."
+      LayoutTable {TABLE} at (0,629) size 769x121 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x119
+          LayoutTableRow {TR} at (0,5) size 767x46
+            LayoutTableCell {TD} at (5,5) size 757x46 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (3,3) size 711x39
+                text run at (3,3) width 405: "Every cell in this table should have a 2-pixel solid green border. "
+                text run at (407,3) width 307: "This is also true of the table-testing section in the"
+                text run at (3,23) width 175: "second half of the test page."
+          LayoutTableRow {TR} at (0,56) size 767x58
+            LayoutTableCell {TD} at (5,72) size 194x26 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (3,3) size 53x19
+                text run at (3,3) width 53: "Cell one"
+            LayoutTableCell {TD} at (204,56) size 558x58 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (3,3) size 552x20
+                LayoutText {#text} at (0,0) size 54x19
+                  text run at (0,0) width 54: "Cell two"
+              LayoutTable {TABLE} at (3,23) size 163x32 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 161x30
+                  LayoutTableRow {TR} at (0,2) size 161x26
+                    LayoutTableCell {TD} at (2,2) size 157x26 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,3) size 151x19
+                        text run at (3,3) width 151: "Nested single-cell table!"
+      LayoutBlockFlow {P} at (0,766) size 769x20
+        LayoutText {#text} at (0,0) size 175x19
+          text run at (0,0) width 175: "This is an unstyled element."
+      LayoutTable {TABLE} at (0,802) size 769x657 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x655
+          LayoutTableRow {TR} at (0,0) size 767x30
+            LayoutTableCell {TD} at (0,0) size 767x30 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (5,5) size 161x19
+                  text run at (5,5) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,30) size 767x625
+            LayoutTableCell {TD} at (0,327) size 14x30 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (5,5) size 4x19
+                text run at (5,5) width 4: " "
+            LayoutTableCell {TD} at (14,30) size 753x625 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (5,5) size 743x40
+                LayoutText {#text} at (0,0) size 700x39
+                  text run at (0,0) width 627: "Note that all table cells on this page should have a two-pixel solid green border along all four sides. "
+                  text run at (627,0) width 73: "This border"
+                  text run at (0,20) width 365: "applies only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (5,61) size 743x26 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 483x19
+                  text run at (3,3) width 483: "This paragraph should have a medium black solid border all the way around."
+              LayoutBlockFlow {P} at (5,103) size 743x22 [border: (1px ridge #800000)]
+                LayoutText {#text} at (1,1) size 480x19
+                  text run at (1,1) width 480: "This paragraph should have a thin maroon ridged border all the way around."
+              LayoutBlockFlow {P} at (5,141) size 743x40 [border: (10px outset #008080)]
+                LayoutText {#text} at (10,10) size 518x19
+                  text run at (10,10) width 518: "This paragraph should have a ten-pixel-wide teal outset border all the way around."
+              LayoutBlockFlow {P} at (5,197) size 743x40 [border: (10px inset #808000)]
+                LayoutText {#text} at (10,10) size 519x19
+                  text run at (10,10) width 519: "This paragraph should have a ten-pixel-wide olive inset border all the way around."
+              LayoutBlockFlow {P} at (5,253) size 743x40
+                LayoutText {#text} at (0,0) size 348x19
+                  text run at (0,0) width 348: "This paragraph should have no border around it, as the "
+                LayoutInline {TT} at (0,0) size 96x16
+                  LayoutText {#text} at (348,3) size 96x16
+                    text run at (348,3) width 96: "border-style"
+                LayoutText {#text} at (444,0) size 732x39
+                  text run at (444,0) width 288: " was not set, and it should not be offset in any"
+                  text run at (0,20) width 30: "way."
+              LayoutBlockFlow {P} at (5,309) size 743x46 [border: (3px double #800000)]
+                LayoutText {#text} at (3,3) size 535x19
+                  text run at (3,3) width 535: "This paragraph should have a medium maroon double border around it, even though "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (538,6) size 96x16
+                    text run at (538,6) width 96: "border-width"
+                LayoutText {#text} at (634,3) size 684x39
+                  text run at (634,3) width 53: " was not"
+                  text run at (3,23) width 83: "explicitly set."
+              LayoutBlockFlow {P} at (5,371) size 743x20
+                LayoutText {#text} at (0,0) size 621x19
+                  text run at (0,0) width 621: "This paragraph should have no border around it, as its declaration is invalid and should be ignored."
+              LayoutBlockFlow {P} at (5,407) size 743x40
+                LayoutInline {A} at (0,0) size 25x19
+                  LayoutText {#text} at (0,0) size 25x19
+                    text run at (0,0) width 25: "The"
+                LayoutText {#text} at (25,0) size 715x19
+                  text run at (25,0) width 715: " following image is also an anchor which points to a target on this page, but it should not have a border around it: "
+                LayoutInline {A} at (0,0) size 15x19 [color=#0000FF]
+                  LayoutImage {IMG} at (0,20) size 15x15
+                LayoutText {#text} at (15,20) size 4x19
+                  text run at (15,20) width 4: "."
+              LayoutTable {TABLE} at (5,463) size 743x121 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 741x119
+                  LayoutTableRow {TR} at (0,5) size 741x46
+                    LayoutTableCell {TD} at (5,5) size 731x46 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (3,3) size 711x39
+                        text run at (3,3) width 405: "Every cell in this table should have a 2-pixel solid green border. "
+                        text run at (407,3) width 307: "This is also true of the table-testing section in the"
+                        text run at (3,23) width 175: "second half of the test page."
+                  LayoutTableRow {TR} at (0,56) size 741x58
+                    LayoutTableCell {TD} at (5,72) size 187x26 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,3) size 53x19
+                        text run at (3,3) width 53: "Cell one"
+                    LayoutTableCell {TD} at (197,56) size 539x58 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (3,3) size 533x20
+                        LayoutText {#text} at (0,0) size 54x19
+                          text run at (0,0) width 54: "Cell two"
+                      LayoutTable {TABLE} at (3,23) size 163x32 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 161x30
+                          LayoutTableRow {TR} at (0,2) size 161x26
+                            LayoutTableCell {TD} at (2,2) size 157x26 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (3,3) size 151x19
+                                text run at (3,3) width 151: "Nested single-cell table!"
+              LayoutBlockFlow {P} at (5,600) size 743x20
+                LayoutText {#text} at (0,0) size 175x19
+                  text run at (0,0) width 175: "This is an unstyled element."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom-expected.txt
new file mode 100644
index 0000000..e44fb27
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom-expected.txt
@@ -0,0 +1,164 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1063
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1063 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1063
+    LayoutBlockFlow {BODY} at (8,8) size 769x1047 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 344x64
+          text run at (0,0) width 328: ".one {border-bottom: purple double 10px;}"
+          text run at (328,0) width 0: " "
+          text run at (0,16) width 320: ".two {border-bottom: purple thin solid;}"
+          text run at (320,16) width 0: " "
+          text run at (0,32) width 344: ".three {border-bottom: black medium solid;}"
+          text run at (344,32) width 0: " "
+          text run at (0,48) width 288: "TD {border-bottom: green 2px solid;}"
+          text run at (288,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x40
+        LayoutText {#text} at (0,0) size 731x39
+          text run at (0,0) width 658: "Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. "
+          text run at (658,0) width 73: "This border"
+          text run at (0,20) width 365: "applies only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,187) size 769x30 [border: none (10px double #800080) none]
+        LayoutText {#text} at (0,0) size 438x19
+          text run at (0,0) width 438: "This paragraph should have a purple, double, 10-pixel bottom border."
+      LayoutBlockFlow {P} at (0,233) size 769x21 [border: none (1px solid #800080) none]
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "This paragraph should have a thin purple bottom border."
+      LayoutTable {TABLE} at (0,270) size 769x118 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x116
+          LayoutTableRow {TR} at (0,5) size 767x45
+            LayoutTableCell {TD} at (5,5) size 757x45 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (2,2) size 736x39
+                text run at (2,2) width 453: "Every cell in this table should have a 2-pixel solid green bottom border. "
+                text run at (454,2) width 284: "This is also true of the table-testing section in"
+                text run at (2,22) width 198: "the second half of the test page."
+          LayoutTableRow {TR} at (0,55) size 767x56
+            LayoutTableCell {TD} at (5,70) size 192x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (2,2) size 53x19
+                text run at (2,2) width 53: "Cell one"
+            LayoutTableCell {TD} at (202,55) size 560x56 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (2,2) size 556x20
+                LayoutText {#text} at (0,0) size 54x19
+                  text run at (0,0) width 54: "Cell two"
+              LayoutTable {TABLE} at (2,22) size 161x31 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 159x29
+                  LayoutTableRow {TR} at (0,2) size 159x25
+                    LayoutTableCell {TD} at (2,2) size 155x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 151x19
+                        text run at (2,2) width 151: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,404) size 769x149
+        LayoutListItem {LI} at (40,0) size 729x83 [border: none (3px solid #000000) none]
+          LayoutBlockFlow (anonymous) at (0,0) size 729x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 118x19
+              text run at (0,0) width 118: "This is a list item..."
+          LayoutBlockFlow {UL} at (0,20) size 729x60
+            LayoutListItem {LI} at (40,0) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 73x19
+                text run at (0,0) width 73: "...and this..."
+            LayoutListItem {LI} at (40,20) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 115x19
+                text run at (0,0) width 115: "...is a second list..."
+            LayoutListItem {LI} at (40,40) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 176x19
+                text run at (0,0) width 176: "...nested within the list item."
+        LayoutListItem {LI} at (40,83) size 729x23 [border: none (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 158x19
+            text run at (0,0) width 158: "This is a second list item."
+        LayoutListItem {LI} at (40,106) size 729x43 [border: none (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 722x39
+            text run at (0,0) width 722: "Each list item in this list should have a medium-width black border at its bottom, which for the first item means that"
+            text run at (0,20) width 104: "it should appear "
+          LayoutInline {EM} at (0,0) size 50x19
+            LayoutText {#text} at (104,20) size 50x19
+              text run at (104,20) width 50: "beneath"
+          LayoutText {#text} at (154,20) size 390x19
+            text run at (154,20) width 390: " the nested list (below the line \"...nested within the list item.\")."
+      LayoutTable {TABLE} at (0,569) size 769x478 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x476
+          LayoutTableRow {TR} at (0,0) size 767x29
+            LayoutTableCell {TD} at (0,0) size 767x29 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,29) size 767x447
+            LayoutTableCell {TD} at (0,238) size 12x29 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,29) size 755x447 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 731x39
+                  text run at (0,0) width 658: "Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. "
+                  text run at (658,0) width 73: "This border"
+                  text run at (0,20) width 365: "applies only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (4,60) size 747x30 [border: none (10px double #800080) none]
+                LayoutText {#text} at (0,0) size 438x19
+                  text run at (0,0) width 438: "This paragraph should have a purple, double, 10-pixel bottom border."
+              LayoutBlockFlow {P} at (4,106) size 747x21 [border: none (1px solid #800080) none]
+                LayoutText {#text} at (0,0) size 355x19
+                  text run at (0,0) width 355: "This paragraph should have a thin purple bottom border."
+              LayoutTable {TABLE} at (4,143) size 747x118 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 745x116
+                  LayoutTableRow {TR} at (0,5) size 745x45
+                    LayoutTableCell {TD} at (5,5) size 735x45 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (2,2) size 720x39
+                        text run at (2,2) width 453: "Every cell in this table should have a 2-pixel solid green bottom border. "
+                        text run at (454,2) width 268: "This is also true of the table-testing section"
+                        text run at (2,22) width 214: "in the second half of the test page."
+                  LayoutTableRow {TR} at (0,55) size 745x56
+                    LayoutTableCell {TD} at (5,70) size 186x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 53x19
+                        text run at (2,2) width 53: "Cell one"
+                    LayoutTableCell {TD} at (196,55) size 544x56 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (2,2) size 540x20
+                        LayoutText {#text} at (0,0) size 54x19
+                          text run at (0,0) width 54: "Cell two"
+                      LayoutTable {TABLE} at (2,22) size 161x31 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 159x29
+                          LayoutTableRow {TR} at (0,2) size 159x25
+                            LayoutTableCell {TD} at (2,2) size 155x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (2,2) size 151x19
+                                text run at (2,2) width 151: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (4,277) size 747x149
+                LayoutListItem {LI} at (40,0) size 707x83 [border: none (3px solid #000000) none]
+                  LayoutBlockFlow (anonymous) at (0,0) size 707x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 118x19
+                      text run at (0,0) width 118: "This is a list item..."
+                  LayoutBlockFlow {UL} at (0,20) size 707x60
+                    LayoutListItem {LI} at (40,0) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 73x19
+                        text run at (0,0) width 73: "...and this..."
+                    LayoutListItem {LI} at (40,20) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 115x19
+                        text run at (0,0) width 115: "...is a second list..."
+                    LayoutListItem {LI} at (40,40) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 176x19
+                        text run at (0,0) width 176: "...nested within the list item."
+                LayoutListItem {LI} at (40,83) size 707x23 [border: none (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 158x19
+                    text run at (0,0) width 158: "This is a second list item."
+                LayoutListItem {LI} at (40,106) size 707x43 [border: none (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 695x39
+                    text run at (0,0) width 695: "Each list item in this list should have a medium-width black border at its bottom, which for the first item means"
+                    text run at (0,20) width 131: "that it should appear "
+                  LayoutInline {EM} at (0,0) size 50x19
+                    LayoutText {#text} at (131,20) size 50x19
+                      text run at (131,20) width 50: "beneath"
+                  LayoutText {#text} at (181,20) size 390x19
+                    text run at (181,20) width 390: " the nested list (below the line \"...nested within the list item.\")."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom_inline-expected.txt
new file mode 100644
index 0000000..46324cd2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom_inline-expected.txt
@@ -0,0 +1,60 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 328x48
+          text run at (0,0) width 328: ".one {border-bottom: purple double 10px;}"
+          text run at (328,0) width 0: " "
+          text run at (0,16) width 320: ".two {border-bottom: purple thin solid;}"
+          text run at (320,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 666x19
+          text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 58x29 [border: none (10px double #800080) none]
+          LayoutText {#text} at (665,0) size 58x19
+            text run at (665,0) width 58: "class one"
+        LayoutText {#text} at (722,0) size 770x39
+          text run at (722,0) width 48: ", which"
+          text run at (0,20) width 362: "should have a 10-pixel purple double bottom border; and "
+        LayoutInline {SPAN} at (0,0) size 58x20 [border: none (1px solid #800080) none]
+          LayoutText {#text} at (362,20) size 58x19
+            text run at (362,20) width 58: "class two"
+        LayoutText {#text} at (420,20) size 761x39
+          text run at (420,20) width 341: ", which should have a thin solid purple bottom border."
+          text run at (0,40) width 429: "The line-height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 666x19
+                  text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 58x29 [border: none (10px double #800080) none]
+                  LayoutText {#text} at (665,0) size 58x19
+                    text run at (665,0) width 58: "class one"
+                LayoutText {#text} at (722,0) size 727x39
+                  text run at (722,0) width 5: ","
+                  text run at (0,20) width 405: "which should have a 10-pixel purple double bottom border; and "
+                LayoutInline {SPAN} at (0,0) size 58x20 [border: none (1px solid #800080) none]
+                  LayoutText {#text} at (405,20) size 58x19
+                    text run at (405,20) width 58: "class two"
+                LayoutText {#text} at (463,20) size 755x39
+                  text run at (463,20) width 292: ", which should have a thin solid purple bottom"
+                  text run at (0,40) width 49: "border. "
+                  text run at (48,40) width 430: "The line-height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom_width-expected.txt
new file mode 100644
index 0000000..46eecd0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom_width-expected.txt
@@ -0,0 +1,104 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 919
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x919 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x919
+    LayoutBlockFlow {BODY} at (8,8) size 769x903 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 464x96
+          text run at (0,0) width 456: ".zero {background-color: silver; border-bottom-width: 0;}"
+          text run at (456,0) width 0: " "
+          text run at (0,16) width 432: ".one {border-bottom-width: 50px; border-style: solid;}"
+          text run at (432,16) width 0: " "
+          text run at (0,32) width 440: ".two {border-bottom-width: thick; border-style: solid;}"
+          text run at (440,32) width 0: " "
+          text run at (0,48) width 464: ".three {border-bottom-width: medium; border-style: solid;}"
+          text run at (464,48) width 0: " "
+          text run at (0,64) width 440: ".four {border-bottom-width: thin; border-style: solid;}"
+          text run at (440,64) width 0: " "
+          text run at (0,80) width 272: ".five {border-bottom-width: 25px;}"
+          text run at (272,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 157x19
+          text run at (0,0) width 157: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (157,3) size 96x16
+            text run at (157,3) width 96: "border-style"
+        LayoutText {#text} at (253,0) size 89x19
+          text run at (253,0) width 89: " is supported.)"
+      LayoutBlockFlow {P} at (0,199) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,235) size 769x73 [border: (3px solid #000000) (50px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 387x19
+          text run at (3,3) width 387: "This element should have a bottom border width of 50 pixels."
+      LayoutBlockFlow {P} at (0,324) size 769x28 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 344x19
+          text run at (3,3) width 344: "This element should have a thick bottom border width."
+      LayoutBlockFlow {P} at (0,368) size 769x26 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 364x19
+          text run at (3,3) width 364: "This element should have a medium bottom border width."
+      LayoutBlockFlow {P} at (0,410) size 769x24 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 337x19
+          text run at (3,3) width 337: "This element should have a thin bottom border width."
+      LayoutBlockFlow {P} at (0,450) size 769x20
+        LayoutText {#text} at (0,0) size 537x19
+          text run at (0,0) width 537: "This element should have no border and no extra \"padding\" on its bottom side, as no "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (537,3) size 96x16
+            text run at (537,3) width 96: "border-style"
+        LayoutText {#text} at (633,0) size 54x19
+          text run at (633,0) width 54: " was set."
+      LayoutBlockFlow {P} at (0,486) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,522) size 709x381 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 707x379
+          LayoutTableRow {TR} at (0,0) size 707x28
+            LayoutTableCell {TD} at (0,0) size 707x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 707x351
+            LayoutTableCell {TD} at (0,189) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 695x351 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 687x20
+                LayoutText {#text} at (0,0) size 157x19
+                  text run at (0,0) width 157: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (157,3) size 96x16
+                    text run at (157,3) width 96: "border-style"
+                LayoutText {#text} at (253,0) size 89x19
+                  text run at (253,0) width 89: " is supported.)"
+              LayoutBlockFlow {P} at (4,40) size 687x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,76) size 687x73 [border: (3px solid #000000) (50px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 387x19
+                  text run at (3,3) width 387: "This element should have a bottom border width of 50 pixels."
+              LayoutBlockFlow {P} at (4,165) size 687x28 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 344x19
+                  text run at (3,3) width 344: "This element should have a thick bottom border width."
+              LayoutBlockFlow {P} at (4,209) size 687x26 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 364x19
+                  text run at (3,3) width 364: "This element should have a medium bottom border width."
+              LayoutBlockFlow {P} at (4,251) size 687x24 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 337x19
+                  text run at (3,3) width 337: "This element should have a thin bottom border width."
+              LayoutBlockFlow {P} at (4,291) size 687x20
+                LayoutText {#text} at (0,0) size 537x19
+                  text run at (0,0) width 537: "This element should have no border and no extra \"padding\" on its bottom side, as no "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (537,3) size 96x16
+                    text run at (537,3) width 96: "border-style"
+                LayoutText {#text} at (633,0) size 54x19
+                  text run at (633,0) width 54: " was set."
+              LayoutBlockFlow {P} at (4,327) size 687x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom_width_inline-expected.txt
new file mode 100644
index 0000000..aaa790c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_bottom_width_inline-expected.txt
@@ -0,0 +1,88 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 432x48
+          text run at (0,0) width 432: ".one {border-bottom-width: 25px; border-style: solid;}"
+          text run at (432,0) width 0: " "
+          text run at (0,16) width 432: ".two {border-bottom-width: thin; border-style: solid;}"
+          text run at (432,16) width 0: " "
+          text run at (0,32) width 280: ".three {border-bottom-width: 25px;}"
+          text run at (280,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x108 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 172x19
+          text run at (3,3) width 172: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (175,6) size 24x16
+            text run at (175,6) width 24: "one"
+        LayoutText {#text} at (199,3) size 162x19
+          text run at (199,3) width 8: ". "
+          text run at (207,3) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 174x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (363,3) size 144x19
+            text run at (363,3) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (506,6) size 25x16
+              text run at (506,6) width 25: "two"
+        LayoutText {#text} at (533,3) size 767x59
+          text run at (533,3) width 221: ", which should result in a thin solid"
+          text run at (3,23) width 716: "border on the bottom side of each box in the inline element (and the UA's default border on the other three sides). "
+          text run at (719,23) width 51: "There is"
+          text run at (3,43) width 48: "also an "
+        LayoutInline {SPAN} at (0,0) size 183x19
+          LayoutText {#text} at (51,43) size 143x19
+            text run at (51,43) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x16
+            LayoutText {#text} at (194,46) size 40x16
+              text run at (194,46) width 40: "three"
+        LayoutText {#text} at (234,43) size 770x39
+          text run at (234,43) width 539: ", which should have no bottom border width or visible border because no border style"
+          text run at (3,63) width 50: "was set."
+      LayoutTable {TABLE} at (0,239) size 784x146 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x144
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x116
+            LayoutTableCell {TD} at (0,72) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x116 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x108 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 172x19
+                  text run at (3,3) width 172: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (175,6) size 24x16
+                    text run at (175,6) width 24: "one"
+                LayoutText {#text} at (199,3) size 162x19
+                  text run at (199,3) width 8: ". "
+                  text run at (207,3) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 174x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (363,3) size 144x19
+                    text run at (363,3) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (506,6) size 25x16
+                      text run at (506,6) width 25: "two"
+                LayoutText {#text} at (533,3) size 753x59
+                  text run at (533,3) width 221: ", which should result in a thin solid"
+                  text run at (3,23) width 716: "border on the bottom side of each box in the inline element (and the UA's default border on the other three sides). "
+                  text run at (719,23) width 37: "There"
+                  text run at (3,43) width 62: "is also an "
+                LayoutInline {SPAN} at (0,0) size 183x19
+                  LayoutText {#text} at (65,43) size 143x19
+                    text run at (65,43) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x16
+                    LayoutText {#text} at (208,46) size 40x16
+                      text run at (208,46) width 40: "three"
+                LayoutText {#text} at (248,43) size 751x39
+                  text run at (248,43) width 506: ", which should have no bottom border width or visible border because no border"
+                  text run at (3,63) width 83: "style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_color-expected.txt
new file mode 100644
index 0000000..0a59aac0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_color-expected.txt
@@ -0,0 +1,50 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 728x48
+          text run at (0,0) width 392: ".one {border-color: purple; border-style: solid;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 568: ".two {border-color: purple; border-width: medium; border-style: solid;}"
+          text run at (568,16) width 0: " "
+          text run at (0,32) width 728: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
+          text run at (728,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x26 [border: (3px solid #800080)]
+        LayoutText {#text} at (3,3) size 357x19
+          text run at (3,3) width 357: "This element should have a purple border surrounding it."
+      LayoutBlockFlow {P} at (0,157) size 784x26 [border: (3px solid #800080)]
+        LayoutText {#text} at (3,3) size 453x19
+          text run at (3,3) width 453: "This element should have a medium-width purple border surrounding it."
+      LayoutBlockFlow {P} at (0,199) size 784x46 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+        LayoutText {#text} at (3,3) size 763x39
+          text run at (3,3) width 763: "This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on the"
+          text run at (3,23) width 222: "bottom, and yellow on the left side."
+      LayoutTable {TABLE} at (0,261) size 784x168 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x166
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x138
+            LayoutTableCell {TD} at (0,83) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x138 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x26 [border: (3px solid #800080)]
+                LayoutText {#text} at (3,3) size 357x19
+                  text run at (3,3) width 357: "This element should have a purple border surrounding it."
+              LayoutBlockFlow {P} at (4,46) size 762x26 [border: (3px solid #800080)]
+                LayoutText {#text} at (3,3) size 453x19
+                  text run at (3,3) width 453: "This element should have a medium-width purple border surrounding it."
+              LayoutBlockFlow {P} at (4,88) size 762x46 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+                LayoutText {#text} at (3,3) size 740x39
+                  text run at (3,3) width 740: "This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on"
+                  text run at (3,23) width 245: "the bottom, and yellow on the left side."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_color_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_color_inline-expected.txt
new file mode 100644
index 0000000..28bc9a3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_color_inline-expected.txt
@@ -0,0 +1,75 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 728x48
+          text run at (0,0) width 392: ".one {border-color: purple; border-style: solid;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 568: ".two {border-color: purple; border-width: medium; border-style: solid;}"
+          text run at (568,16) width 0: " "
+          text run at (0,32) width 728: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
+          text run at (728,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 677x19
+          text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+        LayoutInline {SPAN} at (0,0) size 64x25 [border: (3px solid #800080)]
+          LayoutText {#text} at (679,0) size 58x19
+            text run at (679,0) width 58: "class one"
+        LayoutText {#text} at (739,0) size 9x19
+          text run at (739,0) width 9: ", "
+        LayoutInline {SPAN} at (0,0) size 781x45 [border: (3px solid #800080)]
+          LayoutText {#text} at (750,0) size 781x39
+            text run at (750,0) width 31: "class"
+            text run at (0,20) width 24: "two"
+        LayoutText {#text} at (27,20) size 35x19
+          text run at (27,20) width 35: ", and "
+        LayoutInline {SPAN} at (0,0) size 71x25 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+          LayoutText {#text} at (65,20) size 65x19
+            text run at (65,20) width 65: "class three"
+        LayoutText {#text} at (133,20) size 764x59
+          text run at (133,20) width 8: ". "
+          text run at (141,20) width 623: "The effect for each inline element should be to have a purple medium-width solid border in the first"
+          text run at (0,40) width 569: "and second cases, and a purple-green-blue-yellow medium-width solid border in the third. "
+          text run at (569,40) width 179: "The line-height of the parent"
+          text run at (0,60) width 284: "element should not change at all, on any line."
+      LayoutTable {TABLE} at (0,211) size 784x118 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x116
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x88
+            LayoutTableCell {TD} at (0,58) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 677x19
+                  text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+                LayoutInline {SPAN} at (0,0) size 64x25 [border: (3px solid #800080)]
+                  LayoutText {#text} at (679,0) size 58x19
+                    text run at (679,0) width 58: "class one"
+                LayoutText {#text} at (739,0) size 5x19
+                  text run at (739,0) width 5: ","
+                LayoutInline {SPAN} at (0,0) size 64x25 [border: (3px solid #800080)]
+                  LayoutText {#text} at (3,20) size 58x19
+                    text run at (3,20) width 58: "class two"
+                LayoutText {#text} at (64,20) size 35x19
+                  text run at (64,20) width 35: ", and "
+                LayoutInline {SPAN} at (0,0) size 71x25 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+                  LayoutText {#text} at (102,20) size 65x19
+                    text run at (102,20) width 65: "class three"
+                LayoutText {#text} at (170,20) size 756x59
+                  text run at (170,20) width 8: ". "
+                  text run at (178,20) width 572: "The effect for each inline element should be to have a purple medium-width solid border in"
+                  text run at (0,40) width 620: "the first and second cases, and a purple-green-blue-yellow medium-width solid border in the third. "
+                  text run at (620,40) width 136: "The line-height of the"
+                  text run at (0,60) width 327: "parent element should not change at all, on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_inline-expected.txt
new file mode 100644
index 0000000..9e6aee4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_inline-expected.txt
@@ -0,0 +1,59 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 256x48
+          text run at (0,0) width 256: ".one {border: 10px teal outset;}"
+          text run at (256,0) width 0: " "
+          text run at (0,16) width 256: ".two {border: 10px olive inset;}"
+          text run at (256,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 677x19
+          text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+        LayoutInline {SPAN} at (0,0) size 78x39 [border: (10px outset #008080)]
+          LayoutText {#text} at (686,0) size 58x19
+            text run at (686,0) width 58: "class one"
+        LayoutText {#text} at (753,0) size 758x39
+          text run at (753,0) width 5: ","
+          text run at (0,20) width 353: "which should result in a 10-pixel outset teal border; and "
+        LayoutInline {SPAN} at (0,0) size 78x39 [border: (10px inset #808000)]
+          LayoutText {#text} at (363,20) size 58x19
+            text run at (363,20) width 58: "class two"
+        LayoutText {#text} at (431,20) size 762x39
+          text run at (431,20) width 331: ", which should result in a 10-pixel inset olive border."
+          text run at (0,40) width 429: "The line-height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 677x19
+                  text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+                LayoutInline {SPAN} at (0,0) size 78x39 [border: (10px outset #008080)]
+                  LayoutText {#text} at (686,0) size 58x19
+                    text run at (686,0) width 58: "class one"
+                LayoutText {#text} at (753,0) size 758x39
+                  text run at (753,0) width 5: ","
+                  text run at (0,20) width 353: "which should result in a 10-pixel outset teal border; and "
+                LayoutInline {SPAN} at (0,0) size 78x39 [border: (10px inset #808000)]
+                  LayoutText {#text} at (363,20) size 58x19
+                    text run at (363,20) width 58: "class two"
+                LayoutText {#text} at (431,20) size 762x39
+                  text run at (431,20) width 331: ", which should result in a 10-pixel inset olive border."
+                  text run at (0,40) width 429: "The line-height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left-expected.txt
new file mode 100644
index 0000000..e8bd419
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left-expected.txt
@@ -0,0 +1,163 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1103
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1103 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1103
+    LayoutBlockFlow {BODY} at (8,8) size 769x1087 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (20,0) size 749x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x112
+        LayoutText {#text} at (0,0) size 344x112
+          text run at (0,0) width 176: "P {margin-left: 20px;}"
+          text run at (176,0) width 0: " "
+          text run at (0,16) width 312: ".one {border-left: purple double 10px;}"
+          text run at (312,16) width 0: " "
+          text run at (0,32) width 304: ".two {border-left: purple thin solid;}"
+          text run at (304,32) width 0: " "
+          text run at (0,48) width 336: ".threea {border-left: black medium solid;}"
+          text run at (336,48) width 0: " "
+          text run at (0,64) width 344: ".threeb {border-left: purple medium solid;}"
+          text run at (344,64) width 0: " "
+          text run at (0,80) width 328: ".threec {border-left: blue medium solid;}"
+          text run at (328,80) width 0: " "
+          text run at (0,96) width 272: "TD {border-left: green 2px solid;}"
+          text run at (272,96) width 0: " "
+      LayoutBlockFlow {P} at (20,179) size 749x40
+        LayoutText {#text} at (0,0) size 707x39
+          text run at (0,0) width 634: "Note that all table cells on this page should have a two-pixel solid green border along their left sides. "
+          text run at (634,0) width 73: "This border"
+          text run at (0,20) width 365: "applies only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (20,235) size 749x20 [border: none (10px double #800080)]
+        LayoutText {#text} at (10,0) size 414x19
+          text run at (10,0) width 414: "This paragraph should have a purple, double, 10-pixel left border."
+      LayoutBlockFlow {P} at (20,271) size 749x20 [border: none (1px solid #800080)]
+        LayoutText {#text} at (1,0) size 331x19
+          text run at (1,0) width 331: "This paragraph should have a thin purple left border."
+      LayoutTable {TABLE} at (0,307) size 769x115 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x113
+          LayoutTableRow {TR} at (0,5) size 767x44
+            LayoutTableCell {TD} at (5,5) size 757x44 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (3,2) size 735x39
+                text run at (3,2) width 429: "Every cell in this table should have a 2-pixel solid green left border. "
+                text run at (431,2) width 307: "This is also true of the table-testing section in the"
+                text run at (3,22) width 175: "second half of the test page."
+          LayoutTableRow {TR} at (0,54) size 767x54
+            LayoutTableCell {TD} at (5,69) size 193x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (3,2) size 53x19
+                text run at (3,2) width 53: "Cell one"
+            LayoutTableCell {TD} at (203,54) size 559x54 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (3,2) size 554x20
+                LayoutText {#text} at (0,0) size 54x19
+                  text run at (0,0) width 54: "Cell two"
+              LayoutTable {TABLE} at (3,22) size 162x30 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 160x28
+                  LayoutTableRow {TR} at (0,2) size 160x24
+                    LayoutTableCell {TD} at (2,2) size 156x24 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,2) size 151x19
+                        text run at (3,2) width 151: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,438) size 769x160
+        LayoutListItem {LI} at (40,0) size 729x80 [border: none (3px solid #000000)]
+          LayoutBlockFlow (anonymous) at (3,0) size 726x20
+            LayoutListMarker (anonymous) at (-21,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 118x19
+              text run at (0,0) width 118: "This is a list item..."
+          LayoutBlockFlow {UL} at (3,20) size 726x60
+            LayoutListItem {LI} at (40,0) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 73x19
+                text run at (0,0) width 73: "...and this..."
+            LayoutListItem {LI} at (40,20) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 115x19
+                text run at (0,0) width 115: "...is a second list..."
+            LayoutListItem {LI} at (40,40) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 176x19
+                text run at (0,0) width 176: "...nested within the list item."
+        LayoutListItem {LI} at (40,80) size 729x20 [border: none (3px solid #800080)]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (3,0) size 158x19
+            text run at (3,0) width 158: "This is a second list item."
+        LayoutListItem {LI} at (40,100) size 729x60 [border: none (3px solid #0000FF)]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (3,0) size 720x59
+            text run at (3,0) width 695: "Each list item in this 'parent' list should have a medium-width border along its left side, in each of three colors. "
+            text run at (698,0) width 25: "The"
+            text run at (3,20) width 719: "first item's border should travel the entire height the nested list (to end near the baseline of the line \"...nested within"
+            text run at (3,40) width 490: "the list item.\"), even though the nested list does not have any border styles set."
+      LayoutTable {TABLE} at (0,614) size 769x473 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x471
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (5,4) size 161x19
+                  text run at (5,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x443
+            LayoutTableCell {TD} at (0,235) size 13x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (5,4) size 4x19
+                text run at (5,4) width 4: " "
+            LayoutTableCell {TD} at (13,28) size 754x443 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (25,4) size 725x40
+                LayoutText {#text} at (0,0) size 707x39
+                  text run at (0,0) width 634: "Note that all table cells on this page should have a two-pixel solid green border along their left sides. "
+                  text run at (634,0) width 73: "This border"
+                  text run at (0,20) width 365: "applies only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (25,60) size 725x20 [border: none (10px double #800080)]
+                LayoutText {#text} at (10,0) size 414x19
+                  text run at (10,0) width 414: "This paragraph should have a purple, double, 10-pixel left border."
+              LayoutBlockFlow {P} at (25,96) size 725x20 [border: none (1px solid #800080)]
+                LayoutText {#text} at (1,0) size 331x19
+                  text run at (1,0) width 331: "This paragraph should have a thin purple left border."
+              LayoutTable {TABLE} at (5,132) size 745x115 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 743x113
+                  LayoutTableRow {TR} at (0,5) size 743x44
+                    LayoutTableCell {TD} at (5,5) size 733x44 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (3,2) size 712x39
+                        text run at (3,2) width 429: "Every cell in this table should have a 2-pixel solid green left border. "
+                        text run at (431,2) width 284: "This is also true of the table-testing section in"
+                        text run at (3,22) width 198: "the second half of the test page."
+                  LayoutTableRow {TR} at (0,54) size 743x54
+                    LayoutTableCell {TD} at (5,69) size 187x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,2) size 53x19
+                        text run at (3,2) width 53: "Cell one"
+                    LayoutTableCell {TD} at (197,54) size 541x54 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (3,2) size 536x20
+                        LayoutText {#text} at (0,0) size 54x19
+                          text run at (0,0) width 54: "Cell two"
+                      LayoutTable {TABLE} at (3,22) size 162x30 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 160x28
+                          LayoutTableRow {TR} at (0,2) size 160x24
+                            LayoutTableCell {TD} at (2,2) size 156x24 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (3,2) size 151x19
+                                text run at (3,2) width 151: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (5,263) size 745x160
+                LayoutListItem {LI} at (40,0) size 705x80 [border: none (3px solid #000000)]
+                  LayoutBlockFlow (anonymous) at (3,0) size 702x20
+                    LayoutListMarker (anonymous) at (-21,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 118x19
+                      text run at (0,0) width 118: "This is a list item..."
+                  LayoutBlockFlow {UL} at (3,20) size 702x60
+                    LayoutListItem {LI} at (40,0) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 73x19
+                        text run at (0,0) width 73: "...and this..."
+                    LayoutListItem {LI} at (40,20) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 115x19
+                        text run at (0,0) width 115: "...is a second list..."
+                    LayoutListItem {LI} at (40,40) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 176x19
+                        text run at (0,0) width 176: "...nested within the list item."
+                LayoutListItem {LI} at (40,80) size 705x20 [border: none (3px solid #800080)]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (3,0) size 158x19
+                    text run at (3,0) width 158: "This is a second list item."
+                LayoutListItem {LI} at (40,100) size 705x60 [border: none (3px solid #0000FF)]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (3,0) size 691x59
+                    text run at (3,0) width 691: "Each list item in this 'parent' list should have a medium-width border along its left side, in each of three colors."
+                    text run at (3,20) width 641: "The first item's border should travel the entire height the nested list (to end near the baseline of the line"
+                    text run at (3,40) width 597: "\"...nested within the list item.\"), even though the nested list does not have any border styles set."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left_inline-expected.txt
new file mode 100644
index 0000000..2ba28bc1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left_inline-expected.txt
@@ -0,0 +1,62 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (20,0) size 764x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 312x64
+          text run at (0,0) width 176: "P {margin-left: 20px;}"
+          text run at (176,0) width 0: " "
+          text run at (0,16) width 312: ".one {border-left: purple double 10px;}"
+          text run at (312,16) width 0: " "
+          text run at (0,32) width 304: ".two {border-left: purple thin solid;}"
+          text run at (304,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (20,131) size 764x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 760x19
+          text run at (0,0) width 760: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with classes of"
+        LayoutInline {SPAN} at (0,0) size 67x19 [border: none (10px double #800080)]
+          LayoutText {#text} at (10,20) size 57x19
+            text run at (10,20) width 57: "class one"
+        LayoutText {#text} at (67,20) size 389x19
+          text run at (67,20) width 389: ", which should have a 10-pixel purple double left border; and "
+        LayoutInline {SPAN} at (0,0) size 59x19 [border: none (1px solid #800080)]
+          LayoutText {#text} at (457,20) size 58x19
+            text run at (457,20) width 58: "class two"
+        LayoutText {#text} at (515,20) size 759x39
+          text run at (515,20) width 244: ", which should have a thin solid purple"
+          text run at (0,40) width 73: "left border. "
+          text run at (72,40) width 430: "The line-height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,207) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (24,4) size 742x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 696x39
+                  text run at (0,0) width 696: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with"
+                  text run at (0,20) width 64: "classes of "
+                LayoutInline {SPAN} at (0,0) size 67x19 [border: none (10px double #800080)]
+                  LayoutText {#text} at (74,20) size 57x19
+                    text run at (74,20) width 57: "class one"
+                LayoutText {#text} at (131,20) size 389x19
+                  text run at (131,20) width 389: ", which should have a 10-pixel purple double left border; and "
+                LayoutInline {SPAN} at (0,0) size 59x19 [border: none (1px solid #800080)]
+                  LayoutText {#text} at (521,20) size 58x19
+                    text run at (521,20) width 58: "class two"
+                LayoutText {#text} at (579,20) size 717x39
+                  text run at (579,20) width 138: ", which should have a"
+                  text run at (0,40) width 179: "thin solid purple left border. "
+                  text run at (178,40) width 430: "The line-height of the parent element should not change on any line."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left_width-expected.txt
new file mode 100644
index 0000000..c86cbcfa
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left_width-expected.txt
@@ -0,0 +1,104 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 873
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x873 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x873
+    LayoutBlockFlow {BODY} at (8,8) size 769x857 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 448x96
+          text run at (0,0) width 440: ".zero {background-color: silver; border-left-width: 0;}"
+          text run at (440,0) width 0: " "
+          text run at (0,16) width 416: ".one {border-left-width: 50px; border-style: solid;}"
+          text run at (416,16) width 0: " "
+          text run at (0,32) width 424: ".two {border-left-width: thick; border-style: solid;}"
+          text run at (424,32) width 0: " "
+          text run at (0,48) width 448: ".three {border-left-width: medium; border-style: solid;}"
+          text run at (448,48) width 0: " "
+          text run at (0,64) width 424: ".four {border-left-width: thin; border-style: solid;}"
+          text run at (424,64) width 0: " "
+          text run at (0,80) width 256: ".five {border-left-width: 25px;}"
+          text run at (256,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 157x19
+          text run at (0,0) width 157: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (157,3) size 96x16
+            text run at (157,3) width 96: "border-style"
+        LayoutText {#text} at (253,0) size 89x19
+          text run at (253,0) width 89: " is supported.)"
+      LayoutBlockFlow {P} at (0,199) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,235) size 769x46 [border: (3px solid #000000) (50px solid #000000)]
+        LayoutText {#text} at (50,3) size 713x39
+          text run at (50,3) width 713: "This element should have a left border width of 50 pixels, which will be more obvious if the element is more than"
+          text run at (50,23) width 86: "one line long."
+      LayoutBlockFlow {P} at (0,297) size 769x26 [border: (3px solid #000000) (5px solid #000000)]
+        LayoutText {#text} at (5,3) size 760x19
+          text run at (5,3) width 760: "This element should have a thick left border width, which will be more obvious if the element is more than one line long."
+      LayoutBlockFlow {P} at (0,339) size 769x46 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 744x39
+          text run at (3,3) width 744: "This element should have a medium left border width, which will be more obvious if the element is more than one line"
+          text run at (3,23) width 32: "long."
+      LayoutBlockFlow {P} at (0,401) size 769x26 [border: (3px solid #000000) (1px solid #000000)]
+        LayoutText {#text} at (1,3) size 753x19
+          text run at (1,3) width 753: "This element should have a thin left border width, which will be more obvious if the element is more than one line long."
+      LayoutBlockFlow {P} at (0,443) size 769x20
+        LayoutText {#text} at (0,0) size 513x19
+          text run at (0,0) width 513: "This element should have no border and no extra \"padding\" on its left side, as no "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (513,3) size 96x16
+            text run at (513,3) width 96: "border-style"
+        LayoutText {#text} at (609,0) size 54x19
+          text run at (609,0) width 54: " was set."
+      LayoutTable {TABLE} at (0,479) size 769x378 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x376
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x348
+            LayoutTableCell {TD} at (0,188) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x348 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 157x19
+                  text run at (0,0) width 157: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (157,3) size 96x16
+                    text run at (157,3) width 96: "border-style"
+                LayoutText {#text} at (253,0) size 89x19
+                  text run at (253,0) width 89: " is supported.)"
+              LayoutBlockFlow {P} at (4,40) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,76) size 747x46 [border: (3px solid #000000) (50px solid #000000)]
+                LayoutText {#text} at (50,3) size 682x39
+                  text run at (50,3) width 682: "This element should have a left border width of 50 pixels, which will be more obvious if the element is more"
+                  text run at (50,23) width 117: "than one line long."
+              LayoutBlockFlow {P} at (4,138) size 747x46 [border: (3px solid #000000) (5px solid #000000)]
+                LayoutText {#text} at (5,3) size 724x39
+                  text run at (5,3) width 724: "This element should have a thick left border width, which will be more obvious if the element is more than one line"
+                  text run at (5,23) width 32: "long."
+              LayoutBlockFlow {P} at (4,200) size 747x46 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 717x39
+                  text run at (3,3) width 717: "This element should have a medium left border width, which will be more obvious if the element is more than one"
+                  text run at (3,23) width 59: "line long."
+              LayoutBlockFlow {P} at (4,262) size 747x46 [border: (3px solid #000000) (1px solid #000000)]
+                LayoutText {#text} at (1,3) size 717x39
+                  text run at (1,3) width 717: "This element should have a thin left border width, which will be more obvious if the element is more than one line"
+                  text run at (1,23) width 32: "long."
+              LayoutBlockFlow {P} at (4,324) size 747x20
+                LayoutText {#text} at (0,0) size 513x19
+                  text run at (0,0) width 513: "This element should have no border and no extra \"padding\" on its left side, as no "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (513,3) size 96x16
+                    text run at (513,3) width 96: "border-style"
+                LayoutText {#text} at (609,0) size 54x19
+                  text run at (609,0) width 54: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left_width_inline-expected.txt
new file mode 100644
index 0000000..289bb38
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_left_width_inline-expected.txt
@@ -0,0 +1,98 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 416x48
+          text run at (0,0) width 416: ".one {border-left-width: 25px; border-style: solid;}"
+          text run at (416,0) width 0: " "
+          text run at (0,16) width 416: ".two {border-left-width: thin; border-style: solid;}"
+          text run at (416,16) width 0: " "
+          text run at (0,32) width 264: ".three {border-left-width: 25px;}"
+          text run at (264,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x86 [border: (3px solid #000000) (25px solid #000000)]
+        LayoutText {#text} at (25,3) size 172x19
+          text run at (25,3) width 172: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (197,6) size 24x16
+            text run at (197,6) width 24: "one"
+        LayoutText {#text} at (221,3) size 162x19
+          text run at (221,3) width 8: ". "
+          text run at (229,3) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 172x25 [border: (3px solid #000000) (1px solid #000000)]
+          LayoutText {#text} at (383,3) size 144x19
+            text run at (383,3) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (526,6) size 25x16
+              text run at (526,6) width 25: "two"
+        LayoutText {#text} at (553,3) size 749x39
+          text run at (553,3) width 221: ", which should result in a thin solid"
+          text run at (25,23) width 181: "border on the left side of the "
+        LayoutInline {STRONG} at (0,0) size 27x19
+          LayoutText {#text} at (206,23) size 27x19
+            text run at (206,23) width 27: "first"
+        LayoutText {#text} at (233,23) size 750x39
+          text run at (233,23) width 505: " box in the inline element (and the UA's default border on the other three sides). "
+          text run at (738,23) width 37: "There"
+          text run at (25,43) width 62: "is also an "
+        LayoutInline {SPAN} at (0,0) size 183x19
+          LayoutText {#text} at (87,43) size 143x19
+            text run at (87,43) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x16
+            LayoutText {#text} at (230,46) size 40x16
+              text run at (230,46) width 40: "three"
+        LayoutText {#text} at (270,43) size 727x39
+          text run at (270,43) width 482: ", which should have no left border width or visible border because no border"
+          text run at (25,63) width 83: "style was set."
+      LayoutTable {TABLE} at (0,217) size 784x124 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x122
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x94
+            LayoutTableCell {TD} at (0,61) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x86 [border: (3px solid #000000) (25px solid #000000)]
+                LayoutText {#text} at (25,3) size 172x19
+                  text run at (25,3) width 172: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (197,6) size 24x16
+                    text run at (197,6) width 24: "one"
+                LayoutText {#text} at (221,3) size 162x19
+                  text run at (221,3) width 8: ". "
+                  text run at (229,3) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 172x25 [border: (3px solid #000000) (1px solid #000000)]
+                  LayoutText {#text} at (383,3) size 144x19
+                    text run at (383,3) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (526,6) size 25x16
+                      text run at (526,6) width 25: "two"
+                LayoutText {#text} at (553,3) size 715x39
+                  text run at (553,3) width 187: ", which should result in a thin"
+                  text run at (25,23) width 215: "solid border on the left side of the "
+                LayoutInline {STRONG} at (0,0) size 27x19
+                  LayoutText {#text} at (240,23) size 27x19
+                    text run at (240,23) width 27: "first"
+                LayoutText {#text} at (267,23) size 699x39
+                  text run at (267,23) width 457: " box in the inline element (and the UA's default border on the other three"
+                  text run at (25,43) width 44: "sides). "
+                  text run at (69,43) width 103: "There is also an "
+                LayoutInline {SPAN} at (0,0) size 183x19
+                  LayoutText {#text} at (172,43) size 143x19
+                    text run at (172,43) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x16
+                    LayoutText {#text} at (315,46) size 40x16
+                      text run at (315,46) width 40: "three"
+                LayoutText {#text} at (355,43) size 693x39
+                  text run at (355,43) width 363: ", which should have no left border width or visible border"
+                  text run at (25,63) width 202: "because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right-expected.txt
new file mode 100644
index 0000000..550508a9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right-expected.txt
@@ -0,0 +1,63 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 764x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 320x64
+          text run at (0,0) width 184: "P {margin-right: 20px;}"
+          text run at (184,0) width 0: " "
+          text run at (0,16) width 320: ".one {border-right: purple double 10px;}"
+          text run at (320,16) width 0: " "
+          text run at (0,32) width 312: ".two {border-right: purple thin solid;}"
+          text run at (312,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 764x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 752x39
+          text run at (0,0) width 752: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with classes"
+          text run at (0,20) width 17: "of "
+        LayoutInline {SPAN} at (0,0) size 67x19 [border: none (10px double #800080) none]
+          LayoutText {#text} at (17,20) size 57x19
+            text run at (17,20) width 57: "class one"
+        LayoutText {#text} at (84,20) size 398x19
+          text run at (84,20) width 398: ", which should have a 10-pixel purple double right border; and "
+        LayoutInline {SPAN} at (0,0) size 59x19 [border: none (1px solid #800080) none]
+          LayoutText {#text} at (482,20) size 58x19
+            text run at (482,20) width 58: "class two"
+        LayoutText {#text} at (541,20) size 741x39
+          text run at (541,20) width 200: ", which should have a thin solid"
+          text run at (0,40) width 126: "purple right border. "
+          text run at (125,40) width 430: "The line-height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,207) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 742x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 705x39
+                  text run at (0,0) width 705: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with"
+                  text run at (0,20) width 64: "classes of "
+                LayoutInline {SPAN} at (0,0) size 67x19 [border: none (10px double #800080) none]
+                  LayoutText {#text} at (64,20) size 57x19
+                    text run at (64,20) width 57: "class one"
+                LayoutText {#text} at (131,20) size 398x19
+                  text run at (131,20) width 398: ", which should have a 10-pixel purple double right border; and "
+                LayoutInline {SPAN} at (0,0) size 59x19 [border: none (1px solid #800080) none]
+                  LayoutText {#text} at (529,20) size 58x19
+                    text run at (529,20) width 58: "class two"
+                LayoutText {#text} at (588,20) size 726x39
+                  text run at (588,20) width 138: ", which should have a"
+                  text run at (0,40) width 188: "thin solid purple right border. "
+                  text run at (187,40) width 430: "The line-height of the parent element should not change on any line."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right_inline-expected.txt
new file mode 100644
index 0000000..e6faca3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right_inline-expected.txt
@@ -0,0 +1,167 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1163
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1163 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1163
+    LayoutBlockFlow {BODY} at (8,8) size 769x1147 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 749x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x112
+        LayoutText {#text} at (0,0) size 352x112
+          text run at (0,0) width 184: "P {margin-right: 20px;}"
+          text run at (184,0) width 0: " "
+          text run at (0,16) width 320: ".one {border-right: purple double 10px;}"
+          text run at (320,16) width 0: " "
+          text run at (0,32) width 312: ".two {border-right: purple thin solid;}"
+          text run at (312,32) width 0: " "
+          text run at (0,48) width 344: ".threea {border-right: black medium solid;}"
+          text run at (344,48) width 0: " "
+          text run at (0,64) width 352: ".threeb {border-right: purple medium solid;}"
+          text run at (352,64) width 0: " "
+          text run at (0,80) width 336: ".threec {border-right: blue medium solid;}"
+          text run at (336,80) width 0: " "
+          text run at (0,96) width 280: "TD {border-right: green 2px solid;}"
+          text run at (280,96) width 0: " "
+      LayoutBlockFlow {P} at (0,179) size 749x40
+        LayoutText {#text} at (0,0) size 716x39
+          text run at (0,0) width 643: "Note that all table cells on this page should have a two-pixel solid green border along their right sides. "
+          text run at (643,0) width 73: "This border"
+          text run at (0,20) width 365: "applies only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,235) size 749x20 [border: none (10px double #800080) none]
+        LayoutText {#text} at (0,0) size 423x19
+          text run at (0,0) width 423: "This paragraph should have a purple, double, 10-pixel right border."
+      LayoutBlockFlow {P} at (0,271) size 749x20 [border: none (1px solid #800080) none]
+        LayoutText {#text} at (0,0) size 340x19
+          text run at (0,0) width 340: "This paragraph should have a thin purple right border."
+      LayoutTable {TABLE} at (0,307) size 769x115 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x113
+          LayoutTableRow {TR} at (0,5) size 767x44
+            LayoutTableCell {TD} at (5,5) size 757x44 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (2,2) size 744x39
+                text run at (2,2) width 438: "Every cell in this table should have a 2-pixel solid green right border. "
+                text run at (439,2) width 307: "This is also true of the table-testing section in the"
+                text run at (2,22) width 175: "second half of the test page."
+          LayoutTableRow {TR} at (0,54) size 767x54
+            LayoutTableCell {TD} at (5,69) size 193x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (2,2) size 53x19
+                text run at (2,2) width 53: "Cell one"
+            LayoutTableCell {TD} at (203,54) size 559x54 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (2,2) size 554x20
+                LayoutText {#text} at (0,0) size 54x19
+                  text run at (0,0) width 54: "Cell two"
+              LayoutTable {TABLE} at (2,22) size 162x30 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 160x28
+                  LayoutTableRow {TR} at (0,2) size 160x24
+                    LayoutTableCell {TD} at (2,2) size 156x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 151x19
+                        text run at (2,2) width 151: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,438) size 769x180
+        LayoutListItem {LI} at (40,0) size 729x80 [border: none (3px solid #000000) none]
+          LayoutBlockFlow (anonymous) at (0,0) size 726x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 118x19
+              text run at (0,0) width 118: "This is a list item..."
+          LayoutBlockFlow {UL} at (0,20) size 726x60
+            LayoutListItem {LI} at (40,0) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 73x19
+                text run at (0,0) width 73: "...and this..."
+            LayoutListItem {LI} at (40,20) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 115x19
+                text run at (0,0) width 115: "...is a second list..."
+            LayoutListItem {LI} at (40,40) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 176x19
+                text run at (0,0) width 176: "...nested within the list item."
+        LayoutListItem {LI} at (40,80) size 729x20 [border: none (3px solid #800080) none]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 158x19
+            text run at (0,0) width 158: "This is a second list item."
+        LayoutListItem {LI} at (40,100) size 729x80 [border: none (3px solid #0000FF) none]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 707x79
+            text run at (0,0) width 700: "Each list item in this 'parent' list should have a medium-width border along its right side, in each of three colors."
+            text run at (0,20) width 704: "The first item's border should travel the entire height the nested list (to end near the baseline of the line \"...nested"
+            text run at (0,40) width 538: "within the list item.\"), even though the nested list does not have any border styles set. "
+            text run at (538,40) width 169: "The borders should line up"
+            text run at (0,60) width 620: "together at the right edge of the document's body, as each list element has a default width of 100%."
+      LayoutTable {TABLE} at (0,634) size 769x513 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x511
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x483
+            LayoutTableCell {TD} at (0,255) size 13x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (13,28) size 754x483 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 725x40
+                LayoutText {#text} at (0,0) size 716x39
+                  text run at (0,0) width 643: "Note that all table cells on this page should have a two-pixel solid green border along their right sides. "
+                  text run at (643,0) width 73: "This border"
+                  text run at (0,20) width 365: "applies only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (4,60) size 725x20 [border: none (10px double #800080) none]
+                LayoutText {#text} at (0,0) size 423x19
+                  text run at (0,0) width 423: "This paragraph should have a purple, double, 10-pixel right border."
+              LayoutBlockFlow {P} at (4,96) size 725x20 [border: none (1px solid #800080) none]
+                LayoutText {#text} at (0,0) size 340x19
+                  text run at (0,0) width 340: "This paragraph should have a thin purple right border."
+              LayoutTable {TABLE} at (4,132) size 745x115 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 743x113
+                  LayoutTableRow {TR} at (0,5) size 743x44
+                    LayoutTableCell {TD} at (5,5) size 733x44 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (2,2) size 721x39
+                        text run at (2,2) width 438: "Every cell in this table should have a 2-pixel solid green right border. "
+                        text run at (439,2) width 284: "This is also true of the table-testing section in"
+                        text run at (2,22) width 198: "the second half of the test page."
+                  LayoutTableRow {TR} at (0,54) size 743x54
+                    LayoutTableCell {TD} at (5,69) size 186x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 53x19
+                        text run at (2,2) width 53: "Cell one"
+                    LayoutTableCell {TD} at (196,54) size 542x54 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (2,2) size 537x20
+                        LayoutText {#text} at (0,0) size 54x19
+                          text run at (0,0) width 54: "Cell two"
+                      LayoutTable {TABLE} at (2,22) size 162x30 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 160x28
+                          LayoutTableRow {TR} at (0,2) size 160x24
+                            LayoutTableCell {TD} at (2,2) size 156x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (2,2) size 151x19
+                                text run at (2,2) width 151: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (4,263) size 745x200
+                LayoutListItem {LI} at (40,0) size 705x80 [border: none (3px solid #000000) none]
+                  LayoutBlockFlow (anonymous) at (0,0) size 702x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 118x19
+                      text run at (0,0) width 118: "This is a list item..."
+                  LayoutBlockFlow {UL} at (0,20) size 702x60
+                    LayoutListItem {LI} at (40,0) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 73x19
+                        text run at (0,0) width 73: "...and this..."
+                    LayoutListItem {LI} at (40,20) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 115x19
+                        text run at (0,0) width 115: "...is a second list..."
+                    LayoutListItem {LI} at (40,40) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 176x19
+                        text run at (0,0) width 176: "...nested within the list item."
+                LayoutListItem {LI} at (40,80) size 705x20 [border: none (3px solid #800080) none]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 158x19
+                    text run at (0,0) width 158: "This is a second list item."
+                LayoutListItem {LI} at (40,100) size 705x100 [border: none (3px solid #0000FF) none]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 700x99
+                    text run at (0,0) width 700: "Each list item in this 'parent' list should have a medium-width border along its right side, in each of three colors."
+                    text run at (0,20) width 641: "The first item's border should travel the entire height the nested list (to end near the baseline of the line"
+                    text run at (0,40) width 601: "\"...nested within the list item.\"), even though the nested list does not have any border styles set. "
+                    text run at (601,40) width 76: "The borders"
+                    text run at (0,60) width 668: "should line up together at the right edge of the document's body, as each list element has a default width of"
+                    text run at (0,80) width 41: "100%."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right_width-expected.txt
new file mode 100644
index 0000000..d2aa7db
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right_width-expected.txt
@@ -0,0 +1,105 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 893
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x893 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x893
+    LayoutBlockFlow {BODY} at (8,8) size 769x877 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 456x96
+          text run at (0,0) width 448: ".zero {background-color: silver; border-right-width: 0;}"
+          text run at (448,0) width 0: " "
+          text run at (0,16) width 424: ".one {border-right-width: 25px; border-style: solid;}"
+          text run at (424,16) width 0: " "
+          text run at (0,32) width 432: ".two {border-right-width: thick; border-style: solid;}"
+          text run at (432,32) width 0: " "
+          text run at (0,48) width 456: ".three {border-right-width: medium; border-style: solid;}"
+          text run at (456,48) width 0: " "
+          text run at (0,64) width 432: ".four {border-right-width: thin; border-style: solid;}"
+          text run at (432,64) width 0: " "
+          text run at (0,80) width 272: ".five {border-right-width: 100px;}"
+          text run at (272,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 157x19
+          text run at (0,0) width 157: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (157,3) size 96x16
+            text run at (157,3) width 96: "border-style"
+        LayoutText {#text} at (253,0) size 89x19
+          text run at (253,0) width 89: " is supported.)"
+      LayoutBlockFlow {P} at (0,199) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,235) size 769x46 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 722x39
+          text run at (3,3) width 722: "This element should have a right border width of 25 pixels, which will be more obvious if the element is more than"
+          text run at (3,23) width 86: "one line long."
+      LayoutBlockFlow {P} at (0,297) size 769x46 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 733x39
+          text run at (3,3) width 733: "This element should have a thick right border width, which will be more obvious if the element is more than one line"
+          text run at (3,23) width 32: "long."
+      LayoutBlockFlow {P} at (0,359) size 769x46 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 753x39
+          text run at (3,3) width 753: "This element should have a medium right border width, which will be more obvious if the element is more than one line"
+          text run at (3,23) width 32: "long."
+      LayoutBlockFlow {P} at (0,421) size 769x26 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 762x19
+          text run at (3,3) width 762: "This element should have a thin right border width, which will be more obvious if the element is more than one line long."
+      LayoutBlockFlow {P} at (0,463) size 769x20
+        LayoutText {#text} at (0,0) size 522x19
+          text run at (0,0) width 522: "This element should have no border and no extra \"padding\" on its right side, as no "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (522,3) size 96x16
+            text run at (522,3) width 96: "border-style"
+        LayoutText {#text} at (618,0) size 54x19
+          text run at (618,0) width 54: " was set."
+      LayoutTable {TABLE} at (0,499) size 769x378 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x376
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x348
+            LayoutTableCell {TD} at (0,188) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x348 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 157x19
+                  text run at (0,0) width 157: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (157,3) size 96x16
+                    text run at (157,3) width 96: "border-style"
+                LayoutText {#text} at (253,0) size 89x19
+                  text run at (253,0) width 89: " is supported.)"
+              LayoutBlockFlow {P} at (4,40) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,76) size 747x46 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 691x39
+                  text run at (3,3) width 691: "This element should have a right border width of 25 pixels, which will be more obvious if the element is more"
+                  text run at (3,23) width 117: "than one line long."
+              LayoutBlockFlow {P} at (4,138) size 747x46 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 733x39
+                  text run at (3,3) width 733: "This element should have a thick right border width, which will be more obvious if the element is more than one line"
+                  text run at (3,23) width 32: "long."
+              LayoutBlockFlow {P} at (4,200) size 747x46 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 726x39
+                  text run at (3,3) width 726: "This element should have a medium right border width, which will be more obvious if the element is more than one"
+                  text run at (3,23) width 59: "line long."
+              LayoutBlockFlow {P} at (4,262) size 747x46 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 726x39
+                  text run at (3,3) width 726: "This element should have a thin right border width, which will be more obvious if the element is more than one line"
+                  text run at (3,23) width 32: "long."
+              LayoutBlockFlow {P} at (4,324) size 747x20
+                LayoutText {#text} at (0,0) size 522x19
+                  text run at (0,0) width 522: "This element should have no border and no extra \"padding\" on its right side, as no "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (522,3) size 96x16
+                    text run at (522,3) width 96: "border-style"
+                LayoutText {#text} at (618,0) size 54x19
+                  text run at (618,0) width 54: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right_width_inline-expected.txt
new file mode 100644
index 0000000..bb033458
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_right_width_inline-expected.txt
@@ -0,0 +1,98 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 424x48
+          text run at (0,0) width 424: ".one {border-right-width: 25px; border-style: solid;}"
+          text run at (424,0) width 0: " "
+          text run at (0,16) width 424: ".two {border-right-width: thin; border-style: solid;}"
+          text run at (424,16) width 0: " "
+          text run at (0,32) width 272: ".three {border-right-width: 25px;}"
+          text run at (272,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x86 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 172x19
+          text run at (3,3) width 172: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (175,6) size 24x16
+            text run at (175,6) width 24: "one"
+        LayoutText {#text} at (199,3) size 162x19
+          text run at (199,3) width 8: ". "
+          text run at (207,3) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 172x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (363,3) size 144x19
+            text run at (363,3) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (506,6) size 25x16
+              text run at (506,6) width 25: "two"
+        LayoutText {#text} at (531,3) size 749x39
+          text run at (531,3) width 221: ", which should result in a thin solid"
+          text run at (3,23) width 190: "border on the right side of the "
+        LayoutInline {STRONG} at (0,0) size 23x19
+          LayoutText {#text} at (193,23) size 23x19
+            text run at (193,23) width 23: "last"
+        LayoutText {#text} at (216,23) size 756x39
+          text run at (216,23) width 506: " box of the inline element (and the UA's default border on the other three sides). "
+          text run at (722,23) width 37: "There"
+          text run at (3,43) width 62: "is also an "
+        LayoutInline {SPAN} at (0,0) size 183x19
+          LayoutText {#text} at (65,43) size 143x19
+            text run at (65,43) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x16
+            LayoutText {#text} at (208,46) size 40x16
+              text run at (208,46) width 40: "three"
+        LayoutText {#text} at (248,43) size 736x39
+          text run at (248,43) width 491: ", which should have no right border width or visible border because no border"
+          text run at (3,63) width 83: "style was set."
+      LayoutTable {TABLE} at (0,217) size 784x124 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x122
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x94
+            LayoutTableCell {TD} at (0,61) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x86 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 172x19
+                  text run at (3,3) width 172: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (175,6) size 24x16
+                    text run at (175,6) width 24: "one"
+                LayoutText {#text} at (199,3) size 162x19
+                  text run at (199,3) width 8: ". "
+                  text run at (207,3) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 172x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (363,3) size 144x19
+                    text run at (363,3) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (506,6) size 25x16
+                      text run at (506,6) width 25: "two"
+                LayoutText {#text} at (531,3) size 715x39
+                  text run at (531,3) width 187: ", which should result in a thin"
+                  text run at (3,23) width 224: "solid border on the right side of the "
+                LayoutInline {STRONG} at (0,0) size 23x19
+                  LayoutText {#text} at (227,23) size 23x19
+                    text run at (227,23) width 23: "last"
+                LayoutText {#text} at (250,23) size 705x39
+                  text run at (250,23) width 458: " box of the inline element (and the UA's default border on the other three"
+                  text run at (3,43) width 44: "sides). "
+                  text run at (47,43) width 103: "There is also an "
+                LayoutInline {SPAN} at (0,0) size 183x19
+                  LayoutText {#text} at (150,43) size 143x19
+                    text run at (150,43) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x16
+                    LayoutText {#text} at (293,46) size 40x16
+                      text run at (293,46) width 40: "three"
+                LayoutText {#text} at (333,43) size 702x39
+                  text run at (333,43) width 372: ", which should have no right border width or visible border"
+                  text run at (3,63) width 202: "because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_style-expected.txt
new file mode 100644
index 0000000..bfd7463
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_style-expected.txt
@@ -0,0 +1,122 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1369
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1369 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1369
+    LayoutBlockFlow {BODY} at (8,8) size 769x1353 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x192
+        LayoutText {#text} at (0,0) size 632x192
+          text run at (0,0) width 560: ".one {border-style: dotted; border-color: black; border-width: thick;}"
+          text run at (560,0) width 0: " "
+          text run at (0,16) width 560: ".two {border-style: dashed; border-color: black; border-width: thick;}"
+          text run at (560,16) width 0: " "
+          text run at (0,32) width 568: ".three {border-style: solid; border-color: black; border-width: thick;}"
+          text run at (568,32) width 0: " "
+          text run at (0,48) width 568: ".four {border-style: double; border-color: black; border-width: thick;}"
+          text run at (568,48) width 0: " "
+          text run at (0,64) width 568: ".five {border-style: groove; border-color: olive; border-width: thick;}"
+          text run at (568,64) width 0: " "
+          text run at (0,80) width 552: ".six {border-style: ridge; border-color: olive; border-width: thick;}"
+          text run at (552,80) width 0: " "
+          text run at (0,96) width 568: ".seven {border-style: inset; border-color: olive; border-width: thick;}"
+          text run at (568,96) width 0: " "
+          text run at (0,112) width 576: ".eight {border-style: outset; border-color: olive; border-width: thick;}"
+          text run at (576,112) width 0: " "
+          text run at (0,128) width 632: ".nine {border-style: double groove; border-color: purple; border-width: thick;}"
+          text run at (632,128) width 0: " "
+          text run at (0,144) width 368: ".ten {border-style: double groove ridge inset;"
+          text run at (368,144) width 0: " "
+          text run at (0,160) width 368: "   border-color: purple; border-width: thick;}"
+          text run at (368,160) width 0: " "
+          text run at (0,176) width 552: ".eleven {border-style: none; border-color: red; border-width: thick;}"
+          text run at (552,176) width 0: " "
+      LayoutBlockFlow {P} at (0,259) size 769x30 [border: (5px dotted #000000)]
+        LayoutText {#text} at (5,5) size 472x19
+          text run at (5,5) width 472: "This paragraph should have a thick black dotted border all the way around."
+      LayoutBlockFlow {P} at (0,305) size 769x30 [border: (5px dashed #000000)]
+        LayoutText {#text} at (5,5) size 477x19
+          text run at (5,5) width 477: "This paragraph should have a thick black dashed border all the way around."
+      LayoutBlockFlow {P} at (0,351) size 769x30 [border: (5px solid #000000)]
+        LayoutText {#text} at (5,5) size 463x19
+          text run at (5,5) width 463: "This paragraph should have a thick black solid border all the way around."
+      LayoutBlockFlow {P} at (0,397) size 769x30 [border: (5px double #000000)]
+        LayoutText {#text} at (5,5) size 476x19
+          text run at (5,5) width 476: "This paragraph should have a thick black double border all the way around."
+      LayoutBlockFlow {P} at (0,443) size 769x30 [border: (5px groove #808000)]
+        LayoutText {#text} at (5,5) size 474x19
+          text run at (5,5) width 474: "This paragraph should have a thick olive groove border all the way around."
+      LayoutBlockFlow {P} at (0,489) size 769x30 [border: (5px ridge #808000)]
+        LayoutText {#text} at (5,5) size 462x19
+          text run at (5,5) width 462: "This paragraph should have a thick olive ridge border all the way around."
+      LayoutBlockFlow {P} at (0,535) size 769x30 [border: (5px inset #808000)]
+        LayoutText {#text} at (5,5) size 459x19
+          text run at (5,5) width 459: "This paragraph should have a thick olive inset border all the way around."
+      LayoutBlockFlow {P} at (0,581) size 769x30 [border: (5px outset #808000)]
+        LayoutText {#text} at (5,5) size 467x19
+          text run at (5,5) width 467: "This paragraph should have a thick olive outset border all the way around."
+      LayoutBlockFlow {P} at (0,627) size 769x50 [border: (5px double #800080) (5px groove #800080) (5px double #800080) (5px groove #800080)]
+        LayoutText {#text} at (5,5) size 744x39
+          text run at (5,5) width 617: "This paragraph should have thick double top and bottom borders, and thick grooved side borders. "
+          text run at (622,5) width 127: "The color of all four"
+          text run at (5,25) width 204: "sides should be based on purple."
+      LayoutBlockFlow {P} at (0,693) size 769x50 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
+        LayoutText {#text} at (5,5) size 727x39
+          text run at (5,5) width 702: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
+          text run at (706,5) width 26: "The"
+          text run at (5,25) width 306: "color of all four sides should be based on purple."
+      LayoutBlockFlow {P} at (0,759) size 769x20
+        LayoutText {#text} at (0,0) size 278x19
+          text run at (0,0) width 278: "This paragraph should have no border at all."
+      LayoutTable {TABLE} at (0,795) size 769x558 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x556
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x528
+            LayoutTableCell {TD} at (0,278) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x528 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x30 [border: (5px dotted #000000)]
+                LayoutText {#text} at (5,5) size 472x19
+                  text run at (5,5) width 472: "This paragraph should have a thick black dotted border all the way around."
+              LayoutBlockFlow {P} at (4,50) size 747x30 [border: (5px dashed #000000)]
+                LayoutText {#text} at (5,5) size 477x19
+                  text run at (5,5) width 477: "This paragraph should have a thick black dashed border all the way around."
+              LayoutBlockFlow {P} at (4,96) size 747x30 [border: (5px solid #000000)]
+                LayoutText {#text} at (5,5) size 463x19
+                  text run at (5,5) width 463: "This paragraph should have a thick black solid border all the way around."
+              LayoutBlockFlow {P} at (4,142) size 747x30 [border: (5px double #000000)]
+                LayoutText {#text} at (5,5) size 476x19
+                  text run at (5,5) width 476: "This paragraph should have a thick black double border all the way around."
+              LayoutBlockFlow {P} at (4,188) size 747x30 [border: (5px groove #808000)]
+                LayoutText {#text} at (5,5) size 474x19
+                  text run at (5,5) width 474: "This paragraph should have a thick olive groove border all the way around."
+              LayoutBlockFlow {P} at (4,234) size 747x30 [border: (5px ridge #808000)]
+                LayoutText {#text} at (5,5) size 462x19
+                  text run at (5,5) width 462: "This paragraph should have a thick olive ridge border all the way around."
+              LayoutBlockFlow {P} at (4,280) size 747x30 [border: (5px inset #808000)]
+                LayoutText {#text} at (5,5) size 459x19
+                  text run at (5,5) width 459: "This paragraph should have a thick olive inset border all the way around."
+              LayoutBlockFlow {P} at (4,326) size 747x30 [border: (5px outset #808000)]
+                LayoutText {#text} at (5,5) size 467x19
+                  text run at (5,5) width 467: "This paragraph should have a thick olive outset border all the way around."
+              LayoutBlockFlow {P} at (4,372) size 747x50 [border: (5px double #800080) (5px groove #800080) (5px double #800080) (5px groove #800080)]
+                LayoutText {#text} at (5,5) size 714x39
+                  text run at (5,5) width 617: "This paragraph should have thick double top and bottom borders, and thick grooved side borders. "
+                  text run at (622,5) width 97: "The color of all"
+                  text run at (5,25) width 234: "four sides should be based on purple."
+              LayoutBlockFlow {P} at (4,438) size 747x50 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
+                LayoutText {#text} at (5,5) size 727x39
+                  text run at (5,5) width 702: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
+                  text run at (706,5) width 26: "The"
+                  text run at (5,25) width 306: "color of all four sides should be based on purple."
+              LayoutBlockFlow {P} at (4,504) size 747x20
+                LayoutText {#text} at (0,0) size 278x19
+                  text run at (0,0) width 278: "This paragraph should have no border at all."
+layer at (8,249) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_style_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_style_inline-expected.txt
new file mode 100644
index 0000000..8ff3921f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_style_inline-expected.txt
@@ -0,0 +1,71 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 568x48
+          text run at (0,0) width 560: ".one {border-style: dashed; border-color: black; border-width: thick;}"
+          text run at (560,0) width 0: " "
+          text run at (0,16) width 544: ".two {border-style: groove; border-color: red; border-width: thick;}"
+          text run at (544,16) width 0: " "
+          text run at (0,32) width 568: ".three {border-style: none; border-color: purple; border-width: thick;}"
+          text run at (568,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 664x19
+          text run at (0,0) width 664: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 68x29 [border: (5px dashed #000000)]
+          LayoutText {#text} at (668,0) size 58x19
+            text run at (668,0) width 58: "class one"
+        LayoutText {#text} at (730,0) size 778x39
+          text run at (730,0) width 48: ", which"
+          text run at (0,20) width 263: "will result in a dashed thick black border; "
+        LayoutInline {SPAN} at (0,0) size 68x29 [border: (5px groove #FF0000)]
+          LayoutText {#text} at (268,20) size 58x19
+            text run at (268,20) width 58: "class two"
+        LayoutText {#text} at (331,20) size 373x19
+          text run at (331,20) width 373: ", which should result in a grooved thick purple border, and "
+        LayoutInline {SPAN} at (0,0) size 66x19
+          LayoutText {#text} at (703,20) size 66x19
+            text run at (703,20) width 66: "class three"
+        LayoutText {#text} at (768,20) size 773x39
+          text run at (768,20) width 5: ","
+          text run at (0,40) width 246: "which should result in no border at all. "
+          text run at (246,40) width 433: "The line-height of the parent element should not change, on any line."
+      LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 664x19
+                  text run at (0,0) width 664: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 68x29 [border: (5px dashed #000000)]
+                  LayoutText {#text} at (668,0) size 58x19
+                    text run at (668,0) width 58: "class one"
+                LayoutText {#text} at (730,0) size 735x39
+                  text run at (730,0) width 5: ","
+                  text run at (0,20) width 306: "which will result in a dashed thick black border; "
+                LayoutInline {SPAN} at (0,0) size 68x29 [border: (5px groove #FF0000)]
+                  LayoutText {#text} at (311,20) size 58x19
+                    text run at (311,20) width 58: "class two"
+                LayoutText {#text} at (374,20) size 369x19
+                  text run at (374,20) width 369: ", which should result in a grooved thick purple border, and"
+                LayoutInline {SPAN} at (0,0) size 65x19
+                  LayoutText {#text} at (0,40) size 65x19
+                    text run at (0,40) width 65: "class three"
+                LayoutText {#text} at (65,40) size 687x19
+                  text run at (65,40) width 254: ", which should result in no border at all. "
+                  text run at (319,40) width 433: "The line-height of the parent element should not change, on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top-expected.txt
new file mode 100644
index 0000000..4bcea375
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top-expected.txt
@@ -0,0 +1,152 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1023
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1023 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1023
+    LayoutBlockFlow {BODY} at (8,8) size 769x1007 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 320x64
+          text run at (0,0) width 304: ".one {border-top: purple double 10px;}"
+          text run at (304,0) width 0: " "
+          text run at (0,16) width 296: ".two {border-top: purple thin solid;}"
+          text run at (296,16) width 0: " "
+          text run at (0,32) width 320: ".three {border-top: black medium solid;}"
+          text run at (320,32) width 0: " "
+          text run at (0,48) width 264: "TD {border-top: green 2px solid;}"
+          text run at (264,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x40
+        LayoutText {#text} at (0,0) size 755x39
+          text run at (0,0) width 634: "Note that all table cells on this page should have a two-pixel solid green border along their top sides. "
+          text run at (634,0) width 121: "This border applies"
+          text run at (0,20) width 317: "only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,187) size 769x30 [border: (10px double #800080) none]
+        LayoutText {#text} at (0,10) size 414x19
+          text run at (0,10) width 414: "This paragraph should have a purple, double, 10-pixel top border."
+      LayoutBlockFlow {P} at (0,233) size 769x21 [border: (1px solid #800080) none]
+        LayoutText {#text} at (0,1) size 331x19
+          text run at (0,1) width 331: "This paragraph should have a thin purple top border."
+      LayoutTable {TABLE} at (0,270) size 769x118 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x116
+          LayoutTableRow {TR} at (0,5) size 767x45
+            LayoutTableCell {TD} at (5,5) size 757x45 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (2,3) size 735x39
+                text run at (2,3) width 429: "Every cell in this table should have a 2-pixel solid green top border. "
+                text run at (430,3) width 307: "This is also true of the table-testing section in the"
+                text run at (2,23) width 175: "second half of the test page."
+          LayoutTableRow {TR} at (0,55) size 767x56
+            LayoutTableCell {TD} at (5,70) size 192x25 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (2,3) size 53x19
+                text run at (2,3) width 53: "Cell one"
+            LayoutTableCell {TD} at (202,55) size 560x56 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (2,3) size 556x20
+                LayoutText {#text} at (0,0) size 54x19
+                  text run at (0,0) width 54: "Cell two"
+              LayoutTable {TABLE} at (2,23) size 161x31 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 159x29
+                  LayoutTableRow {TR} at (0,2) size 159x25
+                    LayoutTableCell {TD} at (2,2) size 155x25 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,3) size 151x19
+                        text run at (2,3) width 151: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,404) size 769x129
+        LayoutListItem {LI} at (40,0) size 729x83 [border: (3px solid #000000) none]
+          LayoutBlockFlow (anonymous) at (0,3) size 729x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 118x19
+              text run at (0,0) width 118: "This is a list item..."
+          LayoutBlockFlow {UL} at (0,23) size 729x60
+            LayoutListItem {LI} at (40,0) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 73x19
+                text run at (0,0) width 73: "...and this..."
+            LayoutListItem {LI} at (40,20) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 115x19
+                text run at (0,0) width 115: "...is a second list..."
+            LayoutListItem {LI} at (40,40) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 176x19
+                text run at (0,0) width 176: "...nested within the list item."
+        LayoutListItem {LI} at (40,83) size 729x23 [border: (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-18,3) size 7x19: bullet
+          LayoutText {#text} at (0,3) size 158x19
+            text run at (0,3) width 158: "This is a second list item."
+        LayoutListItem {LI} at (40,106) size 729x23 [border: (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-18,3) size 7x19: bullet
+          LayoutText {#text} at (0,3) size 480x19
+            text run at (0,3) width 480: "Each list item in this list should have a medium-width black border at its top."
+      LayoutTable {TABLE} at (0,549) size 769x458 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x456
+          LayoutTableRow {TR} at (0,0) size 767x29
+            LayoutTableCell {TD} at (0,0) size 767x29 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,5) size 161x19
+                  text run at (4,5) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,29) size 767x427
+            LayoutTableCell {TD} at (0,228) size 12x29 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,5) size 4x19
+                text run at (4,5) width 4: " "
+            LayoutTableCell {TD} at (12,29) size 755x427 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,5) size 747x40
+                LayoutText {#text} at (0,0) size 707x39
+                  text run at (0,0) width 634: "Note that all table cells on this page should have a two-pixel solid green border along their top sides. "
+                  text run at (634,0) width 73: "This border"
+                  text run at (0,20) width 365: "applies only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (4,61) size 747x30 [border: (10px double #800080) none]
+                LayoutText {#text} at (0,10) size 414x19
+                  text run at (0,10) width 414: "This paragraph should have a purple, double, 10-pixel top border."
+              LayoutBlockFlow {P} at (4,107) size 747x21 [border: (1px solid #800080) none]
+                LayoutText {#text} at (0,1) size 331x19
+                  text run at (0,1) width 331: "This paragraph should have a thin purple top border."
+              LayoutTable {TABLE} at (4,144) size 747x118 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 745x116
+                  LayoutTableRow {TR} at (0,5) size 745x45
+                    LayoutTableCell {TD} at (5,5) size 735x45 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (2,3) size 712x39
+                        text run at (2,3) width 429: "Every cell in this table should have a 2-pixel solid green top border. "
+                        text run at (430,3) width 284: "This is also true of the table-testing section in"
+                        text run at (2,23) width 198: "the second half of the test page."
+                  LayoutTableRow {TR} at (0,55) size 745x56
+                    LayoutTableCell {TD} at (5,70) size 187x25 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,3) size 53x19
+                        text run at (2,3) width 53: "Cell one"
+                    LayoutTableCell {TD} at (197,55) size 543x56 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (2,3) size 539x20
+                        LayoutText {#text} at (0,0) size 54x19
+                          text run at (0,0) width 54: "Cell two"
+                      LayoutTable {TABLE} at (2,23) size 161x31 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 159x29
+                          LayoutTableRow {TR} at (0,2) size 159x25
+                            LayoutTableCell {TD} at (2,2) size 155x25 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (2,3) size 151x19
+                                text run at (2,3) width 151: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (4,278) size 747x129
+                LayoutListItem {LI} at (40,0) size 707x83 [border: (3px solid #000000) none]
+                  LayoutBlockFlow (anonymous) at (0,3) size 707x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 118x19
+                      text run at (0,0) width 118: "This is a list item..."
+                  LayoutBlockFlow {UL} at (0,23) size 707x60
+                    LayoutListItem {LI} at (40,0) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 73x19
+                        text run at (0,0) width 73: "...and this..."
+                    LayoutListItem {LI} at (40,20) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 115x19
+                        text run at (0,0) width 115: "...is a second list..."
+                    LayoutListItem {LI} at (40,40) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 176x19
+                        text run at (0,0) width 176: "...nested within the list item."
+                LayoutListItem {LI} at (40,83) size 707x23 [border: (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-18,3) size 7x19: bullet
+                  LayoutText {#text} at (0,3) size 158x19
+                    text run at (0,3) width 158: "This is a second list item."
+                LayoutListItem {LI} at (40,106) size 707x23 [border: (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-18,3) size 7x19: bullet
+                  LayoutText {#text} at (0,3) size 480x19
+                    text run at (0,3) width 480: "Each list item in this list should have a medium-width black border at its top."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top_inline-expected.txt
new file mode 100644
index 0000000..65b75a3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top_inline-expected.txt
@@ -0,0 +1,60 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 304x48
+          text run at (0,0) width 304: ".one {border-top: purple double 10px;}"
+          text run at (304,0) width 0: " "
+          text run at (0,16) width 296: ".two {border-top: purple thin solid;}"
+          text run at (296,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 666x19
+          text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 58x29 [border: (10px double #800080) none]
+          LayoutText {#text} at (665,0) size 58x19
+            text run at (665,0) width 58: "class one"
+        LayoutText {#text} at (722,0) size 770x39
+          text run at (722,0) width 48: ", which"
+          text run at (0,20) width 338: "should have a 10-pixel purple double top border; and "
+        LayoutInline {SPAN} at (0,0) size 58x20 [border: (1px solid #800080) none]
+          LayoutText {#text} at (338,20) size 58x19
+            text run at (338,20) width 58: "class two"
+        LayoutText {#text} at (396,20) size 774x39
+          text run at (396,20) width 321: ", which should have a thin solid purple top border. "
+          text run at (716,20) width 58: "The line-"
+          text run at (0,40) width 372: "height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 666x19
+                  text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 58x29 [border: (10px double #800080) none]
+                  LayoutText {#text} at (665,0) size 58x19
+                    text run at (665,0) width 58: "class one"
+                LayoutText {#text} at (722,0) size 727x39
+                  text run at (722,0) width 5: ","
+                  text run at (0,20) width 381: "which should have a 10-pixel purple double top border; and "
+                LayoutInline {SPAN} at (0,0) size 58x20 [border: (1px solid #800080) none]
+                  LayoutText {#text} at (381,20) size 58x19
+                    text run at (381,20) width 58: "class two"
+                LayoutText {#text} at (439,20) size 756x39
+                  text run at (439,20) width 317: ", which should have a thin solid purple top border."
+                  text run at (0,40) width 429: "The line-height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top_width-expected.txt
new file mode 100644
index 0000000..6b05407
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top_width-expected.txt
@@ -0,0 +1,98 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 797
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x797 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x797
+    LayoutBlockFlow {BODY} at (8,8) size 769x781 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 440x96
+          text run at (0,0) width 432: ".zero {background-color: silver; border-top-width: 0;}"
+          text run at (432,0) width 0: " "
+          text run at (0,16) width 408: ".one {border-top-width: 25px; border-style: solid;}"
+          text run at (408,16) width 0: " "
+          text run at (0,32) width 416: ".two {border-top-width: thick; border-style: solid;}"
+          text run at (416,32) width 0: " "
+          text run at (0,48) width 440: ".three {border-top-width: medium; border-style: solid;}"
+          text run at (440,48) width 0: " "
+          text run at (0,64) width 416: ".four {border-top-width: thin; border-style: solid;}"
+          text run at (416,64) width 0: " "
+          text run at (0,80) width 248: ".five {border-top-width: 25px;}"
+          text run at (248,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 157x19
+          text run at (0,0) width 157: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (157,3) size 96x16
+            text run at (157,3) width 96: "border-style"
+        LayoutText {#text} at (253,0) size 89x19
+          text run at (253,0) width 89: " is supported.)"
+      LayoutBlockFlow {P} at (0,199) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,235) size 769x48 [border: (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,25) size 377x19
+          text run at (3,25) width 377: "This paragraph should have a top border width of 25 pixels."
+      LayoutBlockFlow {P} at (0,299) size 769x28 [border: (5px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,5) size 334x19
+          text run at (3,5) width 334: "This paragraph should have a thick top border width."
+      LayoutBlockFlow {P} at (0,343) size 769x26 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 354x19
+          text run at (3,3) width 354: "This paragraph should have a medium top border width."
+      LayoutBlockFlow {P} at (0,385) size 769x24 [border: (1px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,1) size 327x19
+          text run at (3,1) width 327: "This paragraph should have a thin top border width."
+      LayoutBlockFlow {P} at (0,425) size 769x20
+        LayoutText {#text} at (0,0) size 527x19
+          text run at (0,0) width 527: "This paragraph should have no border and no extra \"padding\" on its top side, as no "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (527,3) size 96x16
+            text run at (527,3) width 96: "border-style"
+        LayoutText {#text} at (623,0) size 54x19
+          text run at (623,0) width 54: " was set."
+      LayoutTable {TABLE} at (0,461) size 699x320 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 697x318
+          LayoutTableRow {TR} at (0,0) size 697x28
+            LayoutTableCell {TD} at (0,0) size 697x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 697x290
+            LayoutTableCell {TD} at (0,159) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 685x290 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 677x20
+                LayoutText {#text} at (0,0) size 157x19
+                  text run at (0,0) width 157: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (157,3) size 96x16
+                    text run at (157,3) width 96: "border-style"
+                LayoutText {#text} at (253,0) size 89x19
+                  text run at (253,0) width 89: " is supported.)"
+              LayoutBlockFlow {P} at (4,40) size 677x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,76) size 677x48 [border: (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,25) size 377x19
+                  text run at (3,25) width 377: "This paragraph should have a top border width of 25 pixels."
+              LayoutBlockFlow {P} at (4,140) size 677x28 [border: (5px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,5) size 334x19
+                  text run at (3,5) width 334: "This paragraph should have a thick top border width."
+              LayoutBlockFlow {P} at (4,184) size 677x26 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 354x19
+                  text run at (3,3) width 354: "This paragraph should have a medium top border width."
+              LayoutBlockFlow {P} at (4,226) size 677x24 [border: (1px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,1) size 327x19
+                  text run at (3,1) width 327: "This paragraph should have a thin top border width."
+              LayoutBlockFlow {P} at (4,266) size 677x20
+                LayoutText {#text} at (0,0) size 527x19
+                  text run at (0,0) width 527: "This paragraph should have no border and no extra \"padding\" on its top side, as no "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (527,3) size 96x16
+                    text run at (527,3) width 96: "border-style"
+                LayoutText {#text} at (623,0) size 54x19
+                  text run at (623,0) width 54: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top_width_inline-expected.txt
new file mode 100644
index 0000000..62c8bdd4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_top_width_inline-expected.txt
@@ -0,0 +1,87 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 408x48
+          text run at (0,0) width 408: ".one {border-top-width: 25px; border-style: solid;}"
+          text run at (408,0) width 0: " "
+          text run at (0,16) width 408: ".two {border-top-width: thin; border-style: solid;}"
+          text run at (408,16) width 0: " "
+          text run at (0,32) width 256: ".three {border-top-width: 25px;}"
+          text run at (256,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x88 [border: (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,25) size 172x19
+          text run at (3,25) width 172: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (175,28) size 24x16
+            text run at (175,28) width 24: "one"
+        LayoutText {#text} at (199,25) size 162x19
+          text run at (199,25) width 8: ". "
+          text run at (207,25) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 174x23 [border: (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (363,25) size 144x19
+            text run at (363,25) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (506,28) size 25x16
+              text run at (506,28) width 25: "two"
+        LayoutText {#text} at (533,25) size 772x59
+          text run at (533,25) width 221: ", which should result in a thin solid"
+          text run at (3,45) width 692: "border on the top side of each box in the inline element (and the UA's default border on the other three sides). "
+          text run at (695,45) width 80: "There is also"
+          text run at (3,65) width 19: "an "
+        LayoutInline {SPAN} at (0,0) size 183x19
+          LayoutText {#text} at (22,65) size 143x19
+            text run at (22,65) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x16
+            LayoutText {#text} at (165,68) size 40x16
+              text run at (165,68) width 40: "three"
+        LayoutText {#text} at (205,65) size 569x19
+          text run at (205,65) width 569: ", which should have no top border width or visible border because no border style was set."
+      LayoutTable {TABLE} at (0,219) size 784x146 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x144
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x116
+            LayoutTableCell {TD} at (0,72) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x116 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x108 [border: (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,25) size 172x19
+                  text run at (3,25) width 172: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (175,28) size 24x16
+                    text run at (175,28) width 24: "one"
+                LayoutText {#text} at (199,25) size 162x19
+                  text run at (199,25) width 8: ". "
+                  text run at (207,25) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 174x23 [border: (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (363,25) size 144x19
+                    text run at (363,25) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (506,28) size 25x16
+                      text run at (506,28) width 25: "two"
+                LayoutText {#text} at (533,25) size 751x59
+                  text run at (533,25) width 221: ", which should result in a thin solid"
+                  text run at (3,45) width 692: "border on the top side of each box in the inline element (and the UA's default border on the other three sides). "
+                  text run at (695,45) width 51: "There is"
+                  text run at (3,65) width 48: "also an "
+                LayoutInline {SPAN} at (0,0) size 183x19
+                  LayoutText {#text} at (51,65) size 143x19
+                    text run at (51,65) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x16
+                    LayoutText {#text} at (194,68) size 40x16
+                      text run at (194,68) width 40: "three"
+                LayoutText {#text} at (234,65) size 746x39
+                  text run at (234,65) width 515: ", which should have no top border width or visible border because no border style"
+                  text run at (3,85) width 50: "was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_width-expected.txt
new file mode 100644
index 0000000..fda2646
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_width-expected.txt
@@ -0,0 +1,98 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 941
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x941 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x941
+    LayoutBlockFlow {BODY} at (8,8) size 769x925 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 408x96
+          text run at (0,0) width 400: ".zero {background-color: silver; border-width: 0;}"
+          text run at (400,0) width 0: " "
+          text run at (0,16) width 376: ".one {border-width: 50px; border-style: solid;}"
+          text run at (376,16) width 0: " "
+          text run at (0,32) width 384: ".two {border-width: thick; border-style: solid;}"
+          text run at (384,32) width 0: " "
+          text run at (0,48) width 408: ".three {border-width: medium; border-style: solid;}"
+          text run at (408,48) width 0: " "
+          text run at (0,64) width 384: ".four {border-width: thin; border-style: solid;}"
+          text run at (384,64) width 0: " "
+          text run at (0,80) width 216: ".five {border-width: 25px;}"
+          text run at (216,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 157x19
+          text run at (0,0) width 157: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (157,3) size 96x16
+            text run at (157,3) width 96: "border-style"
+        LayoutText {#text} at (253,0) size 89x19
+          text run at (253,0) width 89: " is supported.)"
+      LayoutBlockFlow {P} at (0,199) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,235) size 769x120 [border: (50px solid #000000)]
+        LayoutText {#text} at (50,50) size 394x19
+          text run at (50,50) width 394: "This element should have an overall border width of 50 pixels."
+      LayoutBlockFlow {P} at (0,371) size 769x30 [border: (5px solid #000000)]
+        LayoutText {#text} at (5,5) size 343x19
+          text run at (5,5) width 343: "This element should have a thick overall border width."
+      LayoutBlockFlow {P} at (0,417) size 769x26 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 363x19
+          text run at (3,3) width 363: "This element should have a medium overall border width."
+      LayoutBlockFlow {P} at (0,459) size 769x22 [border: (1px solid #000000)]
+        LayoutText {#text} at (1,1) size 336x19
+          text run at (1,1) width 336: "This element should have a thin overall border width."
+      LayoutBlockFlow {P} at (0,497) size 769x20
+        LayoutText {#text} at (0,0) size 498x19
+          text run at (0,0) width 498: "This element should have no border and no extra \"padding\" on any side, as no "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (498,3) size 96x16
+            text run at (498,3) width 96: "border-style"
+        LayoutText {#text} at (594,0) size 54x19
+          text run at (594,0) width 54: " was set."
+      LayoutTable {TABLE} at (0,533) size 670x392 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 668x390
+          LayoutTableRow {TR} at (0,0) size 668x28
+            LayoutTableCell {TD} at (0,0) size 668x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 668x362
+            LayoutTableCell {TD} at (0,195) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 656x362 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 648x20
+                LayoutText {#text} at (0,0) size 157x19
+                  text run at (0,0) width 157: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (157,3) size 96x16
+                    text run at (157,3) width 96: "border-style"
+                LayoutText {#text} at (253,0) size 89x19
+                  text run at (253,0) width 89: " is supported.)"
+              LayoutBlockFlow {P} at (4,40) size 648x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,76) size 648x120 [border: (50px solid #000000)]
+                LayoutText {#text} at (50,50) size 394x19
+                  text run at (50,50) width 394: "This element should have an overall border width of 50 pixels."
+              LayoutBlockFlow {P} at (4,212) size 648x30 [border: (5px solid #000000)]
+                LayoutText {#text} at (5,5) size 343x19
+                  text run at (5,5) width 343: "This element should have a thick overall border width."
+              LayoutBlockFlow {P} at (4,258) size 648x26 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 363x19
+                  text run at (3,3) width 363: "This element should have a medium overall border width."
+              LayoutBlockFlow {P} at (4,300) size 648x22 [border: (1px solid #000000)]
+                LayoutText {#text} at (1,1) size 336x19
+                  text run at (1,1) width 336: "This element should have a thin overall border width."
+              LayoutBlockFlow {P} at (4,338) size 648x20
+                LayoutText {#text} at (0,0) size 498x19
+                  text run at (0,0) width 498: "This element should have no border and no extra \"padding\" on any side, as no "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (498,3) size 96x16
+                    text run at (498,3) width 96: "border-style"
+                LayoutText {#text} at (594,0) size 54x19
+                  text run at (594,0) width 54: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_width_inline-expected.txt
new file mode 100644
index 0000000..6465ff64
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/border_width_inline-expected.txt
@@ -0,0 +1,86 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 376x48
+          text run at (0,0) width 376: ".one {border-width: 25px; border-style: solid;}"
+          text run at (376,0) width 0: " "
+          text run at (0,16) width 376: ".two {border-width: thin; border-style: solid;}"
+          text run at (376,16) width 0: " "
+          text run at (0,32) width 224: ".three {border-width: 25px;}"
+          text run at (224,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x110 [border: (25px solid #000000)]
+        LayoutText {#text} at (25,25) size 172x19
+          text run at (25,25) width 172: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (197,28) size 24x16
+            text run at (197,28) width 24: "one"
+        LayoutText {#text} at (221,25) size 162x19
+          text run at (221,25) width 8: ". "
+          text run at (229,25) width 154: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 170x21 [border: (1px solid #000000)]
+          LayoutText {#text} at (383,25) size 144x19
+            text run at (383,25) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (526,28) size 25x16
+              text run at (526,28) width 25: "two"
+        LayoutText {#text} at (551,25) size 713x39
+          text run at (551,25) width 187: ", which should result in a thin"
+          text run at (25,45) width 374: "solid border on each side of each box in the inline element. "
+          text run at (399,45) width 103: "There is also an "
+        LayoutInline {SPAN} at (0,0) size 183x19
+          LayoutText {#text} at (502,45) size 143x19
+            text run at (502,45) width 143: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x16
+            LayoutText {#text} at (645,48) size 40x16
+              text run at (645,48) width 40: "three"
+        LayoutText {#text} at (685,45) size 707x39
+          text run at (685,45) width 47: ", which"
+          text run at (25,65) width 387: "should have no border width because no border style was set."
+      LayoutTable {TABLE} at (0,241) size 784x148 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x146
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x118
+            LayoutTableCell {TD} at (0,73) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x118 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x110 [border: (25px solid #000000)]
+                LayoutText {#text} at (25,25) size 172x19
+                  text run at (25,25) width 172: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (197,28) size 24x16
+                    text run at (197,28) width 24: "one"
+                LayoutText {#text} at (221,25) size 162x19
+                  text run at (221,25) width 8: ". "
+                  text run at (229,25) width 154: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 170x21 [border: (1px solid #000000)]
+                  LayoutText {#text} at (383,25) size 144x19
+                    text run at (383,25) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (526,28) size 25x16
+                      text run at (526,28) width 25: "two"
+                LayoutText {#text} at (551,25) size 685x39
+                  text run at (551,25) width 159: ", which should result in a"
+                  text run at (25,45) width 402: "thin solid border on each side of each box in the inline element. "
+                  text run at (427,45) width 103: "There is also an "
+                LayoutInline {SPAN} at (0,0) size 183x19
+                  LayoutText {#text} at (530,45) size 143x19
+                    text run at (530,45) width 143: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x16
+                    LayoutText {#text} at (673,48) size 40x16
+                      text run at (673,48) width 40: "three"
+                LayoutText {#text} at (713,45) size 692x39
+                  text run at (713,45) width 4: ","
+                  text run at (25,65) width 430: "which should have no border width because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/clear-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/clear-expected.txt
new file mode 100644
index 0000000..345d819
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/clear-expected.txt
@@ -0,0 +1,92 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1005
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1005 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1005
+    LayoutBlockFlow {BODY} at (8,8) size 769x989 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 168x64
+          text run at (0,0) width 152: ".one {clear: left;}"
+          text run at (152,0) width 0: " "
+          text run at (0,16) width 160: ".two {clear: right;}"
+          text run at (160,16) width 0: " "
+          text run at (0,32) width 168: ".three {clear: both;}"
+          text run at (168,32) width 0: " "
+          text run at (0,48) width 160: ".four {clear: none;}"
+          text run at (160,48) width 0: " "
+      LayoutImage (floating) {IMG} at (0,123) size 15x50
+      LayoutBlockFlow {P} at (0,131) size 769x20
+        LayoutText {#text} at (18,0) size 594x19
+          text run at (18,0) width 594: "This text should be flowing past a tall orange rectangle on the left side of the browser window."
+      LayoutBlockFlow (anonymous) at (0,167) size 769x20
+        LayoutBR {BR} at (18,0) size 0x19
+        LayoutImage (floating) {IMG} at (0,20) size 15x50
+      LayoutBlockFlow {P} at (0,237) size 769x20
+        LayoutText {#text} at (0,0) size 649x19
+          text run at (0,0) width 649: "This paragraph should appear below the tall orange rectangle above and to the left, and not flow past it."
+      LayoutBlockFlow (anonymous) at (0,273) size 769x20
+        LayoutBR {BR} at (0,0) size 0x19
+        LayoutImage (floating) {IMG} at (754,20) size 15x50
+      LayoutBlockFlow {P} at (0,343) size 769x20
+        LayoutText {#text} at (0,0) size 658x19
+          text run at (0,0) width 658: "This paragraph should appear below the tall orange rectangle above and to the right, and not flow past it."
+      LayoutBlockFlow (anonymous) at (0,379) size 769x20
+        LayoutBR {BR} at (0,0) size 0x19
+        LayoutImage (floating) {IMG} at (0,20) size 15x50
+        LayoutImage (floating) {IMG} at (754,20) size 15x50
+      LayoutBlockFlow {P} at (0,449) size 769x20
+        LayoutText {#text} at (0,0) size 602x19
+          text run at (0,0) width 602: "This paragraph should appear below the two tall orange rectangles, and not flow between them."
+      LayoutImage (floating) {IMG} at (0,485) size 15x50
+      LayoutImage (floating) {IMG} at (754,485) size 15x50
+      LayoutBlockFlow {P} at (0,485) size 769x20
+        LayoutText {#text} at (18,0) size 390x19
+          text run at (18,0) width 390: "This paragraph should be between both tall orange rectangles."
+      LayoutBlockFlow (anonymous) at (0,521) size 769x20
+        LayoutBR {BR} at (18,0) size 0x19
+      LayoutTable {TABLE} at (0,541) size 680x448 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 678x446
+          LayoutTableRow {TR} at (0,0) size 678x28
+            LayoutTableCell {TD} at (0,0) size 678x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 678x418
+            LayoutTableCell {TD} at (0,223) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 666x418 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutImage (floating) {IMG} at (4,4) size 15x50
+              LayoutBlockFlow {P} at (4,4) size 658x20
+                LayoutText {#text} at (18,0) size 594x19
+                  text run at (18,0) width 594: "This text should be flowing past a tall orange rectangle on the left side of the browser window."
+              LayoutBlockFlow (anonymous) at (4,40) size 658x20
+                LayoutBR {BR} at (18,0) size 0x19
+                LayoutImage (floating) {IMG} at (0,20) size 15x50
+              LayoutBlockFlow {P} at (4,110) size 658x20
+                LayoutText {#text} at (0,0) size 649x19
+                  text run at (0,0) width 649: "This paragraph should appear below the tall orange rectangle above and to the left, and not flow past it."
+              LayoutBlockFlow (anonymous) at (4,146) size 658x20
+                LayoutBR {BR} at (0,0) size 0x19
+                LayoutImage (floating) {IMG} at (643,20) size 15x50
+              LayoutBlockFlow {P} at (4,216) size 658x20
+                LayoutText {#text} at (0,0) size 658x19
+                  text run at (0,0) width 658: "This paragraph should appear below the tall orange rectangle above and to the right, and not flow past it."
+              LayoutBlockFlow (anonymous) at (4,252) size 658x20
+                LayoutBR {BR} at (0,0) size 0x19
+                LayoutImage (floating) {IMG} at (0,20) size 15x50
+                LayoutImage (floating) {IMG} at (643,20) size 15x50
+              LayoutBlockFlow {P} at (4,322) size 658x20
+                LayoutText {#text} at (0,0) size 602x19
+                  text run at (0,0) width 602: "This paragraph should appear below the two tall orange rectangles, and not flow between them."
+              LayoutImage (floating) {IMG} at (4,358) size 15x50
+              LayoutImage (floating) {IMG} at (647,358) size 15x50
+              LayoutBlockFlow {P} at (4,358) size 658x20
+                LayoutText {#text} at (18,0) size 390x19
+                  text run at (18,0) width 390: "This paragraph should be between both tall orange rectangles."
+              LayoutBlockFlow (anonymous) at (4,394) size 658x20
+                LayoutBR {BR} at (18,0) size 0x19
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/clear_float-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/clear_float-expected.txt
new file mode 100644
index 0000000..088bc55
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/clear_float-expected.txt
@@ -0,0 +1,161 @@
+layer at (0,0) size 800x600 scrollHeight 826
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x826 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x825.88
+    LayoutBlockFlow {BODY} at (8,8) size 784x809.88 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,33) size 784x144
+        LayoutText {#text} at (0,0) size 616x144
+          text run at (0,0) width 392: "P { margin: 0; padding: 0; text-align:  justify;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 0: " "
+          text run at (0,32) width 384: "DIV.menu {float: left; clear: left; width: 11em;"
+          text run at (384,32) width 0: " "
+          text run at (0,48) width 464: "          margin: 0; margin-bottom: 10px; padding: 0.5em;}"
+          text run at (464,48) width 0: " "
+          text run at (0,64) width 432: "DIV.menu H1 {font-size: 1.2em; margin: 0; padding: 0;}"
+          text run at (432,64) width 0: " "
+          text run at (0,80) width 448: "DIV.menu UL {margin: 0.2em 0.3em 0.2em 1em; padding: 0;}"
+          text run at (448,80) width 0: " "
+          text run at (0,96) width 616: "DIV.article {padding: 0.5em; margin: 0; margin-left: 14em; margin-right: 2em;"
+          text run at (616,96) width 0: " "
+          text run at (0,112) width 480: "             color: black; background: yellow; clear: none;}"
+          text run at (480,112) width 0: " "
+          text run at (0,128) width 0: " "
+      LayoutBlockFlow (floating) {DIV} at (0,200) size 192x125.38 [color=#FFFFFF] [bgcolor=#008000]
+        LayoutBlockFlow {H1} at (8,8) size 176x23
+          LayoutText {#text} at (0,0) size 84x22
+            text run at (0,0) width 84: "Top menu"
+        LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
+          LayoutListItem {LI} at (0,0) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 35x19
+              text run at (0,0) width 35: "green"
+          LayoutListItem {LI} at (0,20) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 62x19
+              text run at (0,0) width 62: "white text"
+          LayoutListItem {LI} at (0,40) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 94x19
+              text run at (0,0) width 94: "0.5em padding"
+          LayoutListItem {LI} at (0,60) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 87x19
+              text run at (0,0) width 87: "0.5em margin"
+      LayoutBlockFlow (floating) {DIV} at (0,335.38) size 192x125.38 [color=#FFFFFF] [bgcolor=#0000FF]
+        LayoutBlockFlow {H1} at (8,8) size 176x23
+          LayoutText {#text} at (0,0) size 112x22
+            text run at (0,0) width 112: "Bottom menu"
+        LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
+          LayoutListItem {LI} at (0,0) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 106x19
+              text run at (0,0) width 106: "blue background"
+          LayoutListItem {LI} at (0,20) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 62x19
+              text run at (0,0) width 62: "white text"
+          LayoutListItem {LI} at (0,40) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 94x19
+              text run at (0,0) width 94: "0.5em padding"
+          LayoutListItem {LI} at (0,60) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 87x19
+              text run at (0,0) width 87: "0.5em margin"
+      LayoutBlockFlow {DIV} at (224,200) size 528x235.88 [bgcolor=#FFFF00]
+        LayoutBlockFlow {H1} at (8,29.44) size 512x37
+          LayoutText {#text} at (0,0) size 275x36
+            text run at (0,0) width 275: "The 'clear' property"
+        LayoutBlockFlow {P} at (8,87.88) size 512x100
+          LayoutText {#text} at (0,0) size 512x99
+            text run at (0,0) width 512: "This page has two floating \"menus\" on the side; one has a green background,"
+            text run at (0,20) width 238: "and the other a blue background. "
+            text run at (238,20) width 274: "Due to settings on the 'float' and 'clear'"
+            text run at (0,40) width 512: "properties, the two menus should appear on the left side of the page, the blue"
+            text run at (0,60) width 512: "below the green. There should be a 10px gap between the two menus. There"
+            text run at (0,80) width 459: "should also be a 10px gap between the top menu and the top of the page."
+        LayoutBlockFlow {P} at (8,187.88) size 512x40
+          LayoutText {#text} at (0,0) size 512x39
+            text run at (0,0) width 512: "The top of the yellow rectangle (to which this paragraph belongs) should be"
+            text run at (0,20) width 331: "vertically aligned with the top of the green rectangle."
+      LayoutTable {TABLE} at (192,435.88) size 592x374 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 590x372
+          LayoutTableRow {TR} at (0,0) size 590x28
+            LayoutTableCell {TD} at (0,0) size 590x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 590x344
+            LayoutTableCell {TD} at (0,186) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 578x343.88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (floating) {DIV} at (4,4) size 192x125.38 [color=#FFFFFF] [bgcolor=#008000]
+                LayoutBlockFlow {H1} at (8,8) size 176x23
+                  LayoutText {#text} at (0,0) size 84x22
+                    text run at (0,0) width 84: "Top menu"
+                LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
+                  LayoutListItem {LI} at (0,0) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 35x19
+                      text run at (0,0) width 35: "green"
+                  LayoutListItem {LI} at (0,20) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 62x19
+                      text run at (0,0) width 62: "white text"
+                  LayoutListItem {LI} at (0,40) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 94x19
+                      text run at (0,0) width 94: "0.5em padding"
+                  LayoutListItem {LI} at (0,60) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 87x19
+                      text run at (0,0) width 87: "0.5em margin"
+              LayoutBlockFlow (floating) {DIV} at (4,139.38) size 192x125.38 [color=#FFFFFF] [bgcolor=#0000FF]
+                LayoutBlockFlow {H1} at (8,8) size 176x23
+                  LayoutText {#text} at (0,0) size 112x22
+                    text run at (0,0) width 112: "Bottom menu"
+                LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
+                  LayoutListItem {LI} at (0,0) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 106x19
+                      text run at (0,0) width 106: "blue background"
+                  LayoutListItem {LI} at (0,20) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 62x19
+                      text run at (0,0) width 62: "white text"
+                  LayoutListItem {LI} at (0,40) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 94x19
+                      text run at (0,0) width 94: "0.5em padding"
+                  LayoutListItem {LI} at (0,60) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 87x19
+                      text run at (0,0) width 87: "0.5em margin"
+              LayoutBlockFlow {DIV} at (228,4) size 314x335.88 [bgcolor=#FFFF00]
+                LayoutBlockFlow {H1} at (8,29.44) size 298x37
+                  LayoutText {#text} at (0,0) size 275x36
+                    text run at (0,0) width 275: "The 'clear' property"
+                LayoutBlockFlow {P} at (8,87.88) size 298x180
+                  LayoutText {#text} at (0,0) size 298x179
+                    text run at (0,0) width 298: "This page has two floating \"menus\" on the"
+                    text run at (0,20) width 298: "side; one has a green background, and the"
+                    text run at (0,40) width 161: "other a blue background. "
+                    text run at (161,40) width 137: "Due to settings on the"
+                    text run at (0,60) width 298: "'float' and 'clear' properties, the two menus"
+                    text run at (0,80) width 298: "should appear on the left side of the page, the"
+                    text run at (0,100) width 298: "blue below the green. There should be a 10px"
+                    text run at (0,120) width 298: "gap between the two menus. There should also"
+                    text run at (0,140) width 298: "be a 10px gap between the top menu and the"
+                    text run at (0,160) width 98: "top of the page."
+                LayoutBlockFlow {P} at (8,267.88) size 298x60
+                  LayoutText {#text} at (0,0) size 298x59
+                    text run at (0,0) width 298: "The top of the yellow rectangle (to which this"
+                    text run at (0,20) width 298: "paragraph belongs) should be vertically aligned"
+                    text run at (0,40) width 219: "with the top of the green rectangle."
+layer at (8,198) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,190) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float-expected.txt
new file mode 100644
index 0000000..d306f80
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 160x48
+          text run at (0,0) width 152: ".one {float: left;}"
+          text run at (152,0) width 0: " "
+          text run at (0,16) width 160: ".two {float: right;}"
+          text run at (160,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutImage (floating) {IMG} at (0,107) size 15x50
+      LayoutBlockFlow {P} at (0,115) size 784x40
+        LayoutText {#text} at (15,0) size 763x39
+          text run at (15,0) width 598: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
+          text run at (612,0) width 166: "In this case, it is the image"
+          text run at (15,20) width 212: "which has been floated to the left."
+      LayoutBlockFlow (anonymous) at (0,171) size 784x20
+        LayoutBR {BR} at (0,0) size 0x19
+      LayoutImage (floating) {IMG} at (769,209) size 15x50
+      LayoutBlockFlow {P} at (0,217) size 784x40
+        LayoutText {#text} at (0,0) size 730x39
+          text run at (0,0) width 607: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
+          text run at (606,0) width 124: "In this case, it is the"
+          text run at (0,20) width 263: "image which has been floated to the right."
+      LayoutTable {TABLE} at (0,273) size 784x182 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x180
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x152
+            LayoutTableCell {TD} at (0,90) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x152 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutImage (floating) {IMG} at (4,4) size 15x50
+              LayoutBlockFlow {P} at (4,4) size 762x40
+                LayoutText {#text} at (15,0) size 721x39
+                  text run at (15,0) width 598: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
+                  text run at (612,0) width 124: "In this case, it is the"
+                  text run at (15,20) width 254: "image which has been floated to the left."
+              LayoutBlockFlow (anonymous) at (4,60) size 762x20
+                LayoutBR {BR} at (0,0) size 0x19
+              LayoutImage (floating) {IMG} at (751,98) size 15x50
+              LayoutBlockFlow {P} at (4,106) size 762x40
+                LayoutText {#text} at (0,0) size 730x39
+                  text run at (0,0) width 607: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
+                  text run at (606,0) width 124: "In this case, it is the"
+                  text run at (0,20) width 263: "image which has been floated to the right."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,207) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,199) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,398) size 762x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,88) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt
index 28431d1..527a8af1 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt
@@ -32,7 +32,6 @@
           text run at (0,176) width 200: "TABLE {margin: 20px 0px;}"
           text run at (200,176) width 0: " "
           text run at (0,192) width 0: " "
-      LayoutBlockFlow {HR} at (0,254) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,264) size 769x40
         LayoutText {#text} at (0,0) size 769x39
           text run at (0,0) width 769: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this page"
@@ -157,6 +156,8 @@
                         LayoutBlockFlow {IMG} at (0,0) size 100x1
                       LayoutTableCell {TD} at (600,10) size 20x1 [bgcolor=#000000] [r=0 c=14 rs=1 cs=1]
                         LayoutBlockFlow {IMG} at (0,0) size 20x1
+layer at (8,262) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,254) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (8,442) size 20x1
   LayoutBlockFlow {SPAN} at (0,0) size 20x1
     LayoutInline {SPAN} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float_margin-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float_margin-expected.txt
new file mode 100644
index 0000000..b620475
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float_margin-expected.txt
@@ -0,0 +1,166 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1915
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1915 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1915
+    LayoutBlockFlow {BODY} at (8,8) size 769x1899 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x144
+        LayoutText {#text} at (0,0) size 560x144
+          text run at (0,0) width 344: "P.test {background: white; font-size: 20px;"
+          text run at (344,0) width 0: " "
+          text run at (0,16) width 560: "        margin-left: 30px; margin-right: 10px; padding: 0; border: 0;}"
+          text run at (560,16) width 0: " "
+          text run at (0,32) width 312: "IMG {padding: 0; border: 0; margin: 0;}"
+          text run at (312,32) width 0: " "
+          text run at (0,48) width 200: "P.test IMG {float: left;}"
+          text run at (200,48) width 0: " "
+          text run at (0,64) width 352: "#img2 {margin-top: 30px; margin-left: 30px;}"
+          text run at (352,64) width 0: " "
+          text run at (0,80) width 368: "#img3 {margin-top: -30px; margin-left: -30px;}"
+          text run at (368,80) width 0: " "
+          text run at (0,96) width 384: "#img4 {margin-right: 30px; margin-bottom: 30px;}"
+          text run at (384,96) width 0: " "
+          text run at (0,112) width 400: "#img5 {margin-right: -30px; margin-bottom: -30px;}"
+          text run at (400,112) width 0: " "
+          text run at (0,128) width 0: " "
+      LayoutBlockFlow {P} at (30,215) size 729x92 [bgcolor=#FFFFFF]
+        LayoutText {#text} at (0,0) size 729x91
+          text run at (0,0) width 663: "This paragraph should have a white background which extends to the edges of the"
+          text run at (0,23) width 122: "element's box. "
+          text run at (122,23) width 441: "There is no padding set on this paragraph whatsoever. "
+          text run at (562,23) width 167: "If the background of"
+          text run at (0,46) width 721: "the entire box is not white, this may cause problems with the following tests; at any rate,"
+          text run at (0,69) width 240: "it must be taken into account."
+      LayoutBlockFlow {P} at (30,327) size 729x115 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (0,0) size 60x60
+        LayoutText {#text} at (60,0) size 719x114
+          text run at (60,0) width 638: "The image in the upper left corner of this paragraph should be floated left, and"
+          text run at (60,23) width 119: "nothing more. "
+          text run at (179,23) width 540: "The edges of the white background should line up with the top and"
+          text run at (60,46) width 196: "left edges of the image. "
+          text run at (256,46) width 454: "This paragraph should have a white background, first of"
+          text run at (0,69) width 428: "all, which extends to the edges of the element's box. "
+          text run at (428,69) width 249: "There is no padding set on this"
+          text run at (0,92) width 182: "paragraph whatsoever."
+      LayoutBlockFlow {P} at (30,462) size 729x115 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (30,30) size 60x60
+        LayoutText {#text} at (90,0) size 717x114
+          text run at (90,0) width 615: "The image in the upper left corner of this paragraph should be pushed down"
+          text run at (90,23) width 611: "and to the right 30 pixels each from the upper left corner of the paragraph's"
+          text run at (90,46) width 403: "box, and displace the paragraph text accordingly. "
+          text run at (492,46) width 225: "This paragraph should have"
+          text run at (90,69) width 613: "a white background, first of all, which extends to the edges of the element's"
+          text run at (0,92) width 40: "box. "
+          text run at (40,92) width 436: "There is no padding set on this paragraph whatsoever."
+      LayoutBlockFlow {P} at (30,597) size 729x115 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (-30,-30) size 60x60
+        LayoutText {#text} at (30,0) size 721x114
+          text run at (30,0) width 676: "The image in the upper left corner of this paragraph should be pushed up and to the"
+          text run at (30,23) width 691: "left 30 pixels each from the upper left corner of the paragraph's box, thus causing the"
+          text run at (0,46) width 633: "edges of the white background to align with the thick gray lines in the image. "
+          text run at (633,46) width 36: "This"
+          text run at (0,69) width 719: "paragraph should have a white background, first of all, which extends to the edges of the"
+          text run at (0,92) width 122: "element's box. "
+          text run at (122,92) width 436: "There is no padding set on this paragraph whatsoever."
+      LayoutBlockFlow {P} at (30,732) size 729x138 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (0,0) size 60x60
+        LayoutText {#text} at (90,0) size 728x137
+          text run at (90,0) width 638: "The image in the upper left corner of this paragraph should be floated left, and"
+          text run at (90,23) width 618: "the edges of the white background should line up with the top and left edges"
+          text run at (90,46) width 112: "of the image. "
+          text run at (202,46) width 504: "However, there should be 30 pixels of space between the right"
+          text run at (90,69) width 524: "and bottom edges of the image and the paragraph text around it. "
+          text run at (614,69) width 36: "This"
+          text run at (0,92) width 719: "paragraph should have a white background, first of all, which extends to the edges of the"
+          text run at (0,115) width 122: "element's box. "
+          text run at (122,115) width 436: "There is no padding set on this paragraph whatsoever."
+      LayoutBlockFlow {P} at (30,890) size 729x138 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (0,0) size 60x60
+        LayoutText {#text} at (30,0) size 706x137
+          text run at (30,0) width 668: "The image in the upper left corner of this paragraph should be floated left, and the"
+          text run at (30,23) width 640: "edges of the white background should line up with the top and left edges of the"
+          text run at (0,46) width 60: "image. "
+          text run at (60,46) width 636: "However, the text should overlap the image's right and bottom sides, lining up"
+          text run at (0,69) width 313: "with the thick gray lines in the image. "
+          text run at (313,69) width 393: "This paragraph should have a white background,"
+          text run at (0,92) width 489: "first of all, which extends to the edges of the element's box. "
+          text run at (489,92) width 214: "There is no padding set on"
+          text run at (0,115) width 217: "this paragraph whatsoever."
+      LayoutTable {TABLE} at (0,1048) size 769x851 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x849
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x821
+            LayoutTableCell {TD} at (0,424) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x821 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (34,4) size 707x92 [bgcolor=#FFFFFF]
+                LayoutText {#text} at (0,0) size 707x91
+                  text run at (0,0) width 663: "This paragraph should have a white background which extends to the edges of the"
+                  text run at (0,23) width 122: "element's box. "
+                  text run at (122,23) width 441: "There is no padding set on this paragraph whatsoever. "
+                  text run at (562,23) width 145: "If the background"
+                  text run at (0,46) width 702: "of the entire box is not white, this may cause problems with the following tests; at any"
+                  text run at (0,69) width 281: "rate, it must be taken into account."
+              LayoutBlockFlow {P} at (34,116) size 707x115 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (0,0) size 60x60
+                LayoutText {#text} at (60,0) size 703x114
+                  text run at (60,0) width 638: "The image in the upper left corner of this paragraph should be floated left, and"
+                  text run at (60,23) width 119: "nothing more. "
+                  text run at (179,23) width 506: "The edges of the white background should line up with the top"
+                  text run at (60,46) width 230: "and left edges of the image. "
+                  text run at (290,46) width 393: "This paragraph should have a white background,"
+                  text run at (0,69) width 489: "first of all, which extends to the edges of the element's box. "
+                  text run at (489,69) width 214: "There is no padding set on"
+                  text run at (0,92) width 217: "this paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,251) size 707x115 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (30,30) size 60x60
+                LayoutText {#text} at (90,0) size 705x114
+                  text run at (90,0) width 615: "The image in the upper left corner of this paragraph should be pushed down"
+                  text run at (90,23) width 611: "and to the right 30 pixels each from the upper left corner of the paragraph's"
+                  text run at (90,46) width 403: "box, and displace the paragraph text accordingly. "
+                  text run at (492,46) width 182: "This paragraph should"
+                  text run at (90,69) width 574: "have a white background, first of all, which extends to the edges of the"
+                  text run at (0,92) width 122: "element's box. "
+                  text run at (122,92) width 436: "There is no padding set on this paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,386) size 707x115 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (-30,-30) size 60x60
+                LayoutText {#text} at (30,0) size 706x114
+                  text run at (30,0) width 676: "The image in the upper left corner of this paragraph should be pushed up and to the"
+                  text run at (30,23) width 661: "left 30 pixels each from the upper left corner of the paragraph's box, thus causing"
+                  text run at (0,46) width 663: "the edges of the white background to align with the thick gray lines in the image. "
+                  text run at (663,46) width 36: "This"
+                  text run at (0,69) width 689: "paragraph should have a white background, first of all, which extends to the edges of"
+                  text run at (0,92) width 152: "the element's box. "
+                  text run at (152,92) width 436: "There is no padding set on this paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,521) size 707x138 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (0,0) size 60x60
+                LayoutText {#text} at (90,0) size 694x137
+                  text run at (90,0) width 604: "The image in the upper left corner of this paragraph should be floated left,"
+                  text run at (90,23) width 601: "and the edges of the white background should line up with the top and left"
+                  text run at (90,46) width 163: "edges of the image. "
+                  text run at (253,46) width 430: "However, there should be 30 pixels of space between"
+                  text run at (90,69) width 593: "the right and bottom edges of the image and the paragraph text around it."
+                  text run at (0,92) width 657: "This paragraph should have a white background, first of all, which extends to the"
+                  text run at (0,115) width 225: "edges of the element's box. "
+                  text run at (225,115) width 436: "There is no padding set on this paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,679) size 707x138 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (0,0) size 60x60
+                LayoutText {#text} at (30,0) size 706x137
+                  text run at (30,0) width 668: "The image in the upper left corner of this paragraph should be floated left, and the"
+                  text run at (30,23) width 640: "edges of the white background should line up with the top and left edges of the"
+                  text run at (0,46) width 60: "image. "
+                  text run at (60,46) width 636: "However, the text should overlap the image's right and bottom sides, lining up"
+                  text run at (0,69) width 313: "with the thick gray lines in the image. "
+                  text run at (313,69) width 393: "This paragraph should have a white background,"
+                  text run at (0,92) width 489: "first of all, which extends to the edges of the element's box. "
+                  text run at (489,92) width 214: "There is no padding set on"
+                  text run at (0,115) width 217: "this paragraph whatsoever."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float_on_text_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float_on_text_elements-expected.txt
new file mode 100644
index 0000000..d883c0ad
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float_on_text_elements-expected.txt
@@ -0,0 +1,370 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2946
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2946 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2946
+    LayoutBlockFlow {BODY} at (8,8) size 769x2930 [bgcolor=#CCCCCC]
+      LayoutBlockFlow (floating) {P} at (0,0) size 384.50x40 [bgcolor=#FFFF00]
+        LayoutText {#text} at (0,0) size 384x39
+          text run at (0,0) width 384: "This paragraph is of class \"one\". It has a width of 50% and"
+          text run at (0,20) width 124: "is floated to the left."
+      LayoutBlockFlow {P} at (0,0) size 769x100
+        LayoutText {#text} at (384,0) size 769x99
+          text run at (384,0) width 385: "This paragraph should start on the right side of a yellow box"
+          text run at (384,20) width 385: "which contains the previous paragraph. Since the text of this"
+          text run at (0,40) width 769: "element is much longer than the text in the previous element, the text will wrap around the yellow box. There is no"
+          text run at (0,60) width 769: "padding, border or margins on this and the previous element, so the text of the two elements should be very close to each"
+          text run at (0,80) width 36: "other."
+      LayoutBlockFlow (anonymous) at (0,100) size 769x20
+        LayoutBR {BR} at (0,0) size 0x19
+      LayoutBlockFlow (anonymous) at (0,138) size 769x100
+        LayoutBlockFlow (floating) {P} at (0,0) size 769x80 [bgcolor=#FFFF00]
+          LayoutText {#text} at (0,0) size 769x79
+            text run at (0,0) width 769: "This paragraph is of class \"two\". Since the width has been set to 100%, it should automatically be as wide as its parent"
+            text run at (0,20) width 769: "element allows it to be. Therefore, even though the element is floated, there is no room for other content on the sides and a"
+            text run at (0,40) width 769: "orange square image should be seen AFTER the paragraph, not next to it. A yellow background has been added to this"
+            text run at (0,60) width 217: "paragraph for diagnostic purposes."
+        LayoutImage {IMG} at (0,80) size 15x15
+        LayoutText {#text} at (15,80) size 4x19
+          text run at (15,80) width 4: " "
+        LayoutBR {BR} at (19,95) size 0x0
+      LayoutBlockFlow (anonymous) at (0,256) size 769x120
+        LayoutBlockFlow (floating) {P} at (0,0) size 384.50x120 [bgcolor=#FFFF00]
+          LayoutText {#text} at (0,0) size 385x119
+            text run at (0,0) width 384: "This paragraph is floated to the left and the orange square"
+            text run at (0,20) width 384: "image should appear to the right of the paragraph. This"
+            text run at (0,40) width 384: "paragraph has a yellow background and no padding, margin"
+            text run at (0,60) width 385: "or border. The right edge of this yellow box should be"
+            text run at (0,80) width 384: "horizontally aligned with the left edge of the yellow box"
+            text run at (0,100) width 79: "undernearth."
+        LayoutImage {IMG} at (384.50,0) size 15x15
+        LayoutText {#text} at (399,0) size 5x19
+          text run at (399,0) width 5: " "
+        LayoutBR {BR} at (403,15) size 1x0
+      LayoutBlockFlow (anonymous) at (0,394) size 769x120
+        LayoutBlockFlow (floating) {P} at (384.50,0) size 384.50x120 [bgcolor=#FFFF00]
+          LayoutText {#text} at (0,0) size 384x119
+            text run at (0,0) width 384: "This paragraph is floated to the right (using a STYLE"
+            text run at (0,20) width 384: "attribute) and the orange square image should appear to the"
+            text run at (0,40) width 384: "left of the paragraph. This paragraph has a yellow"
+            text run at (0,60) width 384: "background and no padding, margin or border. The left edge"
+            text run at (0,80) width 384: "of this yellow box should be horizonally aligned with the"
+            text run at (0,100) width 224: "right edge of the yellow box above."
+        LayoutImage {IMG} at (0,0) size 15x15
+        LayoutText {#text} at (15,0) size 4x19
+          text run at (15,0) width 4: " "
+        LayoutBR {BR} at (19,15) size 0x0
+      LayoutBlockFlow {P} at (0,532) size 769x60
+        LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 21x36
+            text run at (0,0) width 21: "T"
+        LayoutText {#text} at (48,0) size 769x59
+          text run at (48,0) width 721: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the paragraph, as"
+          text run at (48,20) width 496: "well as bold, with a content width of 1.5em and a background-color of silver. "
+          text run at (543,20) width 226: "The top of the big letter \"T\" should"
+          text run at (0,40) width 675: "be vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
+      LayoutBlockFlow (anonymous) at (0,592) size 769x20
+        LayoutBR {BR} at (0,0) size 0x19
+      LayoutBlockFlow (floating) {P} at (423,640) size 336x216 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
+        LayoutText {#text} at (8,8) size 320x199
+          text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
+          text run at (8,28) width 320: "of like a 'sidebar' in a magazine article. Its width is"
+          text run at (8,48) width 320: "20em so the box should not be reformatted when"
+          text run at (8,68) width 320: "the size of the viewport is changed (e.g. when the"
+          text run at (8,88) width 320: "window is resized). The background color of the"
+          text run at (8,108) width 320: "element is yellow, and there should be a 3px solid"
+          text run at (8,128) width 320: "red border outside a 5px wide padding. Also, the"
+          text run at (8,148) width 320: "element has a 10px wide margin around it where"
+          text run at (8,168) width 320: "the blue background of the paragraph in the"
+          text run at (8,188) width 217: "normal flow should shine through."
+      LayoutBlockFlow {P} at (0,630) size 769x220 [bgcolor=#66CCFF]
+        LayoutText {#text} at (0,0) size 413x219
+          text run at (0,0) width 413: "This paragraph is not floating. If there is enough room, the textual"
+          text run at (0,20) width 413: "content of the paragraph should appear on the left side of the"
+          text run at (0,40) width 193: "yellow \"sidebar\" on the right. "
+          text run at (193,40) width 220: "The content of this element should"
+          text run at (0,60) width 220: "flow around the floated element. "
+          text run at (220,60) width 193: "However, the floated element"
+          text run at (0,80) width 413: "may or may not be obscured by the blue background of this"
+          text run at (0,100) width 413: "element, as the specification does not say which is drawn \"on"
+          text run at (0,120) width 37: "top.\" "
+          text run at (37,120) width 376: "Even if the floated element is obscured, it still forces the"
+          text run at (0,140) width 263: "content of this element to flow around it. "
+          text run at (263,140) width 150: "If the floated element is"
+          text run at (0,160) width 413: "not obscured, then the blue rectangle of this paragraph should"
+          text run at (0,180) width 413: "extend 10px above and to the right of the sidebar's red border,"
+          text run at (0,200) width 319: "due to the margin styles set for the floated element."
+      LayoutBlockFlow (anonymous) at (0,850) size 769x20
+        LayoutBR {BR} at (0,0) size 0x19
+      LayoutBlockFlow {DIV} at (0,888) size 769x28 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
+        LayoutBlockFlow (floating) {DIV} at (425,14) size 330x250 [bgcolor=#FFFF00]
+          LayoutBlockFlow {P} at (5,5) size 320x240
+            LayoutText {#text} at (0,0) size 320x239
+              text run at (0,0) width 320: "This paragraph is placed inside a DIV element"
+              text run at (0,20) width 320: "which is floated to the right. The width of the DIV"
+              text run at (0,40) width 320: "element is 20em. The background is yellow and"
+              text run at (0,60) width 320: "there is a 5px padding, a 10px margin and no"
+              text run at (0,80) width 320: "border. Since it is floated, the yellow box should"
+              text run at (0,100) width 320: "be rendered on top of the background and borders"
+              text run at (0,120) width 320: "of adjacent non-floated elements. To the left of this"
+              text run at (0,140) width 320: "yellow box there should be a short paragraph with"
+              text run at (0,160) width 320: "a blue background and a red border. The yellow"
+              text run at (0,180) width 320: "box should be rendered on top of the bottom red"
+              text run at (0,200) width 320: "border. I.e., the bottom red border will appear"
+              text run at (0,220) width 318: "broken where it's overlaid by the yellow rectangle."
+        LayoutBlockFlow {P} at (4,4) size 761x20
+          LayoutText {#text} at (0,0) size 268x19
+            text run at (0,0) width 268: "See description in the box on the right side"
+      LayoutBlockFlow (anonymous) at (0,916) size 769x246
+        LayoutBR {BR} at (0,0) size 0x19
+      LayoutBlockFlow (floating) {DIV} at (0,1180) size 192.25x80 [bgcolor=#66CCFF]
+        LayoutBlockFlow {P} at (0,0) size 192.25x80
+          LayoutText {#text} at (0,0) size 192x79
+            text run at (0,0) width 192: "This paragraph is inside a"
+            text run at (0,20) width 192: "DIV which is floated left. Its"
+            text run at (0,40) width 192: "background is blue and the"
+            text run at (0,60) width 87: "width is 25%."
+      LayoutBlockFlow (floating) {DIV} at (576.75,1180) size 192.25x80 [bgcolor=#FFFF00]
+        LayoutBlockFlow {P} at (0,0) size 192.25x80
+          LayoutText {#text} at (0,0) size 192x79
+            text run at (0,0) width 192: "This paragraph is inside a"
+            text run at (0,20) width 192: "DIV which is floated right. Its"
+            text run at (0,40) width 192: "background is yellow and the"
+            text run at (0,60) width 87: "width is 25%."
+      LayoutBlockFlow {P} at (0,1180) size 769x40
+        LayoutText {#text} at (192,0) size 385x39
+          text run at (192,0) width 385: "This paragraph should appear between a blue box (on the"
+          text run at (192,20) width 30: "left) "
+          text run at (221,20) width 200: "and a yellow box (on the right)."
+      LayoutBlockFlow (anonymous) at (0,1220) size 769x40
+        LayoutBR {BR} at (192,0) size 1x19
+      LayoutBlockFlow (anonymous) at (0,1278) size 769x140
+        LayoutBlockFlow (floating) {DIV} at (0,0) size 576.75x140 [bgcolor=#66CCFF]
+          LayoutBlockFlow (floating) {DIV} at (422.56,0) size 144.19x40 [bgcolor=#FFFF00]
+            LayoutBlockFlow {P} at (0,0) size 144.19x40
+              LayoutText {#text} at (0,0) size 144x39
+                text run at (0,0) width 144: "See description in the"
+                text run at (0,20) width 124: "box on the left side."
+          LayoutBlockFlow {P} at (0,0) size 576.75x140
+            LayoutText {#text} at (0,0) size 577x139
+              text run at (0,0) width 422: "This paragraph is inside a DIV which is floated left. The"
+              text run at (0,20) width 422: "background of the DIV element is blue and its width is 75%. This"
+              text run at (0,40) width 365: "text should all be inside the blue rectangle. The blue DIV "
+              text run at (365,40) width 211: "element has another DIV element"
+              text run at (0,60) width 166: "as a child. It has a yellow "
+              text run at (166,60) width 362: "background color and is floated to the right. Since it is a "
+              text run at (528,60) width 48: "child of"
+              text run at (0,80) width 373: "the blue DIV, the yellow DIV should appear inside the "
+              text run at (372,80) width 204: "blue rectangle. Due to it being"
+              text run at (0,100) width 193: "floated to the right and having "
+              text run at (193,100) width 384: "a 10px right margin, the yellow rectange should have a 10px"
+              text run at (0,120) width 31: "blue "
+              text run at (31,120) width 138: "stripe on its right side."
+        LayoutBR {BR} at (576,0) size 1x19
+      LayoutTable {TABLE} at (0,1436) size 769x1494 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1492
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1464
+            LayoutTableCell {TD} at (0,746) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1464 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (floating) {P} at (4,4) size 373.50x40 [bgcolor=#FFFF00]
+                LayoutText {#text} at (0,0) size 373x39
+                  text run at (0,0) width 373: "This paragraph is of class \"one\". It has a width of 50% and"
+                  text run at (0,20) width 124: "is floated to the left."
+              LayoutBlockFlow {P} at (4,4) size 747x100
+                LayoutText {#text} at (373,0) size 747x99
+                  text run at (373,0) width 374: "This paragraph should start on the right side of a yellow"
+                  text run at (373,20) width 374: "box which contains the previous paragraph. Since the text"
+                  text run at (0,40) width 747: "of this element is much longer than the text in the previous element, the text will wrap around the yellow box. There is"
+                  text run at (0,60) width 747: "no padding, border or margins on this and the previous element, so the text of the two elements should be very close to"
+                  text run at (0,80) width 69: "each other."
+              LayoutBlockFlow (anonymous) at (4,104) size 747x20
+                LayoutBR {BR} at (0,0) size 0x19
+              LayoutBlockFlow (anonymous) at (4,142) size 747x100
+                LayoutBlockFlow (floating) {P} at (0,0) size 747x80 [bgcolor=#FFFF00]
+                  LayoutText {#text} at (0,0) size 747x79
+                    text run at (0,0) width 747: "This paragraph is of class \"two\". Since the width has been set to 100%, it should automatically be as wide as its parent"
+                    text run at (0,20) width 747: "element allows it to be. Therefore, even though the element is floated, there is no room for other content on the sides"
+                    text run at (0,40) width 747: "and a orange square image should be seen AFTER the paragraph, not next to it. A yellow background has been added"
+                    text run at (0,60) width 259: "to this paragraph for diagnostic purposes."
+                LayoutImage {IMG} at (0,80) size 15x15
+                LayoutText {#text} at (15,80) size 4x19
+                  text run at (15,80) width 4: " "
+                LayoutBR {BR} at (19,95) size 0x0
+              LayoutBlockFlow (anonymous) at (4,260) size 747x120
+                LayoutBlockFlow (floating) {P} at (0,0) size 373.50x120 [bgcolor=#FFFF00]
+                  LayoutText {#text} at (0,0) size 373x119
+                    text run at (0,0) width 373: "This paragraph is floated to the left and the orange square"
+                    text run at (0,20) width 373: "image should appear to the right of the paragraph. This"
+                    text run at (0,40) width 373: "paragraph has a yellow background and no padding,"
+                    text run at (0,60) width 373: "margin or border. The right edge of this yellow box should"
+                    text run at (0,80) width 373: "be horizontally aligned with the left edge of the yellow box"
+                    text run at (0,100) width 79: "undernearth."
+                LayoutImage {IMG} at (373.50,0) size 15x15
+                LayoutText {#text} at (388,0) size 5x19
+                  text run at (388,0) width 5: " "
+                LayoutBR {BR} at (392,15) size 1x0
+              LayoutBlockFlow (anonymous) at (4,398) size 747x120
+                LayoutBlockFlow (floating) {P} at (373.50,0) size 373.50x120 [bgcolor=#FFFF00]
+                  LayoutText {#text} at (0,0) size 373x119
+                    text run at (0,0) width 373: "This paragraph is floated to the right (using a STYLE"
+                    text run at (0,20) width 373: "attribute) and the orange square image should appear to the"
+                    text run at (0,40) width 373: "left of the paragraph. This paragraph has a yellow"
+                    text run at (0,60) width 373: "background and no padding, margin or border. The left"
+                    text run at (0,80) width 373: "edge of this yellow box should be horizonally aligned with"
+                    text run at (0,100) width 247: "the right edge of the yellow box above."
+                LayoutImage {IMG} at (0,0) size 15x15
+                LayoutText {#text} at (15,0) size 4x19
+                  text run at (15,0) width 4: " "
+                LayoutBR {BR} at (19,15) size 0x0
+              LayoutBlockFlow {P} at (4,536) size 747x60
+                LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
+                  LayoutText {#text} at (0,0) size 21x36
+                    text run at (0,0) width 21: "T"
+                LayoutText {#text} at (48,0) size 747x59
+                  text run at (48,0) width 699: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the paragraph, as"
+                  text run at (48,20) width 513: "well as bold, with a content width of 1.5em and a background-color of silver. "
+                  text run at (560,20) width 187: "The top of the big letter \"T\""
+                  text run at (0,40) width 721: "should be vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
+              LayoutBlockFlow (anonymous) at (4,596) size 747x20
+                LayoutBR {BR} at (0,0) size 0x19
+              LayoutBlockFlow (floating) {P} at (405,644) size 336x216 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
+                LayoutText {#text} at (8,8) size 320x199
+                  text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
+                  text run at (8,28) width 320: "of like a 'sidebar' in a magazine article. Its width is"
+                  text run at (8,48) width 320: "20em so the box should not be reformatted when"
+                  text run at (8,68) width 320: "the size of the viewport is changed (e.g. when the"
+                  text run at (8,88) width 320: "window is resized). The background color of the"
+                  text run at (8,108) width 320: "element is yellow, and there should be a 3px solid"
+                  text run at (8,128) width 320: "red border outside a 5px wide padding. Also, the"
+                  text run at (8,148) width 320: "element has a 10px wide margin around it where"
+                  text run at (8,168) width 320: "the blue background of the paragraph in the"
+                  text run at (8,188) width 217: "normal flow should shine through."
+              LayoutBlockFlow {P} at (4,634) size 747x240 [bgcolor=#66CCFF]
+                LayoutText {#text} at (0,0) size 391x239
+                  text run at (0,0) width 391: "This paragraph is not floating. If there is enough room, the"
+                  text run at (0,20) width 391: "textual content of the paragraph should appear on the left side"
+                  text run at (0,40) width 260: "of the yellow \"sidebar\" on the right. "
+                  text run at (260,40) width 131: "The content of this"
+                  text run at (0,60) width 328: "element should flow around the floated element. "
+                  text run at (328,60) width 63: "However,"
+                  text run at (0,80) width 391: "the floated element may or may not be obscured by the blue"
+                  text run at (0,100) width 391: "background of this element, as the specification does not say"
+                  text run at (0,120) width 185: "which is drawn \"on top.\" "
+                  text run at (185,120) width 206: "Even if the floated element is"
+                  text run at (0,140) width 391: "obscured, it still forces the content of this element to flow"
+                  text run at (0,160) width 65: "around it. "
+                  text run at (65,160) width 326: "If the floated element is not obscured, then the blue"
+                  text run at (0,180) width 391: "rectangle of this paragraph should extend 10px above and to"
+                  text run at (0,200) width 391: "the right of the sidebar's red border, due to the margin styles"
+                  text run at (0,220) width 166: "set for the floated element."
+              LayoutBlockFlow (anonymous) at (4,874) size 747x20
+                LayoutBR {BR} at (0,0) size 0x19
+              LayoutBlockFlow {DIV} at (4,912) size 747x28 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
+                LayoutBlockFlow (floating) {DIV} at (403,14) size 330x250 [bgcolor=#FFFF00]
+                  LayoutBlockFlow {P} at (5,5) size 320x240
+                    LayoutText {#text} at (0,0) size 320x239
+                      text run at (0,0) width 320: "This paragraph is placed inside a DIV element"
+                      text run at (0,20) width 320: "which is floated to the right. The width of the DIV"
+                      text run at (0,40) width 320: "element is 20em. The background is yellow and"
+                      text run at (0,60) width 320: "there is a 5px padding, a 10px margin and no"
+                      text run at (0,80) width 320: "border. Since it is floated, the yellow box should"
+                      text run at (0,100) width 320: "be rendered on top of the background and borders"
+                      text run at (0,120) width 320: "of adjacent non-floated elements. To the left of this"
+                      text run at (0,140) width 320: "yellow box there should be a short paragraph with"
+                      text run at (0,160) width 320: "a blue background and a red border. The yellow"
+                      text run at (0,180) width 320: "box should be rendered on top of the bottom red"
+                      text run at (0,200) width 320: "border. I.e., the bottom red border will appear"
+                      text run at (0,220) width 318: "broken where it's overlaid by the yellow rectangle."
+                LayoutBlockFlow {P} at (4,4) size 739x20
+                  LayoutText {#text} at (0,0) size 268x19
+                    text run at (0,0) width 268: "See description in the box on the right side"
+              LayoutBlockFlow (anonymous) at (4,940) size 747x246
+                LayoutBR {BR} at (0,0) size 0x19
+              LayoutBlockFlow (floating) {DIV} at (4,1204) size 186.75x80 [bgcolor=#66CCFF]
+                LayoutBlockFlow {P} at (0,0) size 186.75x80
+                  LayoutText {#text} at (0,0) size 186x79
+                    text run at (0,0) width 186: "This paragraph is inside a"
+                    text run at (0,20) width 186: "DIV which is floated left. Its"
+                    text run at (0,40) width 186: "background is blue and the"
+                    text run at (0,60) width 87: "width is 25%."
+              LayoutBlockFlow (floating) {DIV} at (564.25,1204) size 186.75x80 [bgcolor=#FFFF00]
+                LayoutBlockFlow {P} at (0,0) size 186.75x80
+                  LayoutText {#text} at (0,0) size 186x79
+                    text run at (0,0) width 186: "This paragraph is inside a"
+                    text run at (0,20) width 186: "DIV which is floated right."
+                    text run at (0,40) width 20: "Its "
+                    text run at (20,40) width 166: "background is yellow and"
+                    text run at (0,60) width 110: "the width is 25%."
+              LayoutBlockFlow {P} at (4,1204) size 747x40
+                LayoutText {#text} at (186,0) size 374x39
+                  text run at (186,0) width 374: "This paragraph should appear between a blue box (on the"
+                  text run at (186,20) width 30: "left) "
+                  text run at (215,20) width 200: "and a yellow box (on the right)."
+              LayoutBlockFlow (anonymous) at (4,1244) size 747x40
+                LayoutBR {BR} at (186,0) size 1x19
+              LayoutBlockFlow (anonymous) at (4,1302) size 747x140
+                LayoutBlockFlow (floating) {DIV} at (0,0) size 560.25x140 [bgcolor=#66CCFF]
+                  LayoutBlockFlow (floating) {DIV} at (410.19,0) size 140.06x40 [bgcolor=#FFFF00]
+                    LayoutBlockFlow {P} at (0,0) size 140.06x40
+                      LayoutText {#text} at (0,0) size 140x39
+                        text run at (0,0) width 140: "See description in the"
+                        text run at (0,20) width 124: "box on the left side."
+                  LayoutBlockFlow {P} at (0,0) size 560.25x140
+                    LayoutText {#text} at (0,0) size 560x139
+                      text run at (0,0) width 410: "This paragraph is inside a DIV which is floated left. The"
+                      text run at (0,20) width 410: "background of the DIV element is blue and its width is 75%."
+                      text run at (0,40) width 32: "This "
+                      text run at (32,40) width 368: "text should all be inside the blue rectangle. The blue DIV "
+                      text run at (400,40) width 160: "element has another DIV"
+                      text run at (0,60) width 217: "element as a child. It has a yellow "
+                      text run at (217,60) width 343: "background color and is floated to the right. Since it is"
+                      text run at (0,80) width 11: "a "
+                      text run at (11,80) width 408: "child of the blue DIV, the yellow DIV should appear inside the "
+                      text run at (418,80) width 142: "blue rectangle. Due to"
+                      text run at (0,100) width 252: "it being floated to the right and having "
+                      text run at (252,100) width 308: "a 10px right margin, the yellow rectange should"
+                      text run at (0,120) width 112: "have a 10px blue "
+                      text run at (112,120) width 138: "stripe on its right side."
+                LayoutBR {BR} at (560,0) size 1x19
+layer at (8,136) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,128) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,254) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,246) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,392) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,384) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,530) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,522) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,628) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,620) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,886) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,878) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1178) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1170) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1276) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1268) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1434) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1426) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (25,1605) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,132) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1723) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,250) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1861) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,388) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1999) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,526) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2097) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,624) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2375) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,902) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2667) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1194) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2765) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1292) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2923) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1450) size 747x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/height-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/height-expected.txt
new file mode 100644
index 0000000..6f7f6591
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/height-expected.txt
@@ -0,0 +1,77 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 997
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x997 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x997
+    LayoutBlockFlow {BODY} at (8,8) size 769x981 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x48
+        LayoutText {#text} at (0,0) size 168x48
+          text run at (0,0) width 160: ".one {height: 50px;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 168: ".two {height: 100px;}"
+          text run at (168,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow (anonymous) at (0,107) size 769x50
+        LayoutImage {IMG} at (0,0) size 50x50
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,173) size 769x20
+        LayoutText {#text} at (0,0) size 275x19
+          text run at (0,0) width 275: "The square above should be fifty pixels tall."
+      LayoutBlockFlow (anonymous) at (0,209) size 769x100
+        LayoutImage {IMG} at (0,0) size 100x100
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,325) size 769x20
+        LayoutText {#text} at (0,0) size 335x19
+          text run at (0,0) width 335: "The square above should be 100 pixels tall and wide."
+      LayoutBlockFlow (anonymous) at (0,361) size 769x100
+        LayoutImage {IMG} at (0,0) size 30x100
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,477) size 769x40
+        LayoutText {#text} at (0,0) size 750x39
+          text run at (0,0) width 750: "The rectangular image above should be 100 pixels tall and 30 pixels wide (the original image is 50x15, and the size has"
+          text run at (0,20) width 150: "been doubled using the "
+        LayoutInline {CODE} at (0,0) size 48x16
+          LayoutText {#text} at (150,23) size 48x16
+            text run at (150,23) width 48: "height"
+        LayoutText {#text} at (198,20) size 66x19
+          text run at (198,20) width 66: " property)."
+      LayoutTable {TABLE} at (0,533) size 769x448 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x446
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x418
+            LayoutTableCell {TD} at (0,223) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x418 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (4,4) size 747x50
+                LayoutImage {IMG} at (0,0) size 50x50
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,70) size 747x20
+                LayoutText {#text} at (0,0) size 275x19
+                  text run at (0,0) width 275: "The square above should be fifty pixels tall."
+              LayoutBlockFlow (anonymous) at (4,106) size 747x100
+                LayoutImage {IMG} at (0,0) size 100x100
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,222) size 747x20
+                LayoutText {#text} at (0,0) size 335x19
+                  text run at (0,0) width 335: "The square above should be 100 pixels tall and wide."
+              LayoutBlockFlow (anonymous) at (4,258) size 747x100
+                LayoutImage {IMG} at (0,0) size 30x100
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,374) size 747x40
+                LayoutText {#text} at (0,0) size 725x39
+                  text run at (0,0) width 725: "The rectangular image above should be 100 pixels tall and 30 pixels wide (the original image is 50x15, and the size"
+                  text run at (0,20) width 175: "has been doubled using the "
+                LayoutInline {CODE} at (0,0) size 48x16
+                  LayoutText {#text} at (175,23) size 48x16
+                    text run at (175,23) width 48: "height"
+                LayoutText {#text} at (223,20) size 66x19
+                  text run at (223,20) width 66: " property)."
+layer at (8,105) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin-expected.txt
new file mode 100644
index 0000000..f2cf746
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin-expected.txt
@@ -0,0 +1,165 @@
+layer at (0,0) size 800x600 scrollWidth 802 scrollHeight 2710
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x2710 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x2710
+    LayoutBlockFlow {BODY} at (8,8) size 784x2694 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x112
+        LayoutText {#text} at (0,0) size 360x112
+          text run at (0,0) width 352: ".zero {background-color: silver; margin: 0;}"
+          text run at (352,0) width 0: " "
+          text run at (0,16) width 360: ".one {margin: 0.5in; background-color: aqua;}"
+          text run at (360,16) width 0: " "
+          text run at (0,32) width 352: ".two {margin: 25px; background-color: aqua;}"
+          text run at (352,32) width 0: " "
+          text run at (0,48) width 360: ".three {margin: 5em; background-color: aqua;}"
+          text run at (360,48) width 0: " "
+          text run at (0,64) width 352: ".four {margin: 25%; background-color: aqua;}"
+          text run at (352,64) width 0: " "
+          text run at (0,80) width 168: ".five {margin: 25px;}"
+          text run at (168,80) width 0: " "
+          text run at (0,96) width 360: ".six {margin: -10px; background-color: aqua;}"
+          text run at (360,96) width 0: " "
+      LayoutBlockFlow {P} at (0,179) size 784x40
+        LayoutText {#text} at (0,0) size 738x39
+          text run at (0,0) width 738: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in"
+          text run at (0,20) width 248: "section 4.1.1 of the CSS1 specification."
+      LayoutBlockFlow {P} at (0,235) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (48,303) size 688x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 658x19
+          text run at (0,0) width 658: "This sentence should have an overall margin of half an inch, which will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,371) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (25,416) size 734x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 641x19
+          text run at (0,0) width 641: "This sentence should have an overall margin of 25 pixels, which will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,461) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (80,561) size 624x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 615x19
+          text run at (0,0) width 615: "This sentence should have an overall margin of 5 em, which will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,661) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (196,877) size 392x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 391x59
+          text run at (0,0) width 391: "This sentence should have an overall margin of 25%, which is"
+          text run at (0,20) width 362: "calculated with respect to the width of the parent element."
+          text run at (0,40) width 264: "This will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,1133) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {UL} at (25,1178) size 734x130 [bgcolor=#00FFFF]
+        LayoutListItem {LI} at (40,0) size 694x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 375x19
+            text run at (0,0) width 375: "This list has a margin of 25px, and a light blue background."
+        LayoutListItem {LI} at (40,20) size 694x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 264x19
+            text run at (0,0) width 264: "Therefore, it ought to have such a margin."
+        LayoutListItem {LI} at (65,65) size 644x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 543x19
+            text run at (0,0) width 543: "This list item has a margin of 25px, which should cause it to be offset in some fashion."
+        LayoutListItem {LI} at (40,110) size 694x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 294x19
+            text run at (0,0) width 294: "This list item has no special styles applied to it."
+      LayoutBlockFlow {P} at (0,1333) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (-10,1343) size 804x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 775x59
+          text run at (0,0) width 758: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull"
+          text run at (0,20) width 369: "subsequent text up toward it, and a light blue background. "
+          text run at (369,20) width 386: "In all other respects, however, the element should be normal. "
+          text run at (754,20) width 21: "No"
+          text run at (0,40) width 527: "styles have been applied to it besides the negative margin and the background color."
+      LayoutBlockFlow {P} at (0,1393) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,1413) size 784x1281 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x1279
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x1251
+            LayoutTableCell {TD} at (0,639) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x1251 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40
+                LayoutText {#text} at (0,0) size 738x39
+                  text run at (0,0) width 738: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in"
+                  text run at (0,20) width 248: "section 4.1.1 of the CSS1 specification."
+              LayoutBlockFlow {P} at (4,60) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (52,128) size 666x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 658x19
+                  text run at (0,0) width 658: "This sentence should have an overall margin of half an inch, which will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,196) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (29,241) size 712x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 641x19
+                  text run at (0,0) width 641: "This sentence should have an overall margin of 25 pixels, which will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,286) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (84,386) size 602x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 586x39
+                  text run at (0,0) width 586: "This sentence should have an overall margin of 5 em, which will require extra text in order to"
+                  text run at (0,20) width 25: "test."
+              LayoutBlockFlow {P} at (4,506) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (194.50,716.50) size 381x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 377x59
+                  text run at (0,0) width 377: "This sentence should have an overall margin of 25%, which"
+                  text run at (0,20) width 376: "is calculated with respect to the width of the parent element."
+                  text run at (0,40) width 264: "This will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,967) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {UL} at (29,1012) size 712x130 [bgcolor=#00FFFF]
+                LayoutListItem {LI} at (40,0) size 672x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 375x19
+                    text run at (0,0) width 375: "This list has a margin of 25px, and a light blue background."
+                LayoutListItem {LI} at (40,20) size 672x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 264x19
+                    text run at (0,0) width 264: "Therefore, it ought to have such a margin."
+                LayoutListItem {LI} at (65,65) size 622x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 543x19
+                    text run at (0,0) width 543: "This list item has a margin of 25px, which should cause it to be offset in some fashion."
+                LayoutListItem {LI} at (40,110) size 672x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 294x19
+                    text run at (0,0) width 294: "This list item has no special styles applied to it."
+              LayoutBlockFlow {P} at (4,1167) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (-6,1177) size 782x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 775x59
+                  text run at (0,0) width 758: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull"
+                  text run at (0,20) width 369: "subsequent text up toward it, and a light blue background. "
+                  text run at (369,20) width 386: "In all other respects, however, the element should be normal. "
+                  text run at (754,20) width 21: "No"
+                  text run at (0,40) width 527: "styles have been applied to it besides the negative margin and the background color."
+              LayoutBlockFlow {P} at (4,1227) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+layer at (8,169) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_bottom-expected.txt
new file mode 100644
index 0000000..4ad886b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_bottom-expected.txt
@@ -0,0 +1,151 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1822
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1822 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1822.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1806.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x144
+        LayoutText {#text} at (0,0) size 416x144
+          text run at (0,0) width 408: ".zero {background-color: silver; margin-bottom: 0;}"
+          text run at (408,0) width 0: " "
+          text run at (0,16) width 416: ".one {margin-bottom: 0.5in; background-color: aqua;}"
+          text run at (416,16) width 0: " "
+          text run at (0,32) width 408: ".two {margin-bottom: 25px; background-color: aqua;}"
+          text run at (408,32) width 0: " "
+          text run at (0,48) width 416: ".three {margin-bottom: 5em; background-color: aqua;}"
+          text run at (416,48) width 0: " "
+          text run at (0,64) width 408: ".four {margin-bottom: 25%; background-color: aqua;}"
+          text run at (408,64) width 0: " "
+          text run at (0,80) width 224: ".five {margin-bottom: 25px;}"
+          text run at (224,80) width 0: " "
+          text run at (0,96) width 416: ".six {margin-bottom: -10px; background-color: aqua;}"
+          text run at (416,96) width 0: " "
+          text run at (0,112) width 176: "P, UL {margin-top: 0;}"
+          text run at (176,112) width 0: " "
+          text run at (0,128) width 0: " "
+      LayoutBlockFlow {P} at (0,203) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,223) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 740x39
+          text run at (0,0) width 740: "This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure that the"
+          text run at (0,20) width 203: "margin isn't applied to each line."
+      LayoutBlockFlow {P} at (0,311) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 723x39
+          text run at (0,0) width 723: "This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure that the"
+          text run at (0,20) width 203: "margin isn't applied to each line."
+      LayoutBlockFlow {P} at (0,376) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 745x39
+          text run at (0,0) width 745: "This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the margin"
+          text run at (0,20) width 155: "isn't applied to each line."
+      LayoutBlockFlow {P} at (0,496) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 767x39
+          text run at (0,0) width 767: "This element should have a bottom margin of 25%, which will require extra text in order to make sure that the margin isn't"
+          text run at (0,20) width 126: "applied to each line."
+      LayoutBlockFlow {P} at (0,728.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,748.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 232x19
+          text run at (0,0) width 232: "This element also has a class of zero."
+      LayoutBlockFlow {UL} at (0,768.25) size 769x105 [bgcolor=#00FFFF]
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 424x19
+            text run at (0,0) width 424: "This list has a margin-bottom of 25px, and a light blue background."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 264x19
+            text run at (0,0) width 264: "Therefore, it ought to have such a margin."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 591x19
+            text run at (0,0) width 591: "This list item has a bottom margin of 25px, which should cause it to be offset in some fashion."
+        LayoutListItem {LI} at (40,85) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 294x19
+            text run at (0,0) width 294: "This list item has no special styles applied to it."
+      LayoutBlockFlow {P} at (0,898.25) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 759x59
+          text run at (0,0) width 748: "This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \"upward\" on the page,"
+          text run at (0,20) width 123: "and no top margin. "
+          text run at (122,20) width 488: "No other styles have been applied to it besides a light blue background color. "
+          text run at (609,20) width 150: "In all other respects, the"
+          text run at (0,40) width 166: "element should be normal."
+      LayoutBlockFlow {P} at (0,948.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,968.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 232x19
+          text run at (0,0) width 232: "This element also has a class of zero."
+      LayoutTable {TABLE} at (0,988.25) size 769x818 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x816
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x788
+            LayoutTableCell {TD} at (0,408) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x787.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,24) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 740x39
+                  text run at (0,0) width 740: "This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure that the"
+                  text run at (0,20) width 203: "margin isn't applied to each line."
+              LayoutBlockFlow {P} at (4,112) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 723x39
+                  text run at (0,0) width 723: "This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure that the"
+                  text run at (0,20) width 203: "margin isn't applied to each line."
+              LayoutBlockFlow {P} at (4,177) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 745x39
+                  text run at (0,0) width 745: "This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the margin"
+                  text run at (0,20) width 155: "isn't applied to each line."
+              LayoutBlockFlow {P} at (4,297) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 738x39
+                  text run at (0,0) width 738: "This element should have a bottom margin of 25%, which will require extra text in order to make sure that the margin"
+                  text run at (0,20) width 155: "isn't applied to each line."
+              LayoutBlockFlow {P} at (4,523.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,543.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 232x19
+                  text run at (0,0) width 232: "This element also has a class of zero."
+              LayoutBlockFlow {UL} at (4,563.75) size 747x105 [bgcolor=#00FFFF]
+                LayoutListItem {LI} at (40,0) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 424x19
+                    text run at (0,0) width 424: "This list has a margin-bottom of 25px, and a light blue background."
+                LayoutListItem {LI} at (40,20) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 264x19
+                    text run at (0,0) width 264: "Therefore, it ought to have such a margin."
+                LayoutListItem {LI} at (40,40) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 591x19
+                    text run at (0,0) width 591: "This list item has a bottom margin of 25px, which should cause it to be offset in some fashion."
+                LayoutListItem {LI} at (40,85) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 294x19
+                    text run at (0,0) width 294: "This list item has no special styles applied to it."
+              LayoutBlockFlow {P} at (4,693.75) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 716x59
+                  text run at (0,0) width 710: "This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \"upward\" on the"
+                  text run at (0,20) width 161: "page, and no top margin. "
+                  text run at (160,20) width 488: "No other styles have been applied to it besides a light blue background color. "
+                  text run at (647,20) width 69: "In all other"
+                  text run at (0,40) width 247: "respects, the element should be normal."
+              LayoutBlockFlow {P} at (4,743.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,763.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 232x19
+                  text run at (0,0) width 232: "This element also has a class of zero."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_bottom_inline-expected.txt
new file mode 100644
index 0000000..7399d38f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_bottom_inline-expected.txt
@@ -0,0 +1,96 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 416x32
+          text run at (0,0) width 408: ".one {margin-bottom: 25px; background-color: aqua;}"
+          text run at (408,0) width 0: " "
+          text run at (0,16) width 416: ".two {margin-bottom: -10px; background-color: aqua;}"
+          text run at (416,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 480x19
+          text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
+          text run at (391,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 760x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (479,0) size 144x19
+            text run at (479,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (622,3) size 25x16
+              text run at (622,3) width 25: "one"
+          LayoutText {#text} at (646,0) size 760x39
+            text run at (646,0) width 114: ", giving it an aqua"
+            text run at (0,20) width 245: "background and a 25px bottom margin"
+        LayoutText {#text} at (244,20) size 784x39
+          text run at (244,20) width 9: ". "
+          text run at (252,20) width 532: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+          text run at (0,40) width 263: "element should have the same line-height."
+      LayoutBlockFlow {P} at (0,175) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 480x19
+          text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
+          text run at (391,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 760x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (479,0) size 144x19
+            text run at (479,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (622,3) size 25x16
+              text run at (622,3) width 25: "two"
+          LayoutText {#text} at (646,0) size 760x39
+            text run at (646,0) width 114: ", giving it an aqua"
+            text run at (0,20) width 250: "background and a -10px bottom margin"
+        LayoutText {#text} at (249,20) size 763x39
+          text run at (249,20) width 9: ". "
+          text run at (257,20) width 506: "Margins on inline elements does not affect line-height calculations, so all lines in"
+          text run at (0,40) width 289: "this element should have the same line-height."
+      LayoutTable {TABLE} at (0,251) size 784x174 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x172
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x144
+            LayoutTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 480x19
+                  text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
+                  text run at (391,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 760x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (479,0) size 144x19
+                    text run at (479,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (622,3) size 25x16
+                      text run at (622,3) width 25: "one"
+                  LayoutText {#text} at (646,0) size 760x39
+                    text run at (646,0) width 114: ", giving it an aqua"
+                    text run at (0,20) width 245: "background and a 25px bottom margin"
+                LayoutText {#text} at (244,20) size 758x39
+                  text run at (244,20) width 9: ". "
+                  text run at (252,20) width 506: "Margins on inline elements does not affect line-height calculations, so all lines in"
+                  text run at (0,40) width 289: "this element should have the same line-height."
+              LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 480x19
+                  text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
+                  text run at (391,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 760x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (479,0) size 144x19
+                    text run at (479,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (622,3) size 25x16
+                      text run at (622,3) width 25: "two"
+                  LayoutText {#text} at (646,0) size 760x39
+                    text run at (646,0) width 114: ", giving it an aqua"
+                    text run at (0,20) width 250: "background and a -10px bottom margin"
+                LayoutText {#text} at (249,20) size 747x39
+                  text run at (249,20) width 9: ". "
+                  text run at (257,20) width 490: "Margins on inline elements does not affect line-height calculations, so all lines"
+                  text run at (0,40) width 305: "in this element should have the same line-height."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_inline-expected.txt
new file mode 100644
index 0000000..29f7c7d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_inline-expected.txt
@@ -0,0 +1,125 @@
+layer at (0,0) size 800x600 scrollHeight 749
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x749 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x749
+    LayoutBlockFlow {BODY} at (8,8) size 784x733 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 360x48
+          text run at (0,0) width 352: ".zero {background-color: silver; margin: 0;}"
+          text run at (352,0) width 0: " "
+          text run at (0,16) width 352: ".one {margin: 25px; background-color: aqua;}"
+          text run at (352,16) width 0: " "
+          text run at (0,32) width 360: ".two {margin: -10px; background-color: aqua;}"
+          text run at (360,32) width 0: " "
+      LayoutBlockFlow {P} at (0,107) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,143) size 784x80 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 480x19
+          text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
+          text run at (391,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 751x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (504,0) size 144x19
+            text run at (504,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (647,3) size 25x16
+              text run at (647,3) width 25: "one"
+          LayoutText {#text} at (671,0) size 751x39
+            text run at (671,0) width 80: ", giving it an"
+            text run at (0,20) width 231: "aqua background and a 25px margin"
+        LayoutText {#text} at (255,20) size 769x59
+          text run at (255,20) width 9: ". "
+          text run at (263,20) width 506: "Margins on inline elements does not affect line-height calculations, so all lines in"
+          text run at (0,40) width 293: "this element should have the same line-height. "
+          text run at (293,40) width 473: "However, there should be a 25px margin to the left side of the inline box in"
+          text run at (0,60) width 727: "the first line it appears, and a 25px margin to the right side of the inline element box in the last line where it appears."
+      LayoutBlockFlow {P} at (0,239) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,275) size 784x80 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 480x19
+          text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
+          text run at (391,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 750x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (469,0) size 144x19
+            text run at (469,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (612,3) size 25x16
+              text run at (612,3) width 25: "two"
+          LayoutText {#text} at (636,0) size 750x39
+            text run at (636,0) width 114: ", giving it an aqua"
+            text run at (0,20) width 202: "background and a -10px margin"
+        LayoutText {#text} at (191,20) size 784x59
+          text run at (191,20) width 9: ". "
+          text run at (199,20) width 585: "Margins on inline elements does not affect line-height calculations, so all lines in this element"
+          text run at (0,40) width 214: "should have the same line-height. "
+          text run at (214,40) width 568: "However, there should be a -10px margin to the left side of the inline box in the first line it"
+          text run at (0,60) width 642: "appears, and a -10px margin to the right side of the inline element box in the last line where it appears."
+      LayoutBlockFlow {P} at (0,371) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,391) size 784x342 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x340
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x312
+            LayoutTableCell {TD} at (0,170) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x312 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 762x100 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 480x19
+                  text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
+                  text run at (391,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 751x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (504,0) size 144x19
+                    text run at (504,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (647,3) size 25x16
+                      text run at (647,3) width 25: "one"
+                  LayoutText {#text} at (671,0) size 751x39
+                    text run at (671,0) width 80: ", giving it an"
+                    text run at (0,20) width 231: "aqua background and a 25px margin"
+                LayoutText {#text} at (255,20) size 753x79
+                  text run at (255,20) width 9: ". "
+                  text run at (263,20) width 490: "Margins on inline elements does not affect line-height calculations, so all lines"
+                  text run at (0,40) width 309: "in this element should have the same line-height. "
+                  text run at (309,40) width 429: "However, there should be a 25px margin to the left side of the inline"
+                  text run at (0,60) width 715: "box in the first line it appears, and a 25px margin to the right side of the inline element box in the last line where it"
+                  text run at (0,80) width 52: "appears."
+              LayoutBlockFlow {P} at (4,156) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,192) size 762x80 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 480x19
+                  text run at (0,0) width 392: "This element is unstyled save for a background color of gray.. "
+                  text run at (391,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 750x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (469,0) size 144x19
+                    text run at (469,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (612,3) size 25x16
+                      text run at (612,3) width 25: "two"
+                  LayoutText {#text} at (636,0) size 750x39
+                    text run at (636,0) width 114: ", giving it an aqua"
+                    text run at (0,20) width 202: "background and a -10px margin"
+                LayoutText {#text} at (191,20) size 745x59
+                  text run at (191,20) width 9: ". "
+                  text run at (199,20) width 532: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+                  text run at (0,40) width 267: "element should have the same line-height. "
+                  text run at (267,40) width 478: "However, there should be a -10px margin to the left side of the inline box in"
+                  text run at (0,60) width 732: "the first line it appears, and a -10px margin to the right side of the inline element box in the last line where it appears."
+              LayoutBlockFlow {P} at (4,288) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_left-expected.txt
new file mode 100644
index 0000000..287e2e8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_left-expected.txt
@@ -0,0 +1,121 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1077
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1077 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1077
+    LayoutBlockFlow {BODY} at (8,8) size 769x1061 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 408x96
+          text run at (0,0) width 392: ".zero {background-color: silver; margin-left: 0;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 400: ".one {margin-left: 0.5in; background-color: aqua;}"
+          text run at (400,16) width 0: " "
+          text run at (0,32) width 392: ".two {margin-left: 25px; background-color: aqua;}"
+          text run at (392,32) width 0: " "
+          text run at (0,48) width 400: ".three {margin-left: 5em; background-color: aqua;}"
+          text run at (400,48) width 0: " "
+          text run at (0,64) width 392: ".four {margin-left: 25%; background-color: aqua;}"
+          text run at (392,64) width 0: " "
+          text run at (0,80) width 408: ".five {margin-left: -10px; background-color: aqua;}"
+          text run at (408,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (48,199) size 721x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 348x19
+          text run at (0,0) width 348: "This sentence should have a left margin of half an inch."
+      LayoutBlockFlow {P} at (25,235) size 744x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 331x19
+          text run at (0,0) width 331: "This sentence should have a left margin of 25 pixels."
+      LayoutBlockFlow {P} at (80,271) size 689x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 305x19
+          text run at (0,0) width 305: "This sentence should have a left margin of 5 em."
+      LayoutBlockFlow {P} at (192.25,307) size 576.75x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 546x39
+          text run at (0,0) width 546: "This sentence should have a left margin of 25%, which is calculated with respect to the"
+          text run at (0,20) width 176: "width of the parent element."
+      LayoutBlockFlow {UL} at (25,363) size 744x100 [bgcolor=#808080]
+        LayoutListItem {LI} at (40,0) size 704x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 685x19
+            text run at (0,0) width 685: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to gray."
+        LayoutListItem {LI} at (65,20) size 679x60 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 668x59
+            text run at (0,0) width 656: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+            text run at (0,20) width 60: "checked. "
+            text run at (60,20) width 608: "This list item has its left margin also set to 25 pixels, which should combine with the list's margin"
+            text run at (0,40) width 479: "to make 50 pixels of margin, and its background color has been set to white."
+        LayoutListItem {LI} at (40,80) size 704x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 179x19
+            text run at (0,0) width 179: "This is an unclassed list item"
+      LayoutBlockFlow {P} at (0,479) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (-10,515) size 779x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 778x59
+          text run at (0,0) width 758: "This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light"
+          text run at (0,20) width 114: "blue background. "
+          text run at (114,20) width 386: "In all other respects, however, the element should be normal. "
+          text run at (499,20) width 279: "No styles have been applied to it besides the"
+          text run at (0,40) width 293: "negative left margin and the background color."
+      LayoutTable {TABLE} at (0,591) size 769x470 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x468
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x440
+            LayoutTableCell {TD} at (0,234) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x440 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (52,40) size 699x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 348x19
+                  text run at (0,0) width 348: "This sentence should have a left margin of half an inch."
+              LayoutBlockFlow {P} at (29,76) size 722x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 331x19
+                  text run at (0,0) width 331: "This sentence should have a left margin of 25 pixels."
+              LayoutBlockFlow {P} at (84,112) size 667x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 305x19
+                  text run at (0,0) width 305: "This sentence should have a left margin of 5 em."
+              LayoutBlockFlow {P} at (190.75,148) size 560.25x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 546x39
+                  text run at (0,0) width 546: "This sentence should have a left margin of 25%, which is calculated with respect to the"
+                  text run at (0,20) width 176: "width of the parent element."
+              LayoutBlockFlow {UL} at (29,204) size 722x120 [bgcolor=#808080]
+                LayoutListItem {LI} at (40,0) size 682x40
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 650x39
+                    text run at (0,0) width 650: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to"
+                    text run at (0,20) width 31: "gray."
+                LayoutListItem {LI} at (65,40) size 657x60 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 656x59
+                    text run at (0,0) width 656: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+                    text run at (0,20) width 60: "checked. "
+                    text run at (60,20) width 560: "This list item has its left margin also set to 25 pixels, which should combine with the list's"
+                    text run at (0,40) width 527: "margin to make 50 pixels of margin, and its background color has been set to white."
+                LayoutListItem {LI} at (40,100) size 682x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 179x19
+                    text run at (0,0) width 179: "This is an unclassed list item"
+              LayoutBlockFlow {P} at (4,340) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (-6,376) size 757x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 737x59
+                  text run at (0,0) width 726: "This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a"
+                  text run at (0,20) width 146: "light blue background. "
+                  text run at (146,20) width 386: "In all other respects, however, the element should be normal. "
+                  text run at (531,20) width 206: "No styles have been applied to it"
+                  text run at (0,40) width 366: "besides the negative left margin and the background color."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_left_inline-expected.txt
new file mode 100644
index 0000000..a9c479c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_left_inline-expected.txt
@@ -0,0 +1,100 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 400x32
+          text run at (0,0) width 392: ".one {margin-left: 25px; background-color: aqua;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 400: ".two {margin-left: -10px; background-color: aqua;}"
+          text run at (400,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 542x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 155: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (566,0) size 144x19
+            text run at (566,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (709,3) size 25x16
+              text run at (709,3) width 25: "one"
+        LayoutText {#text} at (733,0) size 781x39
+          text run at (733,0) width 48: ", which"
+          text run at (0,20) width 299: "should result in 25-pixel left margin only in the "
+        LayoutInline {STRONG} at (0,0) size 28x19
+          LayoutText {#text} at (298,20) size 28x19
+            text run at (298,20) width 28: "first"
+        LayoutText {#text} at (325,20) size 233x19
+          text run at (325,20) width 233: " line in which the inline box appears."
+      LayoutBlockFlow {P} at (0,155) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 542x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 155: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (531,0) size 144x19
+            text run at (531,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (674,3) size 25x16
+              text run at (674,3) width 25: "two"
+        LayoutText {#text} at (698,0) size 746x39
+          text run at (698,0) width 48: ", which"
+          text run at (0,20) width 284: "should result in -10px left margin only in the "
+        LayoutInline {STRONG} at (0,0) size 28x19
+          LayoutText {#text} at (283,20) size 28x19
+            text run at (283,20) width 28: "first"
+        LayoutText {#text} at (310,20) size 233x19
+          text run at (310,20) width 233: " line in which the inline box appears."
+      LayoutTable {TABLE} at (0,211) size 784x134 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x132
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x104
+            LayoutTableCell {TD} at (0,66) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 542x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 155: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (566,0) size 144x19
+                    text run at (566,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (709,3) size 25x16
+                      text run at (709,3) width 25: "one"
+                LayoutText {#text} at (733,0) size 738x39
+                  text run at (733,0) width 5: ","
+                  text run at (0,20) width 342: "which should result in 25-pixel left margin only in the "
+                LayoutInline {STRONG} at (0,0) size 28x19
+                  LayoutText {#text} at (341,20) size 28x19
+                    text run at (341,20) width 28: "first"
+                LayoutText {#text} at (368,20) size 233x19
+                  text run at (368,20) width 233: " line in which the inline box appears."
+              LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 542x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 155: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (531,0) size 144x19
+                    text run at (531,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (674,3) size 25x16
+                      text run at (674,3) width 25: "two"
+                LayoutText {#text} at (698,0) size 746x39
+                  text run at (698,0) width 48: ", which"
+                  text run at (0,20) width 284: "should result in -10px left margin only in the "
+                LayoutInline {STRONG} at (0,0) size 28x19
+                  LayoutText {#text} at (283,20) size 28x19
+                    text run at (283,20) width 28: "first"
+                LayoutText {#text} at (310,20) size 233x19
+                  text run at (310,20) width 233: " line in which the inline box appears."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_right-expected.txt
new file mode 100644
index 0000000..fcacfb5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_right-expected.txt
@@ -0,0 +1,121 @@
+layer at (0,0) size 800x600 scrollWidth 802 scrollHeight 1077
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x1077 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x1077
+    LayoutBlockFlow {BODY} at (8,8) size 784x1061 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x96
+        LayoutText {#text} at (0,0) size 560x96
+          text run at (0,0) width 552: ".zero {background-color: silver; margin-right: 0; text-align: right;}"
+          text run at (552,0) width 0: " "
+          text run at (0,16) width 560: ".one {margin-right: 0.5in; text-align: right; background-color: aqua;}"
+          text run at (560,16) width 0: " "
+          text run at (0,32) width 552: ".two {margin-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (552,32) width 0: " "
+          text run at (0,48) width 560: ".three {margin-right: 5em; text-align: right; background-color: aqua;}"
+          text run at (560,48) width 0: " "
+          text run at (0,64) width 552: ".four {margin-right: 25%; text-align: right; background-color: aqua;}"
+          text run at (552,64) width 0: " "
+          text run at (0,80) width 416: ".five {margin-right: -10px; background-color: aqua;}"
+          text run at (416,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (581,0) size 203x19
+          text run at (581,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 736x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (379,0) size 357x19
+          text run at (379,0) width 357: "This sentence should have a right margin of half an inch."
+      LayoutBlockFlow {P} at (0,235) size 759x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (419,0) size 340x19
+          text run at (419,0) width 340: "This sentence should have a right margin of 25 pixels."
+      LayoutBlockFlow {P} at (0,271) size 704x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (390,0) size 314x19
+          text run at (390,0) width 314: "This sentence should have a right margin of 5 em."
+      LayoutBlockFlow {P} at (0,307) size 588x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (33,0) size 555x39
+          text run at (33,0) width 555: "This sentence should have a right margin of 25%, which is calculated with respect to the"
+          text run at (412,20) width 176: "width of the parent element."
+      LayoutBlockFlow {UL} at (0,363) size 759x100 [bgcolor=#808080]
+        LayoutListItem {LI} at (40,0) size 719x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (20,0) size 699x19
+            text run at (20,0) width 699: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray."
+        LayoutListItem {LI} at (40,20) size 694x60 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (38,0) size 693x59
+            text run at (38,0) width 656: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+            text run at (1,20) width 61: "checked. "
+            text run at (61,20) width 633: "This list item has its right margin also set to 25 pixels, which should combine with the list's margin to"
+            text run at (230,40) width 464: "make 50 pixels of margin, and its background-color has been set to white."
+        LayoutListItem {LI} at (40,80) size 719x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (540,0) size 179x19
+            text run at (540,0) width 179: "This is an unclassed list item"
+      LayoutBlockFlow {P} at (0,479) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (581,0) size 203x19
+          text run at (581,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,515) size 794x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 778x59
+          text run at (0,0) width 767: "This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light"
+          text run at (0,20) width 114: "blue background. "
+          text run at (114,20) width 386: "In all other respects, however, the element should be normal. "
+          text run at (499,20) width 279: "No styles have been applied to it besides the"
+          text run at (0,40) width 302: "negative right margin and the background color."
+      LayoutTable {TABLE} at (0,591) size 784x470 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x468
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x440
+            LayoutTableCell {TD} at (0,234) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x440 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (559,0) size 203x19
+                  text run at (559,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 714x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (357,0) size 357x19
+                  text run at (357,0) width 357: "This sentence should have a right margin of half an inch."
+              LayoutBlockFlow {P} at (4,76) size 737x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (397,0) size 340x19
+                  text run at (397,0) width 340: "This sentence should have a right margin of 25 pixels."
+              LayoutBlockFlow {P} at (4,112) size 682x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (368,0) size 314x19
+                  text run at (368,0) width 314: "This sentence should have a right margin of 5 em."
+              LayoutBlockFlow {P} at (4,148) size 571.50x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (16,0) size 556x39
+                  text run at (16,0) width 556: "This sentence should have a right margin of 25%, which is calculated with respect to the"
+                  text run at (395,20) width 177: "width of the parent element."
+              LayoutBlockFlow {UL} at (4,204) size 737x120 [bgcolor=#808080]
+                LayoutListItem {LI} at (40,0) size 697x40
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (33,0) size 664x39
+                    text run at (33,0) width 664: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to"
+                    text run at (666,20) width 31: "gray."
+                LayoutListItem {LI} at (40,40) size 672x60 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (16,0) size 656x59
+                    text run at (16,0) width 656: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+                    text run at (43,20) width 61: "checked. "
+                    text run at (103,20) width 569: "This list item has its right margin also set to 25 pixels, which should combine with the list's"
+                    text run at (144,40) width 528: "margin to make 50 pixels of margin, and its background-color has been set to white."
+                LayoutListItem {LI} at (40,100) size 697x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (518,0) size 179x19
+                    text run at (518,0) width 179: "This is an unclassed list item"
+              LayoutBlockFlow {P} at (4,340) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (559,0) size 203x19
+                  text run at (559,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,376) size 772x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 767x59
+                  text run at (0,0) width 767: "This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light"
+                  text run at (0,20) width 114: "blue background. "
+                  text run at (114,20) width 386: "In all other respects, however, the element should be normal. "
+                  text run at (499,20) width 256: "No styles have been applied to it besides"
+                  text run at (0,40) width 325: "the negative right margin and the background color."
+layer at (8,153) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_right_inline-expected.txt
new file mode 100644
index 0000000..389f43a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_right_inline-expected.txt
@@ -0,0 +1,100 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 552x32
+          text run at (0,0) width 552: ".one {margin-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (552,0) width 0: " "
+          text run at (0,16) width 408: ".two {margin-right: -10px; background-color: aqua;}"
+          text run at (408,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 542x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 155: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (541,0) size 144x19
+            text run at (541,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (684,3) size 25x16
+              text run at (684,3) width 25: "one"
+        LayoutText {#text} at (733,0) size 781x39
+          text run at (733,0) width 48: ", which"
+          text run at (0,20) width 308: "should result in 25-pixel right margin only in the "
+        LayoutInline {STRONG} at (0,0) size 24x19
+          LayoutText {#text} at (307,20) size 24x19
+            text run at (307,20) width 24: "last"
+        LayoutText {#text} at (330,20) size 233x19
+          text run at (330,20) width 233: " line in which the inline box appears."
+      LayoutBlockFlow {P} at (0,155) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 542x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 155: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (541,0) size 144x19
+            text run at (541,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (684,3) size 25x16
+              text run at (684,3) width 25: "two"
+        LayoutText {#text} at (698,0) size 746x39
+          text run at (698,0) width 48: ", which"
+          text run at (0,20) width 293: "should result in -10px right margin only in the "
+        LayoutInline {STRONG} at (0,0) size 24x19
+          LayoutText {#text} at (292,20) size 24x19
+            text run at (292,20) width 24: "last"
+        LayoutText {#text} at (315,20) size 233x19
+          text run at (315,20) width 233: " line in which the inline box appears."
+      LayoutTable {TABLE} at (0,211) size 784x134 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x132
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x104
+            LayoutTableCell {TD} at (0,66) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 542x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 155: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (541,0) size 144x19
+                    text run at (541,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (684,3) size 25x16
+                      text run at (684,3) width 25: "one"
+                LayoutText {#text} at (733,0) size 738x39
+                  text run at (733,0) width 5: ","
+                  text run at (0,20) width 351: "which should result in 25-pixel right margin only in the "
+                LayoutInline {STRONG} at (0,0) size 24x19
+                  LayoutText {#text} at (350,20) size 24x19
+                    text run at (350,20) width 24: "last"
+                LayoutText {#text} at (373,20) size 233x19
+                  text run at (373,20) width 233: " line in which the inline box appears."
+              LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 542x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 155: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (541,0) size 144x19
+                    text run at (541,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (684,3) size 25x16
+                      text run at (684,3) width 25: "two"
+                LayoutText {#text} at (698,0) size 746x39
+                  text run at (698,0) width 48: ", which"
+                  text run at (0,20) width 293: "should result in -10px right margin only in the "
+                LayoutInline {STRONG} at (0,0) size 24x19
+                  LayoutText {#text} at (292,20) size 24x19
+                    text run at (292,20) width 24: "last"
+                LayoutText {#text} at (315,20) size 233x19
+                  text run at (315,20) width 233: " line in which the inline box appears."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_top-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_top-expected.txt
new file mode 100644
index 0000000..cceec31b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_top-expected.txt
@@ -0,0 +1,138 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1723
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1723 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1723.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1707.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,33) size 769x128
+        LayoutText {#text} at (0,0) size 392x128
+          text run at (0,0) width 384: ".zero {background-color: silver; margin-top: 0;}"
+          text run at (384,0) width 0: " "
+          text run at (0,16) width 392: ".one {margin-top: 0.5in; background-color: aqua;}"
+          text run at (392,16) width 0: " "
+          text run at (0,32) width 384: ".two {margin-top: 25px; background-color: aqua;}"
+          text run at (384,32) width 0: " "
+          text run at (0,48) width 392: ".three {margin-top: 5em; background-color: aqua;}"
+          text run at (392,48) width 0: " "
+          text run at (0,64) width 384: ".four {margin-top: 25%; background-color: aqua;}"
+          text run at (384,64) width 0: " "
+          text run at (0,80) width 200: ".five {margin-top: 25px;}"
+          text run at (200,80) width 0: " "
+          text run at (0,96) width 392: ".six {margin-top: -10px; background-color: aqua;}"
+          text run at (392,96) width 0: " "
+          text run at (0,112) width 200: "P, UL {margin-bottom: 0;}"
+          text run at (200,112) width 0: " "
+      LayoutBlockFlow {P} at (0,184) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,204) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 232x19
+          text run at (0,0) width 232: "This element also has a class of zero."
+      LayoutBlockFlow {P} at (0,272) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 759x39
+          text run at (0,0) width 759: "This element should have a top margin of half an inch, which will require extra text in order to make sure that the margin"
+          text run at (0,20) width 155: "isn't applied to each line."
+      LayoutBlockFlow {P} at (0,337) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 742x39
+          text run at (0,0) width 742: "This element should have a top margin of 25 pixels, which will require extra text in order to make sure that the margin"
+          text run at (0,20) width 155: "isn't applied to each line."
+      LayoutBlockFlow {P} at (0,457) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 745x39
+          text run at (0,0) width 745: "This element should have a top margin of 5 em, which will require extra text in order to make sure that the margin isn't"
+          text run at (0,20) width 126: "applied to each line."
+      LayoutBlockFlow {P} at (0,689.25) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 753x39
+          text run at (0,0) width 725: "This element should have a top margin of 25%, which is calculated with respect to the width of the parent element. "
+          text run at (724,0) width 29: "This"
+          text run at (0,20) width 232: "will require extra text in order to test."
+      LayoutBlockFlow {UL} at (0,754.25) size 769x105 [bgcolor=#00FFFF]
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 400x19
+            text run at (0,0) width 400: "This list has a margin-top of 25px, and a light blue background."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 264x19
+            text run at (0,0) width 264: "Therefore, it ought to have such a margin."
+        LayoutListItem {LI} at (40,65) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 567x19
+            text run at (0,0) width 567: "This list item has a top margin of 25px, which should cause it to be offset in some fashion."
+        LayoutListItem {LI} at (40,85) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 294x19
+            text run at (0,0) width 294: "This list item has no special styles applied to it."
+      LayoutBlockFlow {P} at (0,859.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,869.25) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 766x59
+          text run at (0,0) width 766: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom margin."
+          text run at (0,20) width 488: "No other styles have been applied to it besides a light blue background color. "
+          text run at (487,20) width 268: "In all other respects, the element should be"
+          text run at (0,40) width 48: "normal."
+      LayoutTable {TABLE} at (0,929.25) size 769x778 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x776
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x748
+            LayoutTableCell {TD} at (0,388) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x747.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,24) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 232x19
+                  text run at (0,0) width 232: "This element also has a class of zero."
+              LayoutBlockFlow {P} at (4,92) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 711x39
+                  text run at (0,0) width 711: "This element should have a top margin of half an inch, which will require extra text in order to make sure that the"
+                  text run at (0,20) width 203: "margin isn't applied to each line."
+              LayoutBlockFlow {P} at (4,157) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 742x39
+                  text run at (0,0) width 742: "This element should have a top margin of 25 pixels, which will require extra text in order to make sure that the margin"
+                  text run at (0,20) width 155: "isn't applied to each line."
+              LayoutBlockFlow {P} at (4,277) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 745x39
+                  text run at (0,0) width 745: "This element should have a top margin of 5 em, which will require extra text in order to make sure that the margin isn't"
+                  text run at (0,20) width 126: "applied to each line."
+              LayoutBlockFlow {P} at (4,503.75) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 721x39
+                  text run at (0,0) width 721: "This element should have a top margin of 25%, which is calculated with respect to the width of the parent element."
+                  text run at (0,20) width 264: "This will require extra text in order to test."
+              LayoutBlockFlow {UL} at (4,568.75) size 747x105 [bgcolor=#00FFFF]
+                LayoutListItem {LI} at (40,0) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 400x19
+                    text run at (0,0) width 400: "This list has a margin-top of 25px, and a light blue background."
+                LayoutListItem {LI} at (40,20) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 264x19
+                    text run at (0,0) width 264: "Therefore, it ought to have such a margin."
+                LayoutListItem {LI} at (40,65) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 567x19
+                    text run at (0,0) width 567: "This list item has a top margin of 25px, which should cause it to be offset in some fashion."
+                LayoutListItem {LI} at (40,85) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 294x19
+                    text run at (0,0) width 294: "This list item has no special styles applied to it."
+              LayoutBlockFlow {P} at (4,673.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,683.75) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 741x59
+                  text run at (0,0) width 714: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom"
+                  text run at (0,20) width 52: "margin. "
+                  text run at (51,20) width 488: "No other styles have been applied to it besides a light blue background color. "
+                  text run at (538,20) width 203: "In all other respects, the element"
+                  text run at (0,40) width 113: "should be normal."
+layer at (8,182) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,174) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_top_inline-expected.txt
new file mode 100644
index 0000000..5a863e0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/margin_top_inline-expected.txt
@@ -0,0 +1,99 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 392x64
+          text run at (0,0) width 384: ".zero {background-color: silver; margin-top: 0;}"
+          text run at (384,0) width 0: " "
+          text run at (0,16) width 384: ".one {margin-top: 25px; background-color: aqua;}"
+          text run at (384,16) width 0: " "
+          text run at (0,32) width 392: ".two {margin-top: -10px; background-color: aqua;}"
+          text run at (392,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 476x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 144x19
+            text run at (475,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (618,3) size 25x16
+              text run at (618,3) width 25: "one"
+          LayoutText {#text} at (642,0) size 756x39
+            text run at (642,0) width 114: ", giving it an aqua"
+            text run at (0,20) width 221: "background and a 25px top margin"
+        LayoutText {#text} at (220,20) size 747x39
+          text run at (220,20) width 9: ". "
+          text run at (228,20) width 519: "Margins on inline elements do not affect line-height calculations, so all lines in this"
+          text run at (0,40) width 263: "element should have the same line-height."
+      LayoutBlockFlow {P} at (0,207) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 476x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 753x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 144x19
+            text run at (475,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (618,3) size 25x16
+              text run at (618,3) width 25: "two"
+          LayoutText {#text} at (642,0) size 753x39
+            text run at (642,0) width 111: ", giving the inline"
+            text run at (0,20) width 332: "element an aqua background and a -10px top margin"
+        LayoutText {#text} at (331,20) size 783x39
+          text run at (331,20) width 9: ". "
+          text run at (339,20) width 444: "Margins on inline elements do not affect line-height calculations, so all"
+          text run at (0,40) width 338: "lines in this element should have the same line-height."
+      LayoutTable {TABLE} at (0,283) size 784x174 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x172
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x144
+            LayoutTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 476x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 144x19
+                    text run at (475,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (618,3) size 25x16
+                      text run at (618,3) width 25: "one"
+                  LayoutText {#text} at (642,0) size 756x39
+                    text run at (642,0) width 114: ", giving it an aqua"
+                    text run at (0,20) width 221: "background and a 25px top margin"
+                LayoutText {#text} at (220,20) size 747x39
+                  text run at (220,20) width 9: ". "
+                  text run at (228,20) width 519: "Margins on inline elements do not affect line-height calculations, so all lines in this"
+                  text run at (0,40) width 263: "element should have the same line-height."
+              LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 476x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 753x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 144x19
+                    text run at (475,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (618,3) size 25x16
+                      text run at (618,3) width 25: "two"
+                  LayoutText {#text} at (642,0) size 753x39
+                    text run at (642,0) width 111: ", giving the inline"
+                    text run at (0,20) width 332: "element an aqua background and a -10px top margin"
+                LayoutText {#text} at (331,20) size 746x39
+                  text run at (331,20) width 9: ". "
+                  text run at (339,20) width 407: "Margins on inline elements do not affect line-height calculations,"
+                  text run at (0,40) width 375: "so all lines in this element should have the same line-height."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding-expected.txt
new file mode 100644
index 0000000..8bdf7b4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding-expected.txt
@@ -0,0 +1,94 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2284
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2284 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2283.50
+    LayoutBlockFlow {BODY} at (8,8) size 769x2267.50 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 376x96
+          text run at (0,0) width 360: ".zero {background-color: silver; padding: 0;}"
+          text run at (360,0) width 0: " "
+          text run at (0,16) width 368: ".one {padding: 0.5in; background-color: aqua;}"
+          text run at (368,16) width 0: " "
+          text run at (0,32) width 360: ".two {padding: 25px; background-color: aqua;}"
+          text run at (360,32) width 0: " "
+          text run at (0,48) width 368: ".three {padding: 5em; background-color: aqua;}"
+          text run at (368,48) width 0: " "
+          text run at (0,64) width 360: ".four {padding: 25%; background-color: aqua;}"
+          text run at (360,64) width 0: " "
+          text run at (0,80) width 376: ".five {padding: -20px; background-color: aqua;}"
+          text run at (376,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 769x136 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,48) size 660x39
+          text run at (48,48) width 660: "This element should have an overall padding of half an inch, which will require extra text in order to test."
+          text run at (48,68) width 464: "Both the content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,351) size 769x90 [bgcolor=#00FFFF]
+        LayoutText {#text} at (25,25) size 701x39
+          text run at (25,25) width 647: "This element should have an overall padding of 25 pixels, which will require extra text in order to test. "
+          text run at (672,25) width 54: "Both the"
+          text run at (25,45) width 406: "content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,457) size 769x200 [bgcolor=#00FFFF]
+        LayoutText {#text} at (80,80) size 588x39
+          text run at (80,80) width 588: "This element should have an overall padding of 5 em, which will require extra text in order to"
+          text run at (80,100) width 29: "test. "
+          text run at (109,100) width 464: "Both the content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,673) size 769x464.50 [bgcolor=#00FFFF]
+        LayoutText {#text} at (192,192) size 380x79
+          text run at (192,192) width 380: "This element should have an overall padding of 25%, which"
+          text run at (192,212) width 377: "is calculated with respect to the width of the parent element."
+          text run at (192,232) width 354: "Both the content background and the padding should be"
+          text run at (192,252) width 108: "aqua (light blue)."
+      LayoutBlockFlow {P} at (0,1153.50) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 751x39
+          text run at (0,0) width 541: "This element should have no padding, since negative padding values are not allowed. "
+          text run at (541,0) width 210: "Both the content background and"
+          text run at (0,20) width 298: "the normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,1209.50) size 769x1058 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1056
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1028
+            LayoutTableCell {TD} at (0,528) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1027.50 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x136 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,48) size 631x39
+                  text run at (48,48) width 631: "This element should have an overall padding of half an inch, which will require extra text in order to"
+                  text run at (48,68) width 29: "test. "
+                  text run at (77,68) width 464: "Both the content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,192) size 747x90 [bgcolor=#00FFFF]
+                LayoutText {#text} at (25,25) size 678x39
+                  text run at (25,25) width 647: "This element should have an overall padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (672,25) width 31: "Both"
+                  text run at (25,45) width 429: "the content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,298) size 747x200 [bgcolor=#00FFFF]
+                LayoutText {#text} at (80,80) size 572x39
+                  text run at (80,80) width 572: "This element should have an overall padding of 5 em, which will require extra text in order"
+                  text run at (80,100) width 45: "to test. "
+                  text run at (125,100) width 464: "Both the content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,514) size 747x453.50 [bgcolor=#00FFFF]
+                LayoutText {#text} at (186,187) size 363x79
+                  text run at (186,187) width 337: "This element should have an overall padding of 25%,"
+                  text run at (186,207) width 363: "which is calculated with respect to the width of the parent"
+                  text run at (186,227) width 58: "element. "
+                  text run at (243,227) width 289: "Both the content background and the padding"
+                  text run at (186,247) width 173: "should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,983.50) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 724x39
+                  text run at (0,0) width 541: "This element should have no padding, since negative padding values are not allowed. "
+                  text run at (541,0) width 183: "Both the content background"
+                  text run at (0,20) width 325: "and the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_bottom-expected.txt
new file mode 100644
index 0000000..c2d5034
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_bottom-expected.txt
@@ -0,0 +1,100 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1610
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1610 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1610.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1594.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 432x96
+          text run at (0,0) width 416: ".zero {background-color: silver; padding-bottom: 0;}"
+          text run at (416,0) width 0: " "
+          text run at (0,16) width 424: ".one {padding-bottom: 0.5in; background-color: aqua;}"
+          text run at (424,16) width 0: " "
+          text run at (0,32) width 416: ".two {padding-bottom: 25px; background-color: aqua;}"
+          text run at (416,32) width 0: " "
+          text run at (0,48) width 424: ".three {padding-bottom: 5em; background-color: aqua;}"
+          text run at (424,48) width 0: " "
+          text run at (0,64) width 416: ".four {padding-bottom: 25%; background-color: aqua;}"
+          text run at (416,64) width 0: " "
+          text run at (0,80) width 432: ".five {padding-bottom: -20px; background-color: aqua;}"
+          text run at (432,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 769x88 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 761x39
+          text run at (0,0) width 657: "This element should have a bottom padding of half an inch, which will require extra text in order to test. "
+          text run at (657,0) width 104: "Both the content"
+          text run at (0,20) width 356: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,303) size 769x65 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 744x39
+          text run at (0,0) width 640: "This element should have a bottom padding of 25 pixels, which will require extra text in order to test. "
+          text run at (640,0) width 104: "Both the content"
+          text run at (0,20) width 356: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,384) size 769x120 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 718x39
+          text run at (0,0) width 614: "This element should have a bottom padding of 5 em, which will require extra text in order to test. "
+          text run at (614,0) width 104: "Both the content"
+          text run at (0,20) width 356: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,520) size 769x232.25 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 752x39
+          text run at (0,0) width 752: "This element should have a bottom padding of 25%, which is calculated with respect to the width of the parent element."
+          text run at (0,20) width 268: "This will require extra text in order to test. "
+          text run at (268,20) width 464: "Both the content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,768.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,804.25) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 693x39
+          text run at (0,0) width 589: "This element should have no bottom padding, since negative padding values are not allowed. "
+          text run at (589,0) width 104: "Both the content"
+          text run at (0,20) width 404: "background and the normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,860.25) size 769x734 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x732
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x704
+            LayoutTableCell {TD} at (0,366) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x703.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x88 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 711x39
+                  text run at (0,0) width 657: "This element should have a bottom padding of half an inch, which will require extra text in order to test. "
+                  text run at (657,0) width 54: "Both the"
+                  text run at (0,20) width 406: "content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,144) size 747x65 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 744x39
+                  text run at (0,0) width 640: "This element should have a bottom padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (640,0) width 104: "Both the content"
+                  text run at (0,20) width 356: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,225) size 747x120 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 718x39
+                  text run at (0,0) width 614: "This element should have a bottom padding of 5 em, which will require extra text in order to test. "
+                  text run at (614,0) width 104: "Both the content"
+                  text run at (0,20) width 356: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,361) size 747x246.75 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 712x59
+                  text run at (0,0) width 695: "This element should have a bottom padding of 25%, which is calculated with respect to the width of the parent"
+                  text run at (0,20) width 57: "element. "
+                  text run at (57,20) width 268: "This will require extra text in order to test. "
+                  text run at (325,20) width 387: "Both the content background and the padding should be aqua"
+                  text run at (0,40) width 73: "(light blue)."
+              LayoutBlockFlow {P} at (4,623.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,659.75) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 693x39
+                  text run at (0,0) width 589: "This element should have no bottom padding, since negative padding values are not allowed. "
+                  text run at (589,0) width 104: "Both the content"
+                  text run at (0,20) width 404: "background and the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_bottom_inline-expected.txt
new file mode 100644
index 0000000..165bd15
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_bottom_inline-expected.txt
@@ -0,0 +1,101 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 424x48
+          text run at (0,0) width 416: ".one {padding-bottom: 25px; background-color: aqua;}"
+          text run at (416,0) width 0: " "
+          text run at (0,16) width 424: ".two {padding-bottom: -10px; background-color: aqua;}"
+          text run at (424,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 476x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 756x64 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 144x19
+            text run at (475,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (618,3) size 25x16
+              text run at (618,3) width 25: "one"
+          LayoutText {#text} at (642,0) size 756x39
+            text run at (642,0) width 114: ", giving it an aqua"
+            text run at (0,20) width 252: "background and a 25px bottom padding"
+        LayoutText {#text} at (252,20) size 781x59
+          text run at (252,20) width 8: ". "
+          text run at (260,20) width 505: "Padding on inline elements does not affect line-height calculations, so all lines in"
+          text run at (0,40) width 293: "this element should have the same line-height. "
+          text run at (293,40) width 488: "There may be implementation-specific limits on how much of the padding the"
+          text run at (0,60) width 176: "user agent is able to display."
+      LayoutBlockFlow {P} at (0,211) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 476x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 144x19
+            text run at (475,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (618,3) size 25x16
+              text run at (618,3) width 25: "two"
+          LayoutText {#text} at (642,0) size 756x39
+            text run at (642,0) width 114: ", giving it an aqua"
+            text run at (0,20) width 522: "background and no bottom padding, since negative padding values are not allowed"
+        LayoutText {#text} at (522,20) size 757x39
+          text run at (522,20) width 8: ". "
+          text run at (530,20) width 227: "Padding on inline elements does not"
+          text run at (0,40) width 567: "affect line-height calculations, so all lines in this element should have the same line-height."
+      LayoutTable {TABLE} at (0,287) size 784x194 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x192
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x164
+            LayoutTableCell {TD} at (0,96) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 476x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 756x64 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 144x19
+                    text run at (475,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (618,3) size 25x16
+                      text run at (618,3) width 25: "one"
+                  LayoutText {#text} at (642,0) size 756x39
+                    text run at (642,0) width 114: ", giving it an aqua"
+                    text run at (0,20) width 252: "background and a 25px bottom padding"
+                LayoutText {#text} at (252,20) size 749x59
+                  text run at (252,20) width 8: ". "
+                  text run at (260,20) width 489: "Padding on inline elements does not affect line-height calculations, so all lines"
+                  text run at (0,40) width 309: "in this element should have the same line-height. "
+                  text run at (309,40) width 410: "There may be implementation-specific limits on how much of the"
+                  text run at (0,60) width 254: "padding the user agent is able to display."
+              LayoutBlockFlow {P} at (4,100) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 476x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 144x19
+                    text run at (475,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (618,3) size 25x16
+                      text run at (618,3) width 25: "two"
+                  LayoutText {#text} at (642,0) size 756x39
+                    text run at (642,0) width 114: ", giving it an aqua"
+                    text run at (0,20) width 522: "background and no bottom padding, since negative padding values are not allowed"
+                LayoutText {#text} at (522,20) size 757x39
+                  text run at (522,20) width 8: ". "
+                  text run at (530,20) width 227: "Padding on inline elements does not"
+                  text run at (0,40) width 567: "affect line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_inline-expected.txt
new file mode 100644
index 0000000..de24b3d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_inline-expected.txt
@@ -0,0 +1,127 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 809
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x809 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x809
+    LayoutBlockFlow {BODY} at (8,8) size 769x793 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 368x64
+          text run at (0,0) width 360: ".zero {background-color: silver; padding: 0;}"
+          text run at (360,0) width 0: " "
+          text run at (0,16) width 360: ".one {padding: 25px; background-color: aqua;}"
+          text run at (360,16) width 0: " "
+          text run at (0,32) width 368: ".two {padding: -10px; background-color: aqua;}"
+          text run at (368,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,167) size 769x120 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 476x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 747x89 [bgcolor=#00FFFF]
+          LayoutText {#text} at (500,0) size 144x19
+            text run at (500,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (643,3) size 25x16
+              text run at (643,3) width 25: "one"
+          LayoutText {#text} at (667,0) size 747x39
+            text run at (667,0) width 80: ", giving it an"
+            text run at (0,20) width 238: "aqua background and a 25px padding"
+        LayoutText {#text} at (263,20) size 765x99
+          text run at (263,20) width 8: ". "
+          text run at (271,20) width 489: "Padding on inline elements does not affect line-height calculations, so all lines"
+          text run at (0,40) width 309: "in this element should have the same line-height. "
+          text run at (309,40) width 410: "There may be implementation-specific limits on how much of the"
+          text run at (0,60) width 431: "padding the user agent is able to display above and below each line. "
+          text run at (431,60) width 334: "However, there should be at least 25px of padding to"
+          text run at (0,80) width 753: "the left side of the inline box in the first line it appears, and 25px of padding to the right side of the inline element box in"
+          text run at (0,100) width 182: "the last line where it appears."
+      LayoutBlockFlow {P} at (0,303) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,339) size 769x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 476x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 144x19
+            text run at (475,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (618,3) size 25x16
+              text run at (618,3) width 25: "two"
+          LayoutText {#text} at (642,0) size 756x39
+            text run at (642,0) width 114: ", giving it an aqua"
+            text run at (0,20) width 474: "background and no padding, since negative padding values are not allowed"
+        LayoutText {#text} at (474,20) size 748x39
+          text run at (474,20) width 8: ". "
+          text run at (482,20) width 266: "Padding on inline elements does not affect"
+          text run at (0,40) width 528: "line-height calculations, so all lines in this element should have the same line-height."
+      LayoutBlockFlow {P} at (0,415) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,451) size 769x342 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x340
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x312
+            LayoutTableCell {TD} at (0,170) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x312 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x120 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 476x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 747x89 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (500,0) size 144x19
+                    text run at (500,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (643,3) size 25x16
+                      text run at (643,3) width 25: "one"
+                  LayoutText {#text} at (667,0) size 747x39
+                    text run at (667,0) width 80: ", giving it an"
+                    text run at (0,20) width 238: "aqua background and a 25px padding"
+                LayoutText {#text} at (263,20) size 729x99
+                  text run at (263,20) width 8: ". "
+                  text run at (271,20) width 456: "Padding on inline elements does not affect line-height calculations, so all"
+                  text run at (0,40) width 342: "lines in this element should have the same line-height. "
+                  text run at (342,40) width 387: "There may be implementation-specific limits on how much of"
+                  text run at (0,60) width 454: "the padding the user agent is able to display above and below each line. "
+                  text run at (454,60) width 263: "However, there should be at least 25px of"
+                  text run at (0,80) width 727: "padding to the left side of the inline box in the first line it appears, and 25px of padding to the right side of the inline"
+                  text run at (0,100) width 279: "element box in the last line where it appears."
+              LayoutBlockFlow {P} at (4,176) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,212) size 747x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 476x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 722x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 144x19
+                    text run at (475,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (618,3) size 25x16
+                      text run at (618,3) width 25: "two"
+                  LayoutText {#text} at (642,0) size 722x39
+                    text run at (642,0) width 80: ", giving it an"
+                    text run at (0,20) width 508: "aqua background and no padding, since negative padding values are not allowed"
+                LayoutText {#text} at (508,20) size 743x39
+                  text run at (508,20) width 8: ". "
+                  text run at (516,20) width 227: "Padding on inline elements does not"
+                  text run at (0,40) width 567: "affect line-height calculations, so all lines in this element should have the same line-height."
+              LayoutBlockFlow {P} at (4,288) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_left-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_left-expected.txt
new file mode 100644
index 0000000..6fea302
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_left-expected.txt
@@ -0,0 +1,117 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1065
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1065 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1065
+    LayoutBlockFlow {BODY} at (8,8) size 769x1049 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 416x96
+          text run at (0,0) width 400: ".zero {background-color: silver; padding-left: 0;}"
+          text run at (400,0) width 0: " "
+          text run at (0,16) width 408: ".one {padding-left: 0.5in; background-color: aqua;}"
+          text run at (408,16) width 0: " "
+          text run at (0,32) width 400: ".two {padding-left: 25px; background-color: aqua;}"
+          text run at (400,32) width 0: " "
+          text run at (0,48) width 408: ".three {padding-left: 5em; background-color: aqua;}"
+          text run at (408,48) width 0: " "
+          text run at (0,64) width 400: ".four {padding-left: 25%; background-color: aqua;}"
+          text run at (400,64) width 0: " "
+          text run at (0,80) width 416: ".five {padding-left: -20px; background-color: aqua;}"
+          text run at (416,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,0) size 687x39
+          text run at (48,0) width 633: "This element should have a left padding of half an inch, which will require extra text in order to test. "
+          text run at (681,0) width 54: "Both the"
+          text run at (48,20) width 406: "content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,255) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (25,0) size 720x39
+          text run at (25,0) width 616: "This element should have a left padding of 25 pixels, which will require extra text in order to test. "
+          text run at (641,0) width 104: "Both the content"
+          text run at (25,20) width 356: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,311) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (80,0) size 640x39
+          text run at (80,0) width 586: "This element should have a left padding of 5em, which will require extra text in order to test. "
+          text run at (666,0) width 54: "Both the"
+          text run at (80,20) width 406: "content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,367) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (192,0) size 568x59
+          text run at (192,0) width 549: "This element should have a left padding of 25%, which is calculated with respect to the"
+          text run at (192,20) width 181: "width of the parent element. "
+          text run at (372,20) width 388: "Both the content background and the padding should be aqua"
+          text run at (192,40) width 74: "(light blue)."
+      LayoutBlockFlow {UL} at (0,443) size 769x80 [bgcolor=#808080]
+        LayoutListItem {LI} at (25,0) size 744x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 715x19
+            text run at (0,0) width 715: "The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to test."
+        LayoutListItem {LI} at (25,20) size 744x60 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (25,0) size 712x59
+            text run at (25,0) width 712: "Another list item might not be such a bad idea, either, considering that such things do need to be double-checked."
+            text run at (25,20) width 696: "This list item has its left padding also set to 25 pixels, which should combine with the list's padding to make 50"
+            text run at (25,40) width 106: "pixels of margin."
+      LayoutBlockFlow {P} at (0,539) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 748x39
+          text run at (0,0) width 565: "This element should have no left padding, since negative padding values are not allowed. "
+          text run at (565,0) width 183: "Both the content background"
+          text run at (0,20) width 325: "and the normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,595) size 769x454 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x452
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x424
+            LayoutTableCell {TD} at (0,226) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x424 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,0) size 687x39
+                  text run at (48,0) width 633: "This element should have a left padding of half an inch, which will require extra text in order to test. "
+                  text run at (681,0) width 54: "Both the"
+                  text run at (48,20) width 406: "content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,96) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (25,0) size 720x39
+                  text run at (25,0) width 616: "This element should have a left padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (641,0) width 104: "Both the content"
+                  text run at (25,20) width 356: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,152) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (80,0) size 640x39
+                  text run at (80,0) width 586: "This element should have a left padding of 5em, which will require extra text in order to test. "
+                  text run at (666,0) width 54: "Both the"
+                  text run at (80,20) width 406: "content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,208) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (186,0) size 549x59
+                  text run at (186,0) width 549: "This element should have a left padding of 25%, which is calculated with respect to the"
+                  text run at (186,20) width 181: "width of the parent element. "
+                  text run at (366,20) width 354: "Both the content background and the padding should be"
+                  text run at (186,40) width 108: "aqua (light blue)."
+              LayoutBlockFlow {UL} at (4,284) size 747x80 [bgcolor=#808080]
+                LayoutListItem {LI} at (25,0) size 722x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 715x19
+                    text run at (0,0) width 715: "The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to test."
+                LayoutListItem {LI} at (25,20) size 722x60 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (25,0) size 682x59
+                    text run at (25,0) width 656: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+                    text run at (25,20) width 60: "checked. "
+                    text run at (85,20) width 622: "This list item has its left padding also set to 25 pixels, which should combine with the list's padding"
+                    text run at (25,40) width 180: "to make 50 pixels of margin."
+              LayoutBlockFlow {P} at (4,380) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 669x39
+                  text run at (0,0) width 565: "This element should have no left padding, since negative padding values are not allowed. "
+                  text run at (565,0) width 104: "Both the content"
+                  text run at (0,20) width 404: "background and the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_left_inline-expected.txt
new file mode 100644
index 0000000..25146a6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_left_inline-expected.txt
@@ -0,0 +1,103 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 408x48
+          text run at (0,0) width 400: ".one {padding-left: 25px; background-color: aqua;}"
+          text run at (400,0) width 0: " "
+          text run at (0,16) width 408: ".two {padding-left: -10px; background-color: aqua;}"
+          text run at (408,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 542x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 155: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 193x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (566,0) size 144x19
+            text run at (566,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (709,3) size 25x16
+              text run at (709,3) width 25: "one"
+        LayoutText {#text} at (733,0) size 777x39
+          text run at (733,0) width 44: " which"
+          text run at (0,20) width 527: "should result in 25-pixel left padding (which should also be a light blue) only in the "
+        LayoutInline {STRONG} at (0,0) size 27x19
+          LayoutText {#text} at (527,20) size 27x19
+            text run at (527,20) width 27: "first"
+        LayoutText {#text} at (554,20) size 730x39
+          text run at (554,20) width 176: " line in which the inline box"
+          text run at (0,40) width 52: "appears."
+      LayoutBlockFlow {P} at (0,191) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 542x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 155: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (541,0) size 144x19
+            text run at (541,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (684,3) size 25x16
+              text run at (684,3) width 25: "two"
+        LayoutText {#text} at (708,0) size 752x39
+          text run at (708,0) width 44: " which"
+          text run at (0,20) width 512: "should result in -10px left padding (which should also be a light blue) only in the "
+        LayoutInline {STRONG} at (0,0) size 27x19
+          LayoutText {#text} at (512,20) size 27x19
+            text run at (512,20) width 27: "first"
+        LayoutText {#text} at (539,20) size 232x19
+          text run at (539,20) width 232: " line in which the inline box appears."
+      LayoutTable {TABLE} at (0,247) size 784x174 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x172
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x144
+            LayoutTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 542x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 155: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 193x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (566,0) size 144x19
+                    text run at (566,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (709,3) size 25x16
+                      text run at (709,3) width 25: "one"
+                LayoutText {#text} at (0,20) size 570x19
+                  text run at (0,20) width 570: "which should result in 25-pixel left padding (which should also be a light blue) only in the "
+                LayoutInline {STRONG} at (0,0) size 27x19
+                  LayoutText {#text} at (570,20) size 27x19
+                    text run at (570,20) width 27: "first"
+                LayoutText {#text} at (597,20) size 745x39
+                  text run at (597,20) width 148: " line in which the inline"
+                  text run at (0,40) width 80: "box appears."
+              LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 542x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 155: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (541,0) size 144x19
+                    text run at (541,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (684,3) size 25x16
+                      text run at (684,3) width 25: "two"
+                LayoutText {#text} at (708,0) size 752x39
+                  text run at (708,0) width 44: " which"
+                  text run at (0,20) width 512: "should result in -10px left padding (which should also be a light blue) only in the "
+                LayoutInline {STRONG} at (0,0) size 27x19
+                  LayoutText {#text} at (512,20) size 27x19
+                    text run at (512,20) width 27: "first"
+                LayoutText {#text} at (539,20) size 715x39
+                  text run at (539,20) width 176: " line in which the inline box"
+                  text run at (0,40) width 52: "appears."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_right-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_right-expected.txt
new file mode 100644
index 0000000..d318d8e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_right-expected.txt
@@ -0,0 +1,135 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1245
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1245 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1245
+    LayoutBlockFlow {BODY} at (8,8) size 769x1229 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 576x96
+          text run at (0,0) width 408: ".zero {background-color: silver; padding-right: 0;}"
+          text run at (408,0) width 0: " "
+          text run at (0,16) width 568: ".one {padding-right: 0.5in; text-align: right; background-color: aqua;}"
+          text run at (568,16) width 0: " "
+          text run at (0,32) width 560: ".two {padding-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (560,32) width 0: " "
+          text run at (0,48) width 568: ".three {padding-right: 5em; text-align: right; background-color: aqua;}"
+          text run at (568,48) width 0: " "
+          text run at (0,64) width 560: ".four {padding-right: 25%; text-align: right; background-color: aqua;}"
+          text run at (560,64) width 0: " "
+          text run at (0,80) width 576: ".five {padding-right: -20px; text-align: right; background-color: aqua;}"
+          text run at (576,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (25,0) size 712x59
+          text run at (25,0) width 642: "This element should have a right padding of half an inch, which will require extra text in order to test. "
+          text run at (667,0) width 54: "Both the"
+          text run at (9,20) width 410: "content background and the padding should be aqua (light blue). "
+          text run at (419,20) width 302: "The text has been right-aligned in order to make"
+          text run at (530,40) width 191: "the right padding easier to see."
+      LayoutBlockFlow {P} at (0,275) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (15,0) size 729x59
+          text run at (15,0) width 625: "This element should have a right padding of 25 pixels, which will require extra text in order to test. "
+          text run at (640,0) width 104: "Both the content"
+          text run at (26,20) width 360: "background and the padding should be aqua (light blue). "
+          text run at (386,20) width 358: "The text has been right-aligned in order to make the right"
+          text run at (609,40) width 135: "padding easier to see."
+      LayoutBlockFlow {P} at (0,351) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (36,0) size 674x59
+          text run at (36,0) width 599: "This element should have a right padding of 5 em, which will require extra text in order to test. "
+          text run at (635,0) width 54: "Both the"
+          text run at (15,20) width 410: "content background and the padding should be aqua (light blue). "
+          text run at (425,20) width 264: "The text has been right-aligned in order to"
+          text run at (460,40) width 229: "make the right padding easier to see."
+      LayoutBlockFlow {P} at (0,427) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (19,0) size 575x59
+          text run at (19,0) width 558: "This element should have a right padding of 25%, which is calculated with respect to the"
+          text run at (9,20) width 181: "width of the parent element. "
+          text run at (189,20) width 388: "Both the content background and the padding should be aqua"
+          text run at (2,40) width 78: "(light blue). "
+          text run at (79,40) width 498: "The text has been right-aligned in order to make the right padding easier to see."
+      LayoutBlockFlow {UL} at (0,503) size 769x80 [bgcolor=#808080]
+        LayoutListItem {LI} at (40,0) size 704x40
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (7,0) size 697x39
+            text run at (7,0) width 697: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in order to"
+            text run at (679,20) width 25: "test."
+        LayoutListItem {LI} at (40,40) size 704x40 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (19,0) size 660x39
+            text run at (19,0) width 660: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the UL"
+            text run at (626,20) width 53: "element."
+      LayoutBlockFlow {P} at (0,599) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (12,0) size 757x59
+          text run at (12,0) width 574: "This element should have no right padding, since negative padding values are not allowed. "
+          text run at (586,0) width 183: "Both the content background"
+          text run at (35,20) width 329: "and the normal padding should be aqua (light blue). "
+          text run at (364,20) width 405: "The text has been right-aligned in order to make the lack of right"
+          text run at (634,40) width 135: "padding easier to see."
+      LayoutTable {TABLE} at (0,675) size 769x554 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x552
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x524
+            LayoutTableCell {TD} at (0,276) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x524 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (3,0) size 696x59
+                  text run at (3,0) width 642: "This element should have a right padding of half an inch, which will require extra text in order to test. "
+                  text run at (645,0) width 54: "Both the"
+                  text run at (25,20) width 410: "content background and the padding should be aqua (light blue). "
+                  text run at (435,20) width 264: "The text has been right-aligned in order to"
+                  text run at (470,40) width 229: "make the right padding easier to see."
+              LayoutBlockFlow {P} at (4,116) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (43,0) size 712x59
+                  text run at (43,0) width 625: "This element should have a right padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (668,0) width 54: "Both the"
+                  text run at (10,20) width 410: "content background and the padding should be aqua (light blue). "
+                  text run at (420,20) width 302: "The text has been right-aligned in order to make"
+                  text run at (531,40) width 191: "the right padding easier to see."
+              LayoutBlockFlow {P} at (4,192) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (14,0) size 658x59
+                  text run at (14,0) width 599: "This element should have a right padding of 5 em, which will require extra text in order to test. "
+                  text run at (613,0) width 54: "Both the"
+                  text run at (9,20) width 410: "content background and the padding should be aqua (light blue). "
+                  text run at (419,20) width 248: "The text has been right-aligned in order"
+                  text run at (422,40) width 245: "to make the right padding easier to see."
+              LayoutBlockFlow {P} at (4,268) size 747x80 [bgcolor=#00FFFF]
+                LayoutText {#text} at (3,0) size 558x79
+                  text run at (3,0) width 558: "This element should have a right padding of 25%, which is calculated with respect to the"
+                  text run at (27,20) width 181: "width of the parent element. "
+                  text run at (207,20) width 354: "Both the content background and the padding should be"
+                  text run at (36,40) width 112: "aqua (light blue). "
+                  text run at (147,40) width 414: "The text has been right-aligned in order to make the right padding"
+                  text run at (480,60) width 81: "easier to see."
+              LayoutBlockFlow {UL} at (4,364) size 747x80 [bgcolor=#808080]
+                LayoutListItem {LI} at (40,0) size 682x40
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (1,0) size 681x39
+                    text run at (1,0) width 681: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in order"
+                    text run at (641,20) width 41: "to test."
+                LayoutListItem {LI} at (40,40) size 682x40 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (23,0) size 634x39
+                    text run at (23,0) width 634: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the"
+                    text run at (578,20) width 79: "UL element."
+              LayoutBlockFlow {P} at (4,460) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (69,0) size 733x59
+                  text run at (69,0) width 574: "This element should have no right padding, since negative padding values are not allowed. "
+                  text run at (643,0) width 104: "Both the content"
+                  text run at (14,20) width 408: "background and the normal padding should be aqua (light blue). "
+                  text run at (422,20) width 325: "The text has been right-aligned in order to make the"
+                  text run at (532,40) width 215: "lack of right padding easier to see."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_right_inline-expected.txt
new file mode 100644
index 0000000..4ed3e6b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_right_inline-expected.txt
@@ -0,0 +1,104 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 568x48
+          text run at (0,0) width 560: ".one {padding-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (560,0) width 0: " "
+          text run at (0,16) width 568: ".two {padding-right: -10px; text-align: right; background-color: aqua;}"
+          text run at (568,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 542x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 155: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 193x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (541,0) size 144x19
+            text run at (541,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (684,3) size 25x16
+              text run at (684,3) width 25: "one"
+        LayoutText {#text} at (733,0) size 781x39
+          text run at (733,0) width 48: ", which"
+          text run at (0,20) width 525: "should result in 25-pixel right padding (which should also be light blue) only in the "
+        LayoutInline {STRONG} at (0,0) size 23x19
+          LayoutText {#text} at (525,20) size 23x19
+            text run at (525,20) width 23: "last"
+        LayoutText {#text} at (548,20) size 232x19
+          text run at (548,20) width 232: " line in which the inline box appears."
+      LayoutBlockFlow {P} at (0,171) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 542x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 155: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (541,0) size 144x19
+            text run at (541,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (684,3) size 25x16
+              text run at (684,3) width 25: "two"
+        LayoutText {#text} at (708,0) size 756x39
+          text run at (708,0) width 48: ", which"
+          text run at (0,20) width 548: "should result in no right padding, since negative padding values are not allowed, in the "
+        LayoutInline {STRONG} at (0,0) size 23x19
+          LayoutText {#text} at (548,20) size 23x19
+            text run at (548,20) width 23: "last"
+        LayoutText {#text} at (571,20) size 747x39
+          text run at (571,20) width 176: " line in which the inline box"
+          text run at (0,40) width 52: "appears."
+      LayoutTable {TABLE} at (0,247) size 784x174 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x172
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x144
+            LayoutTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 542x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 155: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 193x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (541,0) size 144x19
+                    text run at (541,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (684,3) size 25x16
+                      text run at (684,3) width 25: "one"
+                LayoutText {#text} at (733,0) size 738x39
+                  text run at (733,0) width 5: ","
+                  text run at (0,20) width 568: "which should result in 25-pixel right padding (which should also be light blue) only in the "
+                LayoutInline {STRONG} at (0,0) size 23x19
+                  LayoutText {#text} at (568,20) size 23x19
+                    text run at (568,20) width 23: "last"
+                LayoutText {#text} at (591,20) size 739x39
+                  text run at (591,20) width 148: " line in which the inline"
+                  text run at (0,40) width 80: "box appears."
+              LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 542x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 155: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 168x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (541,0) size 144x19
+                    text run at (541,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (684,3) size 25x16
+                      text run at (684,3) width 25: "two"
+                LayoutText {#text} at (708,0) size 756x39
+                  text run at (708,0) width 48: ", which"
+                  text run at (0,20) width 548: "should result in no right padding, since negative padding values are not allowed, in the "
+                LayoutInline {STRONG} at (0,0) size 23x19
+                  LayoutText {#text} at (548,20) size 23x19
+                    text run at (548,20) width 23: "last"
+                LayoutText {#text} at (571,20) size 747x39
+                  text run at (571,20) width 176: " line in which the inline box"
+                  text run at (0,40) width 52: "appears."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_top-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_top-expected.txt
new file mode 100644
index 0000000..f986bff7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_top-expected.txt
@@ -0,0 +1,93 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1518
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1518 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1518.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1502.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 408x96
+          text run at (0,0) width 392: ".zero {background-color: silver; padding-top: 0;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 400: ".one {padding-top: 0.5in; background-color: aqua;}"
+          text run at (400,16) width 0: " "
+          text run at (0,32) width 392: ".two {padding-top: 25px; background-color: aqua;}"
+          text run at (392,32) width 0: " "
+          text run at (0,48) width 400: ".three {padding-top: 5em; background-color: aqua;}"
+          text run at (400,48) width 0: " "
+          text run at (0,64) width 392: ".four {padding-top: 25%; background-color: aqua;}"
+          text run at (392,64) width 0: " "
+          text run at (0,80) width 408: ".five {padding-top: -20px; background-color: aqua;}"
+          text run at (408,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 203x19
+          text run at (0,0) width 203: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 769x88 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,48) size 737x39
+          text run at (0,48) width 633: "This element should have a top padding of half an inch, which will require extra text in order to test. "
+          text run at (633,48) width 104: "Both the content"
+          text run at (0,68) width 356: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,303) size 769x65 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,25) size 720x39
+          text run at (0,25) width 616: "This element should have a top padding of 25 pixels, which will require extra text in order to test. "
+          text run at (616,25) width 104: "Both the content"
+          text run at (0,45) width 356: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,384) size 769x120 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,80) size 694x39
+          text run at (0,80) width 590: "This element should have a top padding of 5 em, which will require extra text in order to test. "
+          text run at (590,80) width 104: "Both the content"
+          text run at (0,100) width 356: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,520) size 769x232.25 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,192) size 763x39
+          text run at (0,192) width 732: "This element should have a top padding of 25%, which is calculated with respect to the width of the parent element. "
+          text run at (732,192) width 31: "Both"
+          text run at (0,212) width 433: "the content background and the padding should be aqua (light blue). "
+          text run at (433,212) width 264: "This will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,768.25) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 748x39
+          text run at (0,0) width 565: "This element should have no top padding, since negative padding values are not allowed. "
+          text run at (565,0) width 183: "Both the content background"
+          text run at (0,20) width 325: "and the normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,824.25) size 769x678 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x676
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x648
+            LayoutTableCell {TD} at (0,338) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x647.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 203x19
+                  text run at (0,0) width 203: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x88 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,48) size 737x39
+                  text run at (0,48) width 633: "This element should have a top padding of half an inch, which will require extra text in order to test. "
+                  text run at (633,48) width 104: "Both the content"
+                  text run at (0,68) width 356: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,144) size 747x65 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,25) size 720x39
+                  text run at (0,25) width 616: "This element should have a top padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (616,25) width 104: "Both the content"
+                  text run at (0,45) width 356: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,225) size 747x120 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,80) size 694x39
+                  text run at (0,80) width 590: "This element should have a top padding of 5 em, which will require extra text in order to test. "
+                  text run at (590,80) width 104: "Both the content"
+                  text run at (0,100) width 356: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,361) size 747x226.75 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,187) size 732x39
+                  text run at (0,187) width 728: "This element should have a top padding of 25%, which is calculated with respect to the width of the parent element."
+                  text run at (0,207) width 468: "Both the content background and the padding should be aqua (light blue). "
+                  text run at (468,207) width 264: "This will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,603.75) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 669x39
+                  text run at (0,0) width 565: "This element should have no top padding, since negative padding values are not allowed. "
+                  text run at (565,0) width 104: "Both the content"
+                  text run at (0,20) width 404: "background and the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_top_inline-expected.txt
new file mode 100644
index 0000000..643a2d8f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/padding_top_inline-expected.txt
@@ -0,0 +1,101 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 400x48
+          text run at (0,0) width 392: ".one {padding-top: 25px; background-color: aqua;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 400: ".two {padding-top: -10px; background-color: aqua;}"
+          text run at (400,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 476x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 756x64 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 144x19
+            text run at (475,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (618,3) size 25x16
+              text run at (618,3) width 25: "one"
+          LayoutText {#text} at (642,0) size 756x39
+            text run at (642,0) width 114: ", giving it an aqua"
+            text run at (0,20) width 228: "background and a 25px top padding"
+        LayoutText {#text} at (228,20) size 767x59
+          text run at (228,20) width 8: ". "
+          text run at (236,20) width 531: "Padding on inline elements does not affect line-height calculations, so all lines in this"
+          text run at (0,40) width 267: "element should have the same line-height. "
+          text run at (267,40) width 488: "There may be implementation-specific limits on how much of the padding the"
+          text run at (0,60) width 176: "user agent is able to display."
+      LayoutBlockFlow {P} at (0,211) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 476x19
+          text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+          text run at (387,0) width 89: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (475,0) size 144x19
+            text run at (475,0) width 144: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (618,3) size 25x16
+              text run at (618,3) width 25: "two"
+          LayoutText {#text} at (642,0) size 756x39
+            text run at (642,0) width 114: ", giving it an aqua"
+            text run at (0,20) width 498: "background and no top padding, since negative padding values are not allowed"
+        LayoutText {#text} at (498,20) size 772x39
+          text run at (498,20) width 8: ". "
+          text run at (506,20) width 266: "Padding on inline elements does not affect"
+          text run at (0,40) width 528: "line-height calculations, so all lines in this element should have the same line-height."
+      LayoutTable {TABLE} at (0,287) size 784x194 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x192
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x164
+            LayoutTableCell {TD} at (0,96) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 476x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 756x64 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 144x19
+                    text run at (475,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (618,3) size 25x16
+                      text run at (618,3) width 25: "one"
+                  LayoutText {#text} at (642,0) size 756x39
+                    text run at (642,0) width 114: ", giving it an aqua"
+                    text run at (0,20) width 228: "background and a 25px top padding"
+                LayoutText {#text} at (228,20) size 758x59
+                  text run at (228,20) width 8: ". "
+                  text run at (236,20) width 505: "Padding on inline elements does not affect line-height calculations, so all lines in"
+                  text run at (0,40) width 293: "this element should have the same line-height. "
+                  text run at (293,40) width 465: "There may be implementation-specific limits on how much of the padding"
+                  text run at (0,60) width 199: "the user agent is able to display."
+              LayoutBlockFlow {P} at (4,100) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 476x19
+                  text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
+                  text run at (387,0) width 89: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 756x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (475,0) size 144x19
+                    text run at (475,0) width 144: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (618,3) size 25x16
+                      text run at (618,3) width 25: "two"
+                  LayoutText {#text} at (642,0) size 756x39
+                    text run at (642,0) width 114: ", giving it an aqua"
+                    text run at (0,20) width 498: "background and no top padding, since negative padding values are not allowed"
+                LayoutText {#text} at (498,20) size 733x39
+                  text run at (498,20) width 8: ". "
+                  text run at (506,20) width 227: "Padding on inline elements does not"
+                  text run at (0,40) width 567: "affect line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/width-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/width-expected.txt
new file mode 100644
index 0000000..c056d92
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/width-expected.txt
@@ -0,0 +1,87 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1391
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1391 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1391
+    LayoutBlockFlow {BODY} at (8,8) size 769x1375 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x48
+        LayoutText {#text} at (0,0) size 152x48
+          text run at (0,0) width 152: ".one {width: 50px;}"
+          text run at (152,0) width 0: " "
+          text run at (0,16) width 144: ".two {width: 50%;}"
+          text run at (144,16) width 0: " "
+          text run at (0,32) width 152: "TABLE {width: 50%;}"
+          text run at (152,32) width 0: " "
+      LayoutBlockFlow (anonymous) at (0,107) size 769x50
+        LayoutImage {IMG} at (0,0) size 50x50
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,173) size 769x20
+        LayoutText {#text} at (0,0) size 287x19
+          text run at (0,0) width 287: "The square above should be fifty pixels wide."
+      LayoutBlockFlow (anonymous) at (0,209) size 769x385
+        LayoutImage {IMG} at (0,0) size 384.50x384.50
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,610) size 769x20
+        LayoutText {#text} at (0,0) size 671x19
+          text run at (0,0) width 671: "The square above should be half as wide as the image's parent element (either the BODY or the table cell)."
+      LayoutBlockFlow {P} at (0,646) size 384.50x100
+        LayoutText {#text} at (0,0) size 382x79
+          text run at (0,0) width 382: "This paragraph should be half the width of its parent element"
+          text run at (0,20) width 379: "(either the BODY or the table, which should itself be half as"
+          text run at (0,40) width 188: "wide as the BODY element). "
+          text run at (188,40) width 178: "This is extra text included to"
+          text run at (0,60) width 246: "ensure that this will be a fair test of the "
+        LayoutInline {CODE} at (0,0) size 40x16
+          LayoutText {#text} at (246,63) size 40x16
+            text run at (246,63) width 40: "width"
+        LayoutText {#text} at (286,60) size 373x39
+          text run at (286,60) width 57: " property"
+          text run at (0,80) width 373: "without the need for the user to resize the viewing window."
+      LayoutTable {TABLE} at (0,762) size 384x613 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 382x611
+          LayoutTableRow {TR} at (0,0) size 382x28
+            LayoutTableCell {TD} at (0,0) size 382x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 382x583
+            LayoutTableCell {TD} at (0,305) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 370x583 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (4,4) size 362x50
+                LayoutImage {IMG} at (0,0) size 50x50
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,70) size 362x20
+                LayoutText {#text} at (0,0) size 287x19
+                  text run at (0,0) width 287: "The square above should be fifty pixels wide."
+              LayoutBlockFlow (anonymous) at (4,106) size 362x181
+                LayoutImage {IMG} at (0,0) size 181x181
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,303) size 362x40
+                LayoutText {#text} at (0,0) size 348x39
+                  text run at (0,0) width 348: "The square above should be half as wide as the image's"
+                  text run at (0,20) width 319: "parent element (either the BODY or the table cell)."
+              LayoutBlockFlow {P} at (4,359) size 181x220
+                LayoutText {#text} at (0,0) size 177x179
+                  text run at (0,0) width 160: "This paragraph should be"
+                  text run at (0,20) width 165: "half the width of its parent"
+                  text run at (0,40) width 167: "element (either the BODY"
+                  text run at (0,60) width 163: "or the table, which should"
+                  text run at (0,80) width 169: "itself be half as wide as the"
+                  text run at (0,100) width 113: "BODY element). "
+                  text run at (113,100) width 42: "This is"
+                  text run at (0,120) width 177: "extra text included to ensure"
+                  text run at (0,140) width 174: "that this will be a fair test of"
+                  text run at (0,160) width 23: "the "
+                LayoutInline {CODE} at (0,0) size 40x16
+                  LayoutText {#text} at (23,163) size 40x16
+                    text run at (23,163) width 40: "width"
+                LayoutText {#text} at (63,160) size 173x59
+                  text run at (63,160) width 109: " property without"
+                  text run at (0,180) width 144: "the need for the user to"
+                  text run at (0,200) width 173: "resize the viewing window."
+layer at (8,105) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/cascade/cascade_order-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/cascade/cascade_order-expected.txt
new file mode 100644
index 0000000..c6fb7ba60
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/cascade/cascade_order-expected.txt
@@ -0,0 +1,143 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 849
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x849 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x849
+    LayoutBlockFlow {BODY} at (8,8) size 769x833 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x176
+        LayoutText {#text} at (0,0) size 576x176
+          text run at (0,0) width 576: "<LINK rel=\"stylesheet\" type=\"text/css\" HREF=\"../resources/linktest.css\">"
+          text run at (576,0) width 0: " "
+          text run at (0,16) width 152: "LI {color: purple;}"
+          text run at (152,16) width 0: " "
+          text run at (0,32) width 160: "UL LI {color: blue;}"
+          text run at (160,32) width 0: " "
+          text run at (0,48) width 184: "UL LI LI {color: gray;}"
+          text run at (184,48) width 0: " "
+          text run at (0,64) width 176: "LI.red {color: green;}"
+          text run at (176,64) width 0: " "
+          text run at (0,80) width 216: "UL LI.mar {color: #660000;}"
+          text run at (216,80) width 0: " "
+          text run at (0,96) width 200: "UL LI#gre {color: green;}"
+          text run at (200,96) width 0: " "
+          text run at (0,112) width 160: ".test {color: blue;}"
+          text run at (160,112) width 0: " "
+          text run at (0,128) width 176: ".test {color: purple;}"
+          text run at (176,128) width 0: " "
+          text run at (0,144) width 296: ".one {text-decoration: line-through;}"
+          text run at (296,144) width 0: " "
+          text run at (0,160) width 0: " "
+      LayoutBlockFlow {UL} at (0,243) size 769x160
+        LayoutListItem {LI} at (40,0) size 729x20 [color=#0000FF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 189x19
+            text run at (0,0) width 189: "This list item should be blue..."
+        LayoutListItem {LI} at (40,20) size 729x80 [color=#0000FF]
+          LayoutBlockFlow (anonymous) at (0,0) size 729x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 289x19
+              text run at (0,0) width 289: "...and so should this; neither should be purple."
+          LayoutBlockFlow {UL} at (0,20) size 729x60
+            LayoutListItem {LI} at (40,0) size 689x20 [color=#808080]
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 189x19
+                text run at (0,0) width 189: "This list item should be gray..."
+            LayoutListItem {LI} at (40,20) size 689x20 [color=#808080]
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 113x19
+                text run at (0,0) width 113: "...as should this...."
+            LayoutListItem {LI} at (40,40) size 689x20 [color=#008000]
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 193x19
+                text run at (0,0) width 193: "...but this one should be green."
+        LayoutListItem {LI} at (40,100) size 729x20 [color=#660000]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 171x19
+            text run at (0,0) width 171: "This ought to be dark red..."
+        LayoutListItem {LI} at (40,120) size 729x20 [color=#008000]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 85x19
+            text run at (0,0) width 85: "...this green..."
+        LayoutListItem {LI} at (40,140) size 729x20 [color=#0000FF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 96x19
+            text run at (0,0) width 96: "...and this blue."
+      LayoutBlockFlow {P} at (0,419) size 769x20 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 279x19
+          text run at (0,0) width 279: "This sentence should be blue (STYLE attr.)."
+      LayoutBlockFlow {P} at (0,455) size 769x20 [color=#800080]
+        LayoutText {#text} at (0,0) size 204x19
+          text run at (0,0) width 204: "This sentence should be purple ["
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (204,3) size 96x16
+            text run at (204,3) width 96: "class=\"test\""
+        LayoutText {#text} at (300,0) size 9x19
+          text run at (300,0) width 9: "]."
+      LayoutBlockFlow {P} at (0,491) size 769x20
+        LayoutText {#text} at (0,0) size 683x19
+          text run at (0,0) width 683: "This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported)."
+      LayoutTable {TABLE} at (0,527) size 705x306 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 703x304
+          LayoutTableRow {TR} at (0,0) size 703x28
+            LayoutTableCell {TD} at (0,0) size 703x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 703x276
+            LayoutTableCell {TD} at (0,152) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 691x276 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 683x160
+                LayoutListItem {LI} at (40,0) size 643x20 [color=#0000FF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 189x19
+                    text run at (0,0) width 189: "This list item should be blue..."
+                LayoutListItem {LI} at (40,20) size 643x80 [color=#0000FF]
+                  LayoutBlockFlow (anonymous) at (0,0) size 643x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 289x19
+                      text run at (0,0) width 289: "...and so should this; neither should be purple."
+                  LayoutBlockFlow {UL} at (0,20) size 643x60
+                    LayoutListItem {LI} at (40,0) size 603x20 [color=#808080]
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 189x19
+                        text run at (0,0) width 189: "This list item should be gray..."
+                    LayoutListItem {LI} at (40,20) size 603x20 [color=#808080]
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 113x19
+                        text run at (0,0) width 113: "...as should this...."
+                    LayoutListItem {LI} at (40,40) size 603x20 [color=#008000]
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 193x19
+                        text run at (0,0) width 193: "...but this one should be green."
+                LayoutListItem {LI} at (40,100) size 643x20 [color=#660000]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 171x19
+                    text run at (0,0) width 171: "This ought to be dark red..."
+                LayoutListItem {LI} at (40,120) size 643x20 [color=#008000]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 85x19
+                    text run at (0,0) width 85: "...this green..."
+                LayoutListItem {LI} at (40,140) size 643x20 [color=#0000FF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 96x19
+                    text run at (0,0) width 96: "...and this blue."
+              LayoutBlockFlow {P} at (4,180) size 683x20 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 279x19
+                  text run at (0,0) width 279: "This sentence should be blue (STYLE attr.)."
+              LayoutBlockFlow {P} at (4,216) size 683x20 [color=#800080]
+                LayoutText {#text} at (0,0) size 204x19
+                  text run at (0,0) width 204: "This sentence should be purple ["
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (204,3) size 96x16
+                    text run at (204,3) width 96: "class=\"test\""
+                LayoutText {#text} at (300,0) size 9x19
+                  text run at (300,0) width 9: "]."
+              LayoutBlockFlow {P} at (4,252) size 683x20
+                LayoutText {#text} at (0,0) size 683x19
+                  text run at (0,0) width 683: "This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported)."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/cascade/important-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/cascade/important-expected.txt
new file mode 100644
index 0000000..56bb801
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/cascade/important-expected.txt
@@ -0,0 +1,69 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 232x64
+          text run at (0,0) width 232: "P {color: green ! important;}"
+          text run at (232,0) width 0: " "
+          text run at (0,16) width 120: "P {color: red;}"
+          text run at (120,16) width 0: " "
+          text run at (0,32) width 176: "P#id1 {color: purple;}"
+          text run at (176,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x40 [color=#008000]
+        LayoutText {#text} at (0,0) size 767x39
+          text run at (0,0) width 767: "This sentence should be green, because the declaration marked important should override any other normal declaration for"
+          text run at (0,20) width 355: "the same element, even if it occurs later in the stylesheet."
+      LayoutBlockFlow {P} at (0,187) size 784x40 [color=#008000]
+        LayoutText {#text} at (0,0) size 403x19
+          text run at (0,0) width 403: "This sentence should also be green, even though it has an ID of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (403,3) size 24x16
+            text run at (403,3) width 24: "id1"
+        LayoutText {#text} at (427,0) size 781x39
+          text run at (427,0) width 258: ", which would ordinarily make it purple. "
+          text run at (685,0) width 96: "This is because"
+          text run at (0,20) width 645: "declarations marked important have more weight than normal declarations given in a STYLE attribute."
+      LayoutBlockFlow {P} at (0,243) size 784x40 [color=#008000]
+        LayoutText {#text} at (0,0) size 779x39
+          text run at (0,0) width 604: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. "
+          text run at (604,0) width 175: "This is because declarations"
+          text run at (0,20) width 566: "marked important have more weight than normal declarations given in a STYLE attribute."
+      LayoutTable {TABLE} at (0,299) size 784x190 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x188
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x160
+            LayoutTableCell {TD} at (0,94) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x160 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40 [color=#008000]
+                LayoutText {#text} at (0,0) size 745x39
+                  text run at (0,0) width 745: "This sentence should be green, because the declaration marked important should override any other normal declaration"
+                  text run at (0,20) width 377: "for the same element, even if it occurs later in the stylesheet."
+              LayoutBlockFlow {P} at (4,60) size 762x40 [color=#008000]
+                LayoutText {#text} at (0,0) size 403x19
+                  text run at (0,0) width 403: "This sentence should also be green, even though it has an ID of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (403,3) size 24x16
+                    text run at (403,3) width 24: "id1"
+                LayoutText {#text} at (427,0) size 727x39
+                  text run at (427,0) width 258: ", which would ordinarily make it purple. "
+                  text run at (685,0) width 42: "This is"
+                  text run at (0,20) width 699: "because declarations marked important have more weight than normal declarations given in a STYLE attribute."
+              LayoutBlockFlow {P} at (4,116) size 762x40 [color=#008000]
+                LayoutText {#text} at (0,0) size 700x39
+                  text run at (0,0) width 604: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. "
+                  text run at (604,0) width 96: "This is because"
+                  text run at (0,20) width 645: "declarations marked important have more weight than normal declarations given in a STYLE attribute."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/display-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/display-expected.txt
new file mode 100644
index 0000000..f511b8e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/display-expected.txt
@@ -0,0 +1,132 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 873
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x873 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x873
+    LayoutBlockFlow {BODY} at (8,8) size 769x857 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x80
+        LayoutText {#text} at (0,0) size 568x80
+          text run at (0,0) width 176: ".one {display: block;}"
+          text run at (176,0) width 0: " "
+          text run at (0,16) width 184: ".two {display: inline;}"
+          text run at (184,16) width 0: " "
+          text run at (0,32) width 568: ".three {display: list-item; list-style-type: square; margin-left: 3em;}"
+          text run at (568,32) width 0: " "
+          text run at (0,48) width 272: ".four {display: none; color: red;}"
+          text run at (272,48) width 0: " "
+          text run at (0,64) width 152: "I {display: block;}"
+          text run at (152,64) width 0: " "
+      LayoutBlockFlow {P} at (0,147) size 769x20
+        LayoutText {#text} at (0,0) size 293x19
+          text run at (0,0) width 293: "This sentence should be a block-level element."
+      LayoutBlockFlow (anonymous) at (0,183) size 769x60
+        LayoutInline {P} at (0,0) size 448x19
+          LayoutText {#text} at (0,0) size 448x19
+            text run at (0,0) width 448: "This sentence should be part of an inline element, as are the next three. "
+        LayoutInline {P} at (0,0) size 766x59
+          LayoutText {#text} at (448,0) size 766x59
+            text run at (448,0) width 274: "This sentence and the next two are part of a"
+            text run at (0,20) width 144: "second inline element. "
+            text run at (144,20) width 622: "They should therefore appear, along with the sentence above, to be all one paragraph which is four"
+            text run at (0,40) width 100: "sentences long. "
+            text run at (100,40) width 250: "If this is not the case, then the keyword "
+          LayoutInline {CODE} at (0,0) size 48x16
+            LayoutText {#text} at (350,43) size 48x16
+              text run at (350,43) width 48: "inline"
+          LayoutText {#text} at (398,40) size 109x19
+            text run at (398,40) width 109: " is being ignored."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutListItem {P} at (48,259) size 721x60
+        LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+        LayoutText {#text} at (0,0) size 715x39
+          text run at (0,0) width 715: "This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list items"
+          text run at (0,20) width 18: "(if "
+        LayoutInline {CODE} at (0,0) size 120x16
+          LayoutText {#text} at (18,23) size 120x16
+            text run at (18,23) width 120: "list-style-type"
+        LayoutText {#text} at (138,20) size 721x39
+          text run at (138,20) width 359: " is supported, there will be a square for the item marker). "
+          text run at (497,20) width 224: "A 3em left margin has been applied"
+          text run at (0,40) width 376: "in order to ensure that there is space for the list-item marker."
+      LayoutBlockFlow {P} at (0,335) size 769x20
+        LayoutText {#text} at (0,0) size 456x19
+          text run at (0,0) width 456: "The next paragraph should be invisible (if it's visible, you'll see red text)."
+      LayoutBlockFlow {P} at (0,371) size 769x20
+        LayoutText {#text} at (0,0) size 247x19
+          text run at (0,0) width 247: "There should be no text after the colon:"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,407) size 769x60
+        LayoutBlockFlow (anonymous) at (0,0) size 769x20
+          LayoutText {#text} at (0,0) size 112x19
+            text run at (0,0) width 112: "The italicized text"
+        LayoutBlockFlow {I} at (0,20) size 769x20
+          LayoutText {#text} at (0,0) size 110x19
+            text run at (0,0) width 110: "in this paragraph"
+        LayoutBlockFlow (anonymous) at (0,40) size 769x20
+          LayoutText {#text} at (0,0) size 203x19
+            text run at (0,0) width 203: "should be a block-level element."
+      LayoutTable {TABLE} at (0,483) size 769x374 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x372
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x344
+            LayoutTableCell {TD} at (0,186) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x344 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 293x19
+                  text run at (0,0) width 293: "This sentence should be a block-level element."
+              LayoutBlockFlow (anonymous) at (4,40) size 747x60
+                LayoutInline {P} at (0,0) size 448x19
+                  LayoutText {#text} at (0,0) size 448x19
+                    text run at (0,0) width 448: "This sentence should be part of an inline element, as are the next three. "
+                LayoutInline {P} at (0,0) size 736x59
+                  LayoutText {#text} at (448,0) size 736x59
+                    text run at (448,0) width 274: "This sentence and the next two are part of a"
+                    text run at (0,20) width 144: "second inline element. "
+                    text run at (144,20) width 592: "They should therefore appear, along with the sentence above, to be all one paragraph which is"
+                    text run at (0,40) width 130: "four sentences long. "
+                    text run at (130,40) width 250: "If this is not the case, then the keyword "
+                  LayoutInline {CODE} at (0,0) size 48x16
+                    LayoutText {#text} at (380,43) size 48x16
+                      text run at (380,43) width 48: "inline"
+                  LayoutText {#text} at (428,40) size 109x19
+                    text run at (428,40) width 109: " is being ignored."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutListItem {P} at (52,116) size 699x60
+                LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+                LayoutText {#text} at (0,0) size 678x39
+                  text run at (0,0) width 678: "This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list"
+                  text run at (0,20) width 55: "items (if "
+                LayoutInline {CODE} at (0,0) size 120x16
+                  LayoutText {#text} at (55,23) size 120x16
+                    text run at (55,23) width 120: "list-style-type"
+                LayoutText {#text} at (175,20) size 674x39
+                  text run at (175,20) width 359: " is supported, there will be a square for the item marker). "
+                  text run at (534,20) width 140: "A 3em left margin has"
+                  text run at (0,40) width 460: "been applied in order to ensure that there is space for the list-item marker."
+              LayoutBlockFlow {P} at (4,192) size 747x20
+                LayoutText {#text} at (0,0) size 456x19
+                  text run at (0,0) width 456: "The next paragraph should be invisible (if it's visible, you'll see red text)."
+              LayoutBlockFlow {P} at (4,228) size 747x20
+                LayoutText {#text} at (0,0) size 247x19
+                  text run at (0,0) width 247: "There should be no text after the colon:"
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,264) size 747x60
+                LayoutBlockFlow (anonymous) at (0,0) size 747x20
+                  LayoutText {#text} at (0,0) size 112x19
+                    text run at (0,0) width 112: "The italicized text"
+                LayoutBlockFlow {I} at (0,20) size 747x20
+                  LayoutText {#text} at (0,0) size 110x19
+                    text run at (0,0) width 110: "in this paragraph"
+                LayoutBlockFlow (anonymous) at (0,40) size 747x20
+                  LayoutText {#text} at (0,0) size 203x19
+                    text run at (0,0) width 203: "should be a block-level element."
+layer at (8,137) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style-expected.txt
new file mode 100644
index 0000000..4c4676f5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style-expected.txt
@@ -0,0 +1,54 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 496x32
+          text run at (0,0) width 304: ".one {list-style: upper-alpha inside;}"
+          text run at (304,0) width 0: " "
+          text run at (0,16) width 496: ".two {list-style: url(../resources/oransqr.gif) disc outside;}"
+          text run at (496,16) width 0: " "
+      LayoutBlockFlow {UL} at (0,99) size 784x40
+        LayoutListItem {LI} at (40,0) size 744x40
+          LayoutListMarker (anonymous) at (0,0) size 20x19: "A"
+          LayoutText {#text} at (20,0) size 731x39
+            text run at (20,0) width 711: "The text in this item should not behave as expected; that is, it should line up with the capital-A on the left margin,"
+            text run at (0,20) width 286: "leaving no blank space beneath the capital-A."
+      LayoutBlockFlow {UL} at (0,155) size 784x40
+        LayoutListItem {LI} at (40,0) size 744x40
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,0) size 736x39
+            text run at (0,0) width 476: "The text in this item have an orange square for its bullet; failing that, a disc. "
+            text run at (476,0) width 260: "Also, the bullet should be outside the text"
+            text run at (0,20) width 256: "block, as the list has been set to 'outside'."
+      LayoutTable {TABLE} at (0,211) size 784x150 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x148
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x120
+            LayoutTableCell {TD} at (0,74) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x120 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 762x40
+                LayoutListItem {LI} at (40,0) size 722x40
+                  LayoutListMarker (anonymous) at (0,0) size 20x19: "A"
+                  LayoutText {#text} at (20,0) size 679x39
+                    text run at (20,0) width 659: "The text in this item should not behave as expected; that is, it should line up with the capital-A on the left"
+                    text run at (0,20) width 338: "margin, leaving no blank space beneath the capital-A."
+              LayoutBlockFlow {UL} at (4,60) size 762x40
+                LayoutListItem {LI} at (40,0) size 722x40
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,0) size 709x39
+                    text run at (0,0) width 476: "The text in this item have an orange square for its bullet; failing that, a disc. "
+                    text run at (476,0) width 233: "Also, the bullet should be outside the"
+                    text run at (0,20) width 283: "text block, as the list has been set to 'outside'."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style_image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style_image-expected.txt
new file mode 100644
index 0000000..b2b4173
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style_image-expected.txt
@@ -0,0 +1,81 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 440x48
+          text run at (0,0) width 440: ".one {list-style-image: url(../resources/oransqr.gif);}"
+          text run at (440,0) width 0: " "
+          text run at (0,16) width 240: ".two {list-style-image: none;}"
+          text run at (240,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {UL} at (0,115) size 784x60
+        LayoutListItem {LI} at (40,0) size 744x20
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "This list..."
+        LayoutListItem {LI} at (40,20) size 744x20
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,0) size 113x19
+            text run at (0,0) width 113: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 744x20
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,0) size 146x19
+            text run at (0,0) width 146: "...images for each item."
+      LayoutBlockFlow {UL} at (0,191) size 784x60
+        LayoutListItem {LI} at (40,0) size 744x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "This list..."
+        LayoutListItem {LI} at (40,20) size 744x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 113x19
+            text run at (0,0) width 113: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 744x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 231x19
+            text run at (0,0) width 231: "...standard list markers for each item."
+      LayoutTable {TABLE} at (0,267) size 293x190 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 291x188
+          LayoutTableRow {TR} at (0,0) size 291x28
+            LayoutTableCell {TD} at (0,0) size 291x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 291x160
+            LayoutTableCell {TD} at (0,94) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 279x160 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 271x60
+                LayoutListItem {LI} at (40,0) size 231x20
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,0) size 62x19
+                    text run at (0,0) width 62: "This list..."
+                LayoutListItem {LI} at (40,20) size 231x20
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,0) size 113x19
+                    text run at (0,0) width 113: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 231x20
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,0) size 146x19
+                    text run at (0,0) width 146: "...images for each item."
+              LayoutBlockFlow {UL} at (4,80) size 271x60
+                LayoutListItem {LI} at (40,0) size 231x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 62x19
+                    text run at (0,0) width 62: "This list..."
+                LayoutListItem {LI} at (40,20) size 231x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 113x19
+                    text run at (0,0) width 113: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 231x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 231x19
+                    text run at (0,0) width 231: "...standard list markers for each item."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style_position-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style_position-expected.txt
index 27118d1..98bde63 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style_position-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 280: ".two {list-style-position: inside;}"
           text run at (280,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,115) size 784x40
         LayoutListItem {LI} at (40,0) size 744x40
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -50,3 +49,5 @@
                   LayoutText {#text} at (22,0) size 710x39
                     text run at (22,0) width 688: "The text in this item should not behave as expected; that is, it should line up with the bullet on the left margin,"
                     text run at (0,20) width 263: "leaving no blank space beneath the bullet."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style_type-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style_type-expected.txt
new file mode 100644
index 0000000..387eec5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/list_style_type-expected.txt
@@ -0,0 +1,271 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1649
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1649 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1649
+    LayoutBlockFlow {BODY} at (8,8) size 769x1633 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x160
+        LayoutText {#text} at (0,0) size 304x160
+          text run at (0,0) width 232: ".one {list-style-type: disc;}"
+          text run at (232,0) width 0: " "
+          text run at (0,16) width 248: ".two {list-style-type: circle;}"
+          text run at (248,16) width 0: " "
+          text run at (0,32) width 264: ".three {list-style-type: square;}"
+          text run at (264,32) width 0: " "
+          text run at (0,48) width 296: ".four {list-style-type: lower-roman;}"
+          text run at (296,48) width 0: " "
+          text run at (0,64) width 296: ".five {list-style-type: upper-roman;}"
+          text run at (296,64) width 0: " "
+          text run at (0,80) width 288: ".six {list-style-type: lower-alpha;}"
+          text run at (288,80) width 0: " "
+          text run at (0,96) width 304: ".seven {list-style-type: upper-alpha;}"
+          text run at (304,96) width 0: " "
+          text run at (0,112) width 272: ".eight {list-style-type: decimal;}"
+          text run at (272,112) width 0: " "
+          text run at (0,128) width 240: ".nine {list-style-type: none;}"
+          text run at (240,128) width 0: " "
+          text run at (0,144) width 0: " "
+      LayoutBlockFlow {UL} at (0,227) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 113x19
+            text run at (0,0) width 113: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 133x19
+            text run at (0,0) width 133: "...discs for each item."
+      LayoutBlockFlow {UL} at (0,303) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+          LayoutText {#text} at (0,0) size 113x19
+            text run at (0,0) width 113: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+          LayoutText {#text} at (0,0) size 142x19
+            text run at (0,0) width 142: "...circles for each item."
+      LayoutBlockFlow {UL} at (0,379) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+          LayoutText {#text} at (0,0) size 113x19
+            text run at (0,0) width 113: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+          LayoutText {#text} at (0,0) size 149x19
+            text run at (0,0) width 149: "...squares for each item."
+      LayoutBlockFlow {OL} at (0,455) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-12,0) size 12x19: "i"
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "ii"
+          LayoutText {#text} at (0,0) size 113x19
+            text run at (0,0) width 113: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-20,0) size 20x19: "iii"
+          LayoutText {#text} at (0,0) size 276x19
+            text run at (0,0) width 276: "...lowercase Roman numerals for each item."
+      LayoutBlockFlow {OL} at (0,531) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-13,0) size 13x19: "I"
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 18x19: "II"
+          LayoutText {#text} at (0,0) size 113x19
+            text run at (0,0) width 113: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-23,0) size 23x19: "III"
+          LayoutText {#text} at (0,0) size 276x19
+            text run at (0,0) width 276: "...uppercase Roman numerals for each item."
+      LayoutBlockFlow {OL} at (0,607) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-15,0) size 15x19: "a"
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "b"
+          LayoutText {#text} at (0,0) size 113x19
+            text run at (0,0) width 113: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-15,0) size 15x19: "c"
+          LayoutText {#text} at (0,0) size 206x19
+            text run at (0,0) width 206: "...lowercase letters for each item."
+      LayoutBlockFlow {OL} at (0,683) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-20,0) size 20x19: "A"
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-19,0) size 19x19: "B"
+          LayoutText {#text} at (0,0) size 113x19
+            text run at (0,0) width 113: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-19,0) size 19x19: "C"
+          LayoutText {#text} at (0,0) size 206x19
+            text run at (0,0) width 206: "...uppercase letters for each item."
+      LayoutBlockFlow {OL} at (0,759) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-20,0) size 20x19: "A"
+          LayoutText {#text} at (0,0) size 155x19
+            text run at (0,0) width 155: "This list should feature..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-19,0) size 19x19: "B"
+          LayoutText {#text} at (0,0) size 147x19
+            text run at (0,0) width 147: "...letters for each item..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
+          LayoutText {#text} at (0,0) size 110x19
+            text run at (0,0) width 110: "...except this one."
+      LayoutBlockFlow {UL} at (0,835) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutText {#text} at (0,0) size 62x19
+            text run at (0,0) width 62: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutText {#text} at (0,0) size 113x19
+            text run at (0,0) width 113: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutText {#text} at (0,0) size 150x19
+            text run at (0,0) width 150: "...nothing for each item."
+      LayoutTable {TABLE} at (0,911) size 338x722 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 336x720
+          LayoutTableRow {TR} at (0,0) size 336x28
+            LayoutTableCell {TD} at (0,0) size 336x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 336x692
+            LayoutTableCell {TD} at (0,360) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 324x692 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 316x60
+                LayoutListItem {LI} at (40,0) size 276x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 62x19
+                    text run at (0,0) width 62: "This list..."
+                LayoutListItem {LI} at (40,20) size 276x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 113x19
+                    text run at (0,0) width 113: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 276x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 133x19
+                    text run at (0,0) width 133: "...discs for each item."
+              LayoutBlockFlow {UL} at (4,80) size 316x60
+                LayoutListItem {LI} at (40,0) size 276x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                  LayoutText {#text} at (0,0) size 62x19
+                    text run at (0,0) width 62: "This list..."
+                LayoutListItem {LI} at (40,20) size 276x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                  LayoutText {#text} at (0,0) size 113x19
+                    text run at (0,0) width 113: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 276x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                  LayoutText {#text} at (0,0) size 142x19
+                    text run at (0,0) width 142: "...circles for each item."
+              LayoutBlockFlow {UL} at (4,156) size 316x60
+                LayoutListItem {LI} at (40,0) size 276x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+                  LayoutText {#text} at (0,0) size 62x19
+                    text run at (0,0) width 62: "This list..."
+                LayoutListItem {LI} at (40,20) size 276x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+                  LayoutText {#text} at (0,0) size 113x19
+                    text run at (0,0) width 113: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 276x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+                  LayoutText {#text} at (0,0) size 149x19
+                    text run at (0,0) width 149: "...squares for each item."
+              LayoutBlockFlow {OL} at (4,232) size 316x60
+                LayoutListItem {LI} at (40,0) size 276x20
+                  LayoutListMarker (anonymous) at (-12,0) size 12x19: "i"
+                  LayoutText {#text} at (0,0) size 62x19
+                    text run at (0,0) width 62: "This list..."
+                LayoutListItem {LI} at (40,20) size 276x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "ii"
+                  LayoutText {#text} at (0,0) size 113x19
+                    text run at (0,0) width 113: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 276x20
+                  LayoutListMarker (anonymous) at (-20,0) size 20x19: "iii"
+                  LayoutText {#text} at (0,0) size 276x19
+                    text run at (0,0) width 276: "...lowercase Roman numerals for each item."
+              LayoutBlockFlow {OL} at (4,308) size 316x60
+                LayoutListItem {LI} at (40,0) size 276x20
+                  LayoutListMarker (anonymous) at (-13,0) size 13x19: "I"
+                  LayoutText {#text} at (0,0) size 62x19
+                    text run at (0,0) width 62: "This list..."
+                LayoutListItem {LI} at (40,20) size 276x20
+                  LayoutListMarker (anonymous) at (-18,0) size 18x19: "II"
+                  LayoutText {#text} at (0,0) size 113x19
+                    text run at (0,0) width 113: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 276x20
+                  LayoutListMarker (anonymous) at (-23,0) size 23x19: "III"
+                  LayoutText {#text} at (0,0) size 276x19
+                    text run at (0,0) width 276: "...uppercase Roman numerals for each item."
+              LayoutBlockFlow {OL} at (4,384) size 316x60
+                LayoutListItem {LI} at (40,0) size 276x20
+                  LayoutListMarker (anonymous) at (-15,0) size 15x19: "a"
+                  LayoutText {#text} at (0,0) size 62x19
+                    text run at (0,0) width 62: "This list..."
+                LayoutListItem {LI} at (40,20) size 276x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "b"
+                  LayoutText {#text} at (0,0) size 113x19
+                    text run at (0,0) width 113: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 276x20
+                  LayoutListMarker (anonymous) at (-15,0) size 15x19: "c"
+                  LayoutText {#text} at (0,0) size 206x19
+                    text run at (0,0) width 206: "...lowercase letters for each item."
+              LayoutBlockFlow {OL} at (4,460) size 316x60
+                LayoutListItem {LI} at (40,0) size 276x20
+                  LayoutListMarker (anonymous) at (-20,0) size 20x19: "A"
+                  LayoutText {#text} at (0,0) size 62x19
+                    text run at (0,0) width 62: "This list..."
+                LayoutListItem {LI} at (40,20) size 276x20
+                  LayoutListMarker (anonymous) at (-19,0) size 19x19: "B"
+                  LayoutText {#text} at (0,0) size 113x19
+                    text run at (0,0) width 113: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 276x20
+                  LayoutListMarker (anonymous) at (-19,0) size 19x19: "C"
+                  LayoutText {#text} at (0,0) size 206x19
+                    text run at (0,0) width 206: "...uppercase letters for each item."
+              LayoutBlockFlow {OL} at (4,536) size 316x60
+                LayoutListItem {LI} at (40,0) size 276x20
+                  LayoutListMarker (anonymous) at (-20,0) size 20x19: "A"
+                  LayoutText {#text} at (0,0) size 155x19
+                    text run at (0,0) width 155: "This list should feature..."
+                LayoutListItem {LI} at (40,20) size 276x20
+                  LayoutListMarker (anonymous) at (-19,0) size 19x19: "B"
+                  LayoutText {#text} at (0,0) size 147x19
+                    text run at (0,0) width 147: "...letters for each item..."
+                LayoutListItem {LI} at (40,40) size 276x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
+                  LayoutText {#text} at (0,0) size 110x19
+                    text run at (0,0) width 110: "...except this one."
+              LayoutBlockFlow {UL} at (4,612) size 316x60
+                LayoutListItem {LI} at (40,0) size 276x20
+                  LayoutText {#text} at (0,0) size 62x19
+                    text run at (0,0) width 62: "This list..."
+                LayoutListItem {LI} at (40,20) size 276x20
+                  LayoutText {#text} at (0,0) size 113x19
+                    text run at (0,0) width 113: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 276x20
+                  LayoutText {#text} at (0,0) size 150x19
+                    text run at (0,0) width 150: "...nothing for each item."
+layer at (8,217) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/white_space-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/white_space-expected.txt
new file mode 100644
index 0000000..242c504
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/classification/white_space-expected.txt
@@ -0,0 +1,81 @@
+layer at (0,0) size 800x600 scrollWidth 921
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 232x64
+          text run at (0,0) width 192: ".one {white-space: pre;}"
+          text run at (192,0) width 0: " "
+          text run at (0,16) width 216: ".two {white-space: nowrap;}"
+          text run at (216,16) width 0: " "
+          text run at (0,32) width 232: ".three {white-space: normal;}"
+          text run at (232,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x100
+        LayoutText {#text} at (0,0) size 568x99
+          text run at (0,0) width 0: " "
+          text run at (0,20) width 568: "This sentence should     show extra space  where there    would ordinarily         not be any."
+          text run at (567,20) width 1: " "
+          text run at (0,40) width 296: "     There should also be preservation of returns"
+          text run at (296,40) width 0: " "
+          text run at (0,60) width 97: "as this sentence"
+          text run at (97,60) width 0: " "
+          text run at (0,80) width 184: "     very clearly demonstrates."
+          text run at (184,80) width 0: " "
+      LayoutBlockFlow {P} at (0,247) size 784x20
+        LayoutText {#text} at (0,0) size 891x19
+          text run at (0,0) width 891: "This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect."
+      LayoutBlockFlow {P} at (0,283) size 784x40
+        LayoutText {#text} at (0,0) size 296x39
+          text run at (0,0) width 0: " "
+          text run at (0,20) width 296: "This sentence      should     show extra   space, "
+        LayoutInline {SPAN} at (0,0) size 156x19
+          LayoutText {#text} at (296,20) size 156x19
+            text run at (296,20) width 84: "except in the "
+            text run at (380,20) width 72: "second half"
+        LayoutText {#text} at (452,20) size 4x19
+          text run at (452,20) width 4: "."
+          text run at (456,20) width 0: " "
+      LayoutTable {TABLE} at (0,339) size 913x230 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 911x228
+          LayoutTableRow {TR} at (0,0) size 911x28
+            LayoutTableCell {TD} at (0,0) size 911x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 911x200
+            LayoutTableCell {TD} at (0,114) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 899x200 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 891x100
+                LayoutText {#text} at (0,0) size 568x99
+                  text run at (0,0) width 0: " "
+                  text run at (0,20) width 568: "This sentence should     show extra space  where there    would ordinarily         not be any."
+                  text run at (567,20) width 1: " "
+                  text run at (0,40) width 296: "     There should also be preservation of returns"
+                  text run at (296,40) width 0: " "
+                  text run at (0,60) width 97: "as this sentence"
+                  text run at (97,60) width 0: " "
+                  text run at (0,80) width 184: "     very clearly demonstrates."
+                  text run at (184,80) width 0: " "
+              LayoutBlockFlow {P} at (4,120) size 891x20
+                LayoutText {#text} at (0,0) size 891x19
+                  text run at (0,0) width 891: "This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect."
+              LayoutBlockFlow {P} at (4,156) size 891x40
+                LayoutText {#text} at (0,0) size 296x39
+                  text run at (0,0) width 0: " "
+                  text run at (0,20) width 296: "This sentence      should     show extra   space, "
+                LayoutInline {SPAN} at (0,0) size 156x19
+                  LayoutText {#text} at (296,20) size 156x19
+                    text run at (296,20) width 84: "except in the "
+                    text run at (380,20) width 72: "second half"
+                LayoutText {#text} at (452,20) size 4x19
+                  text run at (452,20) width 4: "."
+                  text run at (456,20) width 0: " "
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background-expected.txt
new file mode 100644
index 0000000..6b255d11
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background-expected.txt
@@ -0,0 +1,91 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 777
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x777 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x777
+    LayoutBlockFlow {BODY} at (8,8) size 769x761 [bgcolor=#008000]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 648x64
+          text run at (0,0) width 648: "BODY {background: green url(../resources/oransqr.gif) repeat-x center top fixed;}"
+          text run at (648,0) width 0: " "
+          text run at (0,16) width 568: ".one {background: lime url(../resources/oransqr.gif) repeat-y 100% 0%;}"
+          text run at (568,16) width 0: " "
+          text run at (0,32) width 592: ".two {background: lime url(../resources/oransqr.gif) repeat-y center top;}"
+          text run at (592,32) width 0: " "
+          text run at (0,48) width 592: ".three {background: lime url(../resources/oransqr.gif) repeat-x left top;}"
+          text run at (592,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x60
+        LayoutText {#text} at (0,0) size 728x19
+          text run at (0,0) width 728: "This document should have a green background with an orange strip running across the entire top of the page, since"
+        LayoutInline {CODE} at (0,0) size 64x16
+          LayoutText {#text} at (0,23) size 64x16
+            text run at (0,23) width 64: "repeat-x"
+        LayoutText {#text} at (64,20) size 753x39
+          text run at (64,20) width 298: " indicates tiling in both directions of the x-axis. "
+          text run at (362,20) width 298: "Furthermore, the strip should be fixed in place. "
+          text run at (660,20) width 93: "I'll have to add"
+          text run at (0,40) width 491: "extra text at the end of this page to make it long enough to scroll conveniently."
+      LayoutBlockFlow {P} at (0,207) size 769x60 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 762x59
+          text run at (0,0) width 743: "This paragraph should have a lime background and an orange strip which starts at the top right and runs to the bottom."
+          text run at (0,20) width 762: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
+          text run at (0,40) width 119: "these declarations. "
+          text run at (119,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+      LayoutBlockFlow {P} at (0,283) size 769x60 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 762x59
+          text run at (0,0) width 752: "This paragraph should have a lime background and an orange strip which starts at the center top and runs to the bottom."
+          text run at (0,20) width 762: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
+          text run at (0,40) width 119: "these declarations. "
+          text run at (119,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+      LayoutBlockFlow {P} at (0,359) size 769x60 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 762x59
+          text run at (0,0) width 743: "This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top right."
+          text run at (0,20) width 762: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
+          text run at (0,40) width 119: "these declarations. "
+          text run at (119,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+      LayoutTable {TABLE} at (0,435) size 769x326 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x324
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x296
+            LayoutTableCell {TD} at (0,162) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x296 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x60
+                LayoutText {#text} at (0,0) size 728x19
+                  text run at (0,0) width 728: "This document should have a green background with an orange strip running across the entire top of the page, since"
+                LayoutInline {CODE} at (0,0) size 64x16
+                  LayoutText {#text} at (0,23) size 64x16
+                    text run at (0,23) width 64: "repeat-x"
+                LayoutText {#text} at (64,20) size 726x39
+                  text run at (64,20) width 298: " indicates tiling in both directions of the x-axis. "
+                  text run at (362,20) width 298: "Furthermore, the strip should be fixed in place. "
+                  text run at (660,20) width 66: "I'll have to"
+                  text run at (0,40) width 518: "add extra text at the end of this page to make it long enough to scroll conveniently."
+              LayoutBlockFlow {P} at (4,80) size 747x60 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 743x59
+                  text run at (0,0) width 743: "This paragraph should have a lime background and an orange strip which starts at the top right and runs to the bottom."
+                  text run at (0,20) width 703: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in"
+                  text run at (0,40) width 178: "handling these declarations. "
+                  text run at (178,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+              LayoutBlockFlow {P} at (4,156) size 747x60 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 739x59
+                  text run at (0,0) width 700: "This paragraph should have a lime background and an orange strip which starts at the center top and runs to the"
+                  text run at (0,20) width 52: "bottom. "
+                  text run at (52,20) width 687: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser"
+                  text run at (0,40) width 194: "in handling these declarations. "
+                  text run at (194,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+              LayoutBlockFlow {P} at (4,232) size 747x60 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 743x59
+                  text run at (0,0) width 743: "This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top right."
+                  text run at (0,20) width 703: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in"
+                  text run at (0,40) width 178: "handling these declarations. "
+                  text run at (178,40) width 306: "Hey, I didn't say the page would be pretty, did I?"
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_attachment-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_attachment-expected.txt
new file mode 100644
index 0000000..b1aaa57
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_attachment-expected.txt
@@ -0,0 +1,184 @@
+layer at (0,0) size 800x600 scrollWidth 880 scrollHeight 1279
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x1279 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x1278.53
+    LayoutBlockFlow {BODY} at (8,8) size 784x1262.53 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 872x32
+          text run at (0,0) width 872: "BODY {background-image: url(../resources/bg.gif); background-repeat: repeat-x; background-attachment: fixed;}"
+          text run at (872,0) width 0: " "
+          text run at (0,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x100
+        LayoutText {#text} at (0,0) size 780x99
+          text run at (0,0) width 763: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which does"
+          text run at (0,20) width 201: "NOT scroll with the document. "
+          text run at (201,20) width 575: "It should, instead, appear to be a fixed pattern past which the content scrolls, even when the"
+          text run at (0,40) width 172: "end of the page is reached. "
+          text run at (172,40) width 608: "In addition, the default Test Suite background should NOT appear, as it's been overridden by the"
+          text run at (0,60) width 131: "styles shown above. "
+          text run at (131,60) width 644: "I'll have to add a lot of extra text to the page in order to make all this something we can actually check."
+          text run at (0,80) width 226: "Don't worry, I'll think of something."
+      LayoutBlockFlow {P} at (0,215) size 784x20
+        LayoutText {#text} at (0,0) size 508x19
+          text run at (0,0) width 417: "In fact, why not the relevant section from the CSS1 specification? "
+          text run at (417,0) width 91: "A capital idea."
+      LayoutBlockFlow {H4} at (0,284.27) size 784x20
+        LayoutInline {A} at (0,0) size 220x19
+          LayoutText {#text} at (0,0) size 220x19
+            text run at (0,0) width 220: "5.3.5    'background-attachment'"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,325.53) size 784x100
+        LayoutInline {EM} at (0,0) size 41x19
+          LayoutText {#text} at (0,0) size 41x19
+            text run at (0,0) width 41: "Value:"
+        LayoutText {#text} at (40,0) size 82x19
+          text run at (40,0) width 82: " scroll | fixed"
+        LayoutBR {BR} at (121,15) size 1x0
+        LayoutInline {EM} at (0,0) size 42x19
+          LayoutText {#text} at (0,20) size 42x19
+            text run at (0,20) width 42: "Initial:"
+        LayoutText {#text} at (42,20) size 38x19
+          text run at (42,20) width 38: " scroll"
+        LayoutBR {BR} at (80,35) size 0x0
+        LayoutInline {EM} at (0,0) size 68x19
+          LayoutText {#text} at (0,40) size 68x19
+            text run at (0,40) width 68: "Applies to:"
+        LayoutText {#text} at (68,40) size 78x19
+          text run at (68,40) width 78: " all elements"
+        LayoutBR {BR} at (146,55) size 0x0
+        LayoutInline {EM} at (0,0) size 62x19
+          LayoutText {#text} at (0,60) size 62x19
+            text run at (0,60) width 62: "Inherited:"
+        LayoutText {#text} at (62,60) size 20x19
+          text run at (62,60) width 20: " no"
+        LayoutBR {BR} at (82,75) size 0x0
+        LayoutInline {EM} at (0,0) size 121x19
+          LayoutText {#text} at (0,80) size 121x19
+            text run at (0,80) width 121: "Percentage values:"
+        LayoutText {#text} at (120,80) size 33x19
+          text run at (120,80) width 33: " N/A"
+        LayoutBR {BR} at (152,95) size 1x0
+      LayoutBlockFlow {P} at (0,441.53) size 784x40
+        LayoutText {#text} at (0,0) size 782x39
+          text run at (0,0) width 782: "If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the canvas or"
+          text run at (0,20) width 213: "if it scrolls along with the content."
+      LayoutBlockFlow {PRE} at (0,497.53) size 784x80
+        LayoutText {#text} at (0,0) size 296x80
+          text run at (0,0) width 72: "  BODY { "
+          text run at (72,0) width 0: " "
+          text run at (0,16) width 296: "    background: red url(pendant.gif);"
+          text run at (296,16) width 0: " "
+          text run at (0,32) width 256: "    background-repeat: repeat-y;"
+          text run at (256,32) width 0: " "
+          text run at (0,48) width 264: "    background-attachment: fixed;"
+          text run at (264,48) width 0: " "
+          text run at (0,64) width 24: "  }"
+          text run at (24,64) width 0: " "
+      LayoutBlockFlow {P} at (0,593.53) size 784x60
+        LayoutInline {EM} at (0,0) size 72x19
+          LayoutText {#text} at (0,0) size 72x19
+            text run at (0,0) width 72: "CSS1 core:"
+        LayoutText {#text} at (71,0) size 767x59
+          text run at (71,0) width 670: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
+          text run at (0,20) width 767: "HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that support"
+          text run at (0,40) width 42: "'fixed'."
+      LayoutTable {TABLE} at (0,669.53) size 784x593 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x591
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x563
+            LayoutTableCell {TD} at (0,295) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x562.53 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x100
+                LayoutText {#text} at (0,0) size 747x99
+                  text run at (0,0) width 730: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which"
+                  text run at (0,20) width 234: "does NOT scroll with the document. "
+                  text run at (234,20) width 513: "It should, instead, appear to be a fixed pattern past which the content scrolls, even"
+                  text run at (0,40) width 234: "when the end of the page is reached. "
+                  text run at (234,40) width 493: "In addition, the default Test Suite background should NOT appear, as it's been"
+                  text run at (0,60) width 246: "overridden by the styles shown above. "
+                  text run at (246,60) width 497: "I'll have to add a lot of extra text to the page in order to make all this something"
+                  text run at (0,80) width 147: "we can actually check. "
+                  text run at (147,80) width 226: "Don't worry, I'll think of something."
+              LayoutBlockFlow {P} at (4,120) size 762x20
+                LayoutText {#text} at (0,0) size 508x19
+                  text run at (0,0) width 417: "In fact, why not the relevant section from the CSS1 specification? "
+                  text run at (417,0) width 91: "A capital idea."
+              LayoutBlockFlow {H4} at (4,189.27) size 762x20
+                LayoutInline {A} at (0,0) size 220x19
+                  LayoutText {#text} at (0,0) size 220x19
+                    text run at (0,0) width 220: "5.3.5    'background-attachment'"
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,230.53) size 762x100
+                LayoutInline {EM} at (0,0) size 41x19
+                  LayoutText {#text} at (0,0) size 41x19
+                    text run at (0,0) width 41: "Value:"
+                LayoutText {#text} at (40,0) size 82x19
+                  text run at (40,0) width 82: " scroll | fixed"
+                LayoutBR {BR} at (121,15) size 1x0
+                LayoutInline {EM} at (0,0) size 42x19
+                  LayoutText {#text} at (0,20) size 42x19
+                    text run at (0,20) width 42: "Initial:"
+                LayoutText {#text} at (42,20) size 38x19
+                  text run at (42,20) width 38: " scroll"
+                LayoutBR {BR} at (80,35) size 0x0
+                LayoutInline {EM} at (0,0) size 68x19
+                  LayoutText {#text} at (0,40) size 68x19
+                    text run at (0,40) width 68: "Applies to:"
+                LayoutText {#text} at (68,40) size 78x19
+                  text run at (68,40) width 78: " all elements"
+                LayoutBR {BR} at (146,55) size 0x0
+                LayoutInline {EM} at (0,0) size 62x19
+                  LayoutText {#text} at (0,60) size 62x19
+                    text run at (0,60) width 62: "Inherited:"
+                LayoutText {#text} at (62,60) size 20x19
+                  text run at (62,60) width 20: " no"
+                LayoutBR {BR} at (82,75) size 0x0
+                LayoutInline {EM} at (0,0) size 121x19
+                  LayoutText {#text} at (0,80) size 121x19
+                    text run at (0,80) width 121: "Percentage values:"
+                LayoutText {#text} at (120,80) size 33x19
+                  text run at (120,80) width 33: " N/A"
+                LayoutBR {BR} at (152,95) size 1x0
+              LayoutBlockFlow {P} at (4,346.53) size 762x40
+                LayoutText {#text} at (0,0) size 718x39
+                  text run at (0,0) width 718: "If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the"
+                  text run at (0,20) width 277: "canvas or if it scrolls along with the content."
+              LayoutBlockFlow {PRE} at (4,402.53) size 762x80
+                LayoutText {#text} at (0,0) size 296x80
+                  text run at (0,0) width 72: "  BODY { "
+                  text run at (72,0) width 0: " "
+                  text run at (0,16) width 296: "    background: red url(pendant.gif);"
+                  text run at (296,16) width 0: " "
+                  text run at (0,32) width 256: "    background-repeat: repeat-y;"
+                  text run at (256,32) width 0: " "
+                  text run at (0,48) width 264: "    background-attachment: fixed;"
+                  text run at (264,48) width 0: " "
+                  text run at (0,64) width 24: "  }"
+                  text run at (24,64) width 0: " "
+              LayoutBlockFlow {P} at (4,498.53) size 762x60
+                LayoutInline {EM} at (0,0) size 72x19
+                  LayoutText {#text} at (0,0) size 72x19
+                    text run at (0,0) width 72: "CSS1 core:"
+                LayoutText {#text} at (71,0) size 741x59
+                  text run at (71,0) width 670: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
+                  text run at (0,20) width 716: "HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that"
+                  text run at (0,40) width 93: "support 'fixed'."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,259) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,251) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,269) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,261) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,863) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,156) size 762x2 [border: (1px inset #EEEEEE)]
+layer at (25,873) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,166) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_color-expected.txt
new file mode 100644
index 0000000..8a60759
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_color-expected.txt
@@ -0,0 +1,84 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20 [bgcolor=#008000]
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 296x64
+          text run at (0,0) width 224: "P {background-color: green;}"
+          text run at (224,0) width 0: " "
+          text run at (0,16) width 240: ".one {background-color: lime;}"
+          text run at (240,16) width 0: " "
+          text run at (0,32) width 296: ".two {background-color: transparent;}"
+          text run at (296,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x20 [bgcolor=#008000]
+        LayoutText {#text} at (0,0) size 277x19
+          text run at (0,0) width 277: "This element's background should be green."
+      LayoutBlockFlow {P} at (0,167) size 784x20 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 350x19
+          text run at (0,0) width 350: "This element's background should be lime (light green)."
+      LayoutBlockFlow {P} at (0,203) size 784x60 [bgcolor=#008000]
+        LayoutText {#text} at (0,0) size 652x19
+          text run at (0,0) width 652: "This element's background should be green, and the last word in this sentence should also have a green "
+        LayoutInline {SPAN} at (0,0) size 75x19
+          LayoutText {#text} at (652,0) size 75x19
+            text run at (652,0) width 75: "background"
+        LayoutText {#text} at (727,0) size 778x59
+          text run at (727,0) width 8: ". "
+          text run at (735,0) width 42: "This is"
+          text run at (0,20) width 778: "because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word \"sentence,\""
+          text run at (0,40) width 109: "which was set to "
+        LayoutInline {CODE} at (0,0) size 88x16
+          LayoutText {#text} at (109,43) size 88x16
+            text run at (109,43) width 88: "transparent"
+        LayoutText {#text} at (197,40) size 395x19
+          text run at (197,40) width 8: ". "
+          text run at (205,40) width 387: "If the document background is visible, the browser is in error."
+      LayoutBlockFlow {P} at (0,279) size 784x20
+        LayoutText {#text} at (0,0) size 744x19
+          text run at (0,0) width 462: "This element should allow the document background to \"shine through.\" "
+          text run at (462,0) width 282: "There should be no green backgrounds here!"
+      LayoutTable {TABLE} at (0,315) size 784x206 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x204
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x176
+            LayoutTableCell {TD} at (0,102) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x176 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x20 [bgcolor=#008000]
+                LayoutText {#text} at (0,0) size 277x19
+                  text run at (0,0) width 277: "This element's background should be green."
+              LayoutBlockFlow {P} at (4,40) size 762x20 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 350x19
+                  text run at (0,0) width 350: "This element's background should be lime (light green)."
+              LayoutBlockFlow {P} at (4,76) size 762x60 [bgcolor=#008000]
+                LayoutText {#text} at (0,0) size 652x19
+                  text run at (0,0) width 652: "This element's background should be green, and the last word in this sentence should also have a green "
+                LayoutInline {SPAN} at (0,0) size 75x19
+                  LayoutText {#text} at (652,0) size 75x19
+                    text run at (652,0) width 75: "background"
+                LayoutText {#text} at (727,0) size 748x59
+                  text run at (727,0) width 4: "."
+                  text run at (0,20) width 748: "This is because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word"
+                  text run at (0,40) width 185: "\"sentence,\" which was set to "
+                LayoutInline {CODE} at (0,0) size 88x16
+                  LayoutText {#text} at (185,43) size 88x16
+                    text run at (185,43) width 88: "transparent"
+                LayoutText {#text} at (273,40) size 395x19
+                  text run at (273,40) width 8: ". "
+                  text run at (281,40) width 387: "If the document background is visible, the browser is in error."
+              LayoutBlockFlow {P} at (4,152) size 762x20
+                LayoutText {#text} at (0,0) size 744x19
+                  text run at (0,0) width 462: "This element should allow the document background to \"shine through.\" "
+                  text run at (462,0) width 282: "There should be no green backgrounds here!"
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_image-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_image-expected.txt
new file mode 100644
index 0000000..543ce73
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_image-expected.txt
@@ -0,0 +1,95 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 376x48
+          text run at (0,0) width 376: "P {background-image: url(../resources/bg.gif);}"
+          text run at (376,0) width 0: " "
+          text run at (0,16) width 240: ".one {background-image: none;}"
+          text run at (240,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x40
+        LayoutText {#text} at (0,0) size 746x39
+          text run at (0,0) width 502: "This sentence should be backed by an image-- a green grid pattern, in this case. "
+          text run at (502,0) width 244: "The background image should also tile"
+          text run at (0,20) width 664: "along both axes, because no repeat direction is specified (specific tests for repeating are found elsewhere)."
+      LayoutBlockFlow {P} at (0,171) size 784x80
+        LayoutText {#text} at (0,0) size 596x19
+          text run at (0,0) width 596: "This sentence should be backed by a repeated green-grid image, as should the last three words "
+        LayoutInline {STRONG} at (0,0) size 102x19
+          LayoutInline {SPAN} at (0,0) size 102x19
+            LayoutText {#text} at (596,0) size 102x19
+              text run at (596,0) width 102: "in this sentence"
+        LayoutText {#text} at (698,0) size 770x39
+          text run at (698,0) width 8: ". "
+          text run at (706,0) width 64: "If it is not,"
+          text run at (0,20) width 31: "then "
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (31,23) size 32x16
+            text run at (31,23) width 32: "none"
+        LayoutText {#text} at (63,20) size 168x19
+          text run at (63,20) width 163: " is interpreted incorrectly. "
+          text run at (225,20) width 6: "("
+        LayoutInline {CODE} at (0,0) size 33x16
+          LayoutText {#text} at (230,23) size 33x16
+            text run at (230,23) width 33: "none"
+        LayoutText {#text} at (262,20) size 771x59
+          text run at (262,20) width 503: " means that the element has no background image, allowing the parent to \"shine"
+          text run at (0,40) width 771: "through\" by default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's image should be"
+          text run at (0,60) width 50: "visible.)"
+      LayoutBlockFlow {P} at (0,267) size 784x40
+        LayoutText {#text} at (0,0) size 765x39
+          text run at (0,0) width 765: "This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \"shine through\""
+          text run at (0,20) width 48: "instead."
+      LayoutTable {TABLE} at (0,323) size 784x230 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x228
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x200
+            LayoutTableCell {TD} at (0,114) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x200 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40
+                LayoutText {#text} at (0,0) size 746x39
+                  text run at (0,0) width 502: "This sentence should be backed by an image-- a green grid pattern, in this case. "
+                  text run at (502,0) width 244: "The background image should also tile"
+                  text run at (0,20) width 664: "along both axes, because no repeat direction is specified (specific tests for repeating are found elsewhere)."
+              LayoutBlockFlow {P} at (4,60) size 762x80
+                LayoutText {#text} at (0,0) size 596x19
+                  text run at (0,0) width 596: "This sentence should be backed by a repeated green-grid image, as should the last three words "
+                LayoutInline {STRONG} at (0,0) size 102x19
+                  LayoutInline {SPAN} at (0,0) size 102x19
+                    LayoutText {#text} at (596,0) size 102x19
+                      text run at (596,0) width 102: "in this sentence"
+                LayoutText {#text} at (698,0) size 742x39
+                  text run at (698,0) width 8: ". "
+                  text run at (706,0) width 36: "If it is"
+                  text run at (0,20) width 59: "not, then "
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (59,23) size 32x16
+                    text run at (59,23) width 32: "none"
+                LayoutText {#text} at (91,20) size 168x19
+                  text run at (91,20) width 163: " is interpreted incorrectly. "
+                  text run at (253,20) width 6: "("
+                LayoutInline {CODE} at (0,0) size 33x16
+                  LayoutText {#text} at (258,23) size 33x16
+                    text run at (258,23) width 33: "none"
+                LayoutText {#text} at (290,20) size 750x59
+                  text run at (290,20) width 459: " means that the element has no background image, allowing the parent to"
+                  text run at (0,40) width 750: "\"shine through\" by default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's image"
+                  text run at (0,60) width 115: "should be visible.)"
+              LayoutBlockFlow {P} at (4,156) size 762x40
+                LayoutText {#text} at (0,0) size 705x39
+                  text run at (0,0) width 705: "This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \"shine"
+                  text run at (0,20) width 108: "through\" instead."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_position-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_position-expected.txt
new file mode 100644
index 0000000..6350d97
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_position-expected.txt
@@ -0,0 +1,149 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1573
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1573 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1573
+    LayoutBlockFlow {BODY} at (8,8) size 769x1557 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x272
+        LayoutText {#text} at (0,0) size 688x272
+          text run at (0,0) width 648: "BODY {background-image: url(../resources/bg.gif); background-position: right top;"
+          text run at (648,0) width 0: " "
+          text run at (0,16) width 288: "      background-repeat: no-repeat;}"
+          text run at (288,16) width 0: " "
+          text run at (0,32) width 624: ".one {background-image: url(../resources/bg.gif); background-position: center;"
+          text run at (624,32) width 0: " "
+          text run at (0,48) width 480: "      background-repeat: no-repeat; background-color: aqua;}"
+          text run at (480,48) width 0: " "
+          text run at (0,64) width 632: ".two {background-image: url(../resources/bg.gif); background-position: 50% 50%;"
+          text run at (632,64) width 0: " "
+          text run at (0,80) width 480: "      background-repeat: no-repeat; background-color: aqua;}"
+          text run at (480,80) width 0: " "
+          text run at (0,96) width 688: ".three {background-image: url(../resources/bg.gif); background-position: bottom right;"
+          text run at (688,96) width 0: " "
+          text run at (0,112) width 496: "        background-repeat: no-repeat; background-color: aqua;}"
+          text run at (496,112) width 0: " "
+          text run at (0,128) width 656: ".four {background-image: url(../resources/bg.gif); background-position: 100% 100%;"
+          text run at (656,128) width 0: " "
+          text run at (0,144) width 488: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (488,144) width 0: " "
+          text run at (0,160) width 632: ".five {background-image: url(../resources/bg.gif); background-position: 0% 50%;"
+          text run at (632,160) width 0: " "
+          text run at (0,176) width 488: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (488,176) width 0: " "
+          text run at (0,192) width 632: ".six {background-image: url(../resources/bg.gif); background-position: 75% 25%;"
+          text run at (632,192) width 0: " "
+          text run at (0,208) width 488: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (488,208) width 0: " "
+          text run at (0,224) width 664: ".seven {background-image: url(../resources/bg.gif); background-position: 20px 20px;"
+          text run at (664,224) width 0: " "
+          text run at (0,240) width 488: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (488,240) width 0: " "
+          text run at (0,256) width 0: " "
+      LayoutBlockFlow {P} at (0,339) size 769x20
+        LayoutText {#text} at (0,0) size 503x19
+          text run at (0,0) width 503: "This document should have a single, small green image in its upper right corner."
+      LayoutBlockFlow {P} at (0,375) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 768x59
+          text run at (0,0) width 735: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be"
+          text run at (0,20) width 227: "fixed at the center of the paragraph. "
+          text run at (227,20) width 541: "The background color will make it easier to determine the edges of the paragraph, and"
+          text run at (0,40) width 262: "therefore allow you to calculate its center."
+      LayoutBlockFlow {P} at (0,451) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 768x59
+          text run at (0,0) width 735: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be"
+          text run at (0,20) width 227: "fixed at the center of the paragraph. "
+          text run at (227,20) width 541: "The background color will make it easier to determine the edges of the paragraph, and"
+          text run at (0,40) width 262: "therefore allow you to calculate its center."
+      LayoutBlockFlow {P} at (0,527) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 749x59
+          text run at (0,0) width 730: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the"
+          text run at (0,20) width 409: "image should be fixed at the lower right corner of the paragraph. "
+          text run at (409,20) width 340: "The background color will make it easier to determine"
+          text run at (0,40) width 436: "the edges of the paragraph, and therefore allow you to see its corners."
+      LayoutBlockFlow {P} at (0,603) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 749x59
+          text run at (0,0) width 730: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the"
+          text run at (0,20) width 409: "image should be fixed at the lower right corner of the paragraph. "
+          text run at (409,20) width 340: "The background color will make it easier to determine"
+          text run at (0,40) width 436: "the edges of the paragraph, and therefore allow you to see its corners."
+      LayoutBlockFlow {P} at (0,679) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 768x59
+          text run at (0,0) width 768: "This paragraph should have a single, small green image exactly at the left center; that is, the left center of the image should"
+          text run at (0,20) width 270: "be fixed at the left center of the paragraph. "
+          text run at (270,20) width 443: "The background color will make it easier to determine the edges of the"
+          text run at (0,40) width 360: "paragraph, and therefore allow you to calculate its center."
+      LayoutBlockFlow {P} at (0,755) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 761x59
+          text run at (0,0) width 749: "This paragraph should have a single, small green image positioned 75% of the way across the element, and 25% down."
+          text run at (0,20) width 761: "The background color will make it easier to determine the edges of the paragraph, which should help in determining if all"
+          text run at (0,40) width 647: "this is so, and the extra text should make the element long enough for this test to be simpler to evaluate."
+      LayoutBlockFlow {P} at (0,831) size 769x80 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 760x79
+          text run at (0,0) width 749: "This paragraph should have a single, small green image positioned 20 pixels down and to the left of the upper left-hand"
+          text run at (0,20) width 760: "corner; that is, the upper left-hand corner of the image should be 20 pixels down and to the left of the upper-left corner of"
+          text run at (0,40) width 80: "the element. "
+          text run at (80,40) width 656: "The background color will make it easier to determine the edges of the paragraph, which should assist in"
+          text run at (0,60) width 120: "evaluating this test."
+      LayoutTable {TABLE} at (0,927) size 769x630 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x628
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x600
+            LayoutTableCell {TD} at (0,314) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x600 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 503x19
+                  text run at (0,0) width 503: "This document should have a single, small green image in its upper right corner."
+              LayoutBlockFlow {P} at (4,40) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 741x59
+                  text run at (0,0) width 735: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be"
+                  text run at (0,20) width 227: "fixed at the center of the paragraph. "
+                  text run at (227,20) width 514: "The background color will make it easier to determine the edges of the paragraph,"
+                  text run at (0,40) width 289: "and therefore allow you to calculate its center."
+              LayoutBlockFlow {P} at (4,116) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 741x59
+                  text run at (0,0) width 735: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be"
+                  text run at (0,20) width 227: "fixed at the center of the paragraph. "
+                  text run at (227,20) width 514: "The background color will make it easier to determine the edges of the paragraph,"
+                  text run at (0,40) width 289: "and therefore allow you to calculate its center."
+              LayoutBlockFlow {P} at (4,192) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 730x59
+                  text run at (0,0) width 730: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the"
+                  text run at (0,20) width 409: "image should be fixed at the lower right corner of the paragraph. "
+                  text run at (409,20) width 274: "The background color will make it easier to"
+                  text run at (0,40) width 502: "determine the edges of the paragraph, and therefore allow you to see its corners."
+              LayoutBlockFlow {P} at (4,268) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 730x59
+                  text run at (0,0) width 730: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the"
+                  text run at (0,20) width 409: "image should be fixed at the lower right corner of the paragraph. "
+                  text run at (409,20) width 274: "The background color will make it easier to"
+                  text run at (0,40) width 502: "determine the edges of the paragraph, and therefore allow you to see its corners."
+              LayoutBlockFlow {P} at (4,344) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 736x59
+                  text run at (0,0) width 722: "This paragraph should have a single, small green image exactly at the left center; that is, the left center of the image"
+                  text run at (0,20) width 316: "should be fixed at the left center of the paragraph. "
+                  text run at (316,20) width 420: "The background color will make it easier to determine the edges of"
+                  text run at (0,40) width 383: "the paragraph, and therefore allow you to calculate its center."
+              LayoutBlockFlow {P} at (4,420) size 747x80 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 705x79
+                  text run at (0,0) width 705: "This paragraph should have a single, small green image positioned 75% of the way across the element, and 25%"
+                  text run at (0,20) width 44: "down. "
+                  text run at (44,20) width 650: "The background color will make it easier to determine the edges of the paragraph, which should help in"
+                  text run at (0,40) width 698: "determining if all this is so, and the extra text should make the element long enough for this test to be simpler to"
+                  text run at (0,60) width 56: "evaluate."
+              LayoutBlockFlow {P} at (4,516) size 747x80 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 744x79
+                  text run at (0,0) width 718: "This paragraph should have a single, small green image positioned 20 pixels down and to the left of the upper left-"
+                  text run at (0,20) width 734: "hand corner; that is, the upper left-hand corner of the image should be 20 pixels down and to the left of the upper-left"
+                  text run at (0,40) width 141: "corner of the element. "
+                  text run at (141,40) width 603: "The background color will make it easier to determine the edges of the paragraph, which should"
+                  text run at (0,60) width 173: "assist in evaluating this test."
+layer at (8,329) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,321) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_repeat-expected.txt
new file mode 100644
index 0000000..624f90b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/background_repeat-expected.txt
@@ -0,0 +1,308 @@
+layer at (0,0) size 800x600 scrollWidth 888 scrollHeight 1993
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x1993 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x1993
+    LayoutBlockFlow {BODY} at (8,8) size 784x1977 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x240
+        LayoutText {#text} at (0,0) size 880x240
+          text run at (0,0) width 672: ".one {background-image: url(../resources/oransqr.gif); background-repeat: repeat-y;}"
+          text run at (672,0) width 0: " "
+          text run at (0,16) width 672: ".two {background-image: url(../resources/oransqr.gif); background-repeat: repeat-x;}"
+          text run at (672,16) width 0: " "
+          text run at (0,32) width 696: ".three {background-image: url(../resources/oransqr.gif); background-repeat: no-repeat;}"
+          text run at (696,32) width 0: " "
+          text run at (0,48) width 880: ".four {background-image: url(../resources/bg.gif); background-position: 50% 50%; background-repeat: repeat-y;}"
+          text run at (880,48) width 0: " "
+          text run at (0,64) width 704: ".five {background-image: url(../resources/crosshair2.gif); background-position: 50% 50%;"
+          text run at (704,64) width 0: " "
+          text run at (0,80) width 240: "       background-color: red;}"
+          text run at (240,80) width 0: " "
+          text run at (0,96) width 720: ".six {background-image: url(../resources/crosshair2.gif); background-position: center top;"
+          text run at (720,96) width 0: " "
+          text run at (0,112) width 232: "      background-color: red;}"
+          text run at (232,112) width 0: " "
+          text run at (0,128) width 720: ".seven {background-image: url(../resources/crosshair2.gif); background-position: top left;"
+          text run at (720,128) width 0: " "
+          text run at (0,144) width 248: "        background-color: red;}"
+          text run at (248,144) width 0: " "
+          text run at (0,160) width 752: ".eight {background-image: url(../resources/crosshair2.gif); background-position: bottom right;"
+          text run at (752,160) width 0: " "
+          text run at (0,176) width 248: "        background-color: red;}"
+          text run at (248,176) width 0: " "
+          text run at (0,192) width 704: ".nine {background-image: url(../resources/crosshair2.gif); background-position: 50% 50%;"
+          text run at (704,192) width 0: " "
+          text run at (0,208) width 240: "       background-color: red;}"
+          text run at (240,208) width 0: " "
+          text run at (0,224) width 0: " "
+      LayoutBlockFlow {P} at (0,307) size 784x60
+        LayoutText {#text} at (0,0) size 784x19
+          text run at (0,0) width 784: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the default for"
+        LayoutInline {CODE} at (0,0) size 152x16
+          LayoutText {#text} at (0,23) size 152x16
+            text run at (0,23) width 152: "background-position"
+        LayoutText {#text} at (152,20) size 779x39
+          text run at (152,20) width 320: " is '0% 0%' and that property is not declared here). "
+          text run at (472,20) width 307: "This is extra text included for the sole purpose of"
+          text run at (0,40) width 189: "making the paragraph longer. "
+          text run at (188,40) width 222: "Thank you for your understanding."
+      LayoutBlockFlow {P} at (0,383) size 784x60
+        LayoutText {#text} at (0,0) size 784x19
+          text run at (0,0) width 784: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the default for"
+        LayoutInline {CODE} at (0,0) size 152x16
+          LayoutText {#text} at (0,23) size 152x16
+            text run at (0,23) width 152: "background-position"
+        LayoutText {#text} at (152,20) size 779x39
+          text run at (152,20) width 320: " is '0% 0%' and that property is not declared here). "
+          text run at (472,20) width 307: "This is extra text included for the sole purpose of"
+          text run at (0,40) width 189: "making the paragraph longer. "
+          text run at (188,40) width 222: "Thank you for your understanding."
+      LayoutBlockFlow {P} at (0,459) size 784x60
+        LayoutText {#text} at (0,0) size 697x19
+          text run at (0,0) width 697: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for"
+        LayoutInline {CODE} at (0,0) size 152x16
+          LayoutText {#text} at (0,23) size 152x16
+            text run at (0,23) width 152: "background-position"
+        LayoutText {#text} at (152,20) size 779x39
+          text run at (152,20) width 320: " is '0% 0%' and that property is not declared here). "
+          text run at (472,20) width 307: "This is extra text included for the sole purpose of"
+          text run at (0,40) width 189: "making the paragraph longer. "
+          text run at (188,40) width 222: "Thank you for your understanding."
+      LayoutBlockFlow {P} at (0,535) size 784x80
+        LayoutText {#text} at (0,0) size 762x39
+          text run at (0,0) width 762: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin image"
+          text run at (0,20) width 216: "exactly centered in the paragraph. "
+          text run at (216,20) width 100: "This is because "
+        LayoutInline {CODE} at (0,0) size 64x16
+          LayoutText {#text} at (316,23) size 64x16
+            text run at (316,23) width 64: "repeat-y"
+        LayoutText {#text} at (380,20) size 114x19
+          text run at (380,20) width 114: " specifies tiling in "
+        LayoutInline {EM} at (0,0) size 28x19
+          LayoutText {#text} at (494,20) size 28x19
+            text run at (494,20) width 28: "both"
+        LayoutText {#text} at (522,20) size 764x39
+          text run at (522,20) width 158: " directions on the y-axis. "
+          text run at (680,20) width 84: "Note that this"
+          text run at (0,40) width 267: "test is only valid if the user agent supports "
+        LayoutInline {CODE} at (0,0) size 152x16
+          LayoutText {#text} at (267,43) size 152x16
+            text run at (267,43) width 152: "background-position"
+        LayoutText {#text} at (419,40) size 33x19
+          text run at (419,40) width 33: " (see "
+        LayoutInline {A} at (0,0) size 57x19 [color=#0000FF]
+          LayoutText {#text} at (452,40) size 57x19
+            text run at (452,40) width 57: "test 5.3.6"
+        LayoutText {#text} at (509,40) size 759x39
+          text run at (509,40) width 13: "). "
+          text run at (522,40) width 237: "I'll fill the paragraph with extra text to"
+          text run at (0,60) width 342: "make the conformance (or lack thereof) more obvious."
+      LayoutBlockFlow {P} at (0,631) size 784x100 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 754x19
+          text run at (0,0) width 658: "This paragraph should have a tiled background, with the origin image exactly centered in the paragraph. "
+          text run at (658,0) width 96: "This is because"
+        LayoutInline {CODE} at (0,0) size 136x16
+          LayoutText {#text} at (0,23) size 136x16
+            text run at (0,23) width 136: "background-repeat"
+        LayoutText {#text} at (136,20) size 114x19
+          text run at (136,20) width 114: " specifies tiling in "
+        LayoutInline {EM} at (0,0) size 16x19
+          LayoutText {#text} at (250,20) size 16x19
+            text run at (250,20) width 16: "all"
+        LayoutText {#text} at (266,20) size 782x39
+          text run at (266,20) width 361: " directions, regardless of the position of the origin image. "
+          text run at (627,20) width 155: "Note that this test is only"
+          text run at (0,40) width 196: "valid if the user agent supports "
+        LayoutInline {CODE} at (0,0) size 152x16
+          LayoutText {#text} at (196,43) size 152x16
+            text run at (196,43) width 152: "background-position"
+        LayoutText {#text} at (348,40) size 33x19
+          text run at (348,40) width 33: " (see "
+        LayoutInline {A} at (0,0) size 57x19 [color=#0000FF]
+          LayoutText {#text} at (381,40) size 57x19
+            text run at (381,40) width 57: "test 5.3.6"
+        LayoutText {#text} at (438,40) size 767x59
+          text run at (438,40) width 13: "). "
+          text run at (451,40) width 298: "I'll fill the paragraph with extra text to make the"
+          text run at (0,60) width 285: "conformance (or lack thereof) more obvious. "
+          text run at (285,60) width 482: "A background color is present, although if it is visible then the image has not"
+          text run at (0,80) width 116: "bee correctly tiled."
+      LayoutBlockFlow {P} at (0,747) size 784x60 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 782x59
+          text run at (0,0) width 764: "This sentence should have a fully tiled background which starts at its center top; that is, the background's origin should be"
+          text run at (0,20) width 277: "the exact center of the top of the paragraph. "
+          text run at (277,20) width 505: "I'll fill it with extra text to make the conformance (or lack thereof) more obvious."
+          text run at (0,40) width 653: "A background color is present, although if it is visible, then the image may not have been tiled correctly."
+      LayoutBlockFlow {P} at (0,823) size 784x60 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 777x59
+          text run at (0,0) width 488: "This sentence should have a fully tiled background which starts at its top left. "
+          text run at (488,0) width 220: "I'll fill it with extra text to make the"
+          text run at (0,20) width 285: "conformance (or lack thereof) more obvious. "
+          text run at (285,20) width 492: "A background color is present, although if it is visible, then the image may not"
+          text run at (0,40) width 157: "have been tiled correctly."
+      LayoutBlockFlow {P} at (0,899) size 784x80 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 784x79
+          text run at (0,0) width 783: "This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance of the"
+          text run at (0,20) width 665: "image should be anchored in the bottom right corner, with the tiled background extending out from there. "
+          text run at (664,20) width 117: "I'll fill it with extra"
+          text run at (0,40) width 389: "text to make the conformance (or lack thereof) more obvious. "
+          text run at (389,40) width 395: "A background color is present, although if it is visible, then the"
+          text run at (0,60) width 254: "image may not have been tiled correctly."
+      LayoutBlockFlow {P} at (0,995) size 784x120 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 769x119
+          text run at (0,0) width 718: "This sentence should have a fully tiled background which starts at its center and is tiled in all directions; that is, the"
+          text run at (0,20) width 407: "background's origin should be the exact center of the paragraph. "
+          text run at (407,20) width 358: "I'll fill it with extra text to make the conformance (or lack"
+          text run at (0,40) width 147: "thereof) more obvious. "
+          text run at (147,40) width 442: "In fact, a lot of extra text will be necessary to make this at all obvious. "
+          text run at (589,40) width 180: "This is true because I am not"
+          text run at (0,60) width 765: "able to increase the text size without resorting to either headings or other CSS properties, neither of which I want to use in"
+          text run at (0,80) width 116: "this circumstance. "
+          text run at (116,80) width 241: "This ought to be enough text, though. "
+          text run at (357,80) width 395: "A background color is present, although if it is visible, then the"
+          text run at (0,100) width 254: "image may not have been tiled correctly."
+      LayoutTable {TABLE} at (0,1131) size 784x846 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x844
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x816
+            LayoutTableCell {TD} at (0,422) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x816 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60
+                LayoutText {#text} at (0,0) size 762x39
+                  text run at (0,0) width 762: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the default"
+                  text run at (0,20) width 22: "for "
+                LayoutInline {CODE} at (0,0) size 152x16
+                  LayoutText {#text} at (22,23) size 152x16
+                    text run at (22,23) width 152: "background-position"
+                LayoutText {#text} at (174,20) size 730x39
+                  text run at (174,20) width 320: " is '0% 0%' and that property is not declared here). "
+                  text run at (494,20) width 236: "This is extra text included for the sole"
+                  text run at (0,40) width 260: "purpose of making the paragraph longer. "
+                  text run at (259,40) width 222: "Thank you for your understanding."
+              LayoutBlockFlow {P} at (4,80) size 762x60
+                LayoutText {#text} at (0,0) size 762x39
+                  text run at (0,0) width 762: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the default"
+                  text run at (0,20) width 22: "for "
+                LayoutInline {CODE} at (0,0) size 152x16
+                  LayoutText {#text} at (22,23) size 152x16
+                    text run at (22,23) width 152: "background-position"
+                LayoutText {#text} at (174,20) size 730x39
+                  text run at (174,20) width 320: " is '0% 0%' and that property is not declared here). "
+                  text run at (494,20) width 236: "This is extra text included for the sole"
+                  text run at (0,40) width 260: "purpose of making the paragraph longer. "
+                  text run at (259,40) width 222: "Thank you for your understanding."
+              LayoutBlockFlow {P} at (4,156) size 762x60
+                LayoutText {#text} at (0,0) size 697x19
+                  text run at (0,0) width 697: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for"
+                LayoutInline {CODE} at (0,0) size 152x16
+                  LayoutText {#text} at (0,23) size 152x16
+                    text run at (0,23) width 152: "background-position"
+                LayoutText {#text} at (152,20) size 762x39
+                  text run at (152,20) width 320: " is '0% 0%' and that property is not declared here). "
+                  text run at (472,20) width 290: "This is extra text included for the sole purpose"
+                  text run at (0,40) width 206: "of making the paragraph longer. "
+                  text run at (205,40) width 222: "Thank you for your understanding."
+              LayoutBlockFlow {P} at (4,232) size 762x80
+                LayoutText {#text} at (0,0) size 762x39
+                  text run at (0,0) width 762: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin image"
+                  text run at (0,20) width 216: "exactly centered in the paragraph. "
+                  text run at (216,20) width 100: "This is because "
+                LayoutInline {CODE} at (0,0) size 64x16
+                  LayoutText {#text} at (316,23) size 64x16
+                    text run at (316,23) width 64: "repeat-y"
+                LayoutText {#text} at (380,20) size 114x19
+                  text run at (380,20) width 114: " specifies tiling in "
+                LayoutInline {EM} at (0,0) size 28x19
+                  LayoutText {#text} at (494,20) size 28x19
+                    text run at (494,20) width 28: "both"
+                LayoutText {#text} at (522,20) size 738x39
+                  text run at (522,20) width 158: " directions on the y-axis. "
+                  text run at (680,20) width 58: "Note that"
+                  text run at (0,40) width 293: "this test is only valid if the user agent supports "
+                LayoutInline {CODE} at (0,0) size 152x16
+                  LayoutText {#text} at (293,43) size 152x16
+                    text run at (293,43) width 152: "background-position"
+                LayoutText {#text} at (445,40) size 33x19
+                  text run at (445,40) width 33: " (see "
+                LayoutInline {A} at (0,0) size 57x19 [color=#0000FF]
+                  LayoutText {#text} at (478,40) size 57x19
+                    text run at (478,40) width 57: "test 5.3.6"
+                LayoutText {#text} at (535,40) size 742x39
+                  text run at (535,40) width 13: "). "
+                  text run at (548,40) width 194: "I'll fill the paragraph with extra"
+                  text run at (0,60) width 385: "text to make the conformance (or lack thereof) more obvious."
+              LayoutBlockFlow {P} at (4,328) size 762x100 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 754x19
+                  text run at (0,0) width 658: "This paragraph should have a tiled background, with the origin image exactly centered in the paragraph. "
+                  text run at (658,0) width 96: "This is because"
+                LayoutInline {CODE} at (0,0) size 136x16
+                  LayoutText {#text} at (0,23) size 136x16
+                    text run at (0,23) width 136: "background-repeat"
+                LayoutText {#text} at (136,20) size 114x19
+                  text run at (136,20) width 114: " specifies tiling in "
+                LayoutInline {EM} at (0,0) size 16x19
+                  LayoutText {#text} at (250,20) size 16x19
+                    text run at (250,20) width 16: "all"
+                LayoutText {#text} at (266,20) size 750x39
+                  text run at (266,20) width 361: " directions, regardless of the position of the origin image. "
+                  text run at (627,20) width 123: "Note that this test is"
+                  text run at (0,40) width 228: "only valid if the user agent supports "
+                LayoutInline {CODE} at (0,0) size 152x16
+                  LayoutText {#text} at (228,43) size 152x16
+                    text run at (228,43) width 152: "background-position"
+                LayoutText {#text} at (380,40) size 33x19
+                  text run at (380,40) width 33: " (see "
+                LayoutInline {A} at (0,0) size 57x19 [color=#0000FF]
+                  LayoutText {#text} at (413,40) size 57x19
+                    text run at (413,40) width 57: "test 5.3.6"
+                LayoutText {#text} at (470,40) size 758x59
+                  text run at (470,40) width 13: "). "
+                  text run at (483,40) width 275: "I'll fill the paragraph with extra text to make"
+                  text run at (0,60) width 308: "the conformance (or lack thereof) more obvious. "
+                  text run at (308,60) width 433: "A background color is present, although if it is visible then the image"
+                  text run at (0,80) width 165: "has not bee correctly tiled."
+              LayoutBlockFlow {P} at (4,444) size 762x60 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 745x59
+                  text run at (0,0) width 745: "This sentence should have a fully tiled background which starts at its center top; that is, the background's origin should"
+                  text run at (0,20) width 296: "be the exact center of the top of the paragraph. "
+                  text run at (296,20) width 447: "I'll fill it with extra text to make the conformance (or lack thereof) more"
+                  text run at (0,40) width 58: "obvious. "
+                  text run at (58,40) width 653: "A background color is present, although if it is visible, then the image may not have been tiled correctly."
+              LayoutBlockFlow {P} at (4,520) size 762x60 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 753x59
+                  text run at (0,0) width 488: "This sentence should have a fully tiled background which starts at its top left. "
+                  text run at (488,0) width 220: "I'll fill it with extra text to make the"
+                  text run at (0,20) width 285: "conformance (or lack thereof) more obvious. "
+                  text run at (285,20) width 468: "A background color is present, although if it is visible, then the image may"
+                  text run at (0,40) width 181: "not have been tiled correctly."
+              LayoutBlockFlow {P} at (4,596) size 762x80 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 760x79
+                  text run at (0,0) width 760: "This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance of"
+                  text run at (0,20) width 688: "the image should be anchored in the bottom right corner, with the tiled background extending out from there. "
+                  text run at (687,20) width 50: "I'll fill it"
+                  text run at (0,40) width 456: "with extra text to make the conformance (or lack thereof) more obvious. "
+                  text run at (456,40) width 292: "A background color is present, although if it is"
+                  text run at (0,60) width 357: "visible, then the image may not have been tiled correctly."
+              LayoutBlockFlow {P} at (4,692) size 762x120 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 755x119
+                  text run at (0,0) width 718: "This sentence should have a fully tiled background which starts at its center and is tiled in all directions; that is, the"
+                  text run at (0,20) width 407: "background's origin should be the exact center of the paragraph. "
+                  text run at (407,20) width 328: "I'll fill it with extra text to make the conformance (or"
+                  text run at (0,40) width 177: "lack thereof) more obvious. "
+                  text run at (177,40) width 442: "In fact, a lot of extra text will be necessary to make this at all obvious. "
+                  text run at (619,40) width 133: "This is true because I"
+                  text run at (0,60) width 755: "am not able to increase the text size without resorting to either headings or other CSS properties, neither of which I want"
+                  text run at (0,80) width 173: "to use in this circumstance. "
+                  text run at (173,80) width 241: "This ought to be enough text, though. "
+                  text run at (414,80) width 341: "A background color is present, although if it is visible,"
+                  text run at (0,100) width 308: "then the image may not have been tiled correctly."
+layer at (8,297) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,289) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/color-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/color-expected.txt
new file mode 100644
index 0000000..c3b1fc7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/color_and_background/color-expected.txt
@@ -0,0 +1,39 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 160x32
+          text run at (0,0) width 160: ".one {color: green;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,135) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutTable {TABLE} at (0,171) size 216x94 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 214x92
+          LayoutTableRow {TR} at (0,0) size 214x28
+            LayoutTableCell {TD} at (0,0) size 214x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 214x64
+            LayoutTableCell {TD} at (0,46) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 202x64 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 194x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,40) size 194x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/conformance/forward_compatible_parsing-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/conformance/forward_compatible_parsing-expected.txt
new file mode 100644
index 0000000..66ce4051
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/conformance/forward_compatible_parsing-expected.txt
@@ -0,0 +1,546 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 4321
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x4321 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x4321
+    LayoutBlockFlow {BODY} at (8,8) size 769x4305 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x864
+        LayoutText {#text} at (0,0) size 568x864
+          text run at (0,0) width 304: "P.one {color: green; rotation: 70deg;}"
+          text run at (304,0) width 0: " "
+          text run at (0,16) width 176: "P.oneb {color: green;}"
+          text run at (176,16) width 0: " "
+          text run at (0,32) width 232: "P.oneb {color: invalidValue;}"
+          text run at (232,32) width 0: " "
+          text run at (0,48) width 272: "P.two {background-color: inherit;}"
+          text run at (272,48) width 0: " "
+          text run at (0,64) width 216: "H1 + P.three {color: blue;}"
+          text run at (216,64) width 0: " "
+          text run at (0,80) width 200: "P.four + H1 {color: red;}"
+          text run at (200,80) width 0: " "
+          text run at (0,96) width 264: "P.five {background-color: \"red\";}"
+          text run at (264,96) width 0: " "
+          text run at (0,112) width 408: "P.sixa {border-width: medium; border-style: solid;}"
+          text run at (408,112) width 0: " "
+          text run at (0,128) width 400: "P.sixb {border-width: funny; border-style: solid;}"
+          text run at (400,128) width 0: " "
+          text run at (0,144) width 392: "P.sixc {border-width: 50zu; border-style: solid;}"
+          text run at (392,144) width 0: " "
+          text run at (0,160) width 376: "P.sixd {border-width: px; border-style: solid;}"
+          text run at (376,160) width 0: " "
+          text run at (0,176) width 96: "@three-dee {"
+          text run at (96,176) width 0: " "
+          text run at (0,192) width 184: " @background-lighting {"
+          text run at (184,192) width 0: " "
+          text run at (0,208) width 136: "  azimuth: 30deg;"
+          text run at (136,208) width 0: " "
+          text run at (0,224) width 160: "  elevation: 190deg;"
+          text run at (160,224) width 0: " "
+          text run at (0,240) width 24: "  }"
+          text run at (24,240) width 0: " "
+          text run at (0,256) width 184: " P.seven { color: red }"
+          text run at (184,256) width 0: " "
+          text run at (0,272) width 16: " }"
+          text run at (16,272) width 0: " "
+          text run at (0,288) width 184: "P.eight {COLOR: GREEN;}"
+          text run at (184,288) width 0: " "
+          text run at (0,304) width 192: "OL:wait {color: maroon;}"
+          text run at (192,304) width 0: " "
+          text run at (0,320) width 272: "P.ten:first-child {color: maroon;}"
+          text run at (272,320) width 0: " "
+          text run at (0,336) width 208: "UL:lang(fr) {color: gray;}"
+          text run at (208,336) width 0: " "
+          text run at (0,352) width 248: "BLOCKQUOTE[href] {color: navy;}"
+          text run at (248,352) width 0: " "
+          text run at (0,368) width 288: "ACRONYM[href=\"foo\"] {color: purple;}"
+          text run at (288,368) width 0: " "
+          text run at (0,384) width 296: "ADDRESS[href~=\"foo\"] {color: purple;}"
+          text run at (296,384) width 0: " "
+          text run at (0,400) width 248: "SPAN[lang|=\"fr\"] {color: #c37;}"
+          text run at (248,400) width 0: " "
+          text run at (0,416) width 96: "@media tty {"
+          text run at (96,416) width 0: " "
+          text run at (0,432) width 136: " H1 {color: red;}"
+          text run at (136,432) width 0: " "
+          text run at (0,448) width 192: " P.sixteen {color: red;}"
+          text run at (192,448) width 0: " "
+          text run at (0,464) width 16: " }"
+          text run at (16,464) width 0: " "
+          text run at (0,480) width 96: "@three-dee {"
+          text run at (96,480) width 0: " "
+          text run at (0,496) width 208: " P.seventeen {color: red }"
+          text run at (208,496) width 0: " "
+          text run at (0,512) width 16: " }"
+          text run at (16,512) width 0: " "
+          text run at (0,528) width 568: "P.eighteena {text-decoration: underline overline line-through diagonal;"
+          text run at (568,528) width 0: " "
+          text run at (0,544) width 416: "            font: bold highlighted 100% sans-serif;}"
+          text run at (416,544) width 0: " "
+          text run at (0,560) width 568: "P.eighteenb {text-decoration: underline overline line-through diagonal;"
+          text run at (568,560) width 0: " "
+          text run at (0,576) width 376: "            font: bold highlighted 100% serif;}"
+          text run at (376,576) width 0: " "
+          text run at (0,592) width 384: "EM, P.nineteena ! EM, STRONG {font-size: 200%; }"
+          text run at (384,592) width 0: " "
+          text run at (0,608) width 0: " "
+          text run at (0,624) width 128: "// UL.nineteenb,"
+          text run at (128,624) width 0: " "
+          text run at (0,640) width 200: "P.nineteenb {color: red;}"
+          text run at (200,640) width 0: " "
+          text run at (0,656) width 0: " "
+          text run at (0,672) width 360: "P.twentya {rotation-code: \"}\"; color: blue;} "
+          text run at (360,672) width 0: " "
+          text run at (0,688) width 390: "P.twentyb {rotation-code: \"\\\"}\\\"\"; color: green;}"
+          text run at (390,688) width 0: " "
+          text run at (0,704) width 400: "P.twentyonea {rotation-code: '}'; color: purple;} "
+          text run at (400,704) width 0: " "
+          text run at (0,720) width 414: "P.twentyoneb {rotation-code: '\\'}\\''; color: green;}"
+          text run at (414,720) width 0: " "
+          text run at (0,736) width 104: "P.twentytwo {"
+          text run at (104,736) width 0: " "
+          text run at (0,752) width 376: " type-display: @threedee {rotation-code: '}';};"
+          text run at (376,752) width 0: " "
+          text run at (0,768) width 112: " color: green;"
+          text run at (112,768) width 0: " "
+          text run at (0,784) width 16: " }"
+          text run at (16,784) width 0: " "
+          text run at (0,800) width 280: "P.twentythree {text-indent: 0.5in;}"
+          text run at (280,800) width 0: " "
+          text run at (0,816) width 112: " color: maroon"
+          text run at (112,816) width 0: " "
+          text run at (0,832) width 208: "P.twentyfour {color: red;}"
+          text run at (208,832) width 0: " "
+          text run at (0,848) width 0: " "
+      LayoutBlockFlow {P} at (0,931) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 485x19
+          text run at (0,0) width 485: "This paragraph should be green, because only the rotation should be ignored."
+      LayoutBlockFlow {P} at (0,967) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 622x19
+          text run at (0,0) width 622: "This paragraph should be green, since error-checking should be done before calculating specificity."
+      LayoutBlockFlow {P} at (0,1003) size 769x40
+        LayoutText {#text} at (0,0) size 560x19
+          text run at (0,0) width 560: "This paragraph should have a solid gray background (or a white grid), because in CSS1, "
+        LayoutInline {CODE} at (0,0) size 56x16
+          LayoutText {#text} at (560,3) size 56x16
+            text run at (560,3) width 56: "inherit"
+        LayoutText {#text} at (616,0) size 760x39
+          text run at (616,0) width 144: " is an invalid keyword,"
+          text run at (0,20) width 520: "and in CSS2, it will cause the gray background (not the white grid) to be inherited."
+      LayoutBlockFlow {P} at (0,1059) size 769x20
+        LayoutText {#text} at (0,0) size 638x19
+          text run at (0,0) width 638: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+      LayoutBlockFlow {P} at (0,1095) size 769x20
+        LayoutText {#text} at (0,0) size 638x19
+          text run at (0,0) width 638: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+      LayoutBlockFlow {P} at (0,1131) size 769x20
+        LayoutText {#text} at (0,0) size 526x19
+          text run at (0,0) width 526: "This paragraph should have a white background, since keywords cannot be quoted."
+      LayoutBlockFlow {P} at (0,1167) size 769x46 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 756x39
+          text run at (3,3) width 643: "This paragraph should have a medium-width border around it (the same as the next three paragraphs). "
+          text run at (646,3) width 113: "This should cause"
+          text run at (3,23) width 318: "the user agent to use the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1229) size 769x46 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 740x39
+          text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs),"
+          text run at (3,23) width 228: "because the border-width is invalid. "
+          text run at (230,23) width 436: "This should cause the user agent to use the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1291) size 769x66 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 754x59
+          text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs),"
+          text run at (3,23) width 588: "because the border-width units are invalid, and therefore the border-width should be ignored. "
+          text run at (590,23) width 167: "This should cause the user"
+          text run at (3,43) width 265: "agent to use the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1373) size 769x66 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 751x59
+          text run at (3,3) width 743: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because the"
+          text run at (3,23) width 547: "border-width does not have any value to go with its pixel unit, and is therefore invalid. "
+          text run at (549,23) width 205: "This should cause the user agent"
+          text run at (3,43) width 227: "to use the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1455) size 769x20
+        LayoutText {#text} at (0,0) size 660x19
+          text run at (0,0) width 660: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+      LayoutBlockFlow {P} at (0,1491) size 769x40 [color=#008000]
+        LayoutText {#text} at (0,0) size 760x39
+          text run at (0,0) width 207: "This paragraph should be green. "
+          text run at (207,0) width 553: "CSS is case-insensitive, unless required to be case sensitive due to interaction with other"
+          text run at (0,20) width 237: "standards (e.g., font names or URLs.)"
+      LayoutBlockFlow {OL} at (0,1547) size 769x20
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
+          LayoutText {#text} at (0,0) size 621x19
+            text run at (0,0) width 621: "This ordered list item should be black, because the declaration has an invalid pseudo-class selector."
+      LayoutBlockFlow {P} at (0,1583) size 769x40
+        LayoutText {#text} at (0,0) size 752x39
+          text run at (0,0) width 752: "This paragraph should be black, because, in CSS1, :first-child is an invalid pseudo-class, and in CSS2, this paragraph is"
+          text run at (0,20) width 110: "not the first child."
+      LayoutBlockFlow {UL} at (0,1639) size 769x40
+        LayoutListItem {LI} at (40,0) size 729x40
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 690x39
+            text run at (0,0) width 690: "This unordered list item should be black, because, according to CSS1, the selector is invalid, and according to"
+            text run at (0,20) width 228: "CSS2, the selector should not apply."
+      LayoutBlockFlow {BLOCKQUOTE} at (40,1695) size 689x40
+        LayoutText {#text} at (0,0) size 688x39
+          text run at (0,0) width 688: "This blockquote should be black, because, according to CSS1, the selector is invalid, and according to CSS2,"
+          text run at (0,20) width 183: "the selector should not apply."
+      LayoutBlockFlow {P} at (0,1751) size 769x40
+        LayoutInline {ACRONYM} at (0,0) size 748x39
+          LayoutText {#text} at (0,0) size 748x39
+            text run at (0,0) width 748: "This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+            text run at (0,20) width 108: "should not apply."
+      LayoutBlockFlow {ADDRESS} at (0,1807) size 769x40
+        LayoutText {#text} at (0,0) size 744x39
+          text run at (0,0) width 744: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+          text run at (0,20) width 109: "should not apply."
+      LayoutBlockFlow {P} at (0,1863) size 769x40
+        LayoutInline {SPAN} at (0,0) size 768x39
+          LayoutText {#text} at (0,0) size 768x39
+            text run at (0,0) width 768: "This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector should"
+            text run at (0,20) width 62: "not apply."
+      LayoutBlockFlow {P} at (0,1919) size 769x40
+        LayoutText {#text} at (0,0) size 753x39
+          text run at (0,0) width 664: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. "
+          text run at (664,0) width 89: "However, it is"
+          text run at (0,20) width 592: "valid in CSS2, so if this is being viewed on a tty browser that supports CSS2, it should be red."
+      LayoutBlockFlow {P} at (0,1975) size 769x20
+        LayoutText {#text} at (0,0) size 660x19
+          text run at (0,0) width 660: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+      LayoutBlockFlow {P} at (0,2011) size 769x80
+        LayoutText {#text} at (0,0) size 737x19
+          text run at (0,0) width 737: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
+        LayoutInline {CODE} at (0,0) size 64x16
+          LayoutText {#text} at (0,23) size 64x16
+            text run at (0,23) width 64: "diagonal"
+        LayoutText {#text} at (64,20) size 226x19
+          text run at (64,20) width 226: " is not a valid keyword, making the "
+        LayoutInline {CODE} at (0,0) size 120x16
+          LayoutText {#text} at (290,23) size 120x16
+            text run at (290,23) width 120: "text-decoration"
+        LayoutText {#text} at (410,20) size 131x19
+          text run at (410,20) width 55: " invalid. "
+          text run at (465,20) width 76: "In addition, "
+        LayoutInline {CODE} at (0,0) size 88x16
+          LayoutText {#text} at (541,23) size 88x16
+            text run at (541,23) width 88: "highlighted"
+        LayoutText {#text} at (629,20) size 758x39
+          text run at (629,20) width 129: " is not a valid part of"
+          text run at (0,40) width 23: "the "
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (23,43) size 32x16
+            text run at (23,43) width 32: "font"
+        LayoutText {#text} at (55,40) size 720x39
+          text run at (55,40) width 178: " property, making it invalid. "
+          text run at (232,40) width 488: "Therefore, this paragraph's font should be the UA default, and match the next"
+          text run at (0,60) width 71: "paragraph. "
+          text run at (71,60) width 190: "If this is not the case, then the "
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (261,63) size 32x16
+            text run at (261,63) width 32: "font"
+        LayoutText {#text} at (293,60) size 248x19
+          text run at (293,60) width 248: " declaration is being improperly parsed."
+      LayoutBlockFlow {P} at (0,2107) size 769x80
+        LayoutText {#text} at (0,0) size 737x19
+          text run at (0,0) width 737: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
+        LayoutInline {CODE} at (0,0) size 64x16
+          LayoutText {#text} at (0,23) size 64x16
+            text run at (0,23) width 64: "diagonal"
+        LayoutText {#text} at (64,20) size 226x19
+          text run at (64,20) width 226: " is not a valid keyword, making the "
+        LayoutInline {CODE} at (0,0) size 120x16
+          LayoutText {#text} at (290,23) size 120x16
+            text run at (290,23) width 120: "text-decoration"
+        LayoutText {#text} at (410,20) size 131x19
+          text run at (410,20) width 55: " invalid. "
+          text run at (465,20) width 76: "In addition, "
+        LayoutInline {CODE} at (0,0) size 88x16
+          LayoutText {#text} at (541,23) size 88x16
+            text run at (541,23) width 88: "highlighted"
+        LayoutText {#text} at (629,20) size 758x39
+          text run at (629,20) width 129: " is not a valid part of"
+          text run at (0,40) width 23: "the "
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (23,43) size 32x16
+            text run at (23,43) width 32: "font"
+        LayoutText {#text} at (55,40) size 747x39
+          text run at (55,40) width 178: " property, making it invalid. "
+          text run at (232,40) width 515: "Therefore, this paragraph's font should be the UA default, and match the previous"
+          text run at (0,60) width 71: "paragraph. "
+          text run at (71,60) width 190: "If this is not the case, then the "
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (261,63) size 32x16
+            text run at (261,63) width 32: "font"
+        LayoutText {#text} at (293,60) size 248x19
+          text run at (293,60) width 248: " declaration is being improperly parsed."
+      LayoutBlockFlow {P} at (0,2203) size 769x60
+        LayoutText {#text} at (0,0) size 530x19
+          text run at (0,0) width 501: "The text of this paragraph should be normal size because the selector is invalid. "
+          text run at (501,0) width 29: "The "
+        LayoutInline {EM} at (0,0) size 100x19
+          LayoutText {#text} at (530,0) size 100x19
+            text run at (530,0) width 100: "emphasized text"
+        LayoutText {#text} at (630,0) size 54x19
+          text run at (630,0) width 54: " and the "
+        LayoutInline {STRONG} at (0,0) size 72x19
+          LayoutText {#text} at (684,0) size 72x19
+            text run at (684,0) width 72: "strong text"
+        LayoutText {#text} at (0,20) size 761x39
+          text run at (0,20) width 761: "within it should also be normal size, since the entire ruleset should be skipped (since in some future version of CSS, there"
+          text run at (0,40) width 520: "could be an operator within the selector that has higher precedence than a comma)."
+      LayoutBlockFlow {P} at (0,2279) size 769x40
+        LayoutText {#text} at (0,0) size 464x19
+          text run at (0,0) width 464: "This paragraph should be black, because the line before the declaration is "
+        LayoutInline {STRONG} at (0,0) size 22x19
+          LayoutText {#text} at (464,0) size 22x19
+            text run at (464,0) width 22: "not"
+        LayoutText {#text} at (486,0) size 743x39
+          text run at (486,0) width 257: " a comment and therefore the selector for"
+          text run at (0,20) width 138: "P.nineteenb is invalid."
+      LayoutBlockFlow {P} at (0,2335) size 769x20 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 470x19
+          text run at (0,0) width 470: "This paragraph should be blue, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2371) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 478x19
+          text run at (0,0) width 478: "This paragraph should be green, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2407) size 769x20 [color=#800080]
+        LayoutText {#text} at (0,0) size 483x19
+          text run at (0,0) width 483: "This paragraph should be purple, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2443) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 478x19
+          text run at (0,0) width 478: "This paragraph should be green, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2479) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 478x19
+          text run at (0,0) width 478: "This paragraph should be green, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2515) size 769x20
+        LayoutText {#text} at (48,0) size 601x19
+          text run at (48,0) width 485: "This paragraph should be indented half an inch, but it should not be maroon. "
+          text run at (533,0) width 116: "It should be black."
+      LayoutBlockFlow {P} at (0,2551) size 769x40
+        LayoutText {#text} at (0,0) size 751x39
+          text run at (0,0) width 751: "This paragraph should be black, because the color declaration after the previous ruleset should be considered part of the"
+          text run at (0,20) width 616: "selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied."
+      LayoutTable {TABLE} at (0,2607) size 769x1698 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1696
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1668
+            LayoutTableCell {TD} at (0,848) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1668 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 485x19
+                  text run at (0,0) width 485: "This paragraph should be green, because only the rotation should be ignored."
+              LayoutBlockFlow {P} at (4,40) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 622x19
+                  text run at (0,0) width 622: "This paragraph should be green, since error-checking should be done before calculating specificity."
+              LayoutBlockFlow {P} at (4,76) size 747x40
+                LayoutText {#text} at (0,0) size 560x19
+                  text run at (0,0) width 560: "This paragraph should have a solid gray background (or a white grid), because in CSS1, "
+                LayoutInline {CODE} at (0,0) size 56x16
+                  LayoutText {#text} at (560,3) size 56x16
+                    text run at (560,3) width 56: "inherit"
+                LayoutText {#text} at (616,0) size 696x39
+                  text run at (616,0) width 80: " is an invalid"
+                  text run at (0,20) width 584: "keyword, and in CSS2, it will cause the gray background (not the white grid) to be inherited."
+              LayoutBlockFlow {P} at (4,132) size 747x20
+                LayoutText {#text} at (0,0) size 638x19
+                  text run at (0,0) width 638: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+              LayoutBlockFlow {P} at (4,168) size 747x20
+                LayoutText {#text} at (0,0) size 638x19
+                  text run at (0,0) width 638: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+              LayoutBlockFlow {P} at (4,204) size 747x20
+                LayoutText {#text} at (0,0) size 526x19
+                  text run at (0,0) width 526: "This paragraph should have a white background, since keywords cannot be quoted."
+              LayoutBlockFlow {P} at (4,240) size 747x46 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 717x39
+                  text run at (3,3) width 643: "This paragraph should have a medium-width border around it (the same as the next three paragraphs). "
+                  text run at (646,3) width 74: "This should"
+                  text run at (3,23) width 357: "cause the user agent to use the default value of 'medium'."
+              LayoutBlockFlow {P} at (4,302) size 747x46 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 740x39
+                  text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs),"
+                  text run at (3,23) width 228: "because the border-width is invalid. "
+                  text run at (230,23) width 436: "This should cause the user agent to use the default value of 'medium'."
+              LayoutBlockFlow {P} at (4,364) size 747x66 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 740x59
+                  text run at (3,3) width 740: "This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs),"
+                  text run at (3,23) width 588: "because the border-width units are invalid, and therefore the border-width should be ignored. "
+                  text run at (590,23) width 137: "This should cause the"
+                  text run at (3,43) width 295: "user agent to use the default value of 'medium'."
+              LayoutBlockFlow {P} at (4,446) size 747x66 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 736x59
+                  text run at (3,3) width 720: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because"
+                  text run at (3,23) width 570: "the border-width does not have any value to go with its pixel unit, and is therefore invalid. "
+                  text run at (572,23) width 167: "This should cause the user"
+                  text run at (3,43) width 265: "agent to use the default value of 'medium'."
+              LayoutBlockFlow {P} at (4,528) size 747x20
+                LayoutText {#text} at (0,0) size 660x19
+                  text run at (0,0) width 660: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+              LayoutBlockFlow {P} at (4,564) size 747x40 [color=#008000]
+                LayoutText {#text} at (0,0) size 724x39
+                  text run at (0,0) width 207: "This paragraph should be green. "
+                  text run at (207,0) width 517: "CSS is case-insensitive, unless required to be case sensitive due to interaction with"
+                  text run at (0,20) width 273: "other standards (e.g., font names or URLs.)"
+              LayoutBlockFlow {OL} at (4,620) size 747x20
+                LayoutListItem {LI} at (40,0) size 707x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
+                  LayoutText {#text} at (0,0) size 621x19
+                    text run at (0,0) width 621: "This ordered list item should be black, because the declaration has an invalid pseudo-class selector."
+              LayoutBlockFlow {P} at (4,656) size 747x40
+                LayoutText {#text} at (0,0) size 738x39
+                  text run at (0,0) width 738: "This paragraph should be black, because, in CSS1, :first-child is an invalid pseudo-class, and in CSS2, this paragraph"
+                  text run at (0,20) width 124: "is not the first child."
+              LayoutBlockFlow {UL} at (4,712) size 747x40
+                LayoutListItem {LI} at (40,0) size 707x40
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 690x39
+                    text run at (0,0) width 690: "This unordered list item should be black, because, according to CSS1, the selector is invalid, and according to"
+                    text run at (0,20) width 228: "CSS2, the selector should not apply."
+              LayoutBlockFlow {BLOCKQUOTE} at (44,768) size 667x40
+                LayoutText {#text} at (0,0) size 643x39
+                  text run at (0,0) width 643: "This blockquote should be black, because, according to CSS1, the selector is invalid, and according to"
+                  text run at (0,20) width 228: "CSS2, the selector should not apply."
+              LayoutBlockFlow {P} at (4,824) size 747x40
+                LayoutInline {ACRONYM} at (0,0) size 696x39
+                  LayoutText {#text} at (0,0) size 696x39
+                    text run at (0,0) width 696: "This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the"
+                    text run at (0,20) width 160: "selector should not apply."
+              LayoutBlockFlow {ADDRESS} at (4,880) size 747x40
+                LayoutText {#text} at (0,0) size 744x39
+                  text run at (0,0) width 744: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+                  text run at (0,20) width 109: "should not apply."
+              LayoutBlockFlow {P} at (4,936) size 747x40
+                LayoutInline {SPAN} at (0,0) size 722x39
+                  LayoutText {#text} at (0,0) size 722x39
+                    text run at (0,0) width 722: "This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+                    text run at (0,20) width 108: "should not apply."
+              LayoutBlockFlow {P} at (4,992) size 747x40
+                LayoutText {#text} at (0,0) size 739x39
+                  text run at (0,0) width 664: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. "
+                  text run at (664,0) width 75: "However, it"
+                  text run at (0,20) width 606: "is valid in CSS2, so if this is being viewed on a tty browser that supports CSS2, it should be red."
+              LayoutBlockFlow {P} at (4,1048) size 747x20
+                LayoutText {#text} at (0,0) size 660x19
+                  text run at (0,0) width 660: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+              LayoutBlockFlow {P} at (4,1084) size 747x80
+                LayoutText {#text} at (0,0) size 737x19
+                  text run at (0,0) width 737: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
+                LayoutInline {CODE} at (0,0) size 64x16
+                  LayoutText {#text} at (0,23) size 64x16
+                    text run at (0,23) width 64: "diagonal"
+                LayoutText {#text} at (64,20) size 226x19
+                  text run at (64,20) width 226: " is not a valid keyword, making the "
+                LayoutInline {CODE} at (0,0) size 120x16
+                  LayoutText {#text} at (290,23) size 120x16
+                    text run at (290,23) width 120: "text-decoration"
+                LayoutText {#text} at (410,20) size 131x19
+                  text run at (410,20) width 55: " invalid. "
+                  text run at (465,20) width 76: "In addition, "
+                LayoutInline {CODE} at (0,0) size 88x16
+                  LayoutText {#text} at (541,23) size 88x16
+                    text run at (541,23) width 88: "highlighted"
+                LayoutText {#text} at (629,20) size 741x39
+                  text run at (629,20) width 112: " is not a valid part"
+                  text run at (0,40) width 40: "of the "
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (40,43) size 32x16
+                    text run at (40,43) width 32: "font"
+                LayoutText {#text} at (72,40) size 737x39
+                  text run at (72,40) width 178: " property, making it invalid. "
+                  text run at (249,40) width 488: "Therefore, this paragraph's font should be the UA default, and match the next"
+                  text run at (0,60) width 71: "paragraph. "
+                  text run at (71,60) width 190: "If this is not the case, then the "
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (261,63) size 32x16
+                    text run at (261,63) width 32: "font"
+                LayoutText {#text} at (293,60) size 248x19
+                  text run at (293,60) width 248: " declaration is being improperly parsed."
+              LayoutBlockFlow {P} at (4,1180) size 747x80
+                LayoutText {#text} at (0,0) size 737x19
+                  text run at (0,0) width 737: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
+                LayoutInline {CODE} at (0,0) size 64x16
+                  LayoutText {#text} at (0,23) size 64x16
+                    text run at (0,23) width 64: "diagonal"
+                LayoutText {#text} at (64,20) size 226x19
+                  text run at (64,20) width 226: " is not a valid keyword, making the "
+                LayoutInline {CODE} at (0,0) size 120x16
+                  LayoutText {#text} at (290,23) size 120x16
+                    text run at (290,23) width 120: "text-decoration"
+                LayoutText {#text} at (410,20) size 131x19
+                  text run at (410,20) width 55: " invalid. "
+                  text run at (465,20) width 76: "In addition, "
+                LayoutInline {CODE} at (0,0) size 88x16
+                  LayoutText {#text} at (541,23) size 88x16
+                    text run at (541,23) width 88: "highlighted"
+                LayoutText {#text} at (629,20) size 741x39
+                  text run at (629,20) width 112: " is not a valid part"
+                  text run at (0,40) width 40: "of the "
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (40,43) size 32x16
+                    text run at (40,43) width 32: "font"
+                LayoutText {#text} at (72,40) size 706x39
+                  text run at (72,40) width 178: " property, making it invalid. "
+                  text run at (249,40) width 457: "Therefore, this paragraph's font should be the UA default, and match the"
+                  text run at (0,60) width 129: "previous paragraph. "
+                  text run at (129,60) width 190: "If this is not the case, then the "
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (319,63) size 32x16
+                    text run at (319,63) width 32: "font"
+                LayoutText {#text} at (351,60) size 248x19
+                  text run at (351,60) width 248: " declaration is being improperly parsed."
+              LayoutBlockFlow {P} at (4,1276) size 747x60
+                LayoutText {#text} at (0,0) size 530x19
+                  text run at (0,0) width 501: "The text of this paragraph should be normal size because the selector is invalid. "
+                  text run at (501,0) width 29: "The "
+                LayoutInline {EM} at (0,0) size 100x19
+                  LayoutText {#text} at (530,0) size 100x19
+                    text run at (530,0) width 100: "emphasized text"
+                LayoutText {#text} at (630,0) size 54x19
+                  text run at (630,0) width 54: " and the "
+                LayoutInline {STRONG} at (0,0) size 727x39
+                  LayoutText {#text} at (684,0) size 727x39
+                    text run at (684,0) width 43: "strong"
+                    text run at (0,20) width 25: "text"
+                LayoutText {#text} at (25,20) size 718x39
+                  text run at (25,20) width 693: " within it should also be normal size, since the entire ruleset should be skipped (since in some future version of"
+                  text run at (0,40) width 592: "CSS, there could be an operator within the selector that has higher precedence than a comma)."
+              LayoutBlockFlow {P} at (4,1352) size 747x40
+                LayoutText {#text} at (0,0) size 464x19
+                  text run at (0,0) width 464: "This paragraph should be black, because the line before the declaration is "
+                LayoutInline {STRONG} at (0,0) size 22x19
+                  LayoutText {#text} at (464,0) size 22x19
+                    text run at (464,0) width 22: "not"
+                LayoutText {#text} at (486,0) size 743x39
+                  text run at (486,0) width 257: " a comment and therefore the selector for"
+                  text run at (0,20) width 138: "P.nineteenb is invalid."
+              LayoutBlockFlow {P} at (4,1408) size 747x20 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 470x19
+                  text run at (0,0) width 470: "This paragraph should be blue, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1444) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 478x19
+                  text run at (0,0) width 478: "This paragraph should be green, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1480) size 747x20 [color=#800080]
+                LayoutText {#text} at (0,0) size 483x19
+                  text run at (0,0) width 483: "This paragraph should be purple, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1516) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 478x19
+                  text run at (0,0) width 478: "This paragraph should be green, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1552) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 478x19
+                  text run at (0,0) width 478: "This paragraph should be green, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1588) size 747x20
+                LayoutText {#text} at (48,0) size 601x19
+                  text run at (48,0) width 485: "This paragraph should be indented half an inch, but it should not be maroon. "
+                  text run at (533,0) width 116: "It should be black."
+              LayoutBlockFlow {P} at (4,1624) size 747x40
+                LayoutText {#text} at (0,0) size 728x39
+                  text run at (0,0) width 728: "This paragraph should be black, because the color declaration after the previous ruleset should be considered part of"
+                  text run at (0,20) width 639: "the selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied."
+layer at (8,921) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,913) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font-expected.txt
new file mode 100644
index 0000000..d28ccd4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font-expected.txt
@@ -0,0 +1,231 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 4396
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x4396 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x4396.33
+    LayoutBlockFlow {BODY} at (8,8) size 769x4380.33 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x16
+        LayoutText {#text} at (0,0) size 264x15
+          text run at (0,0) width 264: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,28) size 769x180
+        LayoutText {#text} at (0,0) size 399x180
+          text run at (0,0) width 162: "BODY {font-size: 12px;}"
+          text run at (162,0) width 0: " "
+          text run at (0,15) width 322: ".one {font: italic small-caps 13pt Helvetica;}"
+          text run at (322,15) width 0: " "
+          text run at (0,30) width 203: ".two {font: 150%/150% serif;}"
+          text run at (203,30) width 0: " "
+          text run at (0,45) width 252: ".three {font: 150%/150% sans-serif;}"
+          text run at (252,45) width 0: " "
+          text run at (0,60) width 231: ".four {font: small/200% cursive;}"
+          text run at (231,60) width 0: " "
+          text run at (0,75) width 399: ".five {font: italic small-caps 900 150%/150% sans-serif;}"
+          text run at (399,75) width 0: " "
+          text run at (0,90) width 392: ".six {font: italic small-caps 100 150%/300% sans-serif;}"
+          text run at (392,90) width 0: " "
+          text run at (0,105) width 392: ".seven {font: italic small-caps 900 150%/2em monospace;}"
+          text run at (392,105) width 0: " "
+          text run at (0,120) width 399: ".eight {font: italic small-caps 500 150%/1in sans-serif;}"
+          text run at (399,120) width 0: " "
+          text run at (0,135) width 378: ".nine {font: oblique normal 700 18px/200% sans-serif;}"
+          text run at (378,135) width 0: " "
+          text run at (0,150) width 301: ".ten {font: normal 400 80%/2.5 sans-serif;}"
+          text run at (301,150) width 0: " "
+          text run at (0,165) width 266: "SPAN.color {background-color: silver;}"
+          text run at (266,165) width 0: " "
+      LayoutBlockFlow {P} at (0,234) size 769x16
+        LayoutText {#text} at (0,0) size 706x15
+          text run at (0,0) width 423: "This element is unstyled, and should inherit a font-size of 12px from the BODY element. "
+          text run at (423,0) width 283: "This is the \"base font size\" referred to in the following tests."
+      LayoutBlockFlow {P} at (0,267.33) size 769x21
+        LayoutText {#text} at (0,0) size 496x20
+          text run at (0,0) width 496: "This element should be 13pt. Helvetica which is in small-cap italics."
+      LayoutBlockFlow {P} at (0,306.33) size 769x81
+        LayoutText {#text} at (0,3) size 762x74
+          text run at (0,3) width 282: "This element should be in a serif font. "
+          text run at (282,3) width 480: "Its font-size should be 150% the base font size, and its line-height"
+          text run at (0,30) width 423: "should 150% of that value (18px and 27px, respectively). "
+          text run at (423,30) width 297: "Extra text is included for the purposes of"
+          text run at (0,57) width 207: "testing this more effectively."
+      LayoutBlockFlow {P} at (0,405.33) size 769x81
+        LayoutText {#text} at (0,3) size 760x75
+          text run at (0,3) width 348: "This element should be in a sans-serif font. "
+          text run at (348,3) width 412: "Its font-size should be 150% the base font size, and"
+          text run at (0,30) width 568: "its line-height should 150% of that value (18px and 27px, respectively). "
+          text run at (568,30) width 192: "Extra text is included for"
+          text run at (0,57) width 350: "the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,504.33) size 769x80
+        LayoutText {#text} at (0,4) size 746x44
+          text run at (0,4) width 725: "This element should be in a cursive font, 'small' in size, with a line-height 200% the height of the text's actual size. "
+          text run at (725,4) width 21: "For"
+          text run at (0,30) width 193: "example, if the font-size value "
+        LayoutInline {CODE} at (0,0) size 30x12
+          LayoutText {#text} at (193,35) size 30x12
+            text run at (193,35) width 30: "small"
+        LayoutText {#text} at (223,30) size 736x46
+          text run at (223,30) width 369: " is calculated at 10px, then the line-height should be 20px. "
+          text run at (592,30) width 144: "The actual value of the"
+          text run at (0,58) width 170: "font-size is UA-dependent. "
+          text run at (170,58) width 445: "Extra text is included for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,602.33) size 769x108
+        LayoutText {#text} at (0,3) size 750x102
+          text run at (0,3) width 728: "This element should be in a sans-serif font, italicized and small caps, with a weight of 900. "
+          text run at (727,3) width 23: "Its"
+          text run at (0,30) width 747: "font-size should be 150% the base font size, and its line-height should be 150% of that value"
+          text run at (0,57) width 246: "(18px and 27px, respectively). "
+          text run at (245,57) width 481: "Extra text is included for the purposes of testing this more"
+          text run at (0,84) width 95: "effectively."
+      LayoutBlockFlow {P} at (0,728.33) size 769x216
+        LayoutText {#text} at (0,16) size 745x184
+          text run at (0,16) width 723: "This element should be in a sans-serif font, italicized and small caps, with a weight of 100. "
+          text run at (722,16) width 23: "Its"
+          text run at (0,70) width 743: "font-size should be 150% the base font size, and its line-height should be 300% of that value"
+          text run at (0,124) width 244: "(18px and 54px, respectively). "
+          text run at (243,124) width 480: "Extra text is included for the purposes of testing this more"
+          text run at (0,178) width 93: "effectively."
+      LayoutBlockFlow {P} at (0,962.33) size 769x144
+        LayoutText {#text} at (0,8) size 750x128
+          text run at (0,8) width 750: "This element should be in a monospace font, italicized and small caps, with a weight of"
+          text run at (0,44) width 55: "900. "
+          text run at (55,44) width 687: "Its font-size should be 150% the base font size, and its line-height should be"
+          text run at (0,80) width 618: "2em, or twice the element's font size (18px and 36px, respectively). "
+          text run at (618,80) width 113: "Extra text is"
+          text run at (0,116) width 499: "included for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,1124.33) size 769x288
+        LayoutText {#text} at (0,37) size 745x214
+          text run at (0,37) width 723: "This element should be in a sans-serif font, italicized and small caps, with a weight of 500. "
+          text run at (722,37) width 23: "Its"
+          text run at (0,133) width 693: "font-size should be 150% the base font size, or 18px, and its line-height should be 1in. "
+          text run at (693,133) width 47: "Extra"
+          text run at (0,229) width 525: "text is included for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,1430.33) size 769x144
+        LayoutText {#text} at (0,7) size 752x129
+          text run at (0,7) width 752: "This element should be in a sans-serif font, oblique and not small-caps, with a weight of"
+          text run at (0,43) width 40: "700. "
+          text run at (40,43) width 665: "Its font-size should be 18 pixels, and its line-height should be 36px (200% this"
+          text run at (0,79) width 176: "element's font size). "
+          text run at (176,79) width 500: "Extra text is included for the purposes of testing this more"
+          text run at (0,115) width 92: "effectively."
+      LayoutBlockFlow {P} at (0,1592.33) size 769x46
+        LayoutText {#text} at (0,5) size 754x36
+          text run at (0,5) width 301: "This element should be in a sans-serif font, with a weight of 400. "
+          text run at (301,5) width 453: "Its font-size should be 80% of 12px, or 9.6px, and its line-height shoud be 2.5 times that, or 24px."
+          text run at (0,28) width 318: "Extra text is included for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,1656.33) size 769x270
+        LayoutInline {SPAN} at (0,0) size 759x238 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,16) size 759x238
+            text run at (0,16) width 723: "This element should be in a sans-serif font, italicized and small caps, with a weight of 100. "
+            text run at (722,16) width 23: "Its"
+            text run at (0,70) width 743: "font-size should be 150% the base font size, and its line-height should be 300% of that value"
+            text run at (0,124) width 759: "(18px and 54px, respectively). The text should have a silver background. The background color"
+            text run at (0,178) width 736: "has been set on an inline element and should therefore only cover the text, not the interline"
+            text run at (0,232) width 64: "spacing."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,1944.33) size 769x2436 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x2434
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x2406
+            LayoutTableCell {TD} at (0,1217) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x2406.33 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 732x39
+                  text run at (0,0) width 564: "This element is unstyled, and should inherit a font-size of 12px from the BODY element. "
+                  text run at (564,0) width 168: "This is the \"base font size\""
+                  text run at (0,20) width 204: "referred to in the following tests."
+              LayoutBlockFlow {P} at (4,61.33) size 747x21
+                LayoutText {#text} at (0,0) size 496x20
+                  text run at (0,0) width 496: "This element should be 13pt. Helvetica which is in small-cap italics."
+              LayoutBlockFlow {P} at (4,106.33) size 747x144
+                LayoutText {#text} at (0,4) size 735x135
+                  text run at (0,4) width 374: "This element should be in a serif font. "
+                  text run at (374,4) width 361: "Its font-size should be 150% the base"
+                  text run at (0,40) width 694: "font size, and its line-height should 150% of that value (18px and 27px,"
+                  text run at (0,76) width 138: "respectively). "
+                  text run at (138,76) width 563: "Extra text is included for the purposes of testing this more"
+                  text run at (0,112) width 109: "effectively."
+              LayoutBlockFlow {P} at (4,274.33) size 747x144
+                LayoutText {#text} at (0,4) size 733x135
+                  text run at (0,4) width 461: "This element should be in a sans-serif font. "
+                  text run at (461,4) width 232: "Its font-size should be"
+                  text run at (0,40) width 733: "150% the base font size, and its line-height should 150% of that value"
+                  text run at (0,76) width 324: "(18px and 27px, respectively). "
+                  text run at (324,76) width 399: "Extra text is included for the purposes"
+                  text run at (0,112) width 320: "of testing this more effectively."
+              LayoutBlockFlow {P} at (4,442.33) size 747x80
+                LayoutText {#text} at (0,4) size 746x44
+                  text run at (0,4) width 725: "This element should be in a cursive font, 'small' in size, with a line-height 200% the height of the text's actual size. "
+                  text run at (725,4) width 21: "For"
+                  text run at (0,30) width 193: "example, if the font-size value "
+                LayoutInline {CODE} at (0,0) size 30x12
+                  LayoutText {#text} at (193,35) size 30x12
+                    text run at (193,35) width 30: "small"
+                LayoutText {#text} at (223,30) size 736x46
+                  text run at (223,30) width 369: " is calculated at 10px, then the line-height should be 20px. "
+                  text run at (592,30) width 144: "The actual value of the"
+                  text run at (0,58) width 170: "font-size is UA-dependent. "
+                  text run at (170,58) width 445: "Extra text is included for the purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,546.33) size 747x180
+                LayoutText {#text} at (0,4) size 721x172
+                  text run at (0,4) width 713: "This element should be in a sans-serif font, italicized and small caps,"
+                  text run at (0,40) width 226: "with a weight of 900. "
+                  text run at (226,40) width 495: "Its font-size should be 150% the base font size,"
+                  text run at (0,76) width 669: "and its line-height should be 150% of that value (18px and 27px,"
+                  text run at (0,112) width 147: "respectively). "
+                  text run at (146,112) width 562: "Extra text is included for the purposes of testing this"
+                  text run at (0,148) width 175: "more effectively."
+              LayoutBlockFlow {P} at (4,750.33) size 747x360
+                LayoutText {#text} at (0,22) size 716x316
+                  text run at (0,22) width 701: "This element should be in a sans-serif font, italicized and small caps,"
+                  text run at (0,94) width 225: "with a weight of 100. "
+                  text run at (225,94) width 491: "Its font-size should be 150% the base font size,"
+                  text run at (0,166) width 661: "and its line-height should be 300% of that value (18px and 54px,"
+                  text run at (0,238) width 146: "respectively). "
+                  text run at (145,238) width 560: "Extra text is included for the purposes of testing this"
+                  text run at (0,310) width 174: "more effectively."
+              LayoutBlockFlow {P} at (4,1134.33) size 747x156
+                LayoutText {#text} at (0,8) size 740x140
+                  text run at (0,8) width 740: "This element should be in a monospace font, italicized and small caps, with a weight"
+                  text run at (0,47) width 88: "of 900. "
+                  text run at (88,47) width 620: "Its font-size should be 150% the base font size, and its line-height"
+                  text run at (0,86) width 716: "should be 2em, or twice the element's font size (18px and 36px, respectively)."
+                  text run at (0,125) width 636: "Extra text is included for the purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,1314.33) size 747x384
+                LayoutText {#text} at (0,34) size 739x316
+                  text run at (0,34) width 701: "This element should be in a sans-serif font, italicized and small caps,"
+                  text run at (0,130) width 225: "with a weight of 500. "
+                  text run at (225,130) width 491: "Its font-size should be 150% the base font size,"
+                  text run at (0,226) width 433: "or 18px, and its line-height should be 1in. "
+                  text run at (433,226) width 306: "Extra text is included for the"
+                  text run at (0,322) width 427: "purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,1722.33) size 747x144
+                LayoutText {#text} at (0,7) size 730x129
+                  text run at (0,7) width 730: "This element should be in a sans-serif font, oblique and not small-caps, with a weight"
+                  text run at (0,43) width 62: "of 700. "
+                  text run at (62,43) width 665: "Its font-size should be 18 pixels, and its line-height should be 36px (200% this"
+                  text run at (0,79) width 176: "element's font size). "
+                  text run at (176,79) width 500: "Extra text is included for the purposes of testing this more"
+                  text run at (0,115) width 92: "effectively."
+              LayoutBlockFlow {P} at (4,1884.33) size 747x62
+                LayoutText {#text} at (0,7) size 714x47
+                  text run at (0,7) width 378: "This element should be in a sans-serif font, with a weight of 400. "
+                  text run at (378,7) width 336: "Its font-size should be 80% of 12px, or 9.6px, and its line-"
+                  text run at (0,38) width 235: "height shoud be 2.5 times that, or 24px. "
+                  text run at (235,38) width 404: "Extra text is included for the purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,1970.33) size 747x432
+                LayoutInline {SPAN} at (0,0) size 747x388 [bgcolor=#C0C0C0]
+                  LayoutText {#text} at (0,22) size 747x388
+                    text run at (0,22) width 701: "This element should be in a sans-serif font, italicized and small caps,"
+                    text run at (0,94) width 225: "with a weight of 100. "
+                    text run at (225,94) width 491: "Its font-size should be 150% the base font size,"
+                    text run at (0,166) width 661: "and its line-height should be 300% of that value (18px and 54px,"
+                    text run at (0,238) width 747: "respectively). The text should have a silver background. The background"
+                    text run at (0,310) width 743: "color has been set on an inline element and should therefore only cover"
+                    text run at (0,382) width 353: "the text, not the interline spacing."
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,228) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,220) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_family-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_family-expected.txt
new file mode 100644
index 0000000..1dc1fa4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_family-expected.txt
@@ -0,0 +1,140 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1324
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1324 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1324
+    LayoutBlockFlow {BODY} at (8,8) size 769x1308 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x144
+        LayoutText {#text} at (0,0) size 312x144
+          text run at (0,0) width 216: "DIV.a {font-family: serif;}"
+          text run at (216,0) width 0: " "
+          text run at (0,16) width 248: "DIV.b {font-family: monospace;}"
+          text run at (248,16) width 0: " "
+          text run at (0,32) width 208: ".one {font-family: serif;}"
+          text run at (208,32) width 0: " "
+          text run at (0,48) width 248: ".two {font-family: sans-serif;}"
+          text run at (248,48) width 0: " "
+          text run at (0,64) width 240: ".three {font-family: cursive;}"
+          text run at (240,64) width 0: " "
+          text run at (0,80) width 232: ".four {font-family: fantasy;}"
+          text run at (232,80) width 0: " "
+          text run at (0,96) width 248: ".five {font-family: monospace;}"
+          text run at (248,96) width 0: " "
+          text run at (0,112) width 312: ".six {font-family: sans-serif,cursive;}"
+          text run at (312,112) width 0: " "
+          text run at (0,128) width 304: ".seven {font-family: monospace,serif;}"
+          text run at (304,128) width 0: " "
+      LayoutBlockFlow {DIV} at (0,211) size 769x198
+        LayoutBlockFlow {P} at (0,0) size 769x20
+          LayoutText {#text} at (0,0) size 638x19
+            text run at (0,0) width 638: "This sentence is normal for the first division, which is the next five sentences; it should be a serif font."
+        LayoutBlockFlow {P} at (0,36) size 769x20
+          LayoutText {#text} at (0,0) size 242x19
+            text run at (0,0) width 242: "This sentence should be in a serif font."
+        LayoutBlockFlow {P} at (0,72) size 769x19
+          LayoutText {#text} at (0,0) size 311x18
+            text run at (0,0) width 311: "This sentence should be in a sans-serif font."
+        LayoutBlockFlow {P} at (0,107) size 769x23
+          LayoutText {#text} at (0,0) size 308x23
+            text run at (0,0) width 308: "This sentence should be in a cursive font."
+        LayoutBlockFlow {P} at (0,146) size 769x20
+          LayoutText {#text} at (0,0) size 268x20
+            text run at (0,0) width 268: "This sentence should be in a fantasy font."
+        LayoutBlockFlow {P} at (0,182) size 769x16
+          LayoutText {#text} at (0,0) size 352x16
+            text run at (0,0) width 352: "This sentence should be in a monospace font."
+      LayoutBlockFlow {P} at (0,440) size 769x19
+        LayoutText {#text} at (0,0) size 396x18
+          text run at (0,0) width 396: "This sentence should be in a sans-serif font, not cursive."
+      LayoutBlockFlow {P} at (0,475) size 769x18
+        LayoutText {#text} at (0,0) size 550x18
+          text run at (0,0) width 550: "This sentence should be in a monospace font, not serif."
+      LayoutBlockFlow {DIV} at (0,524) size 769x210
+        LayoutBlockFlow {P} at (0,0) size 769x32
+          LayoutText {#text} at (0,0) size 768x32
+            text run at (0,0) width 768: "This sentence is normal for the first division, which is the next five sentences; it should be a"
+            text run at (0,16) width 120: "monospace font."
+        LayoutBlockFlow {P} at (0,48) size 769x20
+          LayoutText {#text} at (0,0) size 242x19
+            text run at (0,0) width 242: "This sentence should be in a serif font."
+        LayoutBlockFlow {P} at (0,84) size 769x19
+          LayoutText {#text} at (0,0) size 311x18
+            text run at (0,0) width 311: "This sentence should be in a sans-serif font."
+        LayoutBlockFlow {P} at (0,119) size 769x23
+          LayoutText {#text} at (0,0) size 308x23
+            text run at (0,0) width 308: "This sentence should be in a cursive font."
+        LayoutBlockFlow {P} at (0,158) size 769x20
+          LayoutText {#text} at (0,0) size 268x20
+            text run at (0,0) width 268: "This sentence should be in a fantasy font."
+        LayoutBlockFlow {P} at (0,194) size 769x16
+          LayoutText {#text} at (0,0) size 352x16
+            text run at (0,0) width 352: "This sentence should be in a monospace font."
+      LayoutTable {TABLE} at (0,747) size 769x561 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x559
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x531
+            LayoutTableCell {TD} at (0,279) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x531 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (4,4) size 747x198
+                LayoutBlockFlow {P} at (0,0) size 747x20
+                  LayoutText {#text} at (0,0) size 638x19
+                    text run at (0,0) width 638: "This sentence is normal for the first division, which is the next five sentences; it should be a serif font."
+                LayoutBlockFlow {P} at (0,36) size 747x20
+                  LayoutText {#text} at (0,0) size 242x19
+                    text run at (0,0) width 242: "This sentence should be in a serif font."
+                LayoutBlockFlow {P} at (0,72) size 747x19
+                  LayoutText {#text} at (0,0) size 311x18
+                    text run at (0,0) width 311: "This sentence should be in a sans-serif font."
+                LayoutBlockFlow {P} at (0,107) size 747x23
+                  LayoutText {#text} at (0,0) size 308x23
+                    text run at (0,0) width 308: "This sentence should be in a cursive font."
+                LayoutBlockFlow {P} at (0,146) size 747x20
+                  LayoutText {#text} at (0,0) size 268x20
+                    text run at (0,0) width 268: "This sentence should be in a fantasy font."
+                LayoutBlockFlow {P} at (0,182) size 747x16
+                  LayoutText {#text} at (0,0) size 352x16
+                    text run at (0,0) width 352: "This sentence should be in a monospace font."
+              LayoutBlockFlow {P} at (4,233) size 747x19
+                LayoutText {#text} at (0,0) size 396x18
+                  text run at (0,0) width 396: "This sentence should be in a sans-serif font, not cursive."
+              LayoutBlockFlow {P} at (4,268) size 747x18
+                LayoutText {#text} at (0,0) size 550x18
+                  text run at (0,0) width 550: "This sentence should be in a monospace font, not serif."
+              LayoutBlockFlow {DIV} at (4,317) size 747x210
+                LayoutBlockFlow {P} at (0,0) size 747x32
+                  LayoutText {#text} at (0,0) size 728x32
+                    text run at (0,0) width 728: "This sentence is normal for the first division, which is the next five sentences; it should"
+                    text run at (0,16) width 160: "be a monospace font."
+                LayoutBlockFlow {P} at (0,48) size 747x20
+                  LayoutText {#text} at (0,0) size 242x19
+                    text run at (0,0) width 242: "This sentence should be in a serif font."
+                LayoutBlockFlow {P} at (0,84) size 747x19
+                  LayoutText {#text} at (0,0) size 311x18
+                    text run at (0,0) width 311: "This sentence should be in a sans-serif font."
+                LayoutBlockFlow {P} at (0,119) size 747x23
+                  LayoutText {#text} at (0,0) size 308x23
+                    text run at (0,0) width 308: "This sentence should be in a cursive font."
+                LayoutBlockFlow {P} at (0,158) size 747x20
+                  LayoutText {#text} at (0,0) size 268x20
+                    text run at (0,0) width 268: "This sentence should be in a fantasy font."
+                LayoutBlockFlow {P} at (0,194) size 747x16
+                  LayoutText {#text} at (0,0) size 352x16
+                    text run at (0,0) width 352: "This sentence should be in a monospace font."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,430) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,422) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,517) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,509) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (25,999) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,215) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1086) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,302) size 747x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_size-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_size-expected.txt
new file mode 100644
index 0000000..9214ad4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_size-expected.txt
@@ -0,0 +1,259 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2877
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2877 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2877.27
+    LayoutBlockFlow {BODY} at (8,8) size 769x2861.27 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x320
+        LayoutText {#text} at (0,0) size 224x320
+          text run at (0,0) width 200: ".one {font-size: medium;}"
+          text run at (200,0) width 0: " "
+          text run at (0,16) width 200: ".two {font-size: larger;}"
+          text run at (200,16) width 0: " "
+          text run at (0,32) width 224: ".three {font-size: smaller;}"
+          text run at (224,32) width 0: " "
+          text run at (0,48) width 224: ".four {font-size: xx-small;}"
+          text run at (224,48) width 0: " "
+          text run at (0,64) width 216: ".five {font-size: x-small;}"
+          text run at (216,64) width 0: " "
+          text run at (0,80) width 192: ".six {font-size: small;}"
+          text run at (192,80) width 0: " "
+          text run at (0,96) width 208: ".seven {font-size: large;}"
+          text run at (208,96) width 0: " "
+          text run at (0,112) width 224: ".eight {font-size: x-large;}"
+          text run at (224,112) width 0: " "
+          text run at (0,128) width 224: ".nine {font-size: xx-large;}"
+          text run at (224,128) width 0: " "
+          text run at (0,144) width 176: ".a {font-size: 0.5in;}"
+          text run at (176,144) width 0: " "
+          text run at (0,160) width 160: ".b {font-size: 1cm;}"
+          text run at (160,160) width 0: " "
+          text run at (0,176) width 168: ".c {font-size: 10mm;}"
+          text run at (168,176) width 0: " "
+          text run at (0,192) width 168: ".d {font-size: 18pt;}"
+          text run at (168,192) width 0: " "
+          text run at (0,208) width 176: ".e {font-size: 1.5pc;}"
+          text run at (176,208) width 0: " "
+          text run at (0,224) width 160: ".f {font-size: 2em;}"
+          text run at (160,224) width 0: " "
+          text run at (0,240) width 160: ".g {font-size: 3ex;}"
+          text run at (160,240) width 0: " "
+          text run at (0,256) width 168: ".h {font-size: 25px;}"
+          text run at (168,256) width 0: " "
+          text run at (0,272) width 168: ".i {font-size: 200%;}"
+          text run at (168,272) width 0: " "
+          text run at (0,288) width 184: ".j {font-size: -0.5in;}"
+          text run at (184,288) width 0: " "
+          text run at (0,304) width 0: " "
+      LayoutBlockFlow {P} at (0,387) size 769x20
+        LayoutText {#text} at (0,0) size 688x19
+          text run at (0,0) width 688: "This paragraph element is unstyled, so the size of the font in this element is the default size for this user agent."
+      LayoutBlockFlow {P} at (0,423) size 769x20
+        LayoutText {#text} at (0,0) size 186x19
+          text run at (0,0) width 186: "This sentence has been set to "
+        LayoutInline {CODE} at (0,0) size 48x16
+          LayoutText {#text} at (186,3) size 48x16
+            text run at (186,3) width 48: "medium"
+        LayoutText {#text} at (234,0) size 361x19
+          text run at (234,0) width 361: ", which may or may not be the same size as unstyled text."
+      LayoutBlockFlow {P} at (0,462.19) size 769x22
+        LayoutText {#text} at (0,0) size 377x21
+          text run at (0,0) width 377: "This sentence should be larger than unstyled text."
+      LayoutBlockFlow {P} at (0,503.38) size 769x16
+        LayoutText {#text} at (0,0) size 276x15
+          text run at (0,0) width 276: "This sentence should be smaller than unstyled text."
+      LayoutBlockFlow {P} at (0,532.70) size 769x20
+        LayoutText {#text} at (0,5) size 305x12
+          text run at (0,5) width 305: "This sentence should be very small, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 51x19
+          LayoutText {#text} at (305,0) size 51x19
+            text run at (305,0) width 51: "medium"
+        LayoutText {#text} at (356,5) size 2x12
+          text run at (356,5) width 2: "."
+      LayoutBlockFlow {P} at (0,562.70) size 769x20
+        LayoutText {#text} at (0,5) size 327x12
+          text run at (0,5) width 327: "This sentence should be rather small, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 51x19
+          LayoutText {#text} at (327,0) size 51x19
+            text run at (327,0) width 51: "medium"
+        LayoutText {#text} at (378,5) size 3x12
+          text run at (378,5) width 3: "."
+      LayoutBlockFlow {P} at (0,595.70) size 769x20
+        LayoutText {#text} at (0,3) size 401x15
+          text run at (0,3) width 401: "This sentence should be small, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 51x19
+          LayoutText {#text} at (401,0) size 51x19
+            text run at (401,0) width 51: "medium"
+        LayoutText {#text} at (452,3) size 3x15
+          text run at (452,3) width 3: "."
+      LayoutBlockFlow {P} at (0,633.70) size 769x21
+        LayoutText {#text} at (0,0) size 540x20
+          text run at (0,0) width 540: "This sentence should be large, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 52x19
+          LayoutText {#text} at (539,1) size 52x19
+            text run at (539,1) width 52: "medium"
+        LayoutText {#text} at (590,0) size 6x20
+          text run at (590,0) width 6: "."
+      LayoutBlockFlow {P} at (0,678.70) size 769x56
+        LayoutText {#text} at (0,0) size 745x55
+          text run at (0,0) width 745: "This sentence should be rather large, but the last word in the sentence should"
+          text run at (0,28) width 29: "be "
+        LayoutInline {SPAN} at (0,0) size 51x19
+          LayoutText {#text} at (29,34) size 51x19
+            text run at (29,34) width 51: "medium"
+        LayoutText {#text} at (80,28) size 6x27
+          text run at (80,28) width 6: "."
+      LayoutBlockFlow {P} at (0,766.70) size 769x74
+        LayoutText {#text} at (0,0) size 752x73
+          text run at (0,0) width 752: "This sentence should be very large, but the last word in the"
+          text run at (0,37) width 248: "sentence should be "
+        LayoutInline {SPAN} at (0,0) size 51x19
+          LayoutText {#text} at (248,50) size 51x19
+            text run at (248,50) width 51: "medium"
+        LayoutText {#text} at (299,37) size 8x36
+          text run at (299,37) width 8: "."
+      LayoutBlockFlow {P} at (0,888.70) size 769x114
+        LayoutText {#text} at (0,1) size 695x112
+          text run at (0,1) width 695: "This sentence should be half an inch"
+          text run at (0,58) width 72: "tall."
+      LayoutBlockFlow {P} at (0,1050.70) size 769x45
+        LayoutText {#text} at (0,1) size 676x43
+          text run at (0,1) width 676: "This sentence should be one centimeter tall."
+      LayoutBlockFlow {P} at (0,1133.48) size 769x45
+        LayoutText {#text} at (0,1) size 682x43
+          text run at (0,1) width 682: "This sentence should be ten millimeters tall."
+      LayoutBlockFlow {P} at (0,1216.27) size 769x28
+        LayoutText {#text} at (0,0) size 430x27
+          text run at (0,0) width 430: "This sentence should be eighteen points tall."
+      LayoutBlockFlow {P} at (0,1268.27) size 769x28
+        LayoutText {#text} at (0,0) size 499x27
+          text run at (0,0) width 499: "This sentence should be one and one half picas tall."
+      LayoutBlockFlow {P} at (0,1328.27) size 769x37
+        LayoutText {#text} at (0,0) size 465x36
+          text run at (0,0) width 465: "This sentence should be two em tall."
+      LayoutBlockFlow {P} at (0,1397.27) size 769x24
+        LayoutText {#text} at (0,0) size 312x23
+          text run at (0,0) width 312: "This sentence should be three ex tall."
+      LayoutBlockFlow {P} at (0,1446.27) size 769x30
+        LayoutText {#text} at (0,0) size 476x29
+          text run at (0,0) width 476: "This sentence should be twenty-five pixels tall."
+      LayoutBlockFlow {P} at (0,1508.27) size 769x37
+        LayoutText {#text} at (0,0) size 546x36
+          text run at (0,0) width 546: "This sentence should be twice normal size."
+      LayoutBlockFlow {P} at (0,1577.27) size 769x20
+        LayoutText {#text} at (0,0) size 673x19
+          text run at (0,0) width 673: "This sentence should be normal size, since no negative values are allowed and therefore should be ignored."
+      LayoutTable {TABLE} at (0,1613.27) size 769x1248 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1246
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1218
+            LayoutTableCell {TD} at (0,623) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1218.27 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 688x19
+                  text run at (0,0) width 688: "This paragraph element is unstyled, so the size of the font in this element is the default size for this user agent."
+              LayoutBlockFlow {P} at (4,40) size 747x20
+                LayoutText {#text} at (0,0) size 186x19
+                  text run at (0,0) width 186: "This sentence has been set to "
+                LayoutInline {CODE} at (0,0) size 48x16
+                  LayoutText {#text} at (186,3) size 48x16
+                    text run at (186,3) width 48: "medium"
+                LayoutText {#text} at (234,0) size 361x19
+                  text run at (234,0) width 361: ", which may or may not be the same size as unstyled text."
+              LayoutBlockFlow {P} at (4,79.19) size 747x22
+                LayoutText {#text} at (0,0) size 377x21
+                  text run at (0,0) width 377: "This sentence should be larger than unstyled text."
+              LayoutBlockFlow {P} at (4,120.38) size 747x16
+                LayoutText {#text} at (0,0) size 276x15
+                  text run at (0,0) width 276: "This sentence should be smaller than unstyled text."
+              LayoutBlockFlow {P} at (4,149.70) size 747x20
+                LayoutText {#text} at (0,5) size 305x12
+                  text run at (0,5) width 305: "This sentence should be very small, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 51x19
+                  LayoutText {#text} at (305,0) size 51x19
+                    text run at (305,0) width 51: "medium"
+                LayoutText {#text} at (356,5) size 2x12
+                  text run at (356,5) width 2: "."
+              LayoutBlockFlow {P} at (4,179.70) size 747x20
+                LayoutText {#text} at (0,5) size 327x12
+                  text run at (0,5) width 327: "This sentence should be rather small, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 51x19
+                  LayoutText {#text} at (327,0) size 51x19
+                    text run at (327,0) width 51: "medium"
+                LayoutText {#text} at (378,5) size 3x12
+                  text run at (378,5) width 3: "."
+              LayoutBlockFlow {P} at (4,212.70) size 747x20
+                LayoutText {#text} at (0,3) size 401x15
+                  text run at (0,3) width 401: "This sentence should be small, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 51x19
+                  LayoutText {#text} at (401,0) size 51x19
+                    text run at (401,0) width 51: "medium"
+                LayoutText {#text} at (452,3) size 3x15
+                  text run at (452,3) width 3: "."
+              LayoutBlockFlow {P} at (4,250.70) size 747x21
+                LayoutText {#text} at (0,0) size 540x20
+                  text run at (0,0) width 540: "This sentence should be large, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 52x19
+                  LayoutText {#text} at (539,1) size 52x19
+                    text run at (539,1) width 52: "medium"
+                LayoutText {#text} at (590,0) size 6x20
+                  text run at (590,0) width 6: "."
+              LayoutBlockFlow {P} at (4,295.70) size 747x56
+                LayoutText {#text} at (0,0) size 745x55
+                  text run at (0,0) width 745: "This sentence should be rather large, but the last word in the sentence should"
+                  text run at (0,28) width 29: "be "
+                LayoutInline {SPAN} at (0,0) size 51x19
+                  LayoutText {#text} at (29,34) size 51x19
+                    text run at (29,34) width 51: "medium"
+                LayoutText {#text} at (80,28) size 6x27
+                  text run at (80,28) width 6: "."
+              LayoutBlockFlow {P} at (4,383.70) size 747x74
+                LayoutText {#text} at (0,0) size 705x73
+                  text run at (0,0) width 705: "This sentence should be very large, but the last word in"
+                  text run at (0,37) width 295: "the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 51x19
+                  LayoutText {#text} at (295,50) size 51x19
+                    text run at (295,50) width 51: "medium"
+                LayoutText {#text} at (346,37) size 8x36
+                  text run at (346,37) width 8: "."
+              LayoutBlockFlow {P} at (4,505.70) size 747x114
+                LayoutText {#text} at (0,1) size 695x112
+                  text run at (0,1) width 695: "This sentence should be half an inch"
+                  text run at (0,58) width 72: "tall."
+              LayoutBlockFlow {P} at (4,667.70) size 747x45
+                LayoutText {#text} at (0,1) size 676x43
+                  text run at (0,1) width 676: "This sentence should be one centimeter tall."
+              LayoutBlockFlow {P} at (4,750.48) size 747x45
+                LayoutText {#text} at (0,1) size 682x43
+                  text run at (0,1) width 682: "This sentence should be ten millimeters tall."
+              LayoutBlockFlow {P} at (4,833.27) size 747x28
+                LayoutText {#text} at (0,0) size 430x27
+                  text run at (0,0) width 430: "This sentence should be eighteen points tall."
+              LayoutBlockFlow {P} at (4,885.27) size 747x28
+                LayoutText {#text} at (0,0) size 499x27
+                  text run at (0,0) width 499: "This sentence should be one and one half picas tall."
+              LayoutBlockFlow {P} at (4,945.27) size 747x37
+                LayoutText {#text} at (0,0) size 465x36
+                  text run at (0,0) width 465: "This sentence should be two em tall."
+              LayoutBlockFlow {P} at (4,1014.27) size 747x24
+                LayoutText {#text} at (0,0) size 312x23
+                  text run at (0,0) width 312: "This sentence should be three ex tall."
+              LayoutBlockFlow {P} at (4,1063.27) size 747x30
+                LayoutText {#text} at (0,0) size 476x29
+                  text run at (0,0) width 476: "This sentence should be twenty-five pixels tall."
+              LayoutBlockFlow {P} at (4,1125.27) size 747x37
+                LayoutText {#text} at (0,0) size 546x36
+                  text run at (0,0) width 546: "This sentence should be twice normal size."
+              LayoutBlockFlow {P} at (4,1194.27) size 747x20
+                LayoutText {#text} at (0,0) size 673x19
+                  text run at (0,0) width 673: "This sentence should be normal size, since no negative values are allowed and therefore should be ignored."
+layer at (8,377) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,369) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_style-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_style-expected.txt
new file mode 100644
index 0000000..29f5108
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_style-expected.txt
@@ -0,0 +1,63 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 248x64
+          text run at (0,0) width 208: ".one {font-style: italic;}"
+          text run at (208,0) width 0: " "
+          text run at (0,16) width 216: ".two {font-style: oblique;}"
+          text run at (216,16) width 0: " "
+          text run at (0,32) width 248: ".three, I {font-style: normal;}"
+          text run at (248,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x20
+        LayoutText {#text} at (0,0) size 501x19
+          text run at (0,0) width 501: "This paragraph should be in italics, but the last word of the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 45x19
+          LayoutText {#text} at (500,0) size 45x19
+            text run at (500,0) width 45: "normal"
+        LayoutText {#text} at (544,0) size 5x19
+          text run at (544,0) width 5: "."
+      LayoutBlockFlow {P} at (0,167) size 784x20
+        LayoutText {#text} at (0,0) size 219x19
+          text run at (0,0) width 219: "This paragraph should be oblique."
+      LayoutBlockFlow {P} at (0,203) size 784x20
+        LayoutInline {I} at (0,0) size 212x19
+          LayoutText {#text} at (0,0) size 212x19
+            text run at (0,0) width 212: "This paragraph should be normal."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,239) size 571x130 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 569x128
+          LayoutTableRow {TR} at (0,0) size 569x28
+            LayoutTableCell {TD} at (0,0) size 569x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 569x100
+            LayoutTableCell {TD} at (0,64) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 557x100 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 549x20
+                LayoutText {#text} at (0,0) size 501x19
+                  text run at (0,0) width 501: "This paragraph should be in italics, but the last word of the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 45x19
+                  LayoutText {#text} at (500,0) size 45x19
+                    text run at (500,0) width 45: "normal"
+                LayoutText {#text} at (544,0) size 5x19
+                  text run at (544,0) width 5: "."
+              LayoutBlockFlow {P} at (4,40) size 549x20
+                LayoutText {#text} at (0,0) size 219x19
+                  text run at (0,0) width 219: "This paragraph should be oblique."
+              LayoutBlockFlow {P} at (4,76) size 549x20
+                LayoutInline {I} at (0,0) size 212x19
+                  LayoutText {#text} at (0,0) size 212x19
+                    text run at (0,0) width 212: "This paragraph should be normal."
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt
new file mode 100644
index 0000000..84032c44
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt
@@ -0,0 +1,51 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 256x48
+          text run at (0,0) width 256: ".one {font-variant: small-caps;}"
+          text run at (256,0) width 0: " "
+          text run at (0,16) width 224: ".two {font-variant: normal;}"
+          text run at (224,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x20
+        LayoutText {#text} at (0,0) size 268x19
+          text run at (0,0) width 268: "This Paragraph should be in Small Caps."
+      LayoutBlockFlow {P} at (0,151) size 784x20
+        LayoutText {#text} at (0,0) size 574x19
+          text run at (0,0) width 574: "This Paragraph should be in Small Caps, but the Last Word in the Sentence should be "
+        LayoutInline {SPAN} at (0,0) size 48x19
+          LayoutText {#text} at (574,0) size 48x19
+            text run at (574,0) width 48: "Normal"
+        LayoutText {#text} at (622,0) size 4x19
+          text run at (622,0) width 4: "."
+      LayoutTable {TABLE} at (0,187) size 648x94 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 646x92
+          LayoutTableRow {TR} at (0,0) size 646x28
+            LayoutTableCell {TD} at (0,0) size 646x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 646x64
+            LayoutTableCell {TD} at (0,46) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 634x64 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 626x20
+                LayoutText {#text} at (0,0) size 268x19
+                  text run at (0,0) width 268: "This Paragraph should be in Small Caps."
+              LayoutBlockFlow {P} at (4,40) size 626x20
+                LayoutText {#text} at (0,0) size 574x19
+                  text run at (0,0) width 574: "This Paragraph should be in Small Caps, but the Last Word in the Sentence should be "
+                LayoutInline {SPAN} at (0,0) size 48x19
+                  LayoutText {#text} at (574,0) size 48x19
+                    text run at (574,0) width 48: "Normal"
+                LayoutText {#text} at (622,0) size 4x19
+                  text run at (622,0) width 4: "."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_weight-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_weight-expected.txt
new file mode 100644
index 0000000..b4ddb2ef
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/font_properties/font_weight-expected.txt
@@ -0,0 +1,125 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1105
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1105 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1104.80
+    LayoutBlockFlow {BODY} at (8,8) size 769x1088.80 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x176
+        LayoutText {#text} at (0,0) size 240x176
+          text run at (0,0) width 200: ".one {font-weight: bold;}"
+          text run at (200,0) width 0: " "
+          text run at (0,16) width 216: ".two {font-weight: bolder;}"
+          text run at (216,16) width 0: " "
+          text run at (0,32) width 240: ".three {font-weight: lighter;}"
+          text run at (240,32) width 0: " "
+          text run at (0,48) width 200: ".four {font-weight: 100;}"
+          text run at (200,48) width 0: " "
+          text run at (0,64) width 200: ".five {font-weight: 300;}"
+          text run at (200,64) width 0: " "
+          text run at (0,80) width 192: ".six {font-weight: 500;}"
+          text run at (192,80) width 0: " "
+          text run at (0,96) width 208: ".seven {font-weight: 700;}"
+          text run at (208,96) width 0: " "
+          text run at (0,112) width 208: ".eight {font-weight: 900;}"
+          text run at (208,112) width 0: " "
+          text run at (0,128) width 224: ".nine {font-weight: normal;}"
+          text run at (224,128) width 0: " "
+          text run at (0,144) width 200: "B {font-weight: lighter;}"
+          text run at (200,144) width 0: " "
+          text run at (0,160) width 0: " "
+      LayoutBlockFlow {P} at (0,243) size 769x20
+        LayoutText {#text} at (0,0) size 198x19
+          text run at (0,0) width 198: "This sentence should be bold."
+      LayoutBlockFlow {P} at (0,279) size 769x20
+        LayoutText {#text} at (0,0) size 300x19
+          text run at (0,0) width 300: "This sentence should be bolder than normal."
+      LayoutBlockFlow {H4} at (0,320.27) size 769x20
+        LayoutText {#text} at (0,0) size 131x19
+          text run at (0,0) width 131: "This is a heading-4."
+      LayoutBlockFlow {H4} at (0,361.53) size 769x20
+        LayoutText {#text} at (0,0) size 179x19
+          text run at (0,0) width 179: "This is a bolder heading-4."
+      LayoutBlockFlow {P} at (0,402.80) size 769x20
+        LayoutInline {B} at (0,0) size 353x19
+          LayoutText {#text} at (0,0) size 353x19
+            text run at (0,0) width 353: "This sentence should be normal (boldface made lighter)."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,438.80) size 769x20
+        LayoutText {#text} at (0,0) size 230x19
+          text run at (0,0) width 230: "This sentence should be weight 100."
+      LayoutBlockFlow {P} at (0,474.80) size 769x20
+        LayoutText {#text} at (0,0) size 230x19
+          text run at (0,0) width 230: "This sentence should be weight 300."
+      LayoutBlockFlow {P} at (0,510.80) size 769x20
+        LayoutText {#text} at (0,0) size 230x19
+          text run at (0,0) width 230: "This sentence should be weight 500."
+      LayoutBlockFlow {P} at (0,546.80) size 769x20
+        LayoutText {#text} at (0,0) size 241x19
+          text run at (0,0) width 241: "This sentence should be weight 700."
+      LayoutBlockFlow {P} at (0,582.80) size 769x20
+        LayoutText {#text} at (0,0) size 241x19
+          text run at (0,0) width 241: "This sentence should be weight 900."
+      LayoutBlockFlow {P} at (0,618.80) size 769x20
+        LayoutText {#text} at (0,0) size 493x19
+          text run at (0,0) width 493: "This sentence should be bold, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 44x19
+          LayoutText {#text} at (493,0) size 44x19
+            text run at (493,0) width 44: "normal"
+        LayoutText {#text} at (537,0) size 4x19
+          text run at (537,0) width 4: "."
+      LayoutTable {TABLE} at (0,654.80) size 563x434 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 561x432
+          LayoutTableRow {TR} at (0,0) size 561x28
+            LayoutTableCell {TD} at (0,0) size 561x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 561x404
+            LayoutTableCell {TD} at (0,216) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 549x403.80 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 541x20
+                LayoutText {#text} at (0,0) size 198x19
+                  text run at (0,0) width 198: "This sentence should be bold."
+              LayoutBlockFlow {P} at (4,40) size 541x20
+                LayoutText {#text} at (0,0) size 300x19
+                  text run at (0,0) width 300: "This sentence should be bolder than normal."
+              LayoutBlockFlow {H4} at (4,81.27) size 541x20
+                LayoutText {#text} at (0,0) size 131x19
+                  text run at (0,0) width 131: "This is a heading-4."
+              LayoutBlockFlow {H4} at (4,122.53) size 541x20
+                LayoutText {#text} at (0,0) size 179x19
+                  text run at (0,0) width 179: "This is a bolder heading-4."
+              LayoutBlockFlow {P} at (4,163.80) size 541x20
+                LayoutInline {B} at (0,0) size 353x19
+                  LayoutText {#text} at (0,0) size 353x19
+                    text run at (0,0) width 353: "This sentence should be normal (boldface made lighter)."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,199.80) size 541x20
+                LayoutText {#text} at (0,0) size 230x19
+                  text run at (0,0) width 230: "This sentence should be weight 100."
+              LayoutBlockFlow {P} at (4,235.80) size 541x20
+                LayoutText {#text} at (0,0) size 230x19
+                  text run at (0,0) width 230: "This sentence should be weight 300."
+              LayoutBlockFlow {P} at (4,271.80) size 541x20
+                LayoutText {#text} at (0,0) size 230x19
+                  text run at (0,0) width 230: "This sentence should be weight 500."
+              LayoutBlockFlow {P} at (4,307.80) size 541x20
+                LayoutText {#text} at (0,0) size 241x19
+                  text run at (0,0) width 241: "This sentence should be weight 700."
+              LayoutBlockFlow {P} at (4,343.80) size 541x20
+                LayoutText {#text} at (0,0) size 241x19
+                  text run at (0,0) width 241: "This sentence should be weight 900."
+              LayoutBlockFlow {P} at (4,379.80) size 541x20
+                LayoutText {#text} at (0,0) size 493x19
+                  text run at (0,0) width 493: "This sentence should be bold, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 44x19
+                  LayoutText {#text} at (493,0) size 44x19
+                    text run at (493,0) width 44: "normal"
+                LayoutText {#text} at (537,0) size 4x19
+                  text run at (537,0) width 4: "."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/canvas-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/canvas-expected.txt
new file mode 100644
index 0000000..a027deb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/canvas-expected.txt
@@ -0,0 +1,42 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (25,25) size 750x550 [bgcolor=#008000]
+      LayoutBlockFlow {P} at (0,0) size 750x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 750x32
+        LayoutText {#text} at (0,0) size 552x32
+          text run at (0,0) width 240: "HTML {background-color: aqua;}"
+          text run at (240,0) width 0: " "
+          text run at (0,16) width 552: "BODY {background-color: green; background-image: none; margin: 25px;}"
+          text run at (552,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 750x60
+        LayoutText {#text} at (0,0) size 737x59
+          text run at (0,0) width 387: "The body of this document should have a green background. "
+          text run at (387,0) width 308: "It also has a margin of 25 pixels, so the light blue"
+          text run at (0,20) width 430: "background set for the HTML element should surround the BODY. "
+          text run at (429,20) width 308: "If the BODY content is significantly shorter than"
+          text run at (0,40) width 519: "the browser's window height, then the bottom border may be larger than 25 pixels."
+      LayoutTable {TABLE} at (0,175) size 750x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 748x96
+          LayoutTableRow {TR} at (0,0) size 748x28
+            LayoutTableCell {TD} at (0,0) size 748x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 748x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 736x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 728x60
+                LayoutText {#text} at (0,0) size 706x59
+                  text run at (0,0) width 387: "The body of this document should have a green background. "
+                  text run at (387,0) width 308: "It also has a margin of 25 pixels, so the light blue"
+                  text run at (0,20) width 430: "background set for the HTML element should surround the BODY. "
+                  text run at (429,20) width 277: "If the BODY content is significantly shorter"
+                  text run at (0,40) width 550: "than the browser's window height, then the bottom border may be larger than 25 pixels."
+layer at (25,106) size 750x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 750x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/floating_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/floating_elements-expected.txt
new file mode 100644
index 0000000..a92b1b2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/floating_elements-expected.txt
@@ -0,0 +1,747 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 6798
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x6798 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x6798
+    LayoutBlockFlow {BODY} at (8,8) size 769x6782 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x144
+        LayoutText {#text} at (0,0) size 480x144
+          text run at (0,0) width 272: "HR.minor {clear: both; width: 5%;}"
+          text run at (272,0) width 0: " "
+          text run at (0,16) width 400: "HR.major {clear: both; width: 75%; margin: 1.5em;}"
+          text run at (400,16) width 0: " "
+          text run at (0,32) width 480: "DIV {border: 5px solid purple; padding: 0; margin: 0.125em;}"
+          text run at (480,32) width 0: " "
+          text run at (0,48) width 432: "P.left, P.right {width: 10em; padding: 1em; margin: 0;"
+          text run at (432,48) width 0: " "
+          text run at (0,64) width 424: "   border: 1px solid lime; background-color: silver;}"
+          text run at (424,64) width 0: " "
+          text run at (0,80) width 456: "IMG.left, IMG.right {margin: 0; border: 3px solid black;}"
+          text run at (456,80) width 0: " "
+          text run at (0,96) width 160: ".left {float: left;}"
+          text run at (160,96) width 0: " "
+          text run at (0,112) width 176: ".right {float: right;}"
+          text run at (176,112) width 0: " "
+          text run at (0,128) width 0: " "
+      LayoutBlockFlow {P} at (0,211) size 769x40
+        LayoutText {#text} at (0,0) size 751x39
+          text run at (0,0) width 681: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. "
+          text run at (681,0) width 67: "Other than"
+          text run at (0,20) width 751: "the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the floats."
+      LayoutBlockFlow {DIV} at (2,301) size 765x110 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 130x59
+            text run at (17,17) width 130: "This is a left-floating"
+            text run at (17,37) width 112: "paragraph (first in"
+            text run at (17,57) width 50: "source)."
+        LayoutBlockFlow (floating) {P} at (566,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 139x59
+            text run at (17,17) width 139: "This is a right-floating"
+            text run at (17,37) width 132: "paragraph (second in"
+            text run at (17,57) width 50: "source)."
+        LayoutText {#text} at (199,5) size 363x99
+          text run at (199,5) width 175: "This is text within the DIV. "
+          text run at (373,5) width 181: "The floating elements within"
+          text run at (199,25) width 363: "this DIV should not go beyond the left or right inner edge"
+          text run at (199,45) width 354: "of this DIV, which means that the borders of the floating"
+          text run at (199,65) width 360: "elements should not overlap the top or side borders of the"
+          text run at (199,85) width 31: "DIV."
+      LayoutBlockFlow {DIV} at (2,429) size 765x70 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (20,5) size 726x59
+          text run at (20,5) width 175: "This is text within the DIV. "
+          text run at (194,5) width 537: "The floating images within this DIV should not go beyond the left or right inner edge"
+          text run at (20,25) width 707: "of this DIV, which means that the borders of the floating images should not overlap the top or side borders of the"
+          text run at (5,45) width 31: "DIV."
+      LayoutBlockFlow {DIV} at (2,549) size 442x250 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 122x39
+            text run at (17,17) width 122: "This is the first left-"
+            text run at (17,37) width 119: "floating paragraph."
+        LayoutBlockFlow (floating) {P} at (199,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 142x39
+            text run at (17,17) width 142: "This is the second left-"
+            text run at (17,37) width 119: "floating paragraph."
+        LayoutBlockFlow (floating) {P} at (5,79) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 127x39
+            text run at (17,17) width 127: "This is the third left-"
+            text run at (17,37) width 119: "floating paragraph."
+        LayoutText {#text} at (393,5) size 430x239
+          text run at (393,5) width 42: "This is"
+          text run at (393,25) width 23: "text"
+          text run at (393,45) width 40: "within"
+          text run at (393,65) width 19: "the"
+          text run at (199,85) width 35: "DIV. "
+          text run at (233,85) width 181: "The floating elements within"
+          text run at (199,105) width 219: "this DIV should not go beyond the"
+          text run at (199,125) width 218: "left or right inner edge of this DIV,"
+          text run at (199,145) width 224: "which means that the borders of the"
+          text run at (5,165) width 412: "floating elements should not overlap the top or side borders of the"
+          text run at (5,185) width 110: "DIV in any way. "
+          text run at (114,185) width 298: "In addition, they should not overlap each other."
+          text run at (5,205) width 425: "The first two should be side by side, whereas the third should be on"
+          text run at (5,225) width 95: "the next \"line.\""
+      LayoutBlockFlow {DIV} at (2,817) size 360x210 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (317,5) size 350x199
+          text run at (317,5) width 28: "This"
+          text run at (317,25) width 37: "is text"
+          text run at (161,45) width 102: "within the DIV. "
+          text run at (262,45) width 78: "The floating"
+          text run at (161,65) width 193: "images within this DIV should"
+          text run at (5,85) width 336: "not go beyond the left or right inner edge of this DIV,"
+          text run at (5,105) width 324: "which means that the borders of the floating images"
+          text run at (5,125) width 350: "should not overlap the top or side borders of the DIV in"
+          text run at (5,145) width 61: "any way. "
+          text run at (65,145) width 258: "In addition, they should not overlap each"
+          text run at (5,165) width 40: "other. "
+          text run at (44,165) width 308: "The first two should be side by side, whereas the"
+          text run at (5,185) width 213: "third should be on the next \"line.\""
+      LayoutBlockFlow {DIV} at (2,1077) size 314x384 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 130x59
+            text run at (17,17) width 130: "This is a left-floating"
+            text run at (17,37) width 112: "paragraph (first in"
+            text run at (17,57) width 50: "source)."
+        LayoutBlockFlow (floating) {P} at (115,99) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 139x59
+            text run at (17,17) width 139: "This is a right-floating"
+            text run at (17,37) width 132: "paragraph (second in"
+            text run at (17,57) width 50: "source)."
+        LayoutText {#text} at (199,5) size 304x373
+          text run at (199,5) width 69: "This is text"
+          text run at (199,25) width 98: "within the DIV."
+          text run at (199,45) width 77: "The floating"
+          text run at (199,65) width 99: "elements within"
+          text run at (5,99) width 101: "this DIV should"
+          text run at (5,119) width 91: "not go beyond"
+          text run at (5,139) width 93: "the left or right"
+          text run at (5,159) width 109: "inner edge of this"
+          text run at (5,179) width 74: "DIV, which"
+          text run at (5,199) width 292: "means that the borders of the floating elements"
+          text run at (5,219) width 301: "should not overlap the top or side borders of the"
+          text run at (5,239) width 110: "DIV in any way. "
+          text run at (114,239) width 174: "In addition, they should not"
+          text run at (5,259) width 287: "overlap each other in any way, nor should the"
+          text run at (5,279) width 304: "floated elements be overwritten by the DIV text."
+          text run at (5,299) width 290: "In addition, the floated elements should not be"
+          text run at (5,319) width 268: "side-by-side, but instead the first should be"
+          text run at (5,339) width 288: "floated left, and the second floated to the right"
+          text run at (5,359) width 94: "below the first."
+      LayoutBlockFlow {DIV} at (2,1479) size 410x246 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (261,5) size 398x235
+          text run at (261,5) width 136: "This is text within the"
+          text run at (5,41) width 35: "DIV. "
+          text run at (39,41) width 78: "The floating"
+          text run at (5,61) width 114: "images within this"
+          text run at (5,81) width 380: "DIV should not go beyond the left or right inner edge of this"
+          text run at (5,101) width 359: "DIV, which means that the borders of the floating images"
+          text run at (5,121) width 377: "should not overlap the top or side borders of the DIV in any"
+          text run at (5,141) width 34: "way. "
+          text run at (38,141) width 337: "In addition, they should not overlap each other in any"
+          text run at (5,161) width 368: "way, nor should the floated elements be overwritten by the"
+          text run at (5,181) width 64: "DIV text. "
+          text run at (69,181) width 334: "In addition, the floated images should not be side-by-"
+          text run at (5,201) width 390: "side, but instead the first should be floated left, and the second"
+          text run at (5,221) width 213: "floated to the right below the first."
+      LayoutBlockFlow {DIV} at (2,1775) size 765x130 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (566,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 139x59
+            text run at (17,17) width 139: "This is a right-floating"
+            text run at (17,37) width 112: "paragraph (first in"
+            text run at (17,57) width 50: "source)."
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 132x59
+            text run at (17,17) width 130: "This is a left-floating"
+            text run at (17,37) width 132: "paragraph (second in"
+            text run at (17,57) width 50: "source)."
+        LayoutText {#text} at (199,5) size 549x119
+          text run at (199,5) width 175: "This is text within the DIV. "
+          text run at (373,5) width 181: "The floating elements within"
+          text run at (199,25) width 350: "this DIV should not go beyond the top side of this DIV,"
+          text run at (199,45) width 335: "which means that the borders of the floating elements"
+          text run at (199,65) width 350: "should not overlap the top or side borders of the DIV in"
+          text run at (199,85) width 61: "any way. "
+          text run at (259,85) width 265: "In addition, the top of the left-floating box"
+          text run at (5,105) width 365: "should not be higher than the top of the right-floating box."
+      LayoutBlockFlow {DIV} at (2,1923) size 765x70 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (20,5) size 720x59
+          text run at (20,5) width 175: "This is text within the DIV. "
+          text run at (194,5) width 524: "The floating images within this DIV should not go beyond the top side of this DIV,"
+          text run at (20,25) width 705: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in any"
+          text run at (5,45) width 34: "way. "
+          text run at (38,45) width 662: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
+      LayoutBlockFlow {DIV} at (2,2043) size 765x150 [border: (5px solid #800080)]
+        LayoutText {#text} at (199,5) size 183x19
+          text run at (199,5) width 175: "This is text within the DIV. "
+          text run at (373,5) width 9: "*"
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 130x59
+            text run at (17,17) width 130: "This is a left-floating"
+            text run at (17,37) width 112: "paragraph (first in"
+            text run at (17,57) width 50: "source)."
+        LayoutText {#text} at (381,5) size 543x39
+          text run at (381,5) width 361: " The floating elements within this DIV should not go any"
+          text run at (199,25) width 477: "higher than the line-box containing the inline content which precedes them. "
+          text run at (676,25) width 12: "* "
+        LayoutBlockFlow (floating) {P} at (566,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 139x59
+            text run at (17,17) width 139: "This is a right-floating"
+            text run at (17,37) width 132: "paragraph (second in"
+            text run at (17,57) width 50: "source)."
+        LayoutText {#text} at (688,25) size 755x119
+          text run at (688,25) width 72: "This means"
+          text run at (199,45) width 349: "that the top side of each float can be, at most, as high as"
+          text run at (199,65) width 352: "the top edge of the inline element containing the content"
+          text run at (199,85) width 331: "just before the floating elements occur in the source. "
+          text run at (530,85) width 13: "In"
+          text run at (5,105) width 544: "order to mark these points clearly, an asterisk has been inserted just before each floated"
+          text run at (5,125) width 53: "element."
+      LayoutBlockFlow {DIV} at (2,2211) size 765x90 [border: (5px solid #800080)]
+        LayoutText {#text} at (20,5) size 183x19
+          text run at (20,5) width 175: "This is text within the DIV. "
+          text run at (194,5) width 9: "*"
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (202,5) size 686x39
+          text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
+          text run at (20,25) width 323: "containing the inline content which precedes them. "
+          text run at (343,25) width 12: "* "
+        LayoutImage (floating) {IMG} at (745,25) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (355,25) size 738x59
+          text run at (355,25) width 376: "This means that the top side of each float can be, at most, as"
+          text run at (5,45) width 725: "high as the top edge of the inline element containing the content just before the floating images occur in the source. "
+          text run at (730,45) width 13: "In"
+          text run at (5,65) width 590: "order to mark these points clearly, an asterisk has been inserted just before each floated image."
+      LayoutBlockFlow {DIV} at (2,2351) size 765x290 [border: (5px solid #800080)]
+        LayoutText {#text} at (199,5) size 183x19
+          text run at (199,5) width 175: "This is text within the DIV. "
+          text run at (373,5) width 9: "*"
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 130x59
+            text run at (17,17) width 130: "This is a left-floating"
+            text run at (17,37) width 112: "paragraph (first in"
+            text run at (17,57) width 50: "source)."
+        LayoutText {#text} at (381,5) size 543x39
+          text run at (381,5) width 361: " The floating elements within this DIV should not go any"
+          text run at (199,25) width 477: "higher than the line-box containing the inline content which precedes them. "
+          text run at (676,25) width 12: "* "
+        LayoutBlockFlow (floating) {P} at (566,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 139x59
+            text run at (17,17) width 139: "This is a right-floating"
+            text run at (17,37) width 132: "paragraph (second in"
+            text run at (17,57) width 50: "source)."
+        LayoutText {#text} at (688,25) size 561x39
+          text run at (688,25) width 72: "This means"
+          text run at (199,45) width 238: "that the top side of each float can be,*"
+        LayoutBlockFlow (floating) {P} at (199,65) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 130x59
+            text run at (17,17) width 130: "This is a left-floating"
+            text run at (17,37) width 117: "paragraph (third in"
+            text run at (17,57) width 50: "source)."
+        LayoutText {#text} at (437,45) size 274x119
+          text run at (437,45) width 119: " at most, as high as"
+          text run at (393,65) width 156: "the top edge of the inline"
+          text run at (393,85) width 142: "element containing the"
+          text run at (393,105) width 139: "content just before the"
+          text run at (393,125) width 162: "floating elements occur in"
+          text run at (587,145) width 72: "the source. "
+          text run at (659,145) width 8: "*"
+        LayoutBlockFlow (floating) {P} at (393,145) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 130x59
+            text run at (17,17) width 130: "This is a left-floating"
+            text run at (17,37) width 126: "paragraph (fourth in"
+            text run at (17,57) width 50: "source)."
+        LayoutText {#text} at (667,145) size 741x139
+          text run at (667,145) width 70: " In order to"
+          text run at (587,165) width 159: "mark these points clearly,"
+          text run at (587,185) width 125: "an asterisk has been"
+          text run at (587,205) width 152: "inserted just before each"
+          text run at (587,225) width 104: "floated element. "
+          text run at (691,225) width 48: "If a line"
+          text run at (5,245) width 722: "has room for a floated element, then the element should float so that its top is aligned with the top of the line-box in"
+          text run at (5,265) width 173: "which the asterisk appears. "
+          text run at (178,265) width 402: "Otherwise, its top should align with the top of the next line-box."
+      LayoutBlockFlow {DIV} at (2,2659) size 765x130 [border: (5px solid #800080)]
+        LayoutText {#text} at (20,5) size 183x19
+          text run at (20,5) width 175: "This is text within the DIV. "
+          text run at (194,5) width 9: "*"
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (202,5) size 671x39
+          text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
+          text run at (35,25) width 323: "containing the inline content which precedes them. "
+          text run at (358,25) width 12: "* "
+        LayoutImage (floating) {IMG} at (745,25) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (370,25) size 318x19
+          text run at (370,25) width 310: "This means that the top side of each float can be, "
+          text run at (680,25) width 8: "*"
+        LayoutImage (floating) {IMG} at (20,25) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (688,25) size 721x59
+          text run at (688,25) width 53: " at most,"
+          text run at (35,45) width 689: "as high as the top edge of the inline element containing the content just before the floating images occur in the"
+          text run at (20,65) width 49: "source. "
+          text run at (69,65) width 8: "*"
+        LayoutImage (floating) {IMG} at (5,65) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (77,65) size 735x59
+          text run at (77,65) width 615: " In order to mark these points clearly, an asterisk has been inserted just before each floated image. "
+          text run at (691,65) width 49: "If a line"
+          text run at (20,85) width 700: "has room for a floated image, then the image should float so that its top is aligned with the top of the line-box in"
+          text run at (5,105) width 173: "which the asterisk appears. "
+          text run at (178,105) width 402: "Otherwise, its top should align with the top of the next line-box."
+      LayoutBlockFlow {DIV} at (2,2839) size 490x330 [border: (5px solid #800080)]
+        LayoutText {#text} at (199,5) size 54x19
+          text run at (199,5) width 54: "This is *"
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 130x59
+            text run at (17,17) width 130: "This is a left-floating"
+            text run at (17,37) width 112: "paragraph (first in"
+            text run at (17,57) width 50: "source)."
+        LayoutText {#text} at (253,5) size 12x19
+          text run at (253,5) width 12: " *"
+        LayoutBlockFlow (floating) {P} at (291,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 139x59
+            text run at (17,17) width 139: "This is a right-floating"
+            text run at (17,37) width 132: "paragraph (second in"
+            text run at (17,57) width 50: "source)."
+        LayoutText {#text} at (199,25) size 475x299
+          text run at (199,25) width 90: "text within the"
+          text run at (199,45) width 35: "DIV. "
+          text run at (233,45) width 41: "Under"
+          text run at (199,65) width 88: "CSS1, the left"
+          text run at (199,85) width 48: "floating"
+          text run at (5,105) width 475: "element should be placed in the upper left corner of the DIV, and the purple"
+          text run at (5,125) width 447: "border of the DIV should abut the green border of the floating element."
+          text run at (5,145) width 443: "Similarly, the right floating element should be placed in the upper right"
+          text run at (5,165) width 466: "corner of the DIV, and the purple border of the DIV should abut the green"
+          text run at (5,185) width 451: "border of the floating element. The text of the DIV element should flow"
+          text run at (5,205) width 461: "between and under the two floating elements. The two asterisk characters"
+          text run at (5,225) width 468: "mark the insertion points of the floating elements. It is expected that, under"
+          text run at (5,245) width 470: "future specifications, it may be acceptable for the top of floated elements to"
+          text run at (5,265) width 475: "align with the top of the line-box following the insertion point of the floated"
+          text run at (5,285) width 466: "element to avoid floating elements appearing before text which precedes it"
+          text run at (5,305) width 150: "in the source document."
+      LayoutBlockFlow {DIV} at (2,3187) size 490x250 [border: (5px solid #800080)]
+        LayoutText {#text} at (20,5) size 54x19
+          text run at (20,5) width 54: "This is *"
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (74,5) size 12x19
+          text run at (74,5) width 12: " *"
+        LayoutImage (floating) {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (86,5) size 480x239
+          text run at (86,5) width 133: " text within the DIV. "
+          text run at (218,5) width 227: "Under CSS1, the left floating image"
+          text run at (20,25) width 422: "should be placed in the upper left corner of the DIV, and the purple"
+          text run at (5,45) width 436: "border of the DIV should abut the green border of the floating image."
+          text run at (5,65) width 476: "Similarly, the right floating image should be placed in the upper right corner"
+          text run at (5,85) width 467: "of the DIV, and the purple border of the DIV should abut the green border"
+          text run at (5,105) width 479: "of the floating image. The text of the DIV element should flow between and"
+          text run at (5,125) width 477: "under the two floating image. The two asterisk characters mark the insertion"
+          text run at (5,145) width 180: "points of the floating image. "
+          text run at (185,145) width 300: "It is expected that, under future specifications, it"
+          text run at (5,165) width 478: "may be acceptable for the top of floated elements to align with the top of the"
+          text run at (5,185) width 429: "line-box following the insertion point of the floated element to avoid"
+          text run at (5,205) width 442: "floating elements appearing before text which precedes it in the source"
+          text run at (5,225) width 66: "document."
+      LayoutTable {TABLE} at (0,3487) size 769x3295 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x3293
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x3265
+            LayoutTableCell {TD} at (0,1646) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x3265 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x60
+                LayoutText {#text} at (0,0) size 740x59
+                  text run at (0,0) width 681: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. "
+                  text run at (681,0) width 36: "Other"
+                  text run at (0,20) width 740: "than the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the"
+                  text run at (0,40) width 38: "floats."
+              LayoutBlockFlow {DIV} at (6,114) size 743x110 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 130x59
+                    text run at (17,17) width 130: "This is a left-floating"
+                    text run at (17,37) width 112: "paragraph (first in"
+                    text run at (17,57) width 50: "source)."
+                LayoutBlockFlow (floating) {P} at (544,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 139x59
+                    text run at (17,17) width 139: "This is a right-floating"
+                    text run at (17,37) width 132: "paragraph (second in"
+                    text run at (17,57) width 50: "source)."
+                LayoutText {#text} at (199,5) size 337x99
+                  text run at (199,5) width 175: "This is text within the DIV. "
+                  text run at (373,5) width 137: "The floating elements"
+                  text run at (199,25) width 337: "within this DIV should not go beyond the left or right"
+                  text run at (199,45) width 332: "inner edge of this DIV, which means that the borders"
+                  text run at (199,65) width 332: "of the floating elements should not overlap the top or"
+                  text run at (199,85) width 151: "side borders of the DIV."
+              LayoutBlockFlow {DIV} at (6,242) size 743x70 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (20,5) size 716x59
+                  text run at (20,5) width 175: "This is text within the DIV. "
+                  text run at (194,5) width 503: "The floating images within this DIV should not go beyond the left or right inner"
+                  text run at (20,25) width 701: "edge of this DIV, which means that the borders of the floating images should not overlap the top or side borders"
+                  text run at (5,45) width 71: "of the DIV."
+              LayoutBlockFlow {DIV} at (6,362) size 442x250 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 122x39
+                    text run at (17,17) width 122: "This is the first left-"
+                    text run at (17,37) width 119: "floating paragraph."
+                LayoutBlockFlow (floating) {P} at (199,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 142x39
+                    text run at (17,17) width 142: "This is the second left-"
+                    text run at (17,37) width 119: "floating paragraph."
+                LayoutBlockFlow (floating) {P} at (5,79) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 127x39
+                    text run at (17,17) width 127: "This is the third left-"
+                    text run at (17,37) width 119: "floating paragraph."
+                LayoutText {#text} at (393,5) size 430x239
+                  text run at (393,5) width 42: "This is"
+                  text run at (393,25) width 23: "text"
+                  text run at (393,45) width 40: "within"
+                  text run at (393,65) width 19: "the"
+                  text run at (199,85) width 35: "DIV. "
+                  text run at (233,85) width 181: "The floating elements within"
+                  text run at (199,105) width 219: "this DIV should not go beyond the"
+                  text run at (199,125) width 218: "left or right inner edge of this DIV,"
+                  text run at (199,145) width 224: "which means that the borders of the"
+                  text run at (5,165) width 412: "floating elements should not overlap the top or side borders of the"
+                  text run at (5,185) width 110: "DIV in any way. "
+                  text run at (114,185) width 298: "In addition, they should not overlap each other."
+                  text run at (5,205) width 425: "The first two should be side by side, whereas the third should be on"
+                  text run at (5,225) width 95: "the next \"line.\""
+              LayoutBlockFlow {DIV} at (6,630) size 360x210 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (317,5) size 350x199
+                  text run at (317,5) width 28: "This"
+                  text run at (317,25) width 37: "is text"
+                  text run at (161,45) width 102: "within the DIV. "
+                  text run at (262,45) width 78: "The floating"
+                  text run at (161,65) width 193: "images within this DIV should"
+                  text run at (5,85) width 336: "not go beyond the left or right inner edge of this DIV,"
+                  text run at (5,105) width 324: "which means that the borders of the floating images"
+                  text run at (5,125) width 350: "should not overlap the top or side borders of the DIV in"
+                  text run at (5,145) width 61: "any way. "
+                  text run at (65,145) width 258: "In addition, they should not overlap each"
+                  text run at (5,165) width 40: "other. "
+                  text run at (44,165) width 308: "The first two should be side by side, whereas the"
+                  text run at (5,185) width 213: "third should be on the next \"line.\""
+              LayoutBlockFlow {DIV} at (6,890) size 314x384 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 130x59
+                    text run at (17,17) width 130: "This is a left-floating"
+                    text run at (17,37) width 112: "paragraph (first in"
+                    text run at (17,57) width 50: "source)."
+                LayoutBlockFlow (floating) {P} at (115,99) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 139x59
+                    text run at (17,17) width 139: "This is a right-floating"
+                    text run at (17,37) width 132: "paragraph (second in"
+                    text run at (17,57) width 50: "source)."
+                LayoutText {#text} at (199,5) size 304x373
+                  text run at (199,5) width 69: "This is text"
+                  text run at (199,25) width 98: "within the DIV."
+                  text run at (199,45) width 77: "The floating"
+                  text run at (199,65) width 99: "elements within"
+                  text run at (5,99) width 101: "this DIV should"
+                  text run at (5,119) width 91: "not go beyond"
+                  text run at (5,139) width 93: "the left or right"
+                  text run at (5,159) width 109: "inner edge of this"
+                  text run at (5,179) width 74: "DIV, which"
+                  text run at (5,199) width 292: "means that the borders of the floating elements"
+                  text run at (5,219) width 301: "should not overlap the top or side borders of the"
+                  text run at (5,239) width 110: "DIV in any way. "
+                  text run at (114,239) width 174: "In addition, they should not"
+                  text run at (5,259) width 287: "overlap each other in any way, nor should the"
+                  text run at (5,279) width 304: "floated elements be overwritten by the DIV text."
+                  text run at (5,299) width 290: "In addition, the floated elements should not be"
+                  text run at (5,319) width 268: "side-by-side, but instead the first should be"
+                  text run at (5,339) width 288: "floated left, and the second floated to the right"
+                  text run at (5,359) width 94: "below the first."
+              LayoutBlockFlow {DIV} at (6,1292) size 410x246 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (261,5) size 398x235
+                  text run at (261,5) width 136: "This is text within the"
+                  text run at (5,41) width 35: "DIV. "
+                  text run at (39,41) width 78: "The floating"
+                  text run at (5,61) width 114: "images within this"
+                  text run at (5,81) width 380: "DIV should not go beyond the left or right inner edge of this"
+                  text run at (5,101) width 359: "DIV, which means that the borders of the floating images"
+                  text run at (5,121) width 377: "should not overlap the top or side borders of the DIV in any"
+                  text run at (5,141) width 34: "way. "
+                  text run at (38,141) width 337: "In addition, they should not overlap each other in any"
+                  text run at (5,161) width 368: "way, nor should the floated elements be overwritten by the"
+                  text run at (5,181) width 64: "DIV text. "
+                  text run at (69,181) width 334: "In addition, the floated images should not be side-by-"
+                  text run at (5,201) width 390: "side, but instead the first should be floated left, and the second"
+                  text run at (5,221) width 213: "floated to the right below the first."
+              LayoutBlockFlow {DIV} at (6,1588) size 743x130 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (544,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 139x59
+                    text run at (17,17) width 139: "This is a right-floating"
+                    text run at (17,37) width 112: "paragraph (first in"
+                    text run at (17,57) width 50: "source)."
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 132x59
+                    text run at (17,17) width 130: "This is a left-floating"
+                    text run at (17,37) width 132: "paragraph (second in"
+                    text run at (17,57) width 50: "source)."
+                LayoutText {#text} at (199,5) size 531x119
+                  text run at (199,5) width 175: "This is text within the DIV. "
+                  text run at (373,5) width 137: "The floating elements"
+                  text run at (199,25) width 333: "within this DIV should not go beyond the top side of"
+                  text run at (199,45) width 337: "this DIV, which means that the borders of the floating"
+                  text run at (199,65) width 337: "elements should not overlap the top or side borders of"
+                  text run at (199,85) width 133: "the DIV in any way. "
+                  text run at (331,85) width 189: "In addition, the top of the left-"
+                  text run at (5,105) width 445: "floating box should not be higher than the top of the right-floating box."
+              LayoutBlockFlow {DIV} at (6,1736) size 743x70 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (20,5) size 722x59
+                  text run at (20,5) width 175: "This is text within the DIV. "
+                  text run at (194,5) width 524: "The floating images within this DIV should not go beyond the top side of this DIV,"
+                  text run at (20,25) width 678: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in"
+                  text run at (5,45) width 61: "any way. "
+                  text run at (65,45) width 662: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
+              LayoutBlockFlow {DIV} at (6,1856) size 743x150 [border: (5px solid #800080)]
+                LayoutText {#text} at (199,5) size 183x19
+                  text run at (199,5) width 175: "This is text within the DIV. "
+                  text run at (373,5) width 9: "*"
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 130x59
+                    text run at (17,17) width 130: "This is a left-floating"
+                    text run at (17,37) width 112: "paragraph (first in"
+                    text run at (17,57) width 50: "source)."
+                LayoutText {#text} at (381,5) size 516x39
+                  text run at (381,5) width 334: " The floating elements within this DIV should not go"
+                  text run at (199,25) width 504: "any higher than the line-box containing the inline content which precedes them. "
+                  text run at (703,25) width 8: "*"
+                LayoutBlockFlow (floating) {P} at (544,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 139x59
+                    text run at (17,17) width 139: "This is a right-floating"
+                    text run at (17,37) width 132: "paragraph (second in"
+                    text run at (17,57) width 50: "source)."
+                LayoutText {#text} at (199,45) size 538x99
+                  text run at (199,45) width 321: "This means that the top side of each float can be, at"
+                  text run at (199,65) width 313: "most, as high as the top edge of the inline element"
+                  text run at (199,85) width 343: "containing the content just before the floating elements"
+                  text run at (5,105) width 127: "occur in the source. "
+                  text run at (132,105) width 411: "In order to mark these points clearly, an asterisk has been inserted"
+                  text run at (5,125) width 203: "just before each floated element."
+              LayoutBlockFlow {DIV} at (6,2024) size 743x90 [border: (5px solid #800080)]
+                LayoutText {#text} at (20,5) size 183x19
+                  text run at (20,5) width 175: "This is text within the DIV. "
+                  text run at (194,5) width 9: "*"
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (202,5) size 686x39
+                  text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
+                  text run at (20,25) width 323: "containing the inline content which precedes them. "
+                  text run at (343,25) width 12: "* "
+                LayoutImage (floating) {IMG} at (723,25) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (355,25) size 709x59
+                  text run at (355,25) width 359: "This means that the top side of each float can be, at most,"
+                  text run at (5,45) width 689: "as high as the top edge of the inline element containing the content just before the floating images occur in the"
+                  text run at (5,65) width 49: "source. "
+                  text run at (54,65) width 607: "In order to mark these points clearly, an asterisk has been inserted just before each floated image."
+              LayoutBlockFlow {DIV} at (6,2164) size 743x250 [border: (5px solid #800080)]
+                LayoutText {#text} at (199,5) size 183x19
+                  text run at (199,5) width 175: "This is text within the DIV. "
+                  text run at (373,5) width 9: "*"
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 130x59
+                    text run at (17,17) width 130: "This is a left-floating"
+                    text run at (17,37) width 112: "paragraph (first in"
+                    text run at (17,57) width 50: "source)."
+                LayoutText {#text} at (381,5) size 516x39
+                  text run at (381,5) width 334: " The floating elements within this DIV should not go"
+                  text run at (199,25) width 504: "any higher than the line-box containing the inline content which precedes them. "
+                  text run at (703,25) width 8: "*"
+                LayoutBlockFlow (floating) {P} at (544,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 139x59
+                    text run at (17,17) width 139: "This is a right-floating"
+                    text run at (17,37) width 132: "paragraph (second in"
+                    text run at (17,57) width 50: "source)."
+                LayoutText {#text} at (199,45) size 314x19
+                  text run at (199,45) width 314: "This means that the top side of each float can be,*"
+                LayoutBlockFlow (floating) {P} at (199,65) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 130x59
+                    text run at (17,17) width 130: "This is a left-floating"
+                    text run at (17,37) width 117: "paragraph (third in"
+                    text run at (17,57) width 50: "source)."
+                LayoutText {#text} at (513,45) size 246x119
+                  text run at (513,45) width 15: " at"
+                  text run at (393,65) width 147: "most, as high as the top"
+                  text run at (393,85) width 109: "edge of the inline"
+                  text run at (393,105) width 142: "element containing the"
+                  text run at (393,125) width 139: "content just before the"
+                  text run at (393,145) width 238: "floating elements occur in the source. "
+                  text run at (631,145) width 8: "*"
+                LayoutBlockFlow (floating) {P} at (5,165) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 130x59
+                    text run at (17,17) width 130: "This is a left-floating"
+                    text run at (17,37) width 126: "paragraph (fourth in"
+                    text run at (17,57) width 50: "source)."
+                LayoutText {#text} at (639,145) size 539x99
+                  text run at (639,145) width 70: " In order to"
+                  text run at (199,165) width 491: "mark these points clearly, an asterisk has been inserted just before each floated"
+                  text run at (199,185) width 57: "element. "
+                  text run at (256,185) width 477: "If a line has room for a floated element, then the element should float so that"
+                  text run at (199,205) width 470: "its top is aligned with the top of the line-box in which the asterisk appears. "
+                  text run at (669,205) width 69: "Otherwise,"
+                  text run at (199,225) width 329: "its top should align with the top of the next line-box."
+              LayoutBlockFlow {DIV} at (6,2433) size 743x130 [border: (5px solid #800080)]
+                LayoutText {#text} at (20,5) size 183x19
+                  text run at (20,5) width 175: "This is text within the DIV. "
+                  text run at (194,5) width 9: "*"
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (202,5) size 671x39
+                  text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
+                  text run at (35,25) width 323: "containing the inline content which precedes them. "
+                  text run at (358,25) width 12: "* "
+                LayoutImage (floating) {IMG} at (723,25) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (370,25) size 318x19
+                  text run at (370,25) width 310: "This means that the top side of each float can be, "
+                  text run at (680,25) width 8: "*"
+                LayoutImage (floating) {IMG} at (20,25) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (688,25) size 703x59
+                  text run at (688,25) width 15: " at"
+                  text run at (35,45) width 688: "most, as high as the top edge of the inline element containing the content just before the floating images occur"
+                  text run at (20,65) width 88: "in the source. "
+                  text run at (108,65) width 8: "*"
+                LayoutImage (floating) {IMG} at (5,65) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (116,65) size 727x59
+                  text run at (116,65) width 611: " In order to mark these points clearly, an asterisk has been inserted just before each floated image."
+                  text run at (20,85) width 712: "If a line has room for a floated image, then the image should float so that its top is aligned with the top of the line-"
+                  text run at (5,105) width 217: "box in which the asterisk appears. "
+                  text run at (222,105) width 402: "Otherwise, its top should align with the top of the next line-box."
+              LayoutBlockFlow {DIV} at (6,2613) size 490x330 [border: (5px solid #800080)]
+                LayoutText {#text} at (199,5) size 54x19
+                  text run at (199,5) width 54: "This is *"
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 130x59
+                    text run at (17,17) width 130: "This is a left-floating"
+                    text run at (17,37) width 112: "paragraph (first in"
+                    text run at (17,57) width 50: "source)."
+                LayoutText {#text} at (253,5) size 12x19
+                  text run at (253,5) width 12: " *"
+                LayoutBlockFlow (floating) {P} at (291,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 139x59
+                    text run at (17,17) width 139: "This is a right-floating"
+                    text run at (17,37) width 132: "paragraph (second in"
+                    text run at (17,57) width 50: "source)."
+                LayoutText {#text} at (199,25) size 475x299
+                  text run at (199,25) width 90: "text within the"
+                  text run at (199,45) width 35: "DIV. "
+                  text run at (233,45) width 41: "Under"
+                  text run at (199,65) width 88: "CSS1, the left"
+                  text run at (199,85) width 48: "floating"
+                  text run at (5,105) width 475: "element should be placed in the upper left corner of the DIV, and the purple"
+                  text run at (5,125) width 447: "border of the DIV should abut the green border of the floating element."
+                  text run at (5,145) width 443: "Similarly, the right floating element should be placed in the upper right"
+                  text run at (5,165) width 466: "corner of the DIV, and the purple border of the DIV should abut the green"
+                  text run at (5,185) width 451: "border of the floating element. The text of the DIV element should flow"
+                  text run at (5,205) width 461: "between and under the two floating elements. The two asterisk characters"
+                  text run at (5,225) width 468: "mark the insertion points of the floating elements. It is expected that, under"
+                  text run at (5,245) width 470: "future specifications, it may be acceptable for the top of floated elements to"
+                  text run at (5,265) width 475: "align with the top of the line-box following the insertion point of the floated"
+                  text run at (5,285) width 466: "element to avoid floating elements appearing before text which precedes it"
+                  text run at (5,305) width 150: "in the source document."
+              LayoutBlockFlow {DIV} at (6,2961) size 490x250 [border: (5px solid #800080)]
+                LayoutText {#text} at (20,5) size 54x19
+                  text run at (20,5) width 54: "This is *"
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (74,5) size 12x19
+                  text run at (74,5) width 12: " *"
+                LayoutImage (floating) {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (86,5) size 480x239
+                  text run at (86,5) width 133: " text within the DIV. "
+                  text run at (218,5) width 227: "Under CSS1, the left floating image"
+                  text run at (20,25) width 422: "should be placed in the upper left corner of the DIV, and the purple"
+                  text run at (5,45) width 436: "border of the DIV should abut the green border of the floating image."
+                  text run at (5,65) width 476: "Similarly, the right floating image should be placed in the upper right corner"
+                  text run at (5,85) width 467: "of the DIV, and the purple border of the DIV should abut the green border"
+                  text run at (5,105) width 479: "of the floating image. The text of the DIV element should flow between and"
+                  text run at (5,125) width 477: "under the two floating image. The two asterisk characters mark the insertion"
+                  text run at (5,145) width 180: "points of the floating image. "
+                  text run at (185,145) width 300: "It is expected that, under future specifications, it"
+                  text run at (5,165) width 478: "may be acceptable for the top of floated elements to align with the top of the"
+                  text run at (5,185) width 429: "line-box following the insertion point of the floated element to avoid"
+                  text run at (5,205) width 442: "floating elements appearing before text which precedes it in the source"
+                  text run at (5,225) width 66: "document."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (32,283) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,275) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,427) size 41x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,419) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,531) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,523) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,815) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,807) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1059) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1051) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1477) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1469) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1757) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1749) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1921) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1913) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2025) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2017) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2209) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2201) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2333) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2325) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2657) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2649) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2821) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2813) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,3185) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,3177) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,3469) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,3461) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (49,3612) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,88) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,3756) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,232) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,3860) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,336) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4144) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,620) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,4388) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,864) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4806) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1282) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5086) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1562) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5250) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1726) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5354) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1830) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5538) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2014) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5662) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2138) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5947) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2423) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,6111) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2587) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,6475) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2951) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,6759) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,3235) size 562.25x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/height_of_lines-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/height_of_lines-expected.txt
new file mode 100644
index 0000000..114d900
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/height_of_lines-expected.txt
@@ -0,0 +1,134 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2345
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2345 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2345
+    LayoutBlockFlow {BODY} at (8,8) size 769x2329 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x288
+        LayoutText {#text} at (0,0) size 536x288
+          text run at (0,0) width 344: "P.one {font-size: 14px; line-height: 20px;}"
+          text run at (344,0) width 0: " "
+          text run at (0,16) width 304: "IMG.onea {vertical-align: text-bottom;"
+          text run at (304,16) width 0: " "
+          text run at (0,32) width 272: "     width: 200px; height: 200px;}"
+          text run at (272,32) width 0: " "
+          text run at (0,48) width 520: "IMG.oneb {vertical-align: text-top; width: 200px; height: 200px;}"
+          text run at (520,48) width 0: " "
+          text run at (0,64) width 0: " "
+          text run at (0,80) width 344: "P.two {font-size: 14px; line-height: 20px;}"
+          text run at (344,80) width 0: " "
+          text run at (0,96) width 536: "IMG.twoa {vertical-align: text-bottom; width: 100px; height: 100px;"
+          text run at (536,96) width 0: " "
+          text run at (0,112) width 312: "     padding: 5px; border-style: solid;"
+          text run at (312,112) width 0: " "
+          text run at (0,128) width 312: "     border-width: 10px; margin: 15px;}"
+          text run at (312,128) width 0: " "
+          text run at (0,144) width 280: "IMG.twob {vertical-align: text-top;"
+          text run at (280,144) width 0: " "
+          text run at (0,160) width 304: "          width: 100px; height: 100px;"
+          text run at (304,160) width 0: " "
+          text run at (0,176) width 312: "     padding: 5px; border-style: solid;"
+          text run at (312,176) width 0: " "
+          text run at (0,192) width 312: "     border-width: 10px; margin: 15px;}"
+          text run at (312,192) width 0: " "
+          text run at (0,208) width 0: " "
+          text run at (0,224) width 480: "IMG.twoc {vertical-align: middle; width: 50px; height: 50px;"
+          text run at (480,224) width 0: " "
+          text run at (0,240) width 312: "     padding: 5px; border-style: solid;"
+          text run at (312,240) width 0: " "
+          text run at (0,256) width 320: "     border-width: 10px; margin: -10px;}"
+          text run at (320,256) width 0: " "
+          text run at (0,272) width 0: " "
+      LayoutBlockFlow {P} at (0,353) size 769x464
+        LayoutText {#text} at (0,2) size 767x238
+          text run at (0,2) width 420: "This paragraph should have a font size of 14px and a line height of 20px. "
+          text run at (420,2) width 347: "This means that the lines of text within it should be separated"
+          text run at (0,22) width 374: "by six pixels, three of which are part of the line-box of each line. "
+          text run at (374,22) width 375: "Any images within the paragraph should increase the height of the"
+          text run at (0,224) width 296: "line-box so that they fit within the line box, such as "
+        LayoutImage {IMG} at (296,40) size 200x200
+        LayoutText {#text} at (496,224) size 28x16
+          text run at (496,224) width 28: " and "
+        LayoutImage {IMG} at (524,224) size 200x200
+        LayoutText {#text} at (724,224) size 757x238
+          text run at (724,224) width 8: ". "
+          text run at (732,224) width 25: "This"
+          text run at (0,426) width 744: "is additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-top"
+          text run at (0,446) width 45: "aligned."
+      LayoutBlockFlow {P} at (0,831) size 769x484
+        LayoutText {#text} at (0,2) size 767x198
+          text run at (0,2) width 420: "This paragraph should have a font size of 14px and a line height of 20px. "
+          text run at (420,2) width 347: "This means that the lines of text within it should be separated"
+          text run at (0,22) width 79: "by six pixels. "
+          text run at (79,22) width 652: "Any images within the paragraph should increase the height of the line-box so that they fit, including their padding"
+          text run at (0,184) width 396: "(5px), border (10px) and margins (15px) within the line box, such as "
+        LayoutImage {IMG} at (410.73,55) size 130x130 [border: (10px solid #000000)]
+        LayoutText {#text} at (555,184) size 29x16
+          text run at (555,184) width 29: " and "
+        LayoutImage {IMG} at (598.73,199) size 130x130 [border: (10px solid #000000)]
+        LayoutText {#text} at (743,184) size 759x256
+          text run at (743,184) width 5: "."
+          text run at (0,346) width 755: "This is additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-"
+          text run at (0,366) width 71: "top aligned. "
+          text run at (71,366) width 683: "It is the outer edge of the margin that should be text-bottom and text-top aligned in this paragraph, so for the first image"
+          text run at (0,386) width 759: "the bottom border of the image should begin 15px above the bottom of the text, and for the second image the top border should begin"
+          text run at (0,424) width 175: "15px below the top of the text "
+        LayoutImage {IMG} at (165,394) size 80x80 [border: (10px solid #000000)]
+        LayoutText {#text} at (235,424) size 755x58
+          text run at (235,424) width 8: ". "
+          text run at (243,424) width 512: "The last image in this paragraph has -10px margins set on it, so that should pull the text in"
+          text run at (0,466) width 443: "toward the image in the vertical direction, and also in the horizontal direction."
+      LayoutTable {TABLE} at (0,1329) size 769x1000 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x998
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x970
+            LayoutTableCell {TD} at (0,499) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x970 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x464
+                LayoutText {#text} at (0,2) size 729x238
+                  text run at (0,2) width 420: "This paragraph should have a font size of 14px and a line height of 20px. "
+                  text run at (420,2) width 291: "This means that the lines of text within it should be"
+                  text run at (0,22) width 430: "separated by six pixels, three of which are part of the line-box of each line. "
+                  text run at (430,22) width 299: "Any images within the paragraph should increase the"
+                  text run at (0,224) width 372: "height of the line-box so that they fit within the line box, such as "
+                LayoutImage {IMG} at (372,40) size 200x200
+                LayoutText {#text} at (572,224) size 28x16
+                  text run at (572,224) width 28: " and "
+                LayoutImage {IMG} at (0,244) size 200x200
+                LayoutText {#text} at (200,244) size 741x218
+                  text run at (200,244) width 8: ". "
+                  text run at (208,244) width 533: "This is additional text to make sure that there is enough room left below the image so that this"
+                  text run at (0,446) width 285: "line does not hit the image that is text-top aligned."
+              LayoutBlockFlow {P} at (4,482) size 747x484
+                LayoutText {#text} at (0,2) size 738x198
+                  text run at (0,2) width 420: "This paragraph should have a font size of 14px and a line height of 20px. "
+                  text run at (420,2) width 291: "This means that the lines of text within it should be"
+                  text run at (0,22) width 135: "separated by six pixels. "
+                  text run at (135,22) width 603: "Any images within the paragraph should increase the height of the line-box so that they fit, including their"
+                  text run at (0,184) width 445: "padding (5px), border (10px) and margins (15px) within the line box, such as "
+                LayoutImage {IMG} at (459.73,55) size 130x130 [border: (10px solid #000000)]
+                LayoutText {#text} at (604,184) size 29x16
+                  text run at (604,184) width 29: " and "
+                LayoutImage {IMG} at (15,219) size 130x130 [border: (10px solid #000000)]
+                LayoutText {#text} at (160,204) size 736x236
+                  text run at (160,204) width 8: ". "
+                  text run at (168,204) width 558: "This is additional text to make sure that there is enough room left below the image so that this line"
+                  text run at (0,366) width 264: "does not hit the image that is text-top aligned. "
+                  text run at (264,366) width 472: "It is the outer edge of the margin that should be text-bottom and text-top aligned in"
+                  text run at (0,386) width 730: "this paragraph, so for the first image the bottom border of the image should begin 15px above the bottom of the text, and for the"
+                  text run at (0,424) width 415: "second image the top border should begin 15px below the top of the text "
+                LayoutImage {IMG} at (405,394) size 80x80 [border: (10px solid #000000)]
+                LayoutText {#text} at (475,424) size 724x58
+                  text run at (475,424) width 8: ". "
+                  text run at (483,424) width 241: "The last image in this paragraph has -10px"
+                  text run at (0,466) width 714: "margins set on it, so that should pull the text in toward the image in the vertical direction, and also in the horizontal direction."
+layer at (8,345) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,337) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/inline_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/inline_elements-expected.txt
new file mode 100644
index 0000000..23fb586
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/inline_elements-expected.txt
@@ -0,0 +1,97 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 791
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x790 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x790.33
+    LayoutBlockFlow {BODY} at (8,8) size 769x774.33 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x112
+        LayoutText {#text} at (0,0) size 560x112
+          text run at (0,0) width 208: "P.one {line-height: 200%;}"
+          text run at (208,0) width 0: " "
+          text run at (0,16) width 552: "SPAN.two {border-style: solid; border-width: 10px; border-color: red;"
+          text run at (552,16) width 0: " "
+          text run at (0,32) width 304: "          padding: 2pt; margin: 30pt;}"
+          text run at (304,32) width 0: " "
+          text run at (0,48) width 360: "P.three {font-size: 10pt; line-height: 12pt;}"
+          text run at (360,48) width 0: " "
+          text run at (0,64) width 560: "SPAN.four {border-style: solid; border-width: 12px; border-color: red;"
+          text run at (560,64) width 0: " "
+          text run at (0,80) width 192: "          padding: 2pt;}"
+          text run at (192,80) width 0: " "
+          text run at (0,96) width 0: " "
+      LayoutBlockFlow {P} at (0,179) size 769x192
+        LayoutText {#text} at (0,6) size 187x19
+          text run at (0,6) width 187: "This is a paragraph that has a "
+        LayoutInline {SPAN} at (0,0) size 761x173 [border: (10px solid #FF0000)]
+          LayoutText {#text} at (239,6) size 761x147
+            text run at (239,6) width 522: "very long span in it, and the span has a 10px red border separated from the span by"
+            text run at (0,38) width 167: "2pt, and a margin of 30pt. "
+            text run at (166,38) width 561: "The padding and border should be present on all sides of the span (although vertical lines"
+            text run at (0,70) width 539: "should appear only at the beginning and the end of the whole span, not on each line). "
+            text run at (539,70) width 208: "The padding, border, and margin"
+            text run at (0,102) width 388: "should all be noticeable at the beginning and end of the span. "
+            text run at (388,102) width 366: "However, the line height should not be changed by any of"
+            text run at (0,134) width 585: "them, so the margin should be unnoticeable and the border should overlap text on other lines."
+        LayoutText {#text} at (636,134) size 761x51
+          text run at (636,134) width 5: " "
+          text run at (640,134) width 121: "The line spacing in"
+          text run at (0,166) width 336: "the whole paragraph should be 200% of the font size."
+      LayoutBlockFlow {P} at (0,387) size 769x64
+        LayoutText {#text} at (0,0) size 159x15
+          text run at (0,0) width 159: "This is a paragraph that has a "
+        LayoutInline {SPAN} at (0,0) size 764x93 [border: (12px solid #FF0000)]
+          LayoutText {#text} at (173,0) size 764x63
+            text run at (173,0) width 552: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
+            text run at (0,16) width 764: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the padding"
+            text run at (0,32) width 240: "and border should not effect the line height. "
+            text run at (239,32) width 525: "The span's border should have vertical lines only at the beginning and end of the whole span, not"
+            text run at (0,48) width 69: "on each line."
+        LayoutText {#text} at (83,48) size 415x15
+          text run at (83,48) width 3: " "
+          text run at (86,48) width 412: "The line spacing in the whole paragraph should be 12pt, with font-size 10pt."
+      LayoutTable {TABLE} at (0,464.33) size 769x310 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x308
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x280
+            LayoutTableCell {TD} at (0,154) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x280 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x192
+                LayoutText {#text} at (0,6) size 187x19
+                  text run at (0,6) width 187: "This is a paragraph that has a "
+                LayoutInline {SPAN} at (0,0) size 747x173 [border: (10px solid #FF0000)]
+                  LayoutText {#text} at (239,6) size 747x147
+                    text run at (239,6) width 502: "very long span in it, and the span has a 10px red border separated from the span"
+                    text run at (0,38) width 187: "by 2pt, and a margin of 30pt. "
+                    text run at (186,38) width 561: "The padding and border should be present on all sides of the span (although vertical lines"
+                    text run at (0,70) width 539: "should appear only at the beginning and the end of the whole span, not on each line). "
+                    text run at (539,70) width 208: "The padding, border, and margin"
+                    text run at (0,102) width 388: "should all be noticeable at the beginning and end of the span. "
+                    text run at (388,102) width 349: "However, the line height should not be changed by any"
+                    text run at (0,134) width 602: "of them, so the margin should be unnoticeable and the border should overlap text on other lines."
+                LayoutText {#text} at (653,134) size 710x51
+                  text run at (653,134) width 5: " "
+                  text run at (657,134) width 53: "The line"
+                  text run at (0,166) width 404: "spacing in the whole paragraph should be 200% of the font size."
+              LayoutBlockFlow {P} at (4,212) size 747x64
+                LayoutText {#text} at (0,0) size 159x15
+                  text run at (0,0) width 159: "This is a paragraph that has a "
+                LayoutInline {SPAN} at (0,0) size 725x93 [border: (12px solid #FF0000)]
+                  LayoutText {#text} at (173,0) size 725x63
+                    text run at (173,0) width 552: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
+                    text run at (0,16) width 716: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the"
+                    text run at (0,32) width 288: "padding and border should not effect the line height. "
+                    text run at (287,32) width 437: "The span's border should have vertical lines only at the beginning and end of the"
+                    text run at (0,48) width 157: "whole span, not on each line."
+                LayoutText {#text} at (171,48) size 415x15
+                  text run at (171,48) width 3: " "
+                  text run at (174,48) width 412: "The line spacing in the whole paragraph should be 12pt, with font-size 10pt."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/replaced_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/replaced_elements-expected.txt
new file mode 100644
index 0000000..bf3b75c2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/replaced_elements-expected.txt
@@ -0,0 +1,88 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2377
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2377 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2377
+    LayoutBlockFlow {BODY} at (8,8) size 769x2361 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x128
+        LayoutText {#text} at (0,0) size 504x128
+          text run at (0,0) width 208: "IMG.one {display: inline;}"
+          text run at (208,0) width 0: " "
+          text run at (0,16) width 200: "IMG.two {display: block;}"
+          text run at (200,16) width 0: " "
+          text run at (0,32) width 208: "IMG.three {display: block;"
+          text run at (208,32) width 0: " "
+          text run at (0,48) width 504: "           margin-right: auto; margin-left: auto; width: auto;}"
+          text run at (504,48) width 0: " "
+          text run at (0,64) width 200: "IMG.four {display: block;"
+          text run at (200,64) width 0: " "
+          text run at (0,80) width 488: "          margin-right: auto; margin-left: auto; width: 50%;}"
+          text run at (488,80) width 0: " "
+          text run at (0,96) width 200: "IMG.five {display: block;"
+          text run at (200,96) width 0: " "
+          text run at (0,112) width 464: "          margin-right: 0; margin-left: auto; width: 50%;}"
+          text run at (464,112) width 0: " "
+      LayoutBlockFlow {P} at (0,195) size 769x20
+        LayoutImage {IMG} at (0,0) size 15x15
+        LayoutText {#text} at (15,0) size 434x19
+          text run at (15,0) width 434: "The image at the beginning of this sentence should be a 15px square."
+      LayoutImage {IMG} at (0,231) size 15x15
+      LayoutBlockFlow {P} at (0,262) size 769x20
+        LayoutText {#text} at (0,0) size 489x19
+          text run at (0,0) width 489: "The above image should be a 15px square with the same left edge as this text."
+      LayoutImage {IMG} at (377,298) size 15x15
+      LayoutBlockFlow {P} at (0,329) size 769x20
+        LayoutText {#text} at (0,0) size 400x19
+          text run at (0,0) width 400: "The above image should be a 15px square aligned at the center."
+      LayoutImage {IMG} at (192.25,365) size 384.50x384.50
+      LayoutBlockFlow {P} at (0,765.50) size 769x40
+        LayoutText {#text} at (0,0) size 766x39
+          text run at (0,0) width 766: "The above image should be a square resized so its width is 50% of the its parent element, and centered horizontally within"
+          text run at (0,20) width 123: "the parent element: "
+          text run at (123,20) width 395: "the document body in the first half, and the table in the second."
+      LayoutImage {IMG} at (384.50,821.50) size 384.50x384.50
+      LayoutBlockFlow {P} at (0,1222) size 769x40
+        LayoutText {#text} at (0,0) size 758x39
+          text run at (0,0) width 758: "The above image should be a square resized so its width is 50% of its parent element, and aligned at the right edge of the"
+          text run at (0,20) width 100: "parent element: "
+          text run at (100,20) width 395: "the document body in the first half, and the table in the second."
+      LayoutTable {TABLE} at (0,1278) size 769x1083 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1081
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1053
+            LayoutTableCell {TD} at (0,540) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1053 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutImage {IMG} at (0,0) size 15x15
+                LayoutText {#text} at (15,0) size 434x19
+                  text run at (15,0) width 434: "The image at the beginning of this sentence should be a 15px square."
+              LayoutImage {IMG} at (4,40) size 15x15
+              LayoutBlockFlow {P} at (4,71) size 747x20
+                LayoutText {#text} at (0,0) size 489x19
+                  text run at (0,0) width 489: "The above image should be a 15px square with the same left edge as this text."
+              LayoutImage {IMG} at (370,107) size 15x15
+              LayoutBlockFlow {P} at (4,138) size 747x20
+                LayoutText {#text} at (0,0) size 400x19
+                  text run at (0,0) width 400: "The above image should be a 15px square aligned at the center."
+              LayoutImage {IMG} at (190.75,174) size 373.50x373.50
+              LayoutBlockFlow {P} at (4,563.50) size 747x40
+                LayoutText {#text} at (0,0) size 722x39
+                  text run at (0,0) width 722: "The above image should be a square resized so its width is 50% of the its parent element, and centered horizontally"
+                  text run at (0,20) width 167: "within the parent element: "
+                  text run at (167,20) width 395: "the document body in the first half, and the table in the second."
+              LayoutImage {IMG} at (377.50,619.50) size 373.50x373.50
+              LayoutBlockFlow {P} at (4,1009) size 747x40
+                LayoutText {#text} at (0,0) size 735x39
+                  text run at (0,0) width 735: "The above image should be a square resized so its width is 50% of its parent element, and aligned at the right edge of"
+                  text run at (0,20) width 123: "the parent element: "
+                  text run at (123,20) width 395: "the document body in the first half, and the table in the second."
+layer at (8,185) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/vertical_formatting-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/vertical_formatting-expected.txt
new file mode 100644
index 0000000..0c0bb39
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/formatting_model/vertical_formatting-expected.txt
@@ -0,0 +1,173 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2599
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2599 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2598.78
+    LayoutBlockFlow {BODY} at (8,8) size 769x2582.78 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x320
+        LayoutText {#text} at (0,0) size 496x320
+          text run at (0,0) width 368: "P.one {margin-bottom: 2cm; padding-bottom: 0;}"
+          text run at (368,0) width 0: " "
+          text run at (0,16) width 320: "P.two {margin-top: 2cm; padding-top: 0;}"
+          text run at (320,16) width 0: " "
+          text run at (0,32) width 320: "P.three {margin-top: 0; padding-top: 0;}"
+          text run at (320,32) width 0: " "
+          text run at (0,48) width 344: "P.four {margin-top: -1cm; margin-bottom: 0;"
+          text run at (344,48) width 0: " "
+          text run at (0,64) width 344: "        padding-top: 0; padding-bottom: 0;}"
+          text run at (344,64) width 0: " "
+          text run at (0,80) width 368: "DIV.five {margin-top: 1cm; margin-bottom: 1cm;"
+          text run at (368,80) width 0: " "
+          text run at (0,96) width 376: "          padding-top: 1cm; padding-bottom: 0;}"
+          text run at (376,96) width 0: " "
+          text run at (0,112) width 344: "P.six {margin-top: 1cm; margin-bottom: 1cm;"
+          text run at (344,112) width 0: " "
+          text run at (0,128) width 336: "       padding-top: 0; padding-bottom: 0;}"
+          text run at (336,128) width 0: " "
+          text run at (0,144) width 336: "P.seven {margin-top: 1cm; padding-top: 0;}"
+          text run at (336,144) width 0: " "
+          text run at (0,160) width 408: "P.eight {margin-bottom: -1cm; padding-bottom: 2cm;}"
+          text run at (408,160) width 0: " "
+          text run at (0,176) width 344: "P.nine {margin-top: -1cm; padding-top: 1cm;"
+          text run at (344,176) width 0: " "
+          text run at (0,192) width 376: "        padding-bottom: 0; margin-bottom: 1cm;}"
+          text run at (376,192) width 0: " "
+          text run at (0,208) width 304: "P.ten {margin-top: 1cm;padding-top: 0;"
+          text run at (304,208) width 0: " "
+          text run at (0,224) width 248: "       float: left;width: 50%;}"
+          text run at (248,224) width 0: " "
+          text run at (0,240) width 448: "P.eleven {margin-top: 1cm; padding-top: 0; clear: none;}"
+          text run at (448,240) width 0: " "
+          text run at (0,256) width 496: "P.twelve {margin-bottom: 0; padding-bottom: 1cm; clear: both;}"
+          text run at (496,256) width 0: " "
+          text run at (0,272) width 360: "P.thirteen {margin-top: 0; padding-top: 1cm;}"
+          text run at (360,272) width 0: " "
+          text run at (0,288) width 160: "TABLE {clear: both;}"
+          text run at (160,288) width 0: " "
+          text run at (0,304) width 0: " "
+      LayoutBlockFlow {P} at (0,387) size 769x40
+        LayoutText {#text} at (0,0) size 754x39
+          text run at (0,0) width 754: "There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins should"
+          text run at (0,20) width 255: "collapse to the maximum of the margins."
+      LayoutBlockFlow {P} at (0,502.58) size 769x20
+        LayoutText {#text} at (0,0) size 164x19
+          text run at (0,0) width 164: "This is another paragraph."
+      LayoutBlockFlow {P} at (0,538.58) size 769x20
+        LayoutText {#text} at (0,0) size 494x19
+          text run at (0,0) width 494: "There should be a two-centimeter margin between this paragraph and the next."
+      LayoutBlockFlow {P} at (0,634.16) size 769x20
+        LayoutText {#text} at (0,0) size 164x19
+          text run at (0,0) width 164: "This is another paragraph."
+      LayoutBlockFlow {P} at (0,670.16) size 769x40
+        LayoutText {#text} at (0,0) size 719x39
+          text run at (0,0) width 719: "There should be a one-centimeter margin between this paragraph and the next, because when there is one negative"
+          text run at (0,20) width 465: "margin, the two margins should be added (the minus sign should be kept)."
+      LayoutBlockFlow {P} at (0,747.95) size 769x20
+        LayoutText {#text} at (0,0) size 164x19
+          text run at (0,0) width 164: "This is another paragraph."
+      LayoutBlockFlow {DIV} at (0,805.73) size 769x135.56
+        LayoutBlockFlow {P} at (0,75.56) size 769x60
+          LayoutText {#text} at (0,0) size 759x59
+            text run at (0,0) width 757: "There should be three centimeters between this text and the text above, but only one centimeter between this text and the"
+            text run at (0,20) width 759: "text below, because vertical margins of nested elements should collapse only if there is no border or padding between the"
+            text run at (0,40) width 54: "margins."
+      LayoutBlockFlow {P} at (0,979.08) size 769x20
+        LayoutText {#text} at (0,0) size 109x19
+          text run at (0,0) width 109: "This is more text."
+      LayoutBlockFlow {P} at (0,1015.08) size 769x115.58
+        LayoutText {#text} at (0,0) size 725x39
+          text run at (0,0) width 725: "There should be two centimeters between this paragraph and the one below, because negative margins collapse to a"
+          text run at (0,20) width 456: "negative margin with the largest absolute value of the margins collapsed."
+      LayoutBlockFlow {P} at (0,1092.88) size 769x77.78
+        LayoutText {#text} at (0,38) size 765x39
+          text run at (0,38) width 765: "This is a paragraph, which I should make very long so that you can easily see how much space there is between it and the"
+          text run at (0,58) width 181: "one below it and to the right."
+      LayoutBlockFlow (floating) {P} at (0,1246.22) size 384.50x60
+        LayoutText {#text} at (0,0) size 382x59
+          text run at (0,0) width 382: "There should be two centimeters between this paragraph and"
+          text run at (0,20) width 365: "the one above it, since margins do not collapse on floating"
+          text run at (0,40) width 59: "elements."
+      LayoutBlockFlow {P} at (0,1208.44) size 769x60
+        LayoutText {#text} at (384,0) size 376x59
+          text run at (384,0) width 376: "There should be one centimeter between this paragraph and"
+          text run at (384,20) width 357: "the (non-floating) one above it, since the float should not"
+          text run at (384,40) width 182: "effect the paragraph spacing."
+      LayoutBlockFlow {P} at (0,1322.22) size 769x77.78
+        LayoutText {#text} at (0,0) size 749x39
+          text run at (0,0) width 554: "There should be two centimeters of padding between this paragraph and the one below. "
+          text run at (553,0) width 196: "Padding does not collapse, and"
+          text run at (0,20) width 234: "there is 1cm of padding on each side."
+      LayoutBlockFlow {P} at (0,1400) size 769x57.78
+        LayoutText {#text} at (0,38) size 167x19
+          text run at (0,38) width 167: "This is the next paragraph."
+      LayoutTable {TABLE} at (0,1473.78) size 769x1109 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1107
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1079
+            LayoutTableCell {TD} at (0,553) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1078.78 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 708x39
+                  text run at (0,0) width 708: "There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins"
+                  text run at (0,20) width 301: "should collapse to the maximum of the margins."
+              LayoutBlockFlow {P} at (4,119.58) size 747x20
+                LayoutText {#text} at (0,0) size 164x19
+                  text run at (0,0) width 164: "This is another paragraph."
+              LayoutBlockFlow {P} at (4,155.58) size 747x20
+                LayoutText {#text} at (0,0) size 494x19
+                  text run at (0,0) width 494: "There should be a two-centimeter margin between this paragraph and the next."
+              LayoutBlockFlow {P} at (4,251.16) size 747x20
+                LayoutText {#text} at (0,0) size 164x19
+                  text run at (0,0) width 164: "This is another paragraph."
+              LayoutBlockFlow {P} at (4,287.16) size 747x40
+                LayoutText {#text} at (0,0) size 719x39
+                  text run at (0,0) width 719: "There should be a one-centimeter margin between this paragraph and the next, because when there is one negative"
+                  text run at (0,20) width 465: "margin, the two margins should be added (the minus sign should be kept)."
+              LayoutBlockFlow {P} at (4,364.95) size 747x20
+                LayoutText {#text} at (0,0) size 164x19
+                  text run at (0,0) width 164: "This is another paragraph."
+              LayoutBlockFlow {DIV} at (4,422.73) size 747x135.56
+                LayoutBlockFlow {P} at (0,75.56) size 747x60
+                  LayoutText {#text} at (0,0) size 734x59
+                    text run at (0,0) width 734: "There should be three centimeters between this text and the text above, but only one centimeter between this text and"
+                    text run at (0,20) width 702: "the text below, because vertical margins of nested elements should collapse only if there is no border or padding"
+                    text run at (0,40) width 134: "between the margins."
+              LayoutBlockFlow {P} at (4,596.08) size 747x20
+                LayoutText {#text} at (0,0) size 109x19
+                  text run at (0,0) width 109: "This is more text."
+              LayoutBlockFlow {P} at (4,632.08) size 747x115.58
+                LayoutText {#text} at (0,0) size 725x39
+                  text run at (0,0) width 725: "There should be two centimeters between this paragraph and the one below, because negative margins collapse to a"
+                  text run at (0,20) width 456: "negative margin with the largest absolute value of the margins collapsed."
+              LayoutBlockFlow {P} at (4,709.88) size 747x77.78
+                LayoutText {#text} at (0,38) size 742x39
+                  text run at (0,38) width 742: "This is a paragraph, which I should make very long so that you can easily see how much space there is between it and"
+                  text run at (0,58) width 204: "the one below it and to the right."
+              LayoutBlockFlow (floating) {P} at (4,863.22) size 373.50x60
+                LayoutText {#text} at (0,0) size 355x59
+                  text run at (0,0) width 355: "There should be two centimeters between this paragraph"
+                  text run at (0,20) width 340: "and the one above it, since margins do not collapse on"
+                  text run at (0,40) width 111: "floating elements."
+              LayoutBlockFlow {P} at (4,825.44) size 747x60
+                LayoutText {#text} at (373,0) size 360x59
+                  text run at (373,0) width 349: "There should be one centimeter between this paragraph"
+                  text run at (373,20) width 360: "and the (non-floating) one above it, since the float should"
+                  text run at (373,40) width 206: "not effect the paragraph spacing."
+              LayoutBlockFlow {P} at (4,939.22) size 747x77.78
+                LayoutText {#text} at (0,0) size 722x39
+                  text run at (0,0) width 554: "There should be two centimeters of padding between this paragraph and the one below. "
+                  text run at (553,0) width 169: "Padding does not collapse,"
+                  text run at (0,20) width 261: "and there is 1cm of padding on each side."
+              LayoutBlockFlow {P} at (4,1017) size 747x57.78
+                LayoutText {#text} at (0,38) size 167x19
+                  text run at (0,38) width 167: "This is the next paragraph."
+layer at (8,377) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,369) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/anchor-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/anchor-expected.txt
new file mode 100644
index 0000000..dde77cd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/anchor-expected.txt
@@ -0,0 +1,163 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 737
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x737 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x737
+    LayoutBlockFlow {BODY} at (8,8) size 769x721 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 200x96
+          text run at (0,0) width 136: "A {color: green;}"
+          text run at (136,0) width 0: " "
+          text run at (0,16) width 184: "A:link {color: purple;}"
+          text run at (184,16) width 0: " "
+          text run at (0,32) width 192: "A:visited {color: lime;}"
+          text run at (192,32) width 0: " "
+          text run at (0,48) width 200: "A:active {color: maroon;}"
+          text run at (200,48) width 0: " "
+          text run at (0,64) width 176: "#one {color: #006600;}"
+          text run at (176,64) width 0: " "
+          text run at (0,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 500x19
+          text run at (0,0) width 500: "The following anchors should appear as described; none of them should be red."
+      LayoutBlockFlow {UL} at (0,199) size 769x160
+        LayoutListItem {LI} at (40,0) size 729x120
+          LayoutBlockFlow (anonymous) at (0,0) size 729x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 567x19
+              text run at (0,0) width 567: "Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):"
+          LayoutBlockFlow {UL} at (0,20) size 729x100
+            LayoutListItem {LI} at (40,0) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 109x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 109x19
+                  text run at (0,0) width 109: "W3C Web server"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,20) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 111x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 111x19
+                  text run at (0,0) width 111: "NIST Web server"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,40) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 124x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 124x19
+                  text run at (0,0) width 124: "CWRU Web server"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,60) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 47x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 47x19
+                  text run at (0,0) width 47: "Yahoo!"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,80) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 58x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 58x19
+                  text run at (0,0) width 58: "Erewhon"
+              LayoutText {#text} at (58,0) size 219x19
+                text run at (58,0) width 219: " (don't click on it, it goes nowhere)"
+        LayoutListItem {LI} at (40,120) size 729x40
+          LayoutBlockFlow (anonymous) at (0,0) size 729x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 204x19
+              text run at (0,0) width 204: "Dark green in any circumstance:"
+          LayoutBlockFlow {UL} at (0,20) size 729x20
+            LayoutListItem {LI} at (40,0) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 124x19 [color=#006600]
+                LayoutText {#text} at (0,0) size 124x19
+                  text run at (0,0) width 124: "CWRU Web server"
+              LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,375) size 769x40
+        LayoutText {#text} at (0,0) size 120x19
+          text run at (0,0) width 120: "The quoted word \""
+        LayoutInline {A} at (0,0) size 43x19 [color=#008000]
+          LayoutText {#text} at (120,0) size 43x19
+            text run at (120,0) width 43: "anchor"
+        LayoutText {#text} at (163,0) size 731x39
+          text run at (163,0) width 377: "\" should be green, NOT purple, since it's part of an anchor. "
+          text run at (539,0) width 192: "It's a named anchor, and styles"
+          text run at (0,20) width 350: "declared for the A tag are applied to them under CSS1. "
+          text run at (350,20) width 326: "It also should NOT turn orange when clicked upon."
+      LayoutTable {TABLE} at (0,431) size 769x290 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x288
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x260
+            LayoutTableCell {TD} at (0,144) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x260 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 500x19
+                  text run at (0,0) width 500: "The following anchors should appear as described; none of them should be red."
+              LayoutBlockFlow {UL} at (4,40) size 747x160
+                LayoutListItem {LI} at (40,0) size 707x120
+                  LayoutBlockFlow (anonymous) at (0,0) size 707x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 567x19
+                      text run at (0,0) width 567: "Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):"
+                  LayoutBlockFlow {UL} at (0,20) size 707x100
+                    LayoutListItem {LI} at (40,0) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 109x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 109x19
+                          text run at (0,0) width 109: "W3C Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,20) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 111x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 111x19
+                          text run at (0,0) width 111: "NIST Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,40) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 124x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 124x19
+                          text run at (0,0) width 124: "CWRU Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,60) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 47x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 47x19
+                          text run at (0,0) width 47: "Yahoo!"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,80) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 58x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 58x19
+                          text run at (0,0) width 58: "Erewhon"
+                      LayoutText {#text} at (58,0) size 219x19
+                        text run at (58,0) width 219: " (don't click on it, it goes nowhere)"
+                LayoutListItem {LI} at (40,120) size 707x40
+                  LayoutBlockFlow (anonymous) at (0,0) size 707x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 204x19
+                      text run at (0,0) width 204: "Dark green in any circumstance:"
+                  LayoutBlockFlow {UL} at (0,20) size 707x20
+                    LayoutListItem {LI} at (40,0) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 124x19 [color=#006600]
+                        LayoutText {#text} at (0,0) size 124x19
+                          text run at (0,0) width 124: "CWRU Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,216) size 747x40
+                LayoutText {#text} at (0,0) size 120x19
+                  text run at (0,0) width 120: "The quoted word \""
+                LayoutInline {A} at (0,0) size 43x19 [color=#008000]
+                  LayoutText {#text} at (120,0) size 43x19
+                    text run at (120,0) width 43: "anchor"
+                LayoutText {#text} at (163,0) size 731x39
+                  text run at (163,0) width 377: "\" should be green, NOT purple, since it's part of an anchor. "
+                  text run at (539,0) width 192: "It's a named anchor, and styles"
+                  text run at (0,20) width 350: "declared for the A tag are applied to them under CSS1. "
+                  text run at (350,20) width 326: "It also should NOT turn orange when clicked upon."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/firstletter-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/firstletter-expected.txt
new file mode 100644
index 0000000..f4b1834
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/firstletter-expected.txt
@@ -0,0 +1,94 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 751
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x751 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x751
+    LayoutBlockFlow {BODY} at (8,8) size 769x735 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 10x19 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 10x19
+            text run at (0,0) width 10: "T"
+        LayoutTextFragment {#text} at (10,0) size 345x19
+          text run at (10,0) width 345: "he style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 312x64
+          text run at (0,0) width 248: "P:first-letter {color: maroon;}"
+          text run at (248,0) width 0: " "
+          text run at (0,16) width 288: ".two:first-letter {font-size: 200%;}"
+          text run at (288,16) width 0: " "
+          text run at (0,32) width 312: "P.three:first-letter {font-size: 350%;}"
+          text run at (312,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x60
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 10x19 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 10x19
+            text run at (0,0) width 10: "T"
+        LayoutTextFragment {#text} at (10,0) size 764x59
+          text run at (10,0) width 434: "he first letter of this paragraph, and only that one, should be maroon. "
+          text run at (444,0) width 320: "If this precise combination does not occur, then the"
+          text run at (0,20) width 187: "user agent has failed this test. "
+          text run at (187,20) width 574: "Remember that in order to ensure a complete test, the paragraph must be displayed on more"
+          text run at (0,40) width 85: "than one line."
+      LayoutBlockFlow {P} at (0,207) size 769x77
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 20x36 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 20x36
+            text run at (0,0) width 20: "T"
+        LayoutTextFragment {#text} at (20,13) size 757x63
+          text run at (20,13) width 611: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
+          text run at (630,13) width 85: "If this precise"
+          text run at (0,37) width 423: "combination does not occur, then the user agent has failed this test. "
+          text run at (422,37) width 335: "Remember that in order to ensure a complete test, the"
+          text run at (0,57) width 325: "paragraph must be displayed on more than one line."
+      LayoutBlockFlow {P} at (0,300) size 769x106
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 76x64 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,1) size 76x64
+            text run at (0,1) width 76: "\"W"
+        LayoutTextFragment {#text} at (76,36) size 760x69
+          text run at (76,36) width 319: "e should check for quotation support,\" it was said. "
+          text run at (395,36) width 365: "The first two characters in this paragraph-- a double-quote"
+          text run at (0,66) width 578: "mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
+          text run at (578,66) width 178: "Note that this is not required"
+          text run at (0,86) width 228: "under CSS1, but it is recommended."
+      LayoutTable {TABLE} at (0,422) size 769x313 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x311
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x283
+            LayoutTableCell {TD} at (0,155) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x283 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x60
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 10x19 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 10x19
+                    text run at (0,0) width 10: "T"
+                LayoutTextFragment {#text} at (10,0) size 741x59
+                  text run at (10,0) width 434: "he first letter of this paragraph, and only that one, should be maroon. "
+                  text run at (444,0) width 297: "If this precise combination does not occur, then"
+                  text run at (0,20) width 210: "the user agent has failed this test. "
+                  text run at (210,20) width 518: "Remember that in order to ensure a complete test, the paragraph must be displayed"
+                  text run at (0,40) width 141: "on more than one line."
+              LayoutBlockFlow {P} at (4,80) size 747x77
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 20x36 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 20x36
+                    text run at (0,0) width 20: "T"
+                LayoutTextFragment {#text} at (20,13) size 734x63
+                  text run at (20,13) width 611: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
+                  text run at (630,13) width 85: "If this precise"
+                  text run at (0,37) width 423: "combination does not occur, then the user agent has failed this test. "
+                  text run at (422,37) width 312: "Remember that in order to ensure a complete test,"
+                  text run at (0,57) width 348: "the paragraph must be displayed on more than one line."
+              LayoutBlockFlow {P} at (4,173) size 747x106
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 76x64 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,1) size 76x64
+                    text run at (0,1) width 76: "\"W"
+                LayoutTextFragment {#text} at (76,36) size 739x69
+                  text run at (76,36) width 319: "e should check for quotation support,\" it was said. "
+                  text run at (395,36) width 330: "The first two characters in this paragraph-- a double-"
+                  text run at (0,66) width 617: "quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
+                  text run at (617,66) width 122: "Note that this is not"
+                  text run at (0,86) width 284: "required under CSS1, but it is recommended."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/firstline-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/firstline-expected.txt
new file mode 100644
index 0000000..e3fe5eb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/firstline-expected.txt
@@ -0,0 +1,83 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 699
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x699 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x699
+    LayoutBlockFlow {BODY} at (8,8) size 769x683 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 360x64
+          text run at (0,0) width 224: "P:first-line {color: green;}"
+          text run at (224,0) width 0: " "
+          text run at (0,16) width 272: ".two:first-line {font-size: 200%;}"
+          text run at (272,16) width 0: " "
+          text run at (0,32) width 360: ".three:first-line {font-variant: small-caps;}"
+          text run at (360,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x60
+        LayoutText {#text} at (0,0) size 761x59
+          text run at (0,0) width 423: "The first line of this paragraph, and only that one, should be green. "
+          text run at (423,0) width 320: "If this precise combination does not occur, then the"
+          text run at (0,20) width 187: "user agent has failed this test. "
+          text run at (187,20) width 574: "Remember that in order to ensure a complete test, the paragraph must be displayed on more"
+          text run at (0,40) width 85: "than one line."
+      LayoutBlockFlow {P} at (0,207) size 769x77
+        LayoutText {#text} at (0,0) size 767x76
+          text run at (0,0) width 767: "The first line of this paragraph, and only that one, should be"
+          text run at (0,37) width 216: "a larger font size as well as green. "
+          text run at (215,37) width 508: "If this precise combination does not occur, then the user agent has failed this test."
+          text run at (0,57) width 663: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
+      LayoutBlockFlow {P} at (0,300) size 769x80
+        LayoutText {#text} at (0,0) size 762x59
+          text run at (0,0) width 604: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
+          text run at (603,0) width 155: "Thus, if the first line is"
+          text run at (0,20) width 762: "not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test (although"
+          text run at (0,40) width 165: "the problem might be that "
+        LayoutInline {CODE} at (0,0) size 80x16
+          LayoutText {#text} at (165,43) size 80x16
+            text run at (165,43) width 80: "small-caps"
+        LayoutText {#text} at (245,40) size 754x39
+          text run at (245,40) width 225: " is not supported by your browser). "
+          text run at (470,40) width 284: "This is extra text included for the purposes of"
+          text run at (0,60) width 395: "making the paragraph long enough to have more than one line."
+      LayoutTable {TABLE} at (0,396) size 769x287 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x285
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x257
+            LayoutTableCell {TD} at (0,142) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x257 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x60
+                LayoutText {#text} at (0,0) size 743x59
+                  text run at (0,0) width 423: "The first line of this paragraph, and only that one, should be green. "
+                  text run at (423,0) width 320: "If this precise combination does not occur, then the"
+                  text run at (0,20) width 187: "user agent has failed this test. "
+                  text run at (187,20) width 538: "Remember that in order to ensure a complete test, the paragraph must be displayed on"
+                  text run at (0,40) width 121: "more than one line."
+              LayoutBlockFlow {P} at (4,80) size 747x77
+                LayoutText {#text} at (0,0) size 742x76
+                  text run at (0,0) width 729: "The first line of this paragraph, and only that one, should"
+                  text run at (0,37) width 235: "be a larger font size as well as green. "
+                  text run at (234,37) width 508: "If this precise combination does not occur, then the user agent has failed this test."
+                  text run at (0,57) width 663: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
+              LayoutBlockFlow {P} at (4,173) size 747x80
+                LayoutText {#text} at (0,0) size 744x59
+                  text run at (0,0) width 604: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
+                  text run at (603,0) width 141: "Thus, if the first line"
+                  text run at (0,20) width 712: "is not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test"
+                  text run at (0,40) width 229: "(although the problem might be that "
+                LayoutInline {CODE} at (0,0) size 80x16
+                  LayoutText {#text} at (229,43) size 80x16
+                    text run at (229,43) width 80: "small-caps"
+                LayoutText {#text} at (309,40) size 741x39
+                  text run at (309,40) width 225: " is not supported by your browser). "
+                  text run at (534,40) width 207: "This is extra text included for the"
+                  text run at (0,60) width 472: "purposes of making the paragraph long enough to have more than one line."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt
new file mode 100644
index 0000000..dc49c2e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -0,0 +1,105 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1089
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1089 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1089
+    LayoutBlockFlow {BODY} at (8,8) size 769x1073 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 10x19 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 10x19
+            text run at (0,0) width 10: "T"
+        LayoutTextFragment {#text} at (10,0) size 345x19
+          text run at (10,0) width 345: "he style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x112
+        LayoutText {#text} at (0,0) size 368x112
+          text run at (0,0) width 224: "P:first-line {color: green;}"
+          text run at (224,0) width 0: " "
+          text run at (0,16) width 248: "P:first-letter {color: maroon;}"
+          text run at (248,16) width 0: " "
+          text run at (0,32) width 272: ".two:first-line {font-size: 200%;}"
+          text run at (272,32) width 0: " "
+          text run at (0,48) width 288: ".two:first-letter {font-size: 350%;}"
+          text run at (288,48) width 0: " "
+          text run at (0,64) width 312: "P.three:first-letter {font-size: 350%;}"
+          text run at (312,64) width 0: " "
+          text run at (0,80) width 368: "P.three:first-line {font-variant: small-caps;}"
+          text run at (368,80) width 0: " "
+          text run at (0,96) width 0: " "
+      LayoutBlockFlow {P} at (0,179) size 769x60
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 10x19 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 10x19
+            text run at (0,0) width 10: "T"
+        LayoutTextFragment {#text} at (10,0) size 764x59
+          text run at (10,0) width 717: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be"
+          text run at (0,20) width 43: "green. "
+          text run at (43,20) width 511: "If this precise combination does not occur, then the user agent has failed this test. "
+          text run at (553,20) width 211: "Remember that in order to ensure"
+          text run at (0,40) width 449: "a complete test, the paragraph must be displayed on more than one line."
+      LayoutBlockFlow {P} at (0,255) size 769x192
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 68x127 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,2) size 68x127
+            text run at (0,2) width 68: "T"
+        LayoutTextFragment {#text} at (68,74) size 751x117
+          text run at (68,74) width 634: "he first letter of this paragraph, and only that one,"
+          text run at (0,132) width 736: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line"
+          text run at (0,152) width 299: "should be 200% bigger than normal and green. "
+          text run at (299,152) width 452: "If this precise combination does not occur, then the user agent has failed"
+          text run at (0,172) width 55: "this test. "
+          text run at (55,172) width 663: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
+      LayoutBlockFlow {P} at (0,463) size 769x126
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 76x64 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,1) size 76x64
+            text run at (0,1) width 76: "\"W"
+        LayoutTextFragment {#text} at (76,36) size 765x89
+          text run at (76,36) width 333: "e should check for quotation support,\" it was said. "
+          text run at (408,36) width 354: "The first two characters in this paragraph-- a double-"
+          text run at (0,66) width 683: "quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red). "
+          text run at (683,66) width 81: "Note that the"
+          text run at (0,86) width 765: "inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it is recommended."
+          text run at (0,106) width 450: "In addition, the entire first line should be in a small-caps font and green."
+      LayoutTable {TABLE} at (0,605) size 769x468 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x466
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x438
+            LayoutTableCell {TD} at (0,233) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x438 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x60
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 10x19 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 10x19
+                    text run at (0,0) width 10: "T"
+                LayoutTextFragment {#text} at (10,0) size 727x59
+                  text run at (10,0) width 717: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be"
+                  text run at (0,20) width 43: "green. "
+                  text run at (43,20) width 511: "If this precise combination does not occur, then the user agent has failed this test. "
+                  text run at (553,20) width 166: "Remember that in order to"
+                  text run at (0,40) width 494: "ensure a complete test, the paragraph must be displayed on more than one line."
+              LayoutBlockFlow {P} at (4,80) size 747x212
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 68x127 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,2) size 68x127
+                    text run at (0,2) width 68: "T"
+                LayoutTextFragment {#text} at (68,74) size 736x137
+                  text run at (68,74) width 634: "he first letter of this paragraph, and only that one,"
+                  text run at (0,132) width 736: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line"
+                  text run at (0,152) width 299: "should be 200% bigger than normal and green. "
+                  text run at (299,152) width 413: "If this precise combination does not occur, then the user agent has"
+                  text run at (0,172) width 94: "failed this test. "
+                  text run at (94,172) width 632: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one"
+                  text run at (0,192) width 27: "line."
+              LayoutBlockFlow {P} at (4,308) size 747x126
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 76x64 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,1) size 76x64
+                    text run at (0,1) width 76: "\"W"
+                LayoutTextFragment {#text} at (76,36) size 739x89
+                  text run at (76,36) width 333: "e should check for quotation support,\" it was said. "
+                  text run at (408,36) width 300: "The first two characters in this paragraph-- a"
+                  text run at (0,66) width 727: "double-quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red)."
+                  text run at (0,86) width 739: "Note that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it"
+                  text run at (0,106) width 111: "is recommended. "
+                  text run at (111,106) width 450: "In addition, the entire first line should be in a small-caps font and green."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/pseudo_elements_in_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/pseudo_elements_in_selectors-expected.txt
new file mode 100644
index 0000000..92c169e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/pseudo/pseudo_elements_in_selectors-expected.txt
@@ -0,0 +1,78 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 605
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x605 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x605
+    LayoutBlockFlow {BODY} at (8,8) size 769x589 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 380x19
+          text run at (0,0) width 380: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 264x64
+          text run at (0,0) width 264: "P:first-line {font-weight: bold;}"
+          text run at (264,0) width 0: " "
+          text run at (0,16) width 256: "P.two:first-line {color: green;}"
+          text run at (256,16) width 0: " "
+          text run at (0,32) width 256: "P:first-line.three {color: red;}"
+          text run at (256,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x40
+        LayoutText {#text} at (0,0) size 718x39
+          text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
+          text run at (339,0) width 379: "This test is included simply to establish a baseline for the"
+          text run at (0,20) width 636: "following tests, since if this test fails, then the rest of the tests on this page are expected to fail as well."
+      LayoutBlockFlow {P} at (0,187) size 769x40
+        LayoutText {#text} at (0,0) size 754x39
+          text run at (0,0) width 555: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
+          text run at (554,0) width 200: "If this is not the case, then the"
+          text run at (0,20) width 565: "user agent may have failed to properly parse the selector, or it may simply not support the "
+        LayoutInline {TT} at (0,0) size 89x16
+          LayoutText {#text} at (564,23) size 89x16
+            text run at (564,23) width 89: ":first-line"
+        LayoutText {#text} at (652,20) size 108x19
+          text run at (652,20) width 108: " pseudo-element."
+      LayoutBlockFlow {P} at (0,243) size 769x80
+        LayoutText {#text} at (0,0) size 766x79
+          text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
+          text run at (339,0) width 415: "If it is red, then the user agent has violated the specification in"
+          text run at (0,20) width 431: "allowing pseudo-elements at a point other than the end of a selector. "
+          text run at (430,20) width 336: "If neither is the case, then the user agent has correctly"
+          text run at (0,40) width 750: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have"
+          text run at (0,60) width 87: "failed the test."
+      LayoutTable {TABLE} at (0,339) size 769x250 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x248
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x220
+            LayoutTableCell {TD} at (0,124) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x220 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 718x39
+                  text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
+                  text run at (339,0) width 379: "This test is included simply to establish a baseline for the"
+                  text run at (0,20) width 636: "following tests, since if this test fails, then the rest of the tests on this page are expected to fail as well."
+              LayoutBlockFlow {P} at (4,60) size 747x60
+                LayoutText {#text} at (0,0) size 729x39
+                  text run at (0,0) width 555: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
+                  text run at (554,0) width 175: "If this is not the case, then"
+                  text run at (0,20) width 588: "the user agent may have failed to properly parse the selector, or it may simply not support the "
+                LayoutInline {TT} at (0,0) size 89x16
+                  LayoutText {#text} at (587,23) size 89x16
+                    text run at (587,23) width 89: ":first-line"
+                LayoutText {#text} at (675,20) size 730x39
+                  text run at (675,20) width 55: " pseudo-"
+                  text run at (0,40) width 53: "element."
+              LayoutBlockFlow {P} at (4,136) size 747x80
+                LayoutText {#text} at (0,0) size 737x79
+                  text run at (0,0) width 339: "The first line of this sentence should be boldfaced. "
+                  text run at (339,0) width 398: "If it is red, then the user agent has violated the specification"
+                  text run at (0,20) width 447: "in allowing pseudo-elements at a point other than the end of a selector. "
+                  text run at (446,20) width 277: "If neither is the case, then the user agent has"
+                  text run at (0,40) width 687: "correctly ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be"
+                  text run at (0,60) width 209: "considered to have failed the test."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/letter_spacing-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/letter_spacing-expected.txt
new file mode 100644
index 0000000..a1814ed
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/letter_spacing-expected.txt
@@ -0,0 +1,140 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1481
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1481 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1481
+    LayoutBlockFlow {BODY} at (8,8) size 769x1465 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x176
+        LayoutText {#text} at (0,0) size 264x176
+          text run at (0,0) width 232: ".one {letter-spacing: 0.3in;}"
+          text run at (232,0) width 0: " "
+          text run at (0,16) width 232: ".two {letter-spacing: 0.5cm;}"
+          text run at (232,16) width 0: " "
+          text run at (0,32) width 232: ".three {letter-spacing: 5mm;}"
+          text run at (232,32) width 0: " "
+          text run at (0,48) width 224: ".four {letter-spacing: 3pt;}"
+          text run at (224,48) width 0: " "
+          text run at (0,64) width 248: ".five {letter-spacing: 0.25pc;}"
+          text run at (248,64) width 0: " "
+          text run at (0,80) width 216: ".six {letter-spacing: 1em;}"
+          text run at (216,80) width 0: " "
+          text run at (0,96) width 232: ".seven {letter-spacing: 1ex;}"
+          text run at (232,96) width 0: " "
+          text run at (0,112) width 232: ".eight {letter-spacing: 5px;}"
+          text run at (232,112) width 0: " "
+          text run at (0,128) width 248: ".nine {letter-spacing: normal;}"
+          text run at (248,128) width 0: " "
+          text run at (0,144) width 224: ".ten {letter-spacing: 300%;}"
+          text run at (224,144) width 0: " "
+          text run at (0,160) width 264: ".eleven {letter-spacing: -0.1em;}"
+          text run at (264,160) width 0: " "
+      LayoutBlockFlow {P} at (0,243) size 769x80
+        LayoutText {#text} at (0,0) size 710x79
+          text run at (0,0) width 687: "This letters in this"
+          text run at (0,20) width 710: "sentence should have"
+          text run at (0,40) width 675: "extra space between"
+          text run at (0,60) width 179: "them."
+      LayoutBlockFlow {P} at (0,339) size 769x60
+        LayoutText {#text} at (0,0) size 718x59
+          text run at (0,0) width 718: "This letters in this sentence"
+          text run at (0,20) width 585: "should have extra space"
+          text run at (0,40) width 338: "between them."
+      LayoutBlockFlow {P} at (0,415) size 769x60
+        LayoutText {#text} at (0,0) size 718x59
+          text run at (0,0) width 718: "This letters in this sentence"
+          text run at (0,20) width 585: "should have extra space"
+          text run at (0,40) width 338: "between them."
+      LayoutBlockFlow {P} at (0,491) size 769x20
+        LayoutText {#text} at (0,0) size 687x19
+          text run at (0,0) width 687: "This letters in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,527) size 769x20
+        LayoutText {#text} at (0,0) size 687x19
+          text run at (0,0) width 687: "This letters in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,563) size 769x60
+        LayoutText {#text} at (0,0) size 703x59
+          text run at (0,0) width 633: "This letters in this sentence"
+          text run at (0,20) width 703: "should have extra space between"
+          text run at (0,40) width 115: "them."
+      LayoutBlockFlow {P} at (0,639) size 769x40
+        LayoutText {#text} at (0,0) size 694x39
+          text run at (0,0) width 694: "This letters in this sentence should have extra space"
+          text run at (0,20) width 183: "between them."
+      LayoutBlockFlow {P} at (0,695) size 769x40
+        LayoutText {#text} at (0,0) size 754x39
+          text run at (0,0) width 754: "This letters in this sentence should have extra space between them,"
+          text run at (0,20) width 435: "but the last few words in the sentence "
+        LayoutInline {SPAN} at (0,0) size 180x19
+          LayoutText {#text} at (435,20) size 180x19
+            text run at (435,20) width 180: "should show normal spacing"
+        LayoutText {#text} at (615,20) size 9x19
+          text run at (615,20) width 9: "."
+      LayoutBlockFlow {P} at (0,751) size 769x40
+        LayoutText {#text} at (0,0) size 731x39
+          text run at (0,0) width 731: "This letters in this sentence should have normal space between them, since percentage values are not allowed on this"
+          text run at (0,20) width 56: "property."
+      LayoutBlockFlow {P} at (0,807) size 769x20
+        LayoutText {#text} at (0,0) size 565x19
+          text run at (0,0) width 565: "This letters in this sentence should have reduced space between them, since negative values are allowed on this property."
+      LayoutTable {TABLE} at (0,843) size 769x622 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x620
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x592
+            LayoutTableCell {TD} at (0,310) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x592 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x80
+                LayoutText {#text} at (0,0) size 710x79
+                  text run at (0,0) width 687: "This letters in this"
+                  text run at (0,20) width 710: "sentence should have"
+                  text run at (0,40) width 675: "extra space between"
+                  text run at (0,60) width 179: "them."
+              LayoutBlockFlow {P} at (4,100) size 747x60
+                LayoutText {#text} at (0,0) size 718x59
+                  text run at (0,0) width 718: "This letters in this sentence"
+                  text run at (0,20) width 585: "should have extra space"
+                  text run at (0,40) width 338: "between them."
+              LayoutBlockFlow {P} at (4,176) size 747x60
+                LayoutText {#text} at (0,0) size 718x59
+                  text run at (0,0) width 718: "This letters in this sentence"
+                  text run at (0,20) width 585: "should have extra space"
+                  text run at (0,40) width 338: "between them."
+              LayoutBlockFlow {P} at (4,252) size 747x20
+                LayoutText {#text} at (0,0) size 687x19
+                  text run at (0,0) width 687: "This letters in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,288) size 747x20
+                LayoutText {#text} at (0,0) size 687x19
+                  text run at (0,0) width 687: "This letters in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,324) size 747x60
+                LayoutText {#text} at (0,0) size 703x59
+                  text run at (0,0) width 633: "This letters in this sentence"
+                  text run at (0,20) width 703: "should have extra space between"
+                  text run at (0,40) width 115: "them."
+              LayoutBlockFlow {P} at (4,400) size 747x40
+                LayoutText {#text} at (0,0) size 694x39
+                  text run at (0,0) width 694: "This letters in this sentence should have extra space"
+                  text run at (0,20) width 183: "between them."
+              LayoutBlockFlow {P} at (4,456) size 747x40
+                LayoutText {#text} at (0,0) size 685x39
+                  text run at (0,0) width 685: "This letters in this sentence should have extra space between"
+                  text run at (0,20) width 504: "them, but the last few words in the sentence "
+                LayoutInline {SPAN} at (0,0) size 180x19
+                  LayoutText {#text} at (504,20) size 180x19
+                    text run at (504,20) width 180: "should show normal spacing"
+                LayoutText {#text} at (684,20) size 9x19
+                  text run at (684,20) width 9: "."
+              LayoutBlockFlow {P} at (4,512) size 747x40
+                LayoutText {#text} at (0,0) size 731x39
+                  text run at (0,0) width 731: "This letters in this sentence should have normal space between them, since percentage values are not allowed on this"
+                  text run at (0,20) width 56: "property."
+              LayoutBlockFlow {P} at (4,568) size 747x20
+                LayoutText {#text} at (0,0) size 565x19
+                  text run at (0,0) width 565: "This letters in this sentence should have reduced space between them, since negative values are allowed on this property."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/line_height-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/line_height-expected.txt
new file mode 100644
index 0000000..44b32b6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/line_height-expected.txt
@@ -0,0 +1,183 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2697
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2697 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2697
+    LayoutBlockFlow {BODY} at (8,8) size 769x2681 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x224
+        LayoutText {#text} at (0,0) size 400x224
+          text run at (0,0) width 344: ".one {line-height: 0.5in; font-size: 12px;}"
+          text run at (344,0) width 0: " "
+          text run at (0,16) width 328: ".two {line-height: 2cm; font-size: 12px;}"
+          text run at (328,16) width 0: " "
+          text run at (0,32) width 352: ".three {line-height: 20mm; font-size: 12px;}"
+          text run at (352,32) width 0: " "
+          text run at (0,48) width 344: ".four {line-height: 24pt; font-size: 12px;}"
+          text run at (344,48) width 0: " "
+          text run at (0,64) width 336: ".five {line-height: 2pc; font-size: 12px;}"
+          text run at (336,64) width 0: " "
+          text run at (0,80) width 328: ".six {line-height: 2em; font-size: 12px;}"
+          text run at (328,80) width 0: " "
+          text run at (0,96) width 344: ".seven {line-height: 3ex; font-size: 12px;}"
+          text run at (344,96) width 0: " "
+          text run at (0,112) width 352: ".eight {line-height: 200%; font-size: 12px;}"
+          text run at (352,112) width 0: " "
+          text run at (0,128) width 320: ".nine {line-height: 2; font-size: 12px;}"
+          text run at (320,128) width 0: " "
+          text run at (0,144) width 336: ".ten {line-height: 50px; font-size: 12px;}"
+          text run at (336,144) width 0: " "
+          text run at (0,160) width 360: ".eleven {line-height: -1em; font-size: 12px;}"
+          text run at (360,160) width 0: " "
+          text run at (0,176) width 400: "TABLE .ten {line-height: normal; font-size: 12px;}"
+          text run at (400,176) width 0: " "
+          text run at (0,192) width 248: "DIV {background-color: silver;}"
+          text run at (248,192) width 0: " "
+          text run at (0,208) width 304: "SPAN.color {background-color: silver;}"
+          text run at (304,208) width 0: " "
+      LayoutBlockFlow {P} at (0,287) size 769x48
+        LayoutText {#text} at (0,16) size 507x15
+          text run at (0,16) width 507: "This sentence should have a line-height of half an inch, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,347) size 769x75
+        LayoutText {#text} at (0,30) size 526x15
+          text run at (0,30) width 526: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,434) size 769x75
+        LayoutText {#text} at (0,30) size 539x15
+          text run at (0,30) width 539: "This sentence should have a line-height of twenty millimeters, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,521) size 769x32
+        LayoutText {#text} at (0,8) size 540x15
+          text run at (0,8) width 540: "This sentence should have a line-height of twenty-four points, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,565) size 769x32
+        LayoutText {#text} at (0,8) size 497x15
+          text run at (0,8) width 497: "This sentence should have a line-height of two picas, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,609) size 769x24
+        LayoutText {#text} at (0,4) size 487x15
+          text run at (0,4) width 487: "This sentence should have a line-height of two em, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,645) size 769x18
+        LayoutText {#text} at (0,1) size 489x15
+          text run at (0,1) width 489: "This sentence should have a line-height of three ex, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,675) size 769x24
+        LayoutText {#text} at (0,4) size 537x15
+          text run at (0,4) width 537: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {DIV} at (0,711) size 769x168 [bgcolor=#C0C0C0]
+        LayoutBlockFlow (anonymous) at (0,0) size 769x24
+          LayoutText {#text} at (0,4) size 592x15
+            text run at (0,4) width 592: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+        LayoutBlockFlow {P} at (0,48) size 769x72
+          LayoutText {#text} at (0,-2) size 763x75
+            text run at (0,-2) width 748: "This sentence should have a line-height of twice the DIV's font size, or 28px;"
+            text run at (0,22) width 763: "this should not cause extra spacing between the lines, since the line-height and"
+            text run at (0,46) width 364: "font-size should have the same value."
+        LayoutBlockFlow (anonymous) at (0,144) size 769x24
+          LayoutText {#text} at (0,4) size 606x15
+            text run at (0,4) width 606: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,891) size 769x24
+        LayoutText {#text} at (0,4) size 537x15
+          text run at (0,4) width 537: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {DIV} at (0,927) size 769x240 [bgcolor=#C0C0C0]
+        LayoutBlockFlow (anonymous) at (0,0) size 769x24
+          LayoutText {#text} at (0,4) size 592x15
+            text run at (0,4) width 592: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+        LayoutBlockFlow {P} at (0,48) size 769x144
+          LayoutText {#text} at (0,10) size 749x123
+            text run at (0,10) width 749: "This sentence should have a line-height of twice the font size, which is 200%"
+            text run at (0,58) width 742: "normal thanks to an inline style; this should cause extra spacing between the"
+            text run at (0,106) width 654: "lines, as the font-size will be 28px and the line-height will be 56px."
+        LayoutBlockFlow (anonymous) at (0,216) size 769x24
+          LayoutText {#text} at (0,4) size 606x15
+            text run at (0,4) width 606: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,1179) size 769x100
+        LayoutText {#text} at (0,17) size 745x65
+          text run at (0,17) width 592: "This paragraph should have a line-height of 50 pixels in the first section, which should cause extra spacing between the lines. "
+          text run at (592,17) width 153: "In the second section (within the"
+          text run at (0,67) width 181: "table) its line-height should be normal."
+      LayoutBlockFlow {P} at (0,1291) size 769x16
+        LayoutText {#text} at (0,0) size 504x15
+          text run at (0,0) width 504: "This sentence should have a normal line-height, because negative values are not permitted for this property."
+      LayoutBlockFlow {P} at (0,1319) size 769x150
+        LayoutInline {SPAN} at (0,0) size 758x90 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,30) size 758x90
+            text run at (0,30) width 758: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines. The text has a background color of silver, but no"
+            text run at (0,105) width 663: "padding or border. The background color has been set on an inline element and should therefore only cover the text, not the interline spacing."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,1481) size 769x1200 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1198
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1170
+            LayoutTableCell {TD} at (0,599) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1170 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x48
+                LayoutText {#text} at (0,16) size 507x15
+                  text run at (0,16) width 507: "This sentence should have a line-height of half an inch, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,64) size 747x75
+                LayoutText {#text} at (0,30) size 526x15
+                  text run at (0,30) width 526: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,151) size 747x75
+                LayoutText {#text} at (0,30) size 539x15
+                  text run at (0,30) width 539: "This sentence should have a line-height of twenty millimeters, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,238) size 747x32
+                LayoutText {#text} at (0,8) size 540x15
+                  text run at (0,8) width 540: "This sentence should have a line-height of twenty-four points, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,282) size 747x32
+                LayoutText {#text} at (0,8) size 497x15
+                  text run at (0,8) width 497: "This sentence should have a line-height of two picas, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,326) size 747x24
+                LayoutText {#text} at (0,4) size 487x15
+                  text run at (0,4) width 487: "This sentence should have a line-height of two em, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,362) size 747x18
+                LayoutText {#text} at (0,1) size 489x15
+                  text run at (0,1) width 489: "This sentence should have a line-height of three ex, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,392) size 747x24
+                LayoutText {#text} at (0,4) size 537x15
+                  text run at (0,4) width 537: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {DIV} at (4,428) size 747x168 [bgcolor=#C0C0C0]
+                LayoutBlockFlow (anonymous) at (0,0) size 747x24
+                  LayoutText {#text} at (0,4) size 592x15
+                    text run at (0,4) width 592: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+                LayoutBlockFlow {P} at (0,48) size 747x72
+                  LayoutText {#text} at (0,-2) size 722x75
+                    text run at (0,-2) width 687: "This sentence should have a line-height of twice the DIV's font size, or"
+                    text run at (0,22) width 722: "28px; this should not cause extra spacing between the lines, since the line-"
+                    text run at (0,46) width 472: "height and font-size should have the same value."
+                LayoutBlockFlow (anonymous) at (0,144) size 747x24
+                  LayoutText {#text} at (0,4) size 606x15
+                    text run at (0,4) width 606: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,608) size 747x24
+                LayoutText {#text} at (0,4) size 537x15
+                  text run at (0,4) width 537: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {DIV} at (4,644) size 747x288 [bgcolor=#C0C0C0]
+                LayoutBlockFlow (anonymous) at (0,0) size 747x24
+                  LayoutText {#text} at (0,4) size 592x15
+                    text run at (0,4) width 592: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+                LayoutBlockFlow {P} at (0,48) size 747x192
+                  LayoutText {#text} at (0,10) size 717x171
+                    text run at (0,10) width 687: "This sentence should have a line-height of twice the font size, which is"
+                    text run at (0,58) width 681: "200% normal thanks to an inline style; this should cause extra spacing"
+                    text run at (0,106) width 717: "between the lines, as the font-size will be 28px and the line-height will be"
+                    text run at (0,154) width 54: "56px."
+                LayoutBlockFlow (anonymous) at (0,264) size 747x24
+                  LayoutText {#text} at (0,4) size 606x15
+                    text run at (0,4) width 606: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,944) size 747x32
+                LayoutText {#text} at (0,0) size 745x31
+                  text run at (0,0) width 592: "This paragraph should have a line-height of 50 pixels in the first section, which should cause extra spacing between the lines. "
+                  text run at (592,0) width 153: "In the second section (within the"
+                  text run at (0,16) width 181: "table) its line-height should be normal."
+              LayoutBlockFlow {P} at (4,988) size 747x16
+                LayoutText {#text} at (0,0) size 504x15
+                  text run at (0,0) width 504: "This sentence should have a normal line-height, because negative values are not permitted for this property."
+              LayoutBlockFlow {P} at (4,1016) size 747x150
+                LayoutInline {SPAN} at (0,0) size 743x90 [bgcolor=#C0C0C0]
+                  LayoutText {#text} at (0,30) size 743x90
+                    text run at (0,30) width 743: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines. The text has a background color of silver, but"
+                    text run at (0,105) width 678: "no padding or border. The background color has been set on an inline element and should therefore only cover the text, not the interline spacing."
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,281) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,273) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_align-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_align-expected.txt
new file mode 100644
index 0000000..ecbf55b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_align-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x80
+        LayoutText {#text} at (0,0) size 224x80
+          text run at (0,0) width 192: ".one {text-align: left;}"
+          text run at (192,0) width 0: " "
+          text run at (0,16) width 200: ".two {text-align: right;}"
+          text run at (200,16) width 0: " "
+          text run at (0,32) width 224: ".three {text-align: center;}"
+          text run at (224,32) width 0: " "
+          text run at (0,48) width 224: ".four {text-align: justify;}"
+          text run at (224,48) width 0: " "
+          text run at (0,64) width 0: " "
+      LayoutBlockFlow {P} at (0,147) size 784x20
+        LayoutText {#text} at (0,0) size 234x19
+          text run at (0,0) width 234: "This sentence should be left-justified."
+      LayoutBlockFlow {P} at (0,183) size 784x20
+        LayoutText {#text} at (541,0) size 243x19
+          text run at (541,0) width 243: "This sentence should be right-justified."
+      LayoutBlockFlow {P} at (0,219) size 784x20
+        LayoutText {#text} at (286,0) size 212x19
+          text run at (286,0) width 212: "This sentence should be centered."
+      LayoutBlockFlow {P} at (0,255) size 784x60
+        LayoutText {#text} at (0,0) size 784x59
+          text run at (0,0) width 784: "This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no"
+          text run at (0,20) width 784: "matter how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in Western"
+          text run at (0,40) width 67: "languages."
+      LayoutTable {TABLE} at (0,331) size 784x206 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x204
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x176
+            LayoutTableCell {TD} at (0,102) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x176 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x20
+                LayoutText {#text} at (0,0) size 234x19
+                  text run at (0,0) width 234: "This sentence should be left-justified."
+              LayoutBlockFlow {P} at (4,40) size 762x20
+                LayoutText {#text} at (519,0) size 243x19
+                  text run at (519,0) width 243: "This sentence should be right-justified."
+              LayoutBlockFlow {P} at (4,76) size 762x20
+                LayoutText {#text} at (275,0) size 212x19
+                  text run at (275,0) width 212: "This sentence should be centered."
+              LayoutBlockFlow {P} at (4,112) size 762x60
+                LayoutText {#text} at (0,0) size 762x59
+                  text run at (0,0) width 762: "This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no"
+                  text run at (0,20) width 762: "matter how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in"
+                  text run at (0,40) width 122: "Western languages."
+layer at (8,137) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_decoration-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_decoration-expected.txt
new file mode 100644
index 0000000..f8e39654
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_decoration-expected.txt
@@ -0,0 +1,199 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1225
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1225 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1225
+    LayoutBlockFlow {BODY} at (8,8) size 769x1209 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x128
+        LayoutText {#text} at (0,0) size 464x128
+          text run at (0,0) width 272: ".one {text-decoration: underline;}"
+          text run at (272,0) width 0: " "
+          text run at (0,16) width 264: ".two {text-decoration: overline;}"
+          text run at (264,16) width 0: " "
+          text run at (0,32) width 312: ".three {text-decoration: line-through;}"
+          text run at (312,32) width 0: " "
+          text run at (0,48) width 248: ".four {text-decoration: blink;}"
+          text run at (248,48) width 0: " "
+          text run at (0,64) width 248: "B.five {text-decoration: none;}"
+          text run at (248,64) width 0: " "
+          text run at (0,80) width 344: ".six {text-decoration: underline overline;}"
+          text run at (344,80) width 0: " "
+          text run at (0,96) width 464: ".seven {text-decoration: underline overline line-through;}"
+          text run at (464,96) width 0: " "
+          text run at (0,112) width 0: " "
+      LayoutBlockFlow {P} at (0,195) size 769x20
+        LayoutText {#text} at (0,0) size 226x19
+          text run at (0,0) width 226: "This sentence should be underlined."
+      LayoutBlockFlow {P} at (0,231) size 769x20
+        LayoutText {#text} at (0,0) size 218x19
+          text run at (0,0) width 218: "This sentence should be overlined."
+      LayoutBlockFlow {P} at (0,267) size 769x20
+        LayoutText {#text} at (0,0) size 336x19
+          text run at (0,0) width 336: "This sentence should have stricken text (linethrough)."
+      LayoutBlockFlow {P} at (0,303) size 769x20
+        LayoutText {#text} at (0,0) size 590x19
+          text run at (0,0) width 210: "This element should be blinking. "
+          text run at (210,0) width 380: "(It is not required, however, that UAs support this behavior.)"
+      LayoutBlockFlow {P} at (0,339) size 769x40
+        LayoutText {#text} at (0,0) size 508x19
+          text run at (0,0) width 291: "The text in this element should be underlined. "
+          text run at (291,0) width 217: "The boldfaced text in this element "
+        LayoutInline {B} at (0,0) size 173x19
+          LayoutText {#text} at (508,0) size 173x19
+            text run at (508,0) width 173: "should also be underlined"
+        LayoutText {#text} at (681,0) size 731x39
+          text run at (681,0) width 8: ". "
+          text run at (689,0) width 42: "This is"
+          text run at (0,20) width 716: "because the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own."
+      LayoutBlockFlow {P} at (0,395) size 769x20
+        LayoutText {#text} at (0,0) size 316x19
+          text run at (0,0) width 316: "This sentence should be underlined and overlined."
+      LayoutBlockFlow {P} at (0,431) size 769x20
+        LayoutText {#text} at (0,0) size 377x19
+          text run at (0,0) width 377: "This sentence should be underlined, overlined, and stricken."
+      LayoutBlockFlow {P} at (0,467) size 769x0
+      LayoutBlockFlow {P} at (0,467) size 769x40
+        LayoutText {#text} at (0,0) size 761x39
+          text run at (0,0) width 761: "There should be nothing visible between this sentence and the one above (there is an empty paragraph element with class"
+          text run at (0,20) width 62: "of seven)."
+      LayoutBlockFlow {P} at (0,523) size 769x60
+        LayoutText {#text} at (0,0) size 633x19
+          text run at (0,0) width 633: "Text decorations only apply to the text of an element, so the image at the end of this sentence should "
+        LayoutInline {EM} at (0,0) size 21x19
+          LayoutText {#text} at (632,0) size 21x19
+            text run at (632,0) width 21: "not"
+        LayoutText {#text} at (652,0) size 91x19
+          text run at (652,0) width 91: " be overlined: "
+        LayoutImage {IMG} at (742.88,0) size 15x15
+        LayoutText {#text} at (757,0) size 762x59
+          text run at (757,0) width 5: "."
+          text run at (0,20) width 729: "The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans' child"
+          text run at (0,40) width 59: "elements."
+      LayoutBlockFlow {P} at (0,599) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 105x19
+          text run at (0,0) width 105: "The underlining "
+        LayoutInline {SPAN} at (0,0) size 96x19 [color=#0000FF]
+          LayoutText {#text} at (105,0) size 96x19
+            text run at (105,0) width 96: "in this sentence"
+        LayoutText {#text} at (201,0) size 233x19
+          text run at (201,0) width 233: " should be green, no matter what the "
+        LayoutInline {SPAN} at (0,0) size 109x19 [color=#000000]
+          LayoutText {#text} at (434,0) size 109x19
+            text run at (434,0) width 109: "text color may be"
+        LayoutText {#text} at (543,0) size 4x19
+          text run at (543,0) width 4: "."
+      LayoutBlockFlow {P} at (0,635) size 769x40
+        LayoutText {#text} at (0,0) size 111x19
+          text run at (0,0) width 111: "The colors of the "
+        LayoutInline {SPAN} at (0,0) size 72x19 [color=#800080]
+          LayoutText {#text} at (111,0) size 72x19
+            text run at (111,0) width 72: "underlining"
+        LayoutText {#text} at (183,0) size 20x19
+          text run at (183,0) width 20: " in "
+        LayoutInline {SPAN} at (0,0) size 80x19 [color=#0000FF]
+          LayoutText {#text} at (203,0) size 80x19
+            text run at (203,0) width 80: "this sentence"
+        LayoutText {#text} at (283,0) size 69x19
+          text run at (283,0) width 69: " should be "
+        LayoutInline {SPAN} at (0,0) size 209x19 [color=#808080]
+          LayoutText {#text} at (352,0) size 209x19
+            text run at (352,0) width 209: "the same as that of the parent text"
+        LayoutText {#text} at (561,0) size 738x39
+          text run at (561,0) width 177: " (that is, the first word in the"
+          text run at (0,20) width 213: "sentence, which should be black)."
+      LayoutTable {TABLE} at (0,691) size 769x518 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x516
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x488
+            LayoutTableCell {TD} at (0,258) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x488 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 226x19
+                  text run at (0,0) width 226: "This sentence should be underlined."
+              LayoutBlockFlow {P} at (4,40) size 747x20
+                LayoutText {#text} at (0,0) size 218x19
+                  text run at (0,0) width 218: "This sentence should be overlined."
+              LayoutBlockFlow {P} at (4,76) size 747x20
+                LayoutText {#text} at (0,0) size 336x19
+                  text run at (0,0) width 336: "This sentence should have stricken text (linethrough)."
+              LayoutBlockFlow {P} at (4,112) size 747x20
+                LayoutText {#text} at (0,0) size 590x19
+                  text run at (0,0) width 210: "This element should be blinking. "
+                  text run at (210,0) width 380: "(It is not required, however, that UAs support this behavior.)"
+              LayoutBlockFlow {P} at (4,148) size 747x40
+                LayoutText {#text} at (0,0) size 508x19
+                  text run at (0,0) width 291: "The text in this element should be underlined. "
+                  text run at (291,0) width 217: "The boldfaced text in this element "
+                LayoutInline {B} at (0,0) size 173x19
+                  LayoutText {#text} at (508,0) size 173x19
+                    text run at (508,0) width 173: "should also be underlined"
+                LayoutText {#text} at (681,0) size 731x39
+                  text run at (681,0) width 8: ". "
+                  text run at (689,0) width 42: "This is"
+                  text run at (0,20) width 716: "because the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own."
+              LayoutBlockFlow {P} at (4,204) size 747x20
+                LayoutText {#text} at (0,0) size 316x19
+                  text run at (0,0) width 316: "This sentence should be underlined and overlined."
+              LayoutBlockFlow {P} at (4,240) size 747x20
+                LayoutText {#text} at (0,0) size 377x19
+                  text run at (0,0) width 377: "This sentence should be underlined, overlined, and stricken."
+              LayoutBlockFlow {P} at (4,276) size 747x0
+              LayoutBlockFlow {P} at (4,276) size 747x40
+                LayoutText {#text} at (0,0) size 727x39
+                  text run at (0,0) width 727: "There should be nothing visible between this sentence and the one above (there is an empty paragraph element with"
+                  text run at (0,20) width 96: "class of seven)."
+              LayoutBlockFlow {P} at (4,332) size 747x60
+                LayoutText {#text} at (0,0) size 633x19
+                  text run at (0,0) width 633: "Text decorations only apply to the text of an element, so the image at the end of this sentence should "
+                LayoutInline {EM} at (0,0) size 21x19
+                  LayoutText {#text} at (632,0) size 21x19
+                    text run at (632,0) width 21: "not"
+                LayoutText {#text} at (652,0) size 91x19
+                  text run at (652,0) width 91: " be overlined: "
+                LayoutImage {IMG} at (0,20) size 15x15
+                LayoutText {#text} at (15,20) size 717x39
+                  text run at (15,20) width 8: ". "
+                  text run at (23,20) width 694: "The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans'"
+                  text run at (0,40) width 94: "child elements."
+              LayoutBlockFlow {P} at (4,408) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 105x19
+                  text run at (0,0) width 105: "The underlining "
+                LayoutInline {SPAN} at (0,0) size 96x19 [color=#0000FF]
+                  LayoutText {#text} at (105,0) size 96x19
+                    text run at (105,0) width 96: "in this sentence"
+                LayoutText {#text} at (201,0) size 233x19
+                  text run at (201,0) width 233: " should be green, no matter what the "
+                LayoutInline {SPAN} at (0,0) size 109x19 [color=#000000]
+                  LayoutText {#text} at (434,0) size 109x19
+                    text run at (434,0) width 109: "text color may be"
+                LayoutText {#text} at (543,0) size 4x19
+                  text run at (543,0) width 4: "."
+              LayoutBlockFlow {P} at (4,444) size 747x40
+                LayoutText {#text} at (0,0) size 111x19
+                  text run at (0,0) width 111: "The colors of the "
+                LayoutInline {SPAN} at (0,0) size 72x19 [color=#800080]
+                  LayoutText {#text} at (111,0) size 72x19
+                    text run at (111,0) width 72: "underlining"
+                LayoutText {#text} at (183,0) size 20x19
+                  text run at (183,0) width 20: " in "
+                LayoutInline {SPAN} at (0,0) size 80x19 [color=#0000FF]
+                  LayoutText {#text} at (203,0) size 80x19
+                    text run at (203,0) width 80: "this sentence"
+                LayoutText {#text} at (283,0) size 69x19
+                  text run at (283,0) width 69: " should be "
+                LayoutInline {SPAN} at (0,0) size 209x19 [color=#808080]
+                  LayoutText {#text} at (352,0) size 209x19
+                    text run at (352,0) width 209: "the same as that of the parent text"
+                LayoutText {#text} at (561,0) size 738x39
+                  text run at (561,0) width 177: " (that is, the first word in the"
+                  text run at (0,20) width 213: "sentence, which should be black)."
+layer at (8,185) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_indent-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_indent-expected.txt
new file mode 100644
index 0000000..b4fab2d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_indent-expected.txt
@@ -0,0 +1,137 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1329
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1329 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1329
+    LayoutBlockFlow {BODY} at (8,8) size 769x1313 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x176
+        LayoutText {#text} at (0,0) size 384x176
+          text run at (0,0) width 352: ".one {text-indent: 0.5in; background: aqua;}"
+          text run at (352,0) width 0: " "
+          text run at (0,16) width 336: ".two {text-indent: 2cm; background: aqua;}"
+          text run at (336,16) width 0: " "
+          text run at (0,32) width 360: ".three {text-indent: 20mm; background: aqua;}"
+          text run at (360,32) width 0: " "
+          text run at (0,48) width 352: ".four {text-indent: 24pt; background: aqua;}"
+          text run at (352,48) width 0: " "
+          text run at (0,64) width 344: ".five {text-indent: 2pc; background: aqua;}"
+          text run at (344,64) width 0: " "
+          text run at (0,80) width 336: ".six {text-indent: 2em; background: aqua;}"
+          text run at (336,80) width 0: " "
+          text run at (0,96) width 352: ".seven {text-indent: 2ex; background: aqua;}"
+          text run at (352,96) width 0: " "
+          text run at (0,112) width 352: ".eight {text-indent: 50%; background: aqua;}"
+          text run at (352,112) width 0: " "
+          text run at (0,128) width 352: ".nine {text-indent: 25px; background: aqua;}"
+          text run at (352,128) width 0: " "
+          text run at (0,144) width 384: "blockquote {text-indent: 50%; background: aqua;}"
+          text run at (384,144) width 0: " "
+          text run at (0,160) width 0: " "
+      LayoutBlockFlow {P} at (0,243) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,0) size 386x19
+          text run at (48,0) width 386: "The first line of this sentence should be indented half an inch."
+      LayoutBlockFlow {P} at (0,279) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (75,0) size 412x19
+          text run at (75,0) width 412: "The first line of this sentence should be indented two centimeters."
+      LayoutBlockFlow {P} at (0,315) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (75,0) size 429x19
+          text run at (75,0) width 429: "The first line of this sentence should be indented twenty millimeters."
+      LayoutBlockFlow {P} at (0,351) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (32,0) size 428x19
+          text run at (32,0) width 428: "The first line of this sentence should be indented twenty-four points."
+      LayoutBlockFlow {P} at (0,387) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (32,0) size 372x19
+          text run at (32,0) width 372: "The first line of this sentence should be indented two picas."
+      LayoutBlockFlow {P} at (0,423) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (32,0) size 359x19
+          text run at (32,0) width 359: "The first line of this sentence should be indented two em."
+      LayoutBlockFlow {P} at (0,459) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (14,0) size 355x19
+          text run at (14,0) width 355: "The first line of this sentence should be indented two ex."
+      LayoutBlockFlow {P} at (0,495) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (384,0) size 744x39
+          text run at (384,0) width 360: "The first line of this sentence should be indented halfway"
+          text run at (0,20) width 555: "across the page, but the rest of it should be flush with the normal left margin of the page."
+      LayoutBlockFlow {P} at (0,551) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (25,0) size 723x39
+          text run at (25,0) width 698: "The first line of this sentence should be indented 25 pixels, but the rest of it should be flush with the normal left"
+          text run at (0,20) width 122: "margin of the page."
+      LayoutBlockFlow {P} at (0,607) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,0) size 416x19
+          text run at (48,0) width 416: "Only the first line of this sentence should be indented half an inch,"
+        LayoutBR {BR} at (464,15) size 0x0
+        LayoutText {#text} at (0,20) size 259x19
+          text run at (0,20) width 259: "no matter where the lines might start, and"
+        LayoutBR {BR} at (259,35) size 0x0
+        LayoutInline {EM} at (0,0) size 198x19
+          LayoutText {#text} at (0,40) size 198x19
+            text run at (0,40) width 198: "regardless of any other markup"
+        LayoutText {#text} at (197,40) size 147x19
+          text run at (197,40) width 147: " which may be present."
+      LayoutBlockFlow {BLOCKQUOTE} at (40,683) size 689x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (384,0) size 646x59
+          text run at (384,0) width 222: "In the first half of the test page, this"
+          text run at (0,20) width 646: "BLOCKQUOTE element should have a text indent equal to 50% of the BODY element's width, since"
+          text run at (0,40) width 511: "BLOCKQUOTE is a child of BODY; in the second half, it is a child of TABLE."
+      LayoutTable {TABLE} at (0,759) size 769x554 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x552
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x524
+            LayoutTableCell {TD} at (0,276) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x524 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,0) size 386x19
+                  text run at (48,0) width 386: "The first line of this sentence should be indented half an inch."
+              LayoutBlockFlow {P} at (4,40) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (75,0) size 412x19
+                  text run at (75,0) width 412: "The first line of this sentence should be indented two centimeters."
+              LayoutBlockFlow {P} at (4,76) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (75,0) size 429x19
+                  text run at (75,0) width 429: "The first line of this sentence should be indented twenty millimeters."
+              LayoutBlockFlow {P} at (4,112) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (32,0) size 428x19
+                  text run at (32,0) width 428: "The first line of this sentence should be indented twenty-four points."
+              LayoutBlockFlow {P} at (4,148) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (32,0) size 372x19
+                  text run at (32,0) width 372: "The first line of this sentence should be indented two picas."
+              LayoutBlockFlow {P} at (4,184) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (32,0) size 359x19
+                  text run at (32,0) width 359: "The first line of this sentence should be indented two em."
+              LayoutBlockFlow {P} at (4,220) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (14,0) size 355x19
+                  text run at (14,0) width 355: "The first line of this sentence should be indented two ex."
+              LayoutBlockFlow {P} at (4,256) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (373,0) size 733x39
+                  text run at (373,0) width 360: "The first line of this sentence should be indented halfway"
+                  text run at (0,20) width 555: "across the page, but the rest of it should be flush with the normal left margin of the page."
+              LayoutBlockFlow {P} at (4,312) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (25,0) size 723x39
+                  text run at (25,0) width 698: "The first line of this sentence should be indented 25 pixels, but the rest of it should be flush with the normal left"
+                  text run at (0,20) width 122: "margin of the page."
+              LayoutBlockFlow {P} at (4,368) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,0) size 416x19
+                  text run at (48,0) width 416: "Only the first line of this sentence should be indented half an inch,"
+                LayoutBR {BR} at (464,15) size 0x0
+                LayoutText {#text} at (0,20) size 259x19
+                  text run at (0,20) width 259: "no matter where the lines might start, and"
+                LayoutBR {BR} at (259,35) size 0x0
+                LayoutInline {EM} at (0,0) size 198x19
+                  LayoutText {#text} at (0,40) size 198x19
+                    text run at (0,40) width 198: "regardless of any other markup"
+                LayoutText {#text} at (197,40) size 147x19
+                  text run at (197,40) width 147: " which may be present."
+              LayoutBlockFlow {BLOCKQUOTE} at (44,444) size 667x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (373,0) size 646x59
+                  text run at (373,0) width 222: "In the first half of the test page, this"
+                  text run at (0,20) width 646: "BLOCKQUOTE element should have a text indent equal to 50% of the BODY element's width, since"
+                  text run at (0,40) width 511: "BLOCKQUOTE is a child of BODY; in the second half, it is a child of TABLE."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_transform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_transform-expected.txt
new file mode 100644
index 0000000..864692f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/text_transform-expected.txt
@@ -0,0 +1,107 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 785
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x785 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x785
+    LayoutBlockFlow {BODY} at (8,8) size 769x769 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x80
+        LayoutText {#text} at (0,0) size 272x80
+          text run at (0,0) width 224: ".ttn {text-transform: none;}"
+          text run at (224,0) width 0: " "
+          text run at (0,16) width 272: ".cap {text-transform: capitalize;}"
+          text run at (272,16) width 0: " "
+          text run at (0,32) width 264: ".upp {text-transform: uppercase;}"
+          text run at (264,32) width 0: " "
+          text run at (0,48) width 264: ".low {text-transform: lowercase;}"
+          text run at (264,48) width 0: " "
+          text run at (0,64) width 0: " "
+      LayoutBlockFlow {P} at (0,147) size 769x40
+        LayoutText {#text} at (0,0) size 718x39
+          text run at (0,0) width 718: "This page tests the 'text-transform' property of CSS1. This paragraph has no text transformation and should appear"
+          text run at (0,20) width 48: "normal."
+      LayoutBlockFlow {P} at (0,203) size 769x60
+        LayoutText {#text} at (0,0) size 748x59
+          text run at (0,0) width 748: "This Paragraph Is Capitalized And The First Letter In Each Word Should Therefore Appear In Uppercase. Words That"
+          text run at (0,20) width 722: "Are In Uppercase In The Source (E.G. USA) Should Remain So. There Should Be A Capital Letter After A Non-"
+          text run at (0,40) width 538: "Breaking Space (&Nbsp;). Both Those Characters Appear In The Previous Sentence."
+      LayoutBlockFlow {P} at (0,279) size 769x40
+        LayoutText {#text} at (0,0) size 752x39
+          text run at (0,0) width 752: "Words with inline elements inside them should only capitalize the first letter of the word. Therefore, the last word in this"
+          text run at (0,20) width 304: "sentence should have one, and only one, capital "
+        LayoutInline {SPAN} at (0,0) size 37x19
+          LayoutText {#text} at (304,20) size 17x19
+            text run at (304,20) width 17: "Le"
+          LayoutInline {SPAN} at (0,0) size 8x19
+            LayoutText {#text} at (321,20) size 8x19
+              text run at (321,20) width 8: "tt"
+          LayoutText {#text} at (329,20) size 12x19
+            text run at (329,20) width 12: "er"
+        LayoutText {#text} at (341,20) size 4x19
+          text run at (341,20) width 4: "."
+      LayoutBlockFlow {P} at (0,335) size 769x60
+        LayoutText {#text} at (0,0) size 720x39
+          text run at (0,0) width 720: "THIS PARAGRAPH IS UPPERCASED AND SMALL CHARACTERS IN THE SOURCE (E.G. A AND \x{C5})"
+          text run at (0,20) width 359: "SHOULD THEREFORE APPEAR IN UPPERCASE. "
+          text run at (359,20) width 284: "IN THE LAST SENTENCE, HOWEVER, "
+        LayoutInline {SPAN} at (0,0) size 765x39
+          LayoutText {#text} at (643,20) size 765x39
+            text run at (643,20) width 122: "the last eight words"
+            text run at (0,40) width 152: "should not be uppercase"
+        LayoutText {#text} at (152,40) size 4x19
+          text run at (152,40) width 4: "."
+      LayoutBlockFlow {P} at (0,411) size 769x20
+        LayoutText {#text} at (0,0) size 726x19
+          text run at (0,0) width 726: "this paragraph is lowercased and capital characters in the source (e.g. a and \x{E5}) should therefore appear in lowercase."
+      LayoutTable {TABLE} at (0,447) size 769x322 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x320
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x292
+            LayoutTableCell {TD} at (0,160) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x292 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 718x39
+                  text run at (0,0) width 718: "This page tests the 'text-transform' property of CSS1. This paragraph has no text transformation and should appear"
+                  text run at (0,20) width 48: "normal."
+              LayoutBlockFlow {P} at (4,60) size 747x60
+                LayoutText {#text} at (0,0) size 718x59
+                  text run at (0,0) width 715: "This Paragraph Is Capitalized And The First Letter In Each Word Should Therefore Appear In Uppercase. Words"
+                  text run at (0,20) width 718: "That Are In Uppercase In The Source (E.G. USA) Should Remain So. There Should Be A Capital Letter After A"
+                  text run at (0,40) width 571: "Non-Breaking Space (&Nbsp;). Both Those Characters Appear In The Previous Sentence."
+              LayoutBlockFlow {P} at (4,136) size 747x40
+                LayoutText {#text} at (0,0) size 726x39
+                  text run at (0,0) width 726: "Words with inline elements inside them should only capitalize the first letter of the word. Therefore, the last word in"
+                  text run at (0,20) width 330: "this sentence should have one, and only one, capital "
+                LayoutInline {SPAN} at (0,0) size 37x19
+                  LayoutText {#text} at (330,20) size 17x19
+                    text run at (330,20) width 17: "Le"
+                  LayoutInline {SPAN} at (0,0) size 8x19
+                    LayoutText {#text} at (347,20) size 8x19
+                      text run at (347,20) width 8: "tt"
+                  LayoutText {#text} at (355,20) size 12x19
+                    text run at (355,20) width 12: "er"
+                LayoutText {#text} at (367,20) size 4x19
+                  text run at (367,20) width 4: "."
+              LayoutBlockFlow {P} at (4,192) size 747x60
+                LayoutText {#text} at (0,0) size 720x39
+                  text run at (0,0) width 720: "THIS PARAGRAPH IS UPPERCASED AND SMALL CHARACTERS IN THE SOURCE (E.G. A AND \x{C5})"
+                  text run at (0,20) width 359: "SHOULD THEREFORE APPEAR IN UPPERCASE. "
+                  text run at (359,20) width 284: "IN THE LAST SENTENCE, HOWEVER, "
+                LayoutInline {SPAN} at (0,0) size 722x39
+                  LayoutText {#text} at (643,20) size 722x39
+                    text run at (643,20) width 79: "the last eight"
+                    text run at (0,40) width 195: "words should not be uppercase"
+                LayoutText {#text} at (195,40) size 4x19
+                  text run at (195,40) width 4: "."
+              LayoutBlockFlow {P} at (4,268) size 747x20
+                LayoutText {#text} at (0,0) size 726x19
+                  text run at (0,0) width 726: "this paragraph is lowercased and capital characters in the source (e.g. a and \x{E5}) should therefore appear in lowercase."
+layer at (8,137) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/vertical_align-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/vertical_align-expected.txt
new file mode 100644
index 0000000..26d66b4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/vertical_align-expected.txt
@@ -0,0 +1,722 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 4501
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x4501 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x4501.31
+    LayoutBlockFlow {BODY} at (8,8) size 769x4485.31 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x288
+        LayoutText {#text} at (0,0) size 512x288
+          text run at (0,0) width 160: "P {font-size: 12pt;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 216: ".one {vertical-align: sub;}"
+          text run at (216,16) width 0: " "
+          text run at (0,32) width 232: ".two {vertical-align: super;}"
+          text run at (232,32) width 0: " "
+          text run at (0,48) width 368: ".three {vertical-align: top; font-size: 12pt;}"
+          text run at (368,48) width 0: " "
+          text run at (0,64) width 400: ".four {vertical-align: text-top; font-size: 12pt;}"
+          text run at (400,64) width 0: " "
+          text run at (0,80) width 384: ".five {vertical-align: middle; font-size: 12pt;}"
+          text run at (384,80) width 0: " "
+          text run at (0,96) width 376: ".six {vertical-align: bottom; font-size: 12pt;}"
+          text run at (376,96) width 0: " "
+          text run at (0,112) width 432: ".seven {vertical-align: text-bottom; font-size: 12pt;}"
+          text run at (432,112) width 0: " "
+          text run at (0,128) width 408: ".eight {vertical-align: baseline; font-size: 12pt;}"
+          text run at (408,128) width 0: " "
+          text run at (0,144) width 512: ".nine {vertical-align: 50%; font-size: 12px; line-height: 16px;}"
+          text run at (512,144) width 0: " "
+          text run at (0,160) width 0: " "
+          text run at (0,176) width 224: "P.example {font-size: 14pt;}"
+          text run at (224,176) width 0: " "
+          text run at (0,192) width 176: "BIG {font-size: 16pt;}"
+          text run at (176,192) width 0: " "
+          text run at (0,208) width 192: "SMALL {font-size: 12pt;}"
+          text run at (192,208) width 0: " "
+          text run at (0,224) width 304: ".ttopalign {vertical-align: text-top;}"
+          text run at (304,224) width 0: " "
+          text run at (0,240) width 256: ".topalign {vertical-align: top;}"
+          text run at (256,240) width 0: " "
+          text run at (0,256) width 280: ".midalign {vertical-align: middle;}"
+          text run at (280,256) width 0: " "
+          text run at (0,272) width 0: " "
+      LayoutBlockFlow {P} at (0,355) size 769x79
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 126x19
+          LayoutText {#text} at (15,39) size 126x19
+            text run at (15,39) width 126: "The first four words"
+        LayoutText {#text} at (141,35) size 750x43
+          text run at (141,35) width 284: " in this sentence should be subscript-aligned. "
+          text run at (425,35) width 325: "The font size of the superscripted text should not be"
+          text run at (0,59) width 254: "different from that of the parent element."
+      LayoutBlockFlow {P} at (0,450) size 769x75
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 126x19
+          LayoutText {#text} at (15,29) size 126x19
+            text run at (15,29) width 126: "The first four words"
+        LayoutText {#text} at (141,35) size 750x39
+          text run at (141,35) width 296: " in this sentence should be superscript-aligned. "
+          text run at (437,35) width 313: "The font size of the subscripted text should not be"
+          text run at (0,55) width 254: "different from that of the parent element."
+      LayoutBlockFlow {P} at (0,541) size 769x75
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 126x19
+          LayoutText {#text} at (15,0) size 126x19
+            text run at (15,0) width 126: "The first four words"
+        LayoutText {#text} at (141,35) size 765x39
+          text run at (141,35) width 624: " in this sentence should be top-aligned, which will align their tops with the top of the tallest element"
+          text run at (0,55) width 267: "in the line (probably the orange rectangle)."
+      LayoutBlockFlow {P} at (0,632) size 769x133
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,35) size 4x19
+          text run at (15,35) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 754x110
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 126x19
+            LayoutText {#text} at (19,22) size 126x19
+              text run at (19,22) width 126: "The first four words"
+          LayoutText {#text} at (145,22) size 754x110
+            text run at (145,22) width 556: " in this sentence should be text-top-aligned,"
+            text run at (0,59) width 754: "which should align their tops with the top of the tallest text"
+            text run at (0,96) width 136: "in the line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,781) size 769x70
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,13) size 739x56
+          text run at (15,13) width 724: " The image at the beginning of this sentence should be middle-aligned, which should align its middle with the point"
+          text run at (0,50) width 310: "defined as the text baseline plus half the x-height."
+      LayoutBlockFlow {P} at (0,867) size 769x124
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,13) size 4x19
+          text run at (15,13) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 733x123
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 126x19
+            LayoutText {#text} at (19,30) size 126x19
+              text run at (19,30) width 126: "The first four words"
+          LayoutText {#text} at (145,0) size 733x123
+            text run at (145,0) width 544: " in this sentence should be 12pt in size and"
+            text run at (0,50) width 733: "bottom-aligned, which should align their bottom with the"
+            text run at (0,87) width 517: "bottom of the lowest element in the line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,1007) size 769x161
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,13) size 4x19
+          text run at (15,13) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 745x160
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 293x19
+            LayoutText {#text} at (19,16) size 293x19
+              text run at (19,16) width 293: "The first eight words (\"eight\" has a descender)"
+          LayoutText {#text} at (312,0) size 745x160
+            text run at (312,0) width 433: " in this sentence should be 12pt in"
+            text run at (0,50) width 692: "size and text-bottom-aligned, which should align their"
+            text run at (0,87) width 671: "bottom with the bottom of the lowest text (including"
+            text run at (0,124) width 294: "descenders) in the line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,1184) size 769x133
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,35) size 4x19
+          text run at (15,35) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 759x110
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 126x19
+            LayoutText {#text} at (19,35) size 126x19
+              text run at (19,35) width 126: "The first four words"
+          LayoutText {#text} at (145,22) size 759x110
+            text run at (145,22) width 544: " in this sentence should be 12pt in size and"
+            text run at (0,59) width 759: "baseline-aligned, which should align their baseline with the"
+            text run at (0,96) width 522: "baseline of the rest of the text in the line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,1333) size 769x75
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 96x15
+          LayoutText {#text} at (15,30) size 96x15
+            text run at (15,30) width 96: "The first four words"
+        LayoutText {#text} at (111,35) size 750x39
+          text run at (111,35) width 639: " in this sentence should have a font-size of 12px and a line-height of 16px; they are also 50%-aligned,"
+          text run at (0,55) width 376: "which should raise them 8px relative to the natural baseline."
+      LayoutBlockFlow {P} at (0,1424) size 769x40
+        LayoutText {#text} at (0,0) size 742x39
+          text run at (0,0) width 742: "In the following paragraph, all images should be aligned with the top of the 14-point text, which is identical to the first"
+          text run at (0,20) width 661: "section of text, whereas any size text should be aligned with the text baseline (which is the default value)."
+      LayoutBlockFlow {P} at (0,1482.66) size 769x328
+        LayoutText {#text} at (0,27) size 120x21
+          text run at (0,27) width 120: "This paragraph "
+        LayoutImage {IMG} at (120,27) size 9x30
+        LayoutText {#text} at (129,27) size 5x21
+          text run at (129,27) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 422x53
+          LayoutText {#text} at (134,1) size 422x53
+            text run at (134,1) width 422: "contains many images"
+        LayoutText {#text} at (556,27) size 5x21
+          text run at (556,27) width 5: " "
+        LayoutImage {IMG} at (561,27) size 15x50
+        LayoutText {#text} at (576,27) size 5x21
+          text run at (576,27) width 5: " "
+        LayoutInline {BIG} at (0,0) size 156x23
+          LayoutText {#text} at (581,25) size 156x23
+            text run at (581,25) width 156: "of varying heights"
+        LayoutText {#text} at (737,27) size 5x21
+          text run at (737,27) width 5: " "
+        LayoutImage {IMG} at (742,27) size 3x10
+        LayoutText {#text} at (0,0) size 0x0
+        LayoutInline {SMALL} at (0,0) size 69x19
+          LayoutText {#text} at (0,126) size 69x19
+            text run at (0,126) width 69: "and widths"
+        LayoutText {#text} at (69,125) size 5x21
+          text run at (69,125) width 5: " "
+        LayoutImage {IMG} at (74,125) size 6x20
+        LayoutText {#text} at (80,125) size 101x21
+          text run at (80,125) width 101: " all of which "
+        LayoutImage {IMG} at (181,125) size 19.50x65
+        LayoutText {#text} at (200,125) size 6x21
+          text run at (200,125) width 6: " "
+        LayoutInline {SPAN} at (0,0) size 263x42
+          LayoutText {#text} at (205,108) size 263x42
+            text run at (205,108) width 263: "should be aligned"
+        LayoutText {#text} at (467,125) size 6x21
+          text run at (467,125) width 6: " "
+        LayoutImage {IMG} at (472.50,125) size 10.50x35
+        LayoutText {#text} at (483,125) size 123x21
+          text run at (483,125) width 123: " with the top of "
+        LayoutImage {IMG} at (606,125) size 9x30
+        LayoutText {#text} at (615,125) size 5x21
+          text run at (615,125) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 732x146
+          LayoutText {#text} at (620,115) size 19x33
+            text run at (620,115) width 19: "a "
+          LayoutInline {SPAN} at (0,0) size 732x193
+            LayoutText {#text} at (639,78) size 732x193
+              text run at (639,78) width 93: "14-"
+              text run at (0,191) width 143: "point"
+          LayoutText {#text} at (143,228) size 144x33
+            text run at (143,228) width 144: " text element"
+        LayoutText {#text} at (287,238) size 5x21
+          text run at (287,238) width 5: " "
+        LayoutImage {IMG} at (292,238) size 15x50
+        LayoutText {#text} at (307,238) size 5x21
+          text run at (307,238) width 5: " "
+        LayoutInline {SMALL} at (0,0) size 189x19
+          LayoutText {#text} at (312,239) size 189x19
+            text run at (312,239) width 189: "regardless of the line in which"
+        LayoutText {#text} at (501,238) size 5x21
+          text run at (501,238) width 5: " "
+        LayoutImage {IMG} at (506,238) size 4.50x15
+        LayoutText {#text} at (510,238) size 6x21
+          text run at (510,238) width 6: " "
+        LayoutInline {BIG} at (0,0) size 156x23
+          LayoutText {#text} at (515,236) size 156x23
+            text run at (515,236) width 156: "the images appear."
+        LayoutText {#text} at (670,238) size 6x21
+          text run at (670,238) width 6: " "
+        LayoutImage {IMG} at (675.31,238) size 27x90
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,1829.31) size 769x40
+        LayoutText {#text} at (0,0) size 749x39
+          text run at (0,0) width 749: "In the following paragraph, all images should be aligned with the middle of the default text, whereas any text should be"
+          text run at (0,20) width 362: "aligned with the text baseline (which is the default value)."
+      LayoutBlockFlow {P} at (0,1885.31) size 769x233
+        LayoutText {#text} at (0,22) size 99x19
+          text run at (0,22) width 99: "This paragraph "
+        LayoutImage {IMG} at (99,19) size 9x30
+        LayoutText {#text} at (108,22) size 4x19
+          text run at (108,22) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 357x46
+          LayoutText {#text} at (112,1) size 357x46
+            text run at (112,1) width 357: "contains many images"
+        LayoutText {#text} at (469,22) size 4x19
+          text run at (469,22) width 4: " "
+        LayoutImage {IMG} at (473,9) size 15x50
+        LayoutText {#text} at (488,22) size 122x19
+          text run at (488,22) width 122: " of varying heights "
+        LayoutImage {IMG} at (610,29) size 3x10
+        LayoutText {#text} at (613,22) size 4x19
+          text run at (613,22) width 4: " "
+        LayoutInline {SMALL} at (0,0) size 69x19
+          LayoutText {#text} at (617,22) size 69x19
+            text run at (617,22) width 69: "and widths"
+        LayoutText {#text} at (686,22) size 4x19
+          text run at (686,22) width 4: " "
+        LayoutImage {IMG} at (690,24) size 6x20
+        LayoutText {#text} at (696,22) size 732x96
+          text run at (696,22) width 36: " all of"
+          text run at (0,99) width 43: "which "
+        LayoutImage {IMG} at (43,78) size 19.50x65
+        LayoutText {#text} at (62,99) size 120x19
+          text run at (62,99) width 120: " should be aligned "
+        LayoutImage {IMG} at (181.50,93) size 10.50x35
+        LayoutText {#text} at (192,99) size 4x19
+          text run at (192,99) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 236x36
+          LayoutText {#text} at (196,86) size 236x36
+            text run at (196,86) width 236: "with the middle of"
+        LayoutText {#text} at (432,99) size 4x19
+          text run at (432,99) width 4: " "
+        LayoutImage {IMG} at (436,86) size 15x50
+        LayoutText {#text} at (451,99) size 4x19
+          text run at (451,99) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 719x104
+          LayoutText {#text} at (455,93) size 17x27
+            text run at (455,93) width 17: "a "
+          LayoutInline {SPAN} at (0,0) size 204x68
+            LayoutText {#text} at (472,60) size 204x68
+              text run at (472,60) width 204: "14-point"
+          LayoutText {#text} at (676,93) size 719x104
+            text run at (676,93) width 43: " text"
+            text run at (0,170) width 78: "element"
+        LayoutText {#text} at (78,176) size 4x19
+          text run at (78,176) width 4: " "
+        LayoutImage {IMG} at (82,163) size 15x50
+        LayoutText {#text} at (97,176) size 4x19
+          text run at (97,176) width 4: " "
+        LayoutInline {SMALL} at (0,0) size 189x19
+          LayoutText {#text} at (101,176) size 189x19
+            text run at (101,176) width 189: "regardless of the line in which"
+        LayoutText {#text} at (290,176) size 4x19
+          text run at (290,176) width 4: " "
+        LayoutImage {IMG} at (294,180) size 4.50x15
+        LayoutText {#text} at (298,176) size 5x19
+          text run at (298,176) width 5: " "
+        LayoutInline {BIG} at (0,0) size 156x23
+          LayoutText {#text} at (302,173) size 156x23
+            text run at (302,173) width 156: "the images appear."
+        LayoutText {#text} at (457,176) size 5x19
+          text run at (457,176) width 5: " "
+        LayoutImage {IMG} at (461.31,143) size 27x90
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,2134.31) size 769x40
+        LayoutText {#text} at (0,0) size 733x39
+          text run at (0,0) width 733: "In the following paragraph, all elements should be aligned with the top of the tallest element on the line, whether that"
+          text run at (0,20) width 173: "element is an image or not. "
+          text run at (173,20) width 554: "Each fragment of text has been SPANned appropriately in order to cause this to happen."
+      LayoutBlockFlow {P} at (0,2190.31) size 769x203
+        LayoutInline {SPAN} at (0,0) size 95x19
+          LayoutText {#text} at (0,0) size 95x19
+            text run at (0,0) width 95: "This paragraph"
+        LayoutText {#text} at (95,0) size 4x19
+          text run at (95,0) width 4: " "
+        LayoutImage {IMG} at (99,0) size 3x10
+        LayoutText {#text} at (102,0) size 4x19
+          text run at (102,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 357x46
+          LayoutText {#text} at (106,1) size 357x46
+            text run at (106,1) width 357: "contains many images"
+        LayoutText {#text} at (463,0) size 4x19
+          text run at (463,0) width 4: " "
+        LayoutImage {IMG} at (467,0) size 3x10
+        LayoutText {#text} at (470,0) size 4x19
+          text run at (470,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 87x19
+          LayoutText {#text} at (474,0) size 87x19
+            text run at (474,0) width 87: "and some text"
+        LayoutText {#text} at (561,0) size 4x19
+          text run at (561,0) width 4: " "
+        LayoutImage {IMG} at (565,0) size 3x10
+        LayoutText {#text} at (568,0) size 4x19
+          text run at (568,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 114x19
+          LayoutText {#text} at (572,0) size 114x19
+            text run at (572,0) width 114: "of varying heights"
+        LayoutText {#text} at (686,0) size 4x19
+          text run at (686,0) width 4: " "
+        LayoutImage {IMG} at (690,0) size 3x10
+        LayoutText {#text} at (693,0) size 4x19
+          text run at (693,0) width 4: " "
+        LayoutInline {BIG} at (0,0) size 728x71
+          LayoutText {#text} at (697,0) size 728x71
+            text run at (697,0) width 31: "and"
+            text run at (0,48) width 57: "widths"
+        LayoutText {#text} at (57,48) size 4x19
+          text run at (57,48) width 4: " "
+        LayoutImage {IMG} at (61,48) size 6x20
+        LayoutText {#text} at (67,48) size 4x19
+          text run at (67,48) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 75x19
+          LayoutText {#text} at (71,48) size 75x19
+            text run at (71,48) width 75: "all of which"
+        LayoutText {#text} at (146,48) size 4x19
+          text run at (146,48) width 4: " "
+        LayoutImage {IMG} at (150,48) size 19.50x65
+        LayoutText {#text} at (169,48) size 5x19
+          text run at (169,48) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 112x19
+          LayoutText {#text} at (173,48) size 112x19
+            text run at (173,48) width 112: "should be aligned"
+        LayoutText {#text} at (284,48) size 5x19
+          text run at (284,48) width 5: " "
+        LayoutImage {IMG} at (288.50,48) size 10.50x35
+        LayoutText {#text} at (299,48) size 4x19
+          text run at (299,48) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 188x36
+          LayoutText {#text} at (303,48) size 188x36
+            text run at (303,48) width 188: "with the top of"
+        LayoutText {#text} at (491,48) size 4x19
+          text run at (491,48) width 4: " "
+        LayoutImage {IMG} at (495,48) size 15x50
+        LayoutText {#text} at (510,48) size 4x19
+          text run at (510,48) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 128x19
+          LayoutText {#text} at (514,48) size 128x19
+            text run at (514,48) width 128: "the tallest element in"
+        LayoutText {#text} at (642,48) size 4x19
+          text run at (642,48) width 4: " "
+        LayoutImage {IMG} at (646,48) size 4.50x15
+        LayoutText {#text} at (650,48) size 5x19
+          text run at (650,48) width 5: " "
+        LayoutInline {BIG} at (0,0) size 743x88
+          LayoutText {#text} at (654,48) size 743x88
+            text run at (654,48) width 89: "whichever"
+            text run at (0,113) width 207: "line the elements appear."
+        LayoutText {#text} at (206,113) size 5x19
+          text run at (206,113) width 5: " "
+        LayoutImage {IMG} at (210.81,113) size 27x90
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,2409.31) size 769x2076 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x2074
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x2046
+            LayoutTableCell {TD} at (0,1037) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x2046.31 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x79
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 126x19
+                  LayoutText {#text} at (15,39) size 126x19
+                    text run at (15,39) width 126: "The first four words"
+                LayoutText {#text} at (141,35) size 731x43
+                  text run at (141,35) width 284: " in this sentence should be subscript-aligned. "
+                  text run at (425,35) width 306: "The font size of the superscripted text should not"
+                  text run at (0,59) width 273: "be different from that of the parent element."
+              LayoutBlockFlow {P} at (4,99) size 747x75
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 126x19
+                  LayoutText {#text} at (15,29) size 126x19
+                    text run at (15,29) width 126: "The first four words"
+                LayoutText {#text} at (141,35) size 731x39
+                  text run at (141,35) width 296: " in this sentence should be superscript-aligned. "
+                  text run at (437,35) width 294: "The font size of the subscripted text should not"
+                  text run at (0,55) width 273: "be different from that of the parent element."
+              LayoutBlockFlow {P} at (4,190) size 747x75
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 126x19
+                  LayoutText {#text} at (15,0) size 126x19
+                    text run at (15,0) width 126: "The first four words"
+                LayoutText {#text} at (141,35) size 712x39
+                  text run at (141,35) width 571: " in this sentence should be top-aligned, which will align their tops with the top of the tallest"
+                  text run at (0,55) width 320: "element in the line (probably the orange rectangle)."
+              LayoutBlockFlow {P} at (4,281) size 747x133
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,35) size 4x19
+                  text run at (15,35) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 701x110
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 126x19
+                    LayoutText {#text} at (19,22) size 126x19
+                      text run at (19,22) width 126: "The first four words"
+                  LayoutText {#text} at (145,22) size 701x110
+                    text run at (145,22) width 556: " in this sentence should be text-top-aligned,"
+                    text run at (0,59) width 698: "which should align their tops with the top of the tallest"
+                    text run at (0,96) width 192: "text in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,430) size 747x70
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,13) size 739x56
+                  text run at (15,13) width 724: " The image at the beginning of this sentence should be middle-aligned, which should align its middle with the point"
+                  text run at (0,50) width 310: "defined as the text baseline plus half the x-height."
+              LayoutBlockFlow {P} at (4,516) size 747x124
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,13) size 4x19
+                  text run at (15,13) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 733x123
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 126x19
+                    LayoutText {#text} at (19,30) size 126x19
+                      text run at (19,30) width 126: "The first four words"
+                  LayoutText {#text} at (145,0) size 733x123
+                    text run at (145,0) width 544: " in this sentence should be 12pt in size and"
+                    text run at (0,50) width 733: "bottom-aligned, which should align their bottom with the"
+                    text run at (0,87) width 517: "bottom of the lowest element in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,656) size 747x161
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,13) size 4x19
+                  text run at (15,13) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 745x160
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 293x19
+                    LayoutText {#text} at (19,16) size 293x19
+                      text run at (19,16) width 293: "The first eight words (\"eight\" has a descender)"
+                  LayoutText {#text} at (312,0) size 745x160
+                    text run at (312,0) width 433: " in this sentence should be 12pt in"
+                    text run at (0,50) width 692: "size and text-bottom-aligned, which should align their"
+                    text run at (0,87) width 671: "bottom with the bottom of the lowest text (including"
+                    text run at (0,124) width 294: "descenders) in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,833) size 747x133
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,35) size 4x19
+                  text run at (15,35) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 712x110
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 126x19
+                    LayoutText {#text} at (19,35) size 126x19
+                      text run at (19,35) width 126: "The first four words"
+                  LayoutText {#text} at (145,22) size 712x110
+                    text run at (145,22) width 544: " in this sentence should be 12pt in size and"
+                    text run at (0,59) width 712: "baseline-aligned, which should align their baseline with"
+                    text run at (0,96) width 569: "the baseline of the rest of the text in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,982) size 747x75
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 96x15
+                  LayoutText {#text} at (15,30) size 96x15
+                    text run at (15,30) width 96: "The first four words"
+                LayoutText {#text} at (111,35) size 700x39
+                  text run at (111,35) width 589: " in this sentence should have a font-size of 12px and a line-height of 16px; they are also 50%-"
+                  text run at (0,55) width 430: "aligned, which should raise them 8px relative to the natural baseline."
+              LayoutBlockFlow {P} at (4,1073) size 747x40
+                LayoutText {#text} at (0,0) size 742x39
+                  text run at (0,0) width 742: "In the following paragraph, all images should be aligned with the top of the 14-point text, which is identical to the first"
+                  text run at (0,20) width 661: "section of text, whereas any size text should be aligned with the text baseline (which is the default value)."
+              LayoutBlockFlow {P} at (4,1131.66) size 747x328
+                LayoutText {#text} at (0,27) size 120x21
+                  text run at (0,27) width 120: "This paragraph "
+                LayoutImage {IMG} at (120,27) size 9x30
+                LayoutText {#text} at (129,27) size 5x21
+                  text run at (129,27) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 422x53
+                  LayoutText {#text} at (134,1) size 422x53
+                    text run at (134,1) width 422: "contains many images"
+                LayoutText {#text} at (556,27) size 5x21
+                  text run at (556,27) width 5: " "
+                LayoutImage {IMG} at (561,27) size 15x50
+                LayoutText {#text} at (576,27) size 5x21
+                  text run at (576,27) width 5: " "
+                LayoutInline {BIG} at (0,0) size 156x23
+                  LayoutText {#text} at (581,25) size 156x23
+                    text run at (581,25) width 156: "of varying heights"
+                LayoutText {#text} at (737,27) size 5x21
+                  text run at (737,27) width 5: " "
+                LayoutImage {IMG} at (742,27) size 3x10
+                LayoutText {#text} at (0,0) size 0x0
+                LayoutInline {SMALL} at (0,0) size 69x19
+                  LayoutText {#text} at (0,126) size 69x19
+                    text run at (0,126) width 69: "and widths"
+                LayoutText {#text} at (69,125) size 5x21
+                  text run at (69,125) width 5: " "
+                LayoutImage {IMG} at (74,125) size 6x20
+                LayoutText {#text} at (80,125) size 101x21
+                  text run at (80,125) width 101: " all of which "
+                LayoutImage {IMG} at (181,125) size 19.50x65
+                LayoutText {#text} at (200,125) size 6x21
+                  text run at (200,125) width 6: " "
+                LayoutInline {SPAN} at (0,0) size 263x42
+                  LayoutText {#text} at (205,108) size 263x42
+                    text run at (205,108) width 263: "should be aligned"
+                LayoutText {#text} at (467,125) size 6x21
+                  text run at (467,125) width 6: " "
+                LayoutImage {IMG} at (472.50,125) size 10.50x35
+                LayoutText {#text} at (483,125) size 123x21
+                  text run at (483,125) width 123: " with the top of "
+                LayoutImage {IMG} at (606,125) size 9x30
+                LayoutText {#text} at (615,125) size 5x21
+                  text run at (615,125) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 732x146
+                  LayoutText {#text} at (620,115) size 19x33
+                    text run at (620,115) width 19: "a "
+                  LayoutInline {SPAN} at (0,0) size 732x193
+                    LayoutText {#text} at (639,78) size 732x193
+                      text run at (639,78) width 93: "14-"
+                      text run at (0,191) width 143: "point"
+                  LayoutText {#text} at (143,228) size 144x33
+                    text run at (143,228) width 144: " text element"
+                LayoutText {#text} at (287,238) size 5x21
+                  text run at (287,238) width 5: " "
+                LayoutImage {IMG} at (292,238) size 15x50
+                LayoutText {#text} at (307,238) size 5x21
+                  text run at (307,238) width 5: " "
+                LayoutInline {SMALL} at (0,0) size 189x19
+                  LayoutText {#text} at (312,239) size 189x19
+                    text run at (312,239) width 189: "regardless of the line in which"
+                LayoutText {#text} at (501,238) size 5x21
+                  text run at (501,238) width 5: " "
+                LayoutImage {IMG} at (506,238) size 4.50x15
+                LayoutText {#text} at (510,238) size 6x21
+                  text run at (510,238) width 6: " "
+                LayoutInline {BIG} at (0,0) size 156x23
+                  LayoutText {#text} at (515,236) size 156x23
+                    text run at (515,236) width 156: "the images appear."
+                LayoutText {#text} at (670,238) size 6x21
+                  text run at (670,238) width 6: " "
+                LayoutImage {IMG} at (675.31,238) size 27x90
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,1478.31) size 747x40
+                LayoutText {#text} at (0,0) size 730x39
+                  text run at (0,0) width 730: "In the following paragraph, all images should be aligned with the middle of the default text, whereas any text should"
+                  text run at (0,20) width 381: "be aligned with the text baseline (which is the default value)."
+              LayoutBlockFlow {P} at (4,1534.31) size 747x233
+                LayoutText {#text} at (0,22) size 99x19
+                  text run at (0,22) width 99: "This paragraph "
+                LayoutImage {IMG} at (99,19) size 9x30
+                LayoutText {#text} at (108,22) size 4x19
+                  text run at (108,22) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 357x46
+                  LayoutText {#text} at (112,1) size 357x46
+                    text run at (112,1) width 357: "contains many images"
+                LayoutText {#text} at (469,22) size 4x19
+                  text run at (469,22) width 4: " "
+                LayoutImage {IMG} at (473,9) size 15x50
+                LayoutText {#text} at (488,22) size 122x19
+                  text run at (488,22) width 122: " of varying heights "
+                LayoutImage {IMG} at (610,29) size 3x10
+                LayoutText {#text} at (613,22) size 4x19
+                  text run at (613,22) width 4: " "
+                LayoutInline {SMALL} at (0,0) size 69x19
+                  LayoutText {#text} at (617,22) size 69x19
+                    text run at (617,22) width 69: "and widths"
+                LayoutText {#text} at (686,22) size 4x19
+                  text run at (686,22) width 4: " "
+                LayoutImage {IMG} at (690,24) size 6x20
+                LayoutText {#text} at (696,22) size 732x96
+                  text run at (696,22) width 36: " all of"
+                  text run at (0,99) width 43: "which "
+                LayoutImage {IMG} at (43,78) size 19.50x65
+                LayoutText {#text} at (62,99) size 120x19
+                  text run at (62,99) width 120: " should be aligned "
+                LayoutImage {IMG} at (181.50,93) size 10.50x35
+                LayoutText {#text} at (192,99) size 4x19
+                  text run at (192,99) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 236x36
+                  LayoutText {#text} at (196,86) size 236x36
+                    text run at (196,86) width 236: "with the middle of"
+                LayoutText {#text} at (432,99) size 4x19
+                  text run at (432,99) width 4: " "
+                LayoutImage {IMG} at (436,86) size 15x50
+                LayoutText {#text} at (451,99) size 4x19
+                  text run at (451,99) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 719x104
+                  LayoutText {#text} at (455,93) size 17x27
+                    text run at (455,93) width 17: "a "
+                  LayoutInline {SPAN} at (0,0) size 204x68
+                    LayoutText {#text} at (472,60) size 204x68
+                      text run at (472,60) width 204: "14-point"
+                  LayoutText {#text} at (676,93) size 719x104
+                    text run at (676,93) width 43: " text"
+                    text run at (0,170) width 78: "element"
+                LayoutText {#text} at (78,176) size 4x19
+                  text run at (78,176) width 4: " "
+                LayoutImage {IMG} at (82,163) size 15x50
+                LayoutText {#text} at (97,176) size 4x19
+                  text run at (97,176) width 4: " "
+                LayoutInline {SMALL} at (0,0) size 189x19
+                  LayoutText {#text} at (101,176) size 189x19
+                    text run at (101,176) width 189: "regardless of the line in which"
+                LayoutText {#text} at (290,176) size 4x19
+                  text run at (290,176) width 4: " "
+                LayoutImage {IMG} at (294,180) size 4.50x15
+                LayoutText {#text} at (298,176) size 5x19
+                  text run at (298,176) width 5: " "
+                LayoutInline {BIG} at (0,0) size 156x23
+                  LayoutText {#text} at (302,173) size 156x23
+                    text run at (302,173) width 156: "the images appear."
+                LayoutText {#text} at (457,176) size 5x19
+                  text run at (457,176) width 5: " "
+                LayoutImage {IMG} at (461.31,143) size 27x90
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,1783.31) size 747x40
+                LayoutText {#text} at (0,0) size 733x39
+                  text run at (0,0) width 733: "In the following paragraph, all elements should be aligned with the top of the tallest element on the line, whether that"
+                  text run at (0,20) width 173: "element is an image or not. "
+                  text run at (173,20) width 554: "Each fragment of text has been SPANned appropriately in order to cause this to happen."
+              LayoutBlockFlow {P} at (4,1839.31) size 747x203
+                LayoutInline {SPAN} at (0,0) size 95x19
+                  LayoutText {#text} at (0,0) size 95x19
+                    text run at (0,0) width 95: "This paragraph"
+                LayoutText {#text} at (95,0) size 4x19
+                  text run at (95,0) width 4: " "
+                LayoutImage {IMG} at (99,0) size 3x10
+                LayoutText {#text} at (102,0) size 4x19
+                  text run at (102,0) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 357x46
+                  LayoutText {#text} at (106,1) size 357x46
+                    text run at (106,1) width 357: "contains many images"
+                LayoutText {#text} at (463,0) size 4x19
+                  text run at (463,0) width 4: " "
+                LayoutImage {IMG} at (467,0) size 3x10
+                LayoutText {#text} at (470,0) size 4x19
+                  text run at (470,0) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 87x19
+                  LayoutText {#text} at (474,0) size 87x19
+                    text run at (474,0) width 87: "and some text"
+                LayoutText {#text} at (561,0) size 4x19
+                  text run at (561,0) width 4: " "
+                LayoutImage {IMG} at (565,0) size 3x10
+                LayoutText {#text} at (568,0) size 4x19
+                  text run at (568,0) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 114x19
+                  LayoutText {#text} at (572,0) size 114x19
+                    text run at (572,0) width 114: "of varying heights"
+                LayoutText {#text} at (686,0) size 4x19
+                  text run at (686,0) width 4: " "
+                LayoutImage {IMG} at (690,0) size 3x10
+                LayoutText {#text} at (693,0) size 4x19
+                  text run at (693,0) width 4: " "
+                LayoutInline {BIG} at (0,0) size 728x71
+                  LayoutText {#text} at (697,0) size 728x71
+                    text run at (697,0) width 31: "and"
+                    text run at (0,48) width 57: "widths"
+                LayoutText {#text} at (57,48) size 4x19
+                  text run at (57,48) width 4: " "
+                LayoutImage {IMG} at (61,48) size 6x20
+                LayoutText {#text} at (67,48) size 4x19
+                  text run at (67,48) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 75x19
+                  LayoutText {#text} at (71,48) size 75x19
+                    text run at (71,48) width 75: "all of which"
+                LayoutText {#text} at (146,48) size 4x19
+                  text run at (146,48) width 4: " "
+                LayoutImage {IMG} at (150,48) size 19.50x65
+                LayoutText {#text} at (169,48) size 5x19
+                  text run at (169,48) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 112x19
+                  LayoutText {#text} at (173,48) size 112x19
+                    text run at (173,48) width 112: "should be aligned"
+                LayoutText {#text} at (284,48) size 5x19
+                  text run at (284,48) width 5: " "
+                LayoutImage {IMG} at (288.50,48) size 10.50x35
+                LayoutText {#text} at (299,48) size 4x19
+                  text run at (299,48) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 188x36
+                  LayoutText {#text} at (303,48) size 188x36
+                    text run at (303,48) width 188: "with the top of"
+                LayoutText {#text} at (491,48) size 4x19
+                  text run at (491,48) width 4: " "
+                LayoutImage {IMG} at (495,48) size 15x50
+                LayoutText {#text} at (510,48) size 4x19
+                  text run at (510,48) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 128x19
+                  LayoutText {#text} at (514,48) size 128x19
+                    text run at (514,48) width 128: "the tallest element in"
+                LayoutText {#text} at (642,48) size 4x19
+                  text run at (642,48) width 4: " "
+                LayoutImage {IMG} at (646,48) size 4.50x15
+                LayoutText {#text} at (650,48) size 5x19
+                  text run at (650,48) width 5: " "
+                LayoutInline {BIG} at (0,0) size 743x88
+                  LayoutText {#text} at (654,48) size 743x88
+                    text run at (654,48) width 89: "whichever"
+                    text run at (0,113) width 207: "line the elements appear."
+                LayoutText {#text} at (206,113) size 5x19
+                  text run at (206,113) width 5: " "
+                LayoutImage {IMG} at (210.81,113) size 27x90
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,345) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,337) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/word_spacing-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/word_spacing-expected.txt
new file mode 100644
index 0000000..94365a1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/text_properties/word_spacing-expected.txt
@@ -0,0 +1,118 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1057
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1057 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1057
+    LayoutBlockFlow {BODY} at (8,8) size 769x1041 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x192
+        LayoutText {#text} at (0,0) size 248x192
+          text run at (0,0) width 216: ".one {word-spacing: 0.3in;}"
+          text run at (216,0) width 0: " "
+          text run at (0,16) width 216: ".two {word-spacing: 0.5cm;}"
+          text run at (216,16) width 0: " "
+          text run at (0,32) width 216: ".three {word-spacing: 5mm;}"
+          text run at (216,32) width 0: " "
+          text run at (0,48) width 208: ".four {word-spacing: 3pt;}"
+          text run at (208,48) width 0: " "
+          text run at (0,64) width 232: ".five {word-spacing: 0.25pc;}"
+          text run at (232,64) width 0: " "
+          text run at (0,80) width 200: ".six {word-spacing: 1em;}"
+          text run at (200,80) width 0: " "
+          text run at (0,96) width 216: ".seven {word-spacing: 1ex;}"
+          text run at (216,96) width 0: " "
+          text run at (0,112) width 216: ".eight {word-spacing: 5px;}"
+          text run at (216,112) width 0: " "
+          text run at (0,128) width 232: ".nine {word-spacing: normal;}"
+          text run at (232,128) width 0: " "
+          text run at (0,144) width 208: ".ten {word-spacing: 300%;}"
+          text run at (208,144) width 0: " "
+          text run at (0,160) width 248: ".eleven {word-spacing: -0.2em;}"
+          text run at (248,160) width 0: " "
+          text run at (0,176) width 0: " "
+      LayoutBlockFlow {P} at (0,259) size 769x20
+        LayoutText {#text} at (0,0) size 709x19
+          text run at (0,0) width 709: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,295) size 769x20
+        LayoutText {#text} at (0,0) size 610x19
+          text run at (0,0) width 610: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,331) size 769x20
+        LayoutText {#text} at (0,0) size 610x19
+          text run at (0,0) width 610: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,367) size 769x20
+        LayoutText {#text} at (0,0) size 461x19
+          text run at (0,0) width 461: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,403) size 769x20
+        LayoutText {#text} at (0,0) size 461x19
+          text run at (0,0) width 461: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,439) size 769x20
+        LayoutText {#text} at (0,0) size 581x19
+          text run at (0,0) width 581: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,475) size 769x20
+        LayoutText {#text} at (0,0) size 491x19
+          text run at (0,0) width 491: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,511) size 769x40
+        LayoutText {#text} at (0,0) size 751x19
+          text run at (0,0) width 751: "This words in this sentence should have extra space between them, but the last few words in the sentence"
+        LayoutInline {SPAN} at (0,0) size 176x19
+          LayoutText {#text} at (0,20) size 176x19
+            text run at (0,20) width 176: "should have normal spacing"
+        LayoutText {#text} at (176,20) size 4x19
+          text run at (176,20) width 4: "."
+      LayoutBlockFlow {P} at (0,567) size 769x20
+        LayoutText {#text} at (0,0) size 667x19
+          text run at (0,0) width 667: "This sentence should have normal word-spacing, since percentage values are not allowed on this property."
+      LayoutBlockFlow {P} at (0,603) size 769x20
+        LayoutText {#text} at (0,0) size 703x19
+          text run at (0,0) width 703: "This words in this sentence should have reduced space between them, since negative values are allowed on this property."
+      LayoutTable {TABLE} at (0,639) size 769x402 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x400
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x372
+            LayoutTableCell {TD} at (0,200) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x372 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 709x19
+                  text run at (0,0) width 709: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,40) size 747x20
+                LayoutText {#text} at (0,0) size 610x19
+                  text run at (0,0) width 610: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,76) size 747x20
+                LayoutText {#text} at (0,0) size 610x19
+                  text run at (0,0) width 610: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,112) size 747x20
+                LayoutText {#text} at (0,0) size 461x19
+                  text run at (0,0) width 461: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,148) size 747x20
+                LayoutText {#text} at (0,0) size 461x19
+                  text run at (0,0) width 461: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,184) size 747x20
+                LayoutText {#text} at (0,0) size 581x19
+                  text run at (0,0) width 581: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,220) size 747x20
+                LayoutText {#text} at (0,0) size 491x19
+                  text run at (0,0) width 491: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,256) size 747x40
+                LayoutText {#text} at (0,0) size 688x39
+                  text run at (0,0) width 688: "This words in this sentence should have extra space between them, but the last few words in the"
+                  text run at (0,20) width 63: "sentence "
+                LayoutInline {SPAN} at (0,0) size 176x19
+                  LayoutText {#text} at (63,20) size 176x19
+                    text run at (63,20) width 176: "should have normal spacing"
+                LayoutText {#text} at (239,20) size 4x19
+                  text run at (239,20) width 4: "."
+              LayoutBlockFlow {P} at (4,312) size 747x20
+                LayoutText {#text} at (0,0) size 667x19
+                  text run at (0,0) width 667: "This sentence should have normal word-spacing, since percentage values are not allowed on this property."
+              LayoutBlockFlow {P} at (4,348) size 747x20
+                LayoutText {#text} at (0,0) size 703x19
+                  text run at (0,0) width 703: "This words in this sentence should have reduced space between them, since negative values are allowed on this property."
+layer at (8,249) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/color_units-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/color_units-expected.txt
new file mode 100644
index 0000000..ac0a5e3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/color_units-expected.txt
@@ -0,0 +1,239 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1805
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1805 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1805
+    LayoutBlockFlow {BODY} at (8,8) size 769x1789 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x192
+        LayoutText {#text} at (0,0) size 288x192
+          text run at (0,0) width 160: "BODY {color: black;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 152: ".one {color: #080;}"
+          text run at (152,16) width 0: " "
+          text run at (0,32) width 176: ".two {color: #008000;}"
+          text run at (176,32) width 0: " "
+          text run at (0,48) width 232: ".three {color: rgb(0,128,0);}"
+          text run at (232,48) width 0: " "
+          text run at (0,64) width 240: ".four {color: rgb(0%,50%,0%);}"
+          text run at (240,64) width 0: " "
+          text run at (0,80) width 288: ".five {color: rgb(0.0%,50.0%,0.0%);}"
+          text run at (288,80) width 0: " "
+          text run at (0,96) width 160: ".six {color: green;}"
+          text run at (160,96) width 0: " "
+          text run at (0,112) width 232: ".seven {color: invalidValue;}"
+          text run at (232,112) width 0: " "
+          text run at (0,128) width 256: ".eight {color: rgb(0,128,1280);}"
+          text run at (256,128) width 0: " "
+          text run at (0,144) width 240: ".nine {color: rgb(0,128,255);}"
+          text run at (240,144) width 0: " "
+          text run at (0,160) width 264: ".ten {color: rgb(50%,-500%,60%);}"
+          text run at (264,160) width 0: " "
+          text run at (0,176) width 264: ".eleven {color: rgb(50%,0%,60%);}"
+          text run at (264,176) width 0: " "
+      LayoutBlockFlow {P} at (0,259) size 769x20
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,295) size 769x20 [color=#008800]
+        LayoutText {#text} at (0,0) size 506x19
+          text run at (0,0) width 506: "This sentence should be green, although slightly different from those that follow."
+      LayoutBlockFlow {P} at (0,331) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,367) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,403) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,439) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,475) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,511) size 769x20
+        LayoutText {#text} at (0,0) size 407x19
+          text run at (0,0) width 407: "This sentence should be black, because the value given for class "
+        LayoutInline {CODE} at (0,0) size 48x16
+          LayoutText {#text} at (407,3) size 48x16
+            text run at (407,3) width 48: ".seven"
+        LayoutText {#text} at (455,0) size 65x19
+          text run at (455,0) width 65: " is invalid."
+      LayoutBlockFlow {P} at (0,547) size 769x40 [color=#0080FF]
+        LayoutText {#text} at (0,0) size 725x39
+          text run at (0,0) width 725: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next"
+          text run at (0,20) width 67: "paragraph."
+      LayoutBlockFlow {P} at (0,603) size 769x40 [color=#0080FF]
+        LayoutText {#text} at (0,0) size 752x39
+          text run at (0,0) width 752: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the previous"
+          text run at (0,20) width 67: "paragraph."
+      LayoutBlockFlow {P} at (0,659) size 769x20 [color=#800099]
+        LayoutText {#text} at (0,0) size 769x19
+          text run at (0,0) width 769: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next paragraph."
+      LayoutBlockFlow {P} at (0,695) size 769x40 [color=#800099]
+        LayoutText {#text} at (0,0) size 725x39
+          text run at (0,0) width 725: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous"
+          text run at (0,20) width 67: "paragraph."
+      LayoutBlockFlow {P} at (0,751) size 769x20
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,787) size 769x20 [color=#008800]
+        LayoutText {#text} at (0,0) size 399x19
+          text run at (0,0) width 399: "This sentence should be a slightly different green, and used the "
+        LayoutInline {TT} at (0,0) size 41x16
+          LayoutText {#text} at (398,3) size 41x16
+            text run at (398,3) width 41: "style"
+        LayoutText {#text} at (438,0) size 60x19
+          text run at (438,0) width 60: " attribute."
+      LayoutBlockFlow {P} at (0,823) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 281x19
+          text run at (0,0) width 281: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (281,3) size 40x16
+            text run at (281,3) width 40: "style"
+        LayoutText {#text} at (321,0) size 59x19
+          text run at (321,0) width 59: " attribute."
+      LayoutBlockFlow {P} at (0,859) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 281x19
+          text run at (0,0) width 281: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (281,3) size 40x16
+            text run at (281,3) width 40: "style"
+        LayoutText {#text} at (321,0) size 59x19
+          text run at (321,0) width 59: " attribute."
+      LayoutBlockFlow {P} at (0,895) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 281x19
+          text run at (0,0) width 281: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (281,3) size 40x16
+            text run at (281,3) width 40: "style"
+        LayoutText {#text} at (321,0) size 59x19
+          text run at (321,0) width 59: " attribute."
+      LayoutBlockFlow {P} at (0,931) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 281x19
+          text run at (0,0) width 281: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (281,3) size 40x16
+            text run at (281,3) width 40: "style"
+        LayoutText {#text} at (321,0) size 59x19
+          text run at (321,0) width 59: " attribute."
+      LayoutBlockFlow {P} at (0,967) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 281x19
+          text run at (0,0) width 281: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (281,3) size 40x16
+            text run at (281,3) width 40: "style"
+        LayoutText {#text} at (321,0) size 59x19
+          text run at (321,0) width 59: " attribute."
+      LayoutTable {TABLE} at (0,1003) size 769x786 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x784
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x756
+            LayoutTableCell {TD} at (0,392) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x756 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,40) size 747x20 [color=#008800]
+                LayoutText {#text} at (0,0) size 506x19
+                  text run at (0,0) width 506: "This sentence should be green, although slightly different from those that follow."
+              LayoutBlockFlow {P} at (4,76) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,112) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,148) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,184) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,220) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,256) size 747x20
+                LayoutText {#text} at (0,0) size 407x19
+                  text run at (0,0) width 407: "This sentence should be black, because the value given for class "
+                LayoutInline {CODE} at (0,0) size 48x16
+                  LayoutText {#text} at (407,3) size 48x16
+                    text run at (407,3) width 48: ".seven"
+                LayoutText {#text} at (455,0) size 65x19
+                  text run at (455,0) width 65: " is invalid."
+              LayoutBlockFlow {P} at (4,292) size 747x40 [color=#0080FF]
+                LayoutText {#text} at (0,0) size 725x39
+                  text run at (0,0) width 725: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next"
+                  text run at (0,20) width 67: "paragraph."
+              LayoutBlockFlow {P} at (4,348) size 747x40 [color=#0080FF]
+                LayoutText {#text} at (0,0) size 694x39
+                  text run at (0,0) width 694: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the"
+                  text run at (0,20) width 125: "previous paragraph."
+              LayoutBlockFlow {P} at (4,404) size 747x40 [color=#800099]
+                LayoutText {#text} at (0,0) size 698x39
+                  text run at (0,0) width 698: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next"
+                  text run at (0,20) width 67: "paragraph."
+              LayoutBlockFlow {P} at (4,460) size 747x40 [color=#800099]
+                LayoutText {#text} at (0,0) size 725x39
+                  text run at (0,0) width 725: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous"
+                  text run at (0,20) width 67: "paragraph."
+              LayoutBlockFlow {P} at (4,516) size 747x20
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,552) size 747x20 [color=#008800]
+                LayoutText {#text} at (0,0) size 399x19
+                  text run at (0,0) width 399: "This sentence should be a slightly different green, and used the "
+                LayoutInline {TT} at (0,0) size 41x16
+                  LayoutText {#text} at (398,3) size 41x16
+                    text run at (398,3) width 41: "style"
+                LayoutText {#text} at (438,0) size 60x19
+                  text run at (438,0) width 60: " attribute."
+              LayoutBlockFlow {P} at (4,588) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 281x19
+                  text run at (0,0) width 281: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (281,3) size 40x16
+                    text run at (281,3) width 40: "style"
+                LayoutText {#text} at (321,0) size 59x19
+                  text run at (321,0) width 59: " attribute."
+              LayoutBlockFlow {P} at (4,624) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 281x19
+                  text run at (0,0) width 281: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (281,3) size 40x16
+                    text run at (281,3) width 40: "style"
+                LayoutText {#text} at (321,0) size 59x19
+                  text run at (321,0) width 59: " attribute."
+              LayoutBlockFlow {P} at (4,660) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 281x19
+                  text run at (0,0) width 281: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (281,3) size 40x16
+                    text run at (281,3) width 40: "style"
+                LayoutText {#text} at (321,0) size 59x19
+                  text run at (321,0) width 59: " attribute."
+              LayoutBlockFlow {P} at (4,696) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 281x19
+                  text run at (0,0) width 281: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (281,3) size 40x16
+                    text run at (281,3) width 40: "style"
+                LayoutText {#text} at (321,0) size 59x19
+                  text run at (321,0) width 59: " attribute."
+              LayoutBlockFlow {P} at (4,732) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 281x19
+                  text run at (0,0) width 281: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (281,3) size 40x16
+                    text run at (281,3) width 40: "style"
+                LayoutText {#text} at (321,0) size 59x19
+                  text run at (321,0) width 59: " attribute."
+layer at (8,249) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/length_units-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/length_units-expected.txt
new file mode 100644
index 0000000..a8965ee
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/length_units-expected.txt
@@ -0,0 +1,173 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1673
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1673 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1673
+    LayoutBlockFlow {BODY} at (8,8) size 769x1657 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x176
+        LayoutText {#text} at (0,0) size 624x176
+          text run at (0,0) width 184: ".zero {margin-left: 0;}"
+          text run at (184,0) width 0: " "
+          text run at (0,16) width 192: ".one {margin-left: 3em;}"
+          text run at (192,16) width 0: " "
+          text run at (0,32) width 192: ".two {margin-left: 3ex;}"
+          text run at (192,32) width 0: " "
+          text run at (0,48) width 216: ".three {margin-left: 36px;}"
+          text run at (216,48) width 0: " "
+          text run at (0,64) width 216: ".four {margin-left: 0.5in;}"
+          text run at (216,64) width 0: " "
+          text run at (0,80) width 224: ".five {margin-left: 1.27cm;}"
+          text run at (224,80) width 0: " "
+          text run at (0,96) width 216: ".six {margin-left: 12.7mm;}"
+          text run at (216,96) width 0: " "
+          text run at (0,112) width 216: ".seven {margin-left: 36pt;}"
+          text run at (216,112) width 0: " "
+          text run at (0,128) width 208: ".eight {margin-left: 3pc;}"
+          text run at (208,128) width 0: " "
+          text run at (0,144) width 208: ".nine {margin-left: +3pc;}"
+          text run at (208,144) width 0: " "
+          text run at (0,160) width 624: ".ten {font-size: 40px; border-left: 1ex solid purple; background-color: aqua;}"
+          text run at (624,160) width 0: " "
+      LayoutBlockFlow {P} at (0,243) size 769x40
+        LayoutText {#text} at (0,0) size 761x39
+          text run at (0,0) width 761: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer) edges"
+          text run at (0,20) width 347: "should therefore be appropriately shifted to the right of "
+        LayoutInline {EM} at (0,0) size 22x19
+          LayoutText {#text} at (347,20) size 22x19
+            text run at (347,20) width 22: "this"
+        LayoutText {#text} at (369,20) size 138x19
+          text run at (369,20) width 138: " paragraph's left edge."
+      LayoutBlockFlow {P} at (48,299) size 721x20
+        LayoutText {#text} at (0,0) size 310x19
+          text run at (0,0) width 310: "This paragraph should have a left margin of 3em."
+      LayoutBlockFlow {P} at (21,335) size 748x20
+        LayoutText {#text} at (0,0) size 306x19
+          text run at (0,0) width 306: "This paragraph should have a left margin of 3ex."
+      LayoutBlockFlow {P} at (36,371) size 733x20
+        LayoutText {#text} at (0,0) size 340x19
+          text run at (0,0) width 340: "This paragraph should have a left margin of 36 pixels."
+      LayoutBlockFlow {P} at (48,407) size 721x20
+        LayoutText {#text} at (0,0) size 357x19
+          text run at (0,0) width 357: "This paragraph should have a left margin of half an inch."
+      LayoutBlockFlow {P} at (48,443) size 721x20
+        LayoutText {#text} at (0,0) size 330x19
+          text run at (0,0) width 330: "This paragraph should have a left margin of 1.27cm."
+      LayoutBlockFlow {P} at (48,479) size 721x20
+        LayoutText {#text} at (0,0) size 335x19
+          text run at (0,0) width 335: "This paragraph should have a left margin of 12.7mm."
+      LayoutBlockFlow {P} at (48,515) size 721x20
+        LayoutText {#text} at (0,0) size 341x19
+          text run at (0,0) width 341: "This paragraph should have a left margin of 36 points."
+      LayoutBlockFlow {P} at (48,551) size 721x20
+        LayoutText {#text} at (0,0) size 327x19
+          text run at (0,0) width 327: "This paragraph should have a left margin of 3 picas."
+      LayoutBlockFlow {P} at (48,587) size 721x20
+        LayoutText {#text} at (0,0) size 591x19
+          text run at (0,0) width 591: "This paragraph should have a left margin of 3 picas (the plus sign should make no difference)."
+      LayoutBlockFlow {P} at (0,647) size 769x240 [bgcolor=#00FFFF] [border: none (18px solid #800080)]
+        LayoutText {#text} at (18,1) size 310x46
+          text run at (18,1) width 310: "This element has a "
+        LayoutInline {CODE} at (0,0) size 216x42
+          LayoutText {#text} at (328,6) size 216x42
+            text run at (328,6) width 216: "font-size"
+        LayoutText {#text} at (544,1) size 53x46
+          text run at (544,1) width 53: " of "
+        LayoutInline {CODE} at (0,0) size 96x42
+          LayoutText {#text} at (597,6) size 96x42
+            text run at (597,6) width 96: "40px"
+        LayoutText {#text} at (693,1) size 743x94
+          text run at (693,1) width 68: " and"
+          text run at (18,49) width 28: "a "
+        LayoutInline {CODE} at (0,0) size 264x42
+          LayoutText {#text} at (46,54) size 264x42
+            text run at (46,54) width 264: "border-left"
+        LayoutText {#text} at (310,49) size 53x46
+          text run at (310,49) width 53: " of "
+        LayoutInline {CODE} at (0,0) size 384x42
+          LayoutText {#text} at (363,54) size 384x42
+            text run at (363,54) width 384: "1ex solid purple"
+        LayoutText {#text} at (747,49) size 739x190
+          text run at (747,49) width 10: "."
+          text run at (18,97) width 673: "This should make the left border the same"
+          text run at (18,145) width 711: "number of pixels as the lower-case 'x' in this"
+          text run at (18,193) width 611: "element's font, as well as solid purple."
+      LayoutTable {TABLE} at (0,927) size 769x730 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x728
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x700
+            LayoutTableCell {TD} at (0,364) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x700 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 721x39
+                  text run at (0,0) width 721: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer)"
+                  text run at (0,20) width 387: "edges should therefore be appropriately shifted to the right of "
+                LayoutInline {EM} at (0,0) size 22x19
+                  LayoutText {#text} at (387,20) size 22x19
+                    text run at (387,20) width 22: "this"
+                LayoutText {#text} at (409,20) size 138x19
+                  text run at (409,20) width 138: " paragraph's left edge."
+              LayoutBlockFlow {P} at (52,60) size 699x20
+                LayoutText {#text} at (0,0) size 310x19
+                  text run at (0,0) width 310: "This paragraph should have a left margin of 3em."
+              LayoutBlockFlow {P} at (25,96) size 726x20
+                LayoutText {#text} at (0,0) size 306x19
+                  text run at (0,0) width 306: "This paragraph should have a left margin of 3ex."
+              LayoutBlockFlow {P} at (40,132) size 711x20
+                LayoutText {#text} at (0,0) size 340x19
+                  text run at (0,0) width 340: "This paragraph should have a left margin of 36 pixels."
+              LayoutBlockFlow {P} at (52,168) size 699x20
+                LayoutText {#text} at (0,0) size 357x19
+                  text run at (0,0) width 357: "This paragraph should have a left margin of half an inch."
+              LayoutBlockFlow {P} at (52,204) size 699x20
+                LayoutText {#text} at (0,0) size 330x19
+                  text run at (0,0) width 330: "This paragraph should have a left margin of 1.27cm."
+              LayoutBlockFlow {P} at (52,240) size 699x20
+                LayoutText {#text} at (0,0) size 335x19
+                  text run at (0,0) width 335: "This paragraph should have a left margin of 12.7mm."
+              LayoutBlockFlow {P} at (52,276) size 699x20
+                LayoutText {#text} at (0,0) size 341x19
+                  text run at (0,0) width 341: "This paragraph should have a left margin of 36 points."
+              LayoutBlockFlow {P} at (52,312) size 699x20
+                LayoutText {#text} at (0,0) size 327x19
+                  text run at (0,0) width 327: "This paragraph should have a left margin of 3 picas."
+              LayoutBlockFlow {P} at (52,348) size 699x20
+                LayoutText {#text} at (0,0) size 591x19
+                  text run at (0,0) width 591: "This paragraph should have a left margin of 3 picas (the plus sign should make no difference)."
+              LayoutBlockFlow {P} at (4,408) size 747x288 [bgcolor=#00FFFF] [border: none (18px solid #800080)]
+                LayoutText {#text} at (18,1) size 310x46
+                  text run at (18,1) width 310: "This element has a "
+                LayoutInline {CODE} at (0,0) size 216x42
+                  LayoutText {#text} at (328,6) size 216x42
+                    text run at (328,6) width 216: "font-size"
+                LayoutText {#text} at (544,1) size 53x46
+                  text run at (544,1) width 53: " of "
+                LayoutInline {CODE} at (0,0) size 96x42
+                  LayoutText {#text} at (597,6) size 96x42
+                    text run at (597,6) width 96: "40px"
+                LayoutText {#text} at (18,49) size 96x46
+                  text run at (18,49) width 96: "and a "
+                LayoutInline {CODE} at (0,0) size 264x42
+                  LayoutText {#text} at (114,54) size 264x42
+                    text run at (114,54) width 264: "border-left"
+                LayoutText {#text} at (378,49) size 53x46
+                  text run at (378,49) width 53: " of "
+                LayoutInline {CODE} at (0,0) size 629x90
+                  LayoutText {#text} at (431,54) size 629x90
+                    text run at (431,54) width 216: "1ex solid"
+                    text run at (18,102) width 144: "purple"
+                LayoutText {#text} at (162,97) size 710x190
+                  text run at (162,97) width 20: ". "
+                  text run at (182,97) width 521: "This should make the left border"
+                  text run at (18,145) width 710: "the same number of pixels as the lower-case"
+                  text run at (18,193) width 642: "'x' in this element's font, as well as solid"
+                  text run at (18,241) width 112: "purple."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/percentage_units-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/percentage_units-expected.txt
new file mode 100644
index 0000000..c629852
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/percentage_units-expected.txt
@@ -0,0 +1,67 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 601
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x601 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x601
+    LayoutBlockFlow {BODY} at (8,8) size 769x585 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x80
+        LayoutText {#text} at (0,0) size 504x80
+          text run at (0,0) width 224: ".zero { background: yellow }"
+          text run at (224,0) width 0: " "
+          text run at (0,16) width 504: ".one { margin-left: 25%; margin-right: 25%; background: white }"
+          text run at (504,16) width 0: " "
+          text run at (0,32) width 496: ".two { margin-left: 50%; margin-right: 0%; background: white }"
+          text run at (496,32) width 0: " "
+          text run at (0,48) width 208: ".three {margin-left: 25%;}"
+          text run at (208,48) width 0: " "
+          text run at (0,64) width 0: " "
+      LayoutBlockFlow {DIV} at (0,147) size 769x136 [bgcolor=#FFFF00]
+        LayoutBlockFlow {DIV} at (192.25,0) size 384.50x60 [bgcolor=#FFFFFF]
+          LayoutBlockFlow {P} at (0,0) size 384.50x60
+            LayoutText {#text} at (0,0) size 326x59
+              text run at (0,0) width 326: "This paragraph should be centered within its yellow"
+              text run at (0,20) width 323: "containing block and its width should be half of the"
+              text run at (0,40) width 109: "containing block."
+        LayoutBlockFlow {DIV} at (384.50,76) size 384.50x60 [bgcolor=#FFFFFF]
+          LayoutBlockFlow {P} at (0,0) size 384.50x60
+            LayoutText {#text} at (0,0) size 353x59
+              text run at (0,0) width 353: "This paragraph should be right-aligned within its yellow"
+              text run at (0,20) width 323: "containing block and its width should be half of the"
+              text run at (0,40) width 109: "containing block."
+      LayoutBlockFlow {P} at (192.25,299) size 576.75x40
+        LayoutText {#text} at (0,0) size 549x39
+          text run at (0,0) width 549: "This paragraph should have a left margin of 25% the width of its parent element, which"
+          text run at (0,20) width 356: "should require some extra text in order to test effectively."
+      LayoutTable {TABLE} at (0,355) size 769x230 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x228
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x200
+            LayoutTableCell {TD} at (0,114) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x200 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (4,4) size 747x136 [bgcolor=#FFFF00]
+                LayoutBlockFlow {DIV} at (186.75,0) size 373.50x60 [bgcolor=#FFFFFF]
+                  LayoutBlockFlow {P} at (0,0) size 373.50x60
+                    LayoutText {#text} at (0,0) size 326x59
+                      text run at (0,0) width 326: "This paragraph should be centered within its yellow"
+                      text run at (0,20) width 323: "containing block and its width should be half of the"
+                      text run at (0,40) width 109: "containing block."
+                LayoutBlockFlow {DIV} at (373.50,76) size 373.50x60 [bgcolor=#FFFFFF]
+                  LayoutBlockFlow {P} at (0,0) size 373.50x60
+                    LayoutText {#text} at (0,0) size 353x59
+                      text run at (0,0) width 353: "This paragraph should be right-aligned within its yellow"
+                      text run at (0,20) width 323: "containing block and its width should be half of the"
+                      text run at (0,40) width 109: "containing block."
+              LayoutBlockFlow {P} at (190.75,156) size 560.25x40
+                LayoutText {#text} at (0,0) size 549x39
+                  text run at (0,0) width 549: "This paragraph should have a left margin of 25% the width of its parent element, which"
+                  text run at (0,20) width 356: "should require some extra text in order to test effectively."
+layer at (8,137) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/urls-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/urls-expected.txt
new file mode 100644
index 0000000..1c05dc9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/units/urls-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 355x19
+          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 648x64
+          text run at (0,0) width 648: "<LINK rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"../resources/bg.gif\">"
+          text run at (648,0) width 0: " "
+          text run at (0,16) width 296: "@import url(../resources/sec642.css);"
+          text run at (296,16) width 0: " "
+          text run at (0,32) width 352: "BODY {background: url(../resources/bg.gif);}"
+          text run at (352,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x20
+        LayoutText {#text} at (0,0) size 386x19
+          text run at (0,0) width 386: "This page should have a green grid pattern as its background."
+      LayoutBlockFlow {P} at (0,167) size 784x60 [bgcolor=#FFFFFF]
+        LayoutText {#text} at (0,0) size 779x59
+          text run at (0,0) width 620: "This paragraph should have a white background, but NO image should appear in the background. "
+          text run at (620,0) width 159: "If an image, in this case a"
+          text run at (0,20) width 756: "red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
+          text run at (0,40) width 274: "document's URL, not the stylesheet's URL."
+      LayoutBlockFlow {P} at (0,243) size 784x60 [bgcolor=#FFFFFF]
+        LayoutText {#text} at (0,0) size 779x59
+          text run at (0,0) width 620: "This paragraph should have a white background, but NO image should appear in the background. "
+          text run at (620,0) width 159: "If an image, in this case a"
+          text run at (0,20) width 756: "red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
+          text run at (0,40) width 274: "document's URL, not the stylesheet's URL."
+      LayoutTable {TABLE} at (0,319) size 784x210 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x208
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x19
+                LayoutText {#text} at (4,4) size 161x19
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x180
+            LayoutTableCell {TD} at (0,104) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x180 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x20
+                LayoutText {#text} at (0,0) size 386x19
+                  text run at (0,0) width 386: "This page should have a green grid pattern as its background."
+              LayoutBlockFlow {P} at (4,40) size 762x60 [bgcolor=#FFFFFF]
+                LayoutText {#text} at (0,0) size 759x59
+                  text run at (0,0) width 620: "This paragraph should have a white background, but NO image should appear in the background. "
+                  text run at (620,0) width 117: "If an image, in this"
+                  text run at (0,20) width 759: "case a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation"
+                  text run at (0,40) width 313: "to the document's URL, not the stylesheet's URL."
+              LayoutBlockFlow {P} at (4,116) size 762x60 [bgcolor=#FFFFFF]
+                LayoutText {#text} at (0,0) size 759x59
+                  text run at (0,0) width 620: "This paragraph should have a white background, but NO image should appear in the background. "
+                  text run at (620,0) width 117: "If an image, in this"
+                  text run at (0,20) width 759: "case a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation"
+                  text run at (0,40) width 313: "to the document's URL, not the stylesheet's URL."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt
index 2de4fbb..01a0487 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 606x20
         LayoutText {#text} at (0,0) size 606x19
           text run at (0,0) width 606: "crbug.com/303728: Header Line is absolute positioned so should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 606x2 [border: (1px inset #EEEEEE)]
+layer at (8,28) size 606x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 606x2 [border: (1px inset #EEEEEE)]
 layer at (8,761) size 601x38
   LayoutBlockFlow (positioned) {DIV} at (8,761) size 601x38
     LayoutBlockFlow {DIV} at (0,8) size 601x30
-      LayoutBlockFlow {HR} at (0,0) size 601x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 601x20
         LayoutText {#text} at (0,0) size 601x19
           text run at (0,0) width 601: "crbug.com/303728: Footer Line is absolute positioned so should not be repeated on every page."
+layer at (8,769) size 601x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 601x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
index b1e3497..5753a61 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 667x20
         LayoutText {#text} at (0,0) size 667x19
           text run at (0,0) width 667: "crbug.com/303728: Fixed-position header Line is statically positioned and will be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 667x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 667x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 667x2 [border: (1px inset #EEEEEE)]
 layer at (8,2685) size 613x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (8,2685) size 613x38
     LayoutBlockFlow {DIV} at (0,8) size 613x30
-      LayoutBlockFlow {HR} at (0,0) size 613x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 613x20
         LayoutText {#text} at (0,0) size 613x19
           text run at (0,0) width 613: "crbug.com/303728: Footer Line is statically positioned and should not be repeated on every page."
+layer at (8,2693) size 613x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 613x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
index 81b9030b..f001a86 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
@@ -11,7 +11,8 @@
         LayoutText {#text} at (0,0) size 466x39
           text run at (0,0) width 466: "crbug.com/303728: Header Line should be repeated on every page except"
           text run at (0,20) width 377: "where it's clipped by the absolute element on pages 3 and 4."
-      LayoutBlockFlow {HR} at (0,48) size 500x2 [border: (1px inset #EEEEEE)]
+layer at (5,53) size 500x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,48) size 500x2 [border: (1px inset #EEEEEE)]
 layer at (0,1000) size 600x2000 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,1000) size 600x2000 [bgcolor=#000000]
     LayoutText zI: 2 {#text} at (0,0) size 57x19
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt
index 978427f..36751ff 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 516x20
         LayoutText {#text} at (0,0) size 516x19
           text run at (0,0) width 516: "crbug.com/303728: Fixed-position header Line should be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 516x2 [border: (1px inset #EEEEEE)]
+layer at (8,28) size 516x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 516x2 [border: (1px inset #EEEEEE)]
 layer at (8,761) size 420x38
   LayoutBlockFlow (positioned) {DIV} at (8,761) size 420x38
     LayoutBlockFlow {DIV} at (0,8) size 420x30
-      LayoutBlockFlow {HR} at (0,0) size 420x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 420x20
         LayoutText {#text} at (0,0) size 420x19
           text run at (0,0) width 420: "crbug.com/303728: Footer Line should be repeated on every page."
+layer at (8,769) size 420x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 420x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
index ff752a5..fc91a85 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
@@ -233,13 +233,15 @@
       LayoutBlockFlow (anonymous) at (0,0) size 449x20
         LayoutText {#text} at (0,0) size 449x19
           text run at (0,0) width 449: "crbug.com/303728: Header Line should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 449x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 449x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 449x2 [border: (1px inset #EEEEEE)]
 layer at (8,2685) size 1030x0
   LayoutBlockFlow {DIV} at (0,2669) size 1030x0
 layer at (8,2647) size 444x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (0,-38) size 444x38
     LayoutBlockFlow {DIV} at (0,8) size 444x30
-      LayoutBlockFlow {HR} at (0,0) size 444x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 444x20
         LayoutText {#text} at (0,0) size 444x19
           text run at (0,0) width 444: "crbug.com/303728: Footer Line should not be repeated on every page."
+layer at (8,2655) size 444x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 444x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
index 2f703cab..fb731ac 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 2000x20
         LayoutText {#text} at (0,0) size 696x19
           text run at (0,0) width 696: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
-      LayoutBlockFlow {HR} at (0,28) size 2000x2 [border: (1px inset #EEEEEE)]
+layer at (13,33) size 2000x2 backgroundClip at (13,33) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 2000x2 [border: (1px inset #EEEEEE)]
 layer at (8,751) size 2010x48 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (8,751) size 2010x48 [border: (5px solid #000000)]
     LayoutBlockFlow {DIV} at (5,13) size 2000x30
-      LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 2000x20
         LayoutText {#text} at (0,0) size 696x19
           text run at (0,0) width 696: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
+layer at (13,764) size 2000x2 backgroundClip at (13,764) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.10/editing/pasteboard/drop-text-without-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.10/editing/pasteboard/drop-text-without-selection-expected.txt
index c73d318..e00bdca 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.10/editing/pasteboard/drop-text-without-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.10/editing/pasteboard/drop-text-without-selection-expected.txt
@@ -23,7 +23,6 @@
         LayoutText {#text} at (0,0) size 667x18
           text run at (0,0) width 487: "The text field should accept drag-and-dropped text, such as the link, even if "
           text run at (486,0) width 181: "no text is currently selected."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,96) size 784x19
         LayoutTextControl {INPUT} at (0,0) size 131x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (131,0) size 4x18
@@ -33,6 +32,8 @@
             text run at (135,0) width 166: "drop me into the text field"
         LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (11,107) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
     LayoutText {#text} at (0,0) size 106x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.10/fast/forms/input-value-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.10/fast/forms/input-value-expected.txt
index 44d47bc..e59f9ac 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.10/fast/forms/input-value-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.10/fast/forms/input-value-expected.txt
@@ -10,7 +10,6 @@
       LayoutBlockFlow {P} at (0,52) size 784x18
         LayoutText {#text} at (0,0) size 725x18
           text run at (0,0) width 725: "Results that match Gecko are like WinIE, but with \"before\" for the attribute in the first two rows and the last row."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {FORM} at (0,96) size 784x338
         LayoutTable {TABLE} at (0,0) size 742x338
           LayoutTableSection {THEAD} at (0,0) size 742x24
@@ -204,6 +203,8 @@
               LayoutTableCell {TD} at (677,292) size 63x20 [r=13 c=3 rs=1 cs=1]
                 LayoutText {#text} at (1,1) size 41x18
                   text run at (1,1) width 41: "before"
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (408,132) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
     LayoutText {#text} at (0,0) size 32x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.10/fast/forms/select/menulist-appearance-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.10/fast/forms/select/menulist-appearance-rtl-expected.txt
index 94a42d75..f9e5ae1 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.10/fast/forms/select/menulist-appearance-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.10/fast/forms/select/menulist-appearance-rtl-expected.txt
@@ -53,7 +53,6 @@
             LayoutText {#text} at (0,1) size 82x18
               text run at (0,1) width 23: "abc"
               text run at (22,1) width 60 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-      LayoutBlockFlow {HR} at (0,236) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,246) size 784x55
         LayoutBlockFlow (anonymous) at (0,0) size 784x18
           LayoutText {#text} at (0,0) size 632x18
@@ -67,10 +66,13 @@
               LayoutText (anonymous) at (8,2) size 84x13
                 text run at (8,2) width 84 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,309) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,327) size 784x18
         LayoutText {#text} at (0,0) size 709x18
           text run at (0,0) width 709: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
+layer at (8,252) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,236) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,325) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,309) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,377) size 784x164
   LayoutBlockFlow {DIV} at (0,361) size 784x164
     LayoutMultiColumnSet (anonymous) at (0,0) size 784x164
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.11/editing/pasteboard/drop-text-without-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.11/editing/pasteboard/drop-text-without-selection-expected.txt
index aad654b..d6b8a95 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.11/editing/pasteboard/drop-text-without-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.11/editing/pasteboard/drop-text-without-selection-expected.txt
@@ -23,7 +23,6 @@
         LayoutText {#text} at (0,0) size 667x18
           text run at (0,0) width 487: "The text field should accept drag-and-dropped text, such as the link, even if "
           text run at (486,0) width 181: "no text is currently selected."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,96) size 784x19
         LayoutTextControl {INPUT} at (0,0) size 131x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (131,0) size 4x18
@@ -33,6 +32,8 @@
             text run at (135,0) width 166: "drop me into the text field"
         LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (11,107) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
     LayoutText {#text} at (0,0) size 109x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.11/fast/forms/input-value-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.11/fast/forms/input-value-expected.txt
index b9b33ac..72b902d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.11/fast/forms/input-value-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.11/fast/forms/input-value-expected.txt
@@ -10,7 +10,6 @@
       LayoutBlockFlow {P} at (0,52) size 784x18
         LayoutText {#text} at (0,0) size 725x18
           text run at (0,0) width 725: "Results that match Gecko are like WinIE, but with \"before\" for the attribute in the first two rows and the last row."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {FORM} at (0,96) size 784x338
         LayoutTable {TABLE} at (0,0) size 766x338
           LayoutTableSection {THEAD} at (0,0) size 766x24
@@ -204,6 +203,8 @@
               LayoutTableCell {TD} at (701,292) size 63x20 [r=13 c=3 rs=1 cs=1]
                 LayoutText {#text} at (1,1) size 41x18
                   text run at (1,1) width 41: "before"
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (408,132) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
     LayoutText {#text} at (0,0) size 34x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/editing/pasteboard/drop-text-without-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/editing/pasteboard/drop-text-without-selection-expected.txt
index e7c7dd5..cfcdd7f 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/editing/pasteboard/drop-text-without-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/editing/pasteboard/drop-text-without-selection-expected.txt
@@ -23,7 +23,6 @@
         LayoutText {#text} at (0,0) size 667x18
           text run at (0,0) width 487: "The text field should accept drag-and-dropped text, such as the link, even if "
           text run at (486,0) width 181: "no text is currently selected."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,96) size 784x19
         LayoutTextControl {INPUT} at (0,0) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (123,0) size 4x18
@@ -33,6 +32,8 @@
             text run at (127,0) width 166: "drop me into the text field"
         LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (11,107) size 117x13 scrollWidth 119
   LayoutBlockFlow {DIV} at (3,3) size 117x13
     LayoutText {#text} at (0,0) size 119x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/css/resize-corner-tracking-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/css/resize-corner-tracking-expected.txt
index 7f210ba2..d8ef209 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/css/resize-corner-tracking-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/css/resize-corner-tracking-expected.txt
@@ -3,7 +3,6 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,18) size 784x18
         LayoutText {#text} at (0,0) size 54x18
           text run at (0,0) width 54: "Test for "
@@ -16,7 +15,6 @@
             text run at (409,0) width 324: "Resize corner does not track the mouse accurately"
         LayoutText {#text} at (732,0) size 5x18
           text run at (732,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,187) size 784x357
         LayoutText {#text} at (169,107) size 4x18
           text run at (169,107) width 4: " "
@@ -25,6 +23,10 @@
           text run at (180,164) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,8) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,70) size 173x125 clip at (10,72) size 169x121
   LayoutBlockFlow {DIV} at (0,62) size 173x125 [border: (2px solid #0000FF)]
 layer at (8,195) size 169x121 clip at (10,197) size 165x117
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/css/rtl-ordering-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/css/rtl-ordering-expected.txt
index 4ca5b53..ac1666c 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/css/rtl-ordering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/css/rtl-ordering-expected.txt
@@ -15,7 +15,6 @@
             text run at (0,18) width 374 LTR override: "type=\"button\"> text is reversed on \"visual Hebrew\" pages"
         LayoutText {#text} at (373,18) size 5x18
           text run at (373,18) width 5 LTR override: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,70) size 784x19
         LayoutText {#text} at (0,1) size 310x18
           text run at (0,1) width 310 LTR override: "The text on both buttons should like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
@@ -32,7 +31,6 @@
             LayoutText {#text} at (0,0) size 30x13
               text run at (0,0) width 30 RTL: "\x{5DB}\x{5E4}\x{5EA}\x{5D5}\x{5E8}"
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,150) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,168) size 784x18
         LayoutText {#text} at (0,0) size 255x18
           text run at (0,0) width 255 LTR override: "The following lines should be identical:"
@@ -43,3 +41,7 @@
       LayoutBlockFlow {P} at (0,237) size 784x19
         LayoutText {#text} at (0,1) size 81x18
           text run at (0,1) width 81 LTR override: "21-\x{5D4} \x{5D4}\x{5D0}\x{5DE}\x{5D4}"
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,158) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,150) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/fieldset/fieldset-align-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/fieldset/fieldset-align-expected.txt
index a64b251..870aa1ad 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/fieldset/fieldset-align-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/fieldset/fieldset-align-expected.txt
@@ -34,7 +34,6 @@
         LayoutBlockFlow (anonymous) at (14,23.59) size 737x19
           LayoutTextControl {INPUT} at (0,0) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,260.38) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,278.38) size 769x18
         LayoutText {#text} at (0,0) size 148x18
           text run at (0,0) width 148: "Legend align test, RTL"
@@ -73,7 +72,6 @@
       LayoutBlockFlow (anonymous) at (0,530.75) size 769x0
         LayoutInline {SPAN} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,538.75) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,556.75) size 769x18
         LayoutText {#text} at (0,0) size 275x18
           text run at (0,0) width 275: "Legend align test with margin and padding"
@@ -105,7 +103,6 @@
         LayoutBlockFlow (anonymous) at (17,33) size 705x19
           LayoutTextControl {INPUT} at (0,0) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,926.75) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,944.75) size 769x18
         LayoutText {#text} at (0,0) size 312x18
           text run at (0,0) width 312: "Legend align test with margin and padding, RTL"
@@ -152,6 +149,8 @@
   LayoutBlockFlow {DIV} at (3,3) size 117x13
 layer at (27,232) size 117x13
   LayoutBlockFlow {DIV} at (3,3) size 117x13
+layer at (8,268) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,260.38) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (641,347) size 117x13
   LayoutBlockFlow {DIV} at (3,3) size 117x13
 layer at (641,402) size 117x13
@@ -160,6 +159,8 @@
   LayoutBlockFlow {DIV} at (3,3) size 117x13
 layer at (641,511) size 117x13
   LayoutBlockFlow {DIV} at (3,3) size 117x13
+layer at (8,547) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,538.75) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (43,635) size 117x13 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (3,3) size 117x13
 layer at (43,719) size 117x13 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
@@ -168,6 +169,8 @@
   LayoutBlockFlow {DIV} at (3,3) size 117x13
 layer at (43,887) size 117x13 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (3,3) size 117x13
+layer at (8,935) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,926.75) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (625,1023) size 117x13 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (3,3) size 117x13
 layer at (625,1107) size 117x13 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/floating-textfield-relayout-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/floating-textfield-relayout-expected.txt
index 8962abf..8101aa9 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/floating-textfield-relayout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/floating-textfield-relayout-expected.txt
@@ -16,7 +16,8 @@
             text run at (0,18) width 60: "keystroke"
         LayoutText {#text} at (59,18) size 5x18
           text run at (59,18) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,70) size 784x0
   LayoutBlockFlow (relative positioned) {DIV} at (0,62) size 784x0
     LayoutTextControl (floating) {INPUT} at (0,0) size 392x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/input-value-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/input-value-expected.txt
index b3c0f76..db09a7c 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/input-value-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/input-value-expected.txt
@@ -10,7 +10,6 @@
       LayoutBlockFlow {P} at (0,52) size 784x18
         LayoutText {#text} at (0,0) size 725x18
           text run at (0,0) width 725: "Results that match Gecko are like WinIE, but with \"before\" for the attribute in the first two rows and the last row."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {FORM} at (0,96) size 784x338
         LayoutTable {TABLE} at (0,0) size 767x338
           LayoutTableSection {THEAD} at (0,0) size 767x24
@@ -204,6 +203,8 @@
               LayoutTableCell {TD} at (702,292) size 63x20 [r=13 c=3 rs=1 cs=1]
                 LayoutText {#text} at (1,1) size 41x18
                   text run at (1,1) width 41: "before"
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (408,132) size 117x13
   LayoutBlockFlow {DIV} at (3,3) size 117x13
     LayoutText {#text} at (0,0) size 35x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/select/menulist-appearance-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/select/menulist-appearance-rtl-expected.txt
index 29a7ff7..4d75c094 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/select/menulist-appearance-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/select/menulist-appearance-rtl-expected.txt
@@ -53,7 +53,6 @@
             LayoutText {#text} at (0,1) size 82x18
               text run at (0,1) width 23: "abc"
               text run at (22,1) width 60 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-      LayoutBlockFlow {HR} at (0,236) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,246) size 784x55
         LayoutBlockFlow (anonymous) at (0,0) size 784x18
           LayoutText {#text} at (0,0) size 632x18
@@ -67,10 +66,13 @@
               LayoutText (anonymous) at (8,2) size 87x13
                 text run at (8,2) width 87 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,309) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,327) size 784x18
         LayoutText {#text} at (0,0) size 709x18
           text run at (0,0) width 709: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
+layer at (8,252) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,236) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,325) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,309) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,377) size 784x164
   LayoutBlockFlow {DIV} at (0,361) size 784x164
     LayoutMultiColumnSet (anonymous) at (0,0) size 784x164
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/select/select-visual-hebrew-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/select/select-visual-hebrew-expected.txt
index a4ac4b8..9cd9dc3d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/select/select-visual-hebrew-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/select/select-visual-hebrew-expected.txt
@@ -6,7 +6,6 @@
       LayoutBlockFlow {P} at (0,0) size 784x18
         LayoutText {#text} at (0,0) size 632x18
           text run at (0,0) width 632 LTR override: "This tests that native pop-ups are rendered in logical order even in visually-ordered Hebrew pages."
-      LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,52) size 784x19
         LayoutText {#text} at (0,1) size 398x18
           text run at (0,1) width 398 LTR override: "Text on the pop-up and in the list should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
@@ -16,3 +15,5 @@
             LayoutText (anonymous) at (8,2) size 30x13
               text run at (8,2) width 30 RTL: "\x{5DB}\x{5E4}\x{5EA}\x{5D5}\x{5E8}"
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,42) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/visual-hebrew-text-field-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/visual-hebrew-text-field-expected.txt
index 308cbeee..c81ebda 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/visual-hebrew-text-field-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/forms/visual-hebrew-text-field-expected.txt
@@ -15,13 +15,14 @@
             text run at (0,18) width 251 LTR override: "are reversed on \"visual Hebrew\" pages"
         LayoutText {#text} at (250,18) size 5x18
           text run at (250,18) width 5 LTR override: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,70) size 784x19
         LayoutText {#text} at (0,1) size 286x18
           text run at (0,1) width 286 LTR override: "Text in the field should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
       LayoutBlockFlow (anonymous) at (0,105) size 784x19
         LayoutTextControl {INPUT} at (0,0) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (11,116) size 117x13
   LayoutBlockFlow {DIV} at (3,3) size 117x13
     LayoutText {#text} at (0,0) size 30x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/editing/pasteboard/drop-text-without-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-retina/editing/pasteboard/drop-text-without-selection-expected.txt
index aad654b..d6b8a95 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/editing/pasteboard/drop-text-without-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-retina/editing/pasteboard/drop-text-without-selection-expected.txt
@@ -23,7 +23,6 @@
         LayoutText {#text} at (0,0) size 667x18
           text run at (0,0) width 487: "The text field should accept drag-and-dropped text, such as the link, even if "
           text run at (486,0) width 181: "no text is currently selected."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,96) size 784x19
         LayoutTextControl {INPUT} at (0,0) size 131x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (131,0) size 4x18
@@ -33,6 +32,8 @@
             text run at (135,0) width 166: "drop me into the text field"
         LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (11,107) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
     LayoutText {#text} at (0,0) size 109x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/input-value-expected.txt b/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/input-value-expected.txt
index b9b33ac..72b902d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/input-value-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac-retina/fast/forms/input-value-expected.txt
@@ -10,7 +10,6 @@
       LayoutBlockFlow {P} at (0,52) size 784x18
         LayoutText {#text} at (0,0) size 725x18
           text run at (0,0) width 725: "Results that match Gecko are like WinIE, but with \"before\" for the attribute in the first two rows and the last row."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {FORM} at (0,96) size 784x338
         LayoutTable {TABLE} at (0,0) size 766x338
           LayoutTableSection {THEAD} at (0,0) size 766x24
@@ -204,6 +203,8 @@
               LayoutTableCell {TD} at (701,292) size 63x20 [r=13 c=3 rs=1 cs=1]
                 LayoutText {#text} at (1,1) size 41x18
                   text run at (1,1) width 41: "before"
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (408,132) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
     LayoutText {#text} at (0,0) size 34x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/comments-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/comments-expected.txt
index dc9daa6..77fa6843 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/comments-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/comments-expected.txt
@@ -37,7 +37,6 @@
           text run at (0,195) width 172: ".eight {color: green;}"
           text run at (171,195) width 1: " "
           text run at (0,210) width 0: " "
-      LayoutBlockFlow {HR} at (0,272) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,290) size 769x18 [color=#008000]
         LayoutText {#text} at (0,0) size 197x18
           text run at (0,0) width 197: "This sentence should be green."
@@ -98,3 +97,5 @@
               LayoutBlockFlow {P} at (4,242) size 197x18 [color=#008000]
                 LayoutText {#text} at (0,0) size 197x18
                   text run at (0,0) width 197: "This sentence should be green."
+layer at (8,280) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,272) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/containment-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/containment-expected.txt
index 6e3c53f..50be7ab 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/containment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/containment-expected.txt
@@ -28,7 +28,6 @@
           text run at (163,120) width 1: " "
           text run at (0,135) width 24: "-->"
           text run at (23,135) width 1: " "
-      LayoutBlockFlow {HR} at (0,197) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,215) size 769x18
         LayoutText {#text} at (0,0) size 412x18
           text run at (0,0) width 412: "This sentence should be underlined due to the linked style sheet "
@@ -208,3 +207,5 @@
               LayoutBlockFlow {P} at (4,334) size 747x18 [color=#008000]
                 LayoutText {#text} at (0,0) size 206x18
                   text run at (0,0) width 206: "This paragraph should be green."
+layer at (8,205) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,197) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/contextual_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/contextual_selectors-expected.txt
index f118cc6b..7382d41 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/contextual_selectors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/contextual_selectors-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,30) width 219: "EM, UL LI LI {color: green;}"
           text run at (218,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 784x18 [color=#000080]
         LayoutText {#text} at (0,0) size 639x18
           text run at (0,0) width 639: "This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table."
@@ -80,3 +79,5 @@
                       LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
                       LayoutText {#text} at (0,0) size 138x18
                         text run at (0,0) width 138: "This should be green."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/grouping-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/grouping-expected.txt
index ff0cb71..5762d680 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/grouping-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/grouping-expected.txt
@@ -11,7 +11,6 @@
           text run at (0,0) width 266: ".one, .two, .three {color: green;}"
           text run at (265,0) width 1: " "
           text run at (0,15) width 0: " "
-      LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,95) size 784x18 [color=#008000]
         LayoutText {#text} at (0,0) size 197x18
           text run at (0,0) width 197: "This sentence should be green."
@@ -42,3 +41,5 @@
               LayoutBlockFlow {P} at (4,72) size 197x18 [color=#008000]
                 LayoutText {#text} at (0,0) size 197x18
                   text run at (0,0) width 197: "This sentence should be green."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/id_as_selector-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/id_as_selector-expected.txt
index 20827da..8f0dc25 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/id_as_selector-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/id_as_selector-expected.txt
@@ -23,7 +23,6 @@
           text run at (0,90) width 235: "P#five, P#five2 {color: blue;}"
           text run at (234,90) width 1: " "
           text run at (0,105) width 235: "P#six, P#six2 {color: purple;}"
-      LayoutBlockFlow {HR} at (0,167) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,185) size 769x18 [color=#008000]
         LayoutText {#text} at (0,0) size 197x18
           text run at (0,0) width 197: "This sentence should be green."
@@ -90,3 +89,5 @@
                   LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
                   LayoutText {#text} at (0,0) size 240x18
                     text run at (0,0) width 240: "This sentence should NOT be purple."
+layer at (8,175) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,167) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/inheritance-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/inheritance-expected.txt
index 4e708e6..34b00e7c 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/basic/inheritance-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/basic/inheritance-expected.txt
@@ -22,7 +22,6 @@
           text run at (148,75) width 1: " "
           text run at (0,90) width 180: ".three {color: purple;}"
           text run at (179,90) width 1: " "
-      LayoutBlockFlow {HR} at (0,152) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {H3} at (0,172.72) size 784x22 [color=#0000FF]
         LayoutText {#text} at (0,0) size 216x22
           text run at (0,0) width 216: "This sentence should show "
@@ -187,3 +186,5 @@
                     text run at (359,0) width 178: "this part (which is spanned)"
                 LayoutText {#text} at (536,0) size 5x18
                   text run at (536,0) width 5: "."
+layer at (8,160) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border-expected.txt
index 05e56249..6cd3a3e7 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border-expected.txt
@@ -26,7 +26,6 @@
           text run at (163,105) width 1: " "
           text run at (0,120) width 227: "TD {border: 2px solid green;}"
           text run at (226,120) width 1: " "
-      LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,200) size 769x36
         LayoutText {#text} at (0,0) size 765x36
           text run at (0,0) width 641: "Note that all table cells on this page should have a two-pixel solid green border along all four sides. "
@@ -186,3 +185,5 @@
               LayoutBlockFlow {P} at (5,567) size 743x18
                 LayoutText {#text} at (0,0) size 180x18
                   text run at (0,0) width 180: "This is an unstyled element."
+layer at (8,190) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom-expected.txt
index d08b165..0b8adbbf 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom-expected.txt
@@ -16,7 +16,6 @@
           text run at (335,30) width 1: " "
           text run at (0,45) width 281: "TD {border-bottom: green 2px solid;}"
           text run at (280,45) width 1: " "
-      LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 769x36
         LayoutText {#text} at (0,0) size 747x36
           text run at (0,0) width 673: "Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. "
@@ -161,3 +160,5 @@
                       text run at (179,18) width 51: "beneath"
                   LayoutText {#text} at (229,18) size 401x18
                     text run at (229,18) width 401: " the nested list (below the line \"...nested within the list item.\")."
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_inline-expected.txt
index 8975e45..130f107 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 313: ".two {border-bottom: purple thin solid;}"
           text run at (312,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 680x18
           text run at (0,0) width 680: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
@@ -58,3 +57,5 @@
                   text run at (470,18) width 249: ", which should have a thin solid purple"
                   text run at (0,36) width 99: "bottom border. "
                   text run at (98,36) width 438: "The line-height of the parent element should not change on any line."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_width-expected.txt
index 3a392886..a110fa0 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (429,60) width 1: " "
           text run at (0,75) width 266: ".five {border-bottom-width: 25px;}"
           text run at (265,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18
         LayoutText {#text} at (0,0) size 160x18
           text run at (0,0) width 160: "(These will only work if "
@@ -101,3 +100,5 @@
               LayoutBlockFlow {P} at (4,313) size 694x18 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 208x18
                   text run at (0,0) width 208: "This element has a class of zero."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_width_inline-expected.txt
index db4d503..c5a511505 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_bottom_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (421,15) width 1: " "
           text run at (0,30) width 274: ".three {border-bottom-width: 25px;}"
           text run at (273,30) width 1: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x100 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
         LayoutText {#text} at (3,3) size 176x18
           text run at (3,3) width 176: "This element has a class of "
@@ -85,3 +84,5 @@
                 LayoutText {#text} at (339,39) size 730x36
                   text run at (339,39) width 394: ", which should have no bottom border width or visible border"
                   text run at (3,57) width 206: "because no border style was set."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_color-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_color-expected.txt
index 91b6191..21373ea 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_color-expected.txt
@@ -14,7 +14,6 @@
           text run at (553,15) width 1: " "
           text run at (0,30) width 710: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
           text run at (709,30) width 1: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x24 [border: (3px solid #800080)]
         LayoutText {#text} at (3,3) size 364x18
           text run at (3,3) width 364: "This element should have a purple border surrounding it."
@@ -47,3 +46,5 @@
                 LayoutText {#text} at (3,3) size 753x36
                   text run at (3,3) width 753: "This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on"
                   text run at (3,21) width 251: "the bottom, and yellow on the left side."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_color_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_color_inline-expected.txt
index 9311eff..dd06c68a 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_color_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_color_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (553,15) width 1: " "
           text run at (0,30) width 710: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
           text run at (709,30) width 1: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x72 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 691x18
           text run at (0,0) width 691: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
@@ -71,3 +70,5 @@
                   text run at (0,36) width 650: "in the first and second cases, and a purple-green-blue-yellow medium-width solid border in the third. "
                   text run at (649,36) width 99: "The line-height"
                   text run at (0,54) width 375: "of the parent element should not change at all, on any line."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_inline-expected.txt
index 193ae39..ffab5080 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 250: ".two {border: 10px olive inset;}"
           text run at (249,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 691x18
           text run at (0,0) width 691: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
@@ -57,3 +56,5 @@
                   text run at (480,18) width 254: ", which should result in a 10-pixel inset"
                   text run at (0,36) width 85: "olive border. "
                   text run at (84,36) width 439: "The line-height of the parent element should not change on any line."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left-expected.txt
index 0fa82b0..27a2001a1 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left-expected.txt
@@ -22,7 +22,6 @@
           text run at (319,75) width 1: " "
           text run at (0,90) width 266: "TD {border-left: green 2px solid;}"
           text run at (265,90) width 1: " "
-      LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (20,170) size 749x36
         LayoutText {#text} at (0,0) size 723x36
           text run at (0,0) width 649: "Note that all table cells on this page should have a two-pixel solid green border along their left sides. "
@@ -160,3 +159,5 @@
                     text run at (3,18) width 48: "colors. "
                     text run at (50,18) width 630: "The first item's border should travel the entire height the nested list (to end near the baseline of the"
                     text run at (3,36) width 638: "line \"...nested within the list item.\"), even though the nested list does not have any border styles set."
+layer at (8,160) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_inline-expected.txt
index a994461e..f0df8f6 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_inline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,30) width 297: ".two {border-left: purple thin solid;}"
           text run at (296,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (20,125) size 764x54 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 760x36
           text run at (0,0) width 760: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with classes"
@@ -60,3 +59,5 @@
                   text run at (589,18) width 140: ", which should have a"
                   text run at (0,36) width 184: "thin solid purple left border. "
                   text run at (183,36) width 438: "The line-height of the parent element should not change on any line."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_width-expected.txt
index b6ae79a..f01a391 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (413,60) width 1: " "
           text run at (0,75) width 250: ".five {border-left-width: 25px;}"
           text run at (249,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18
         LayoutText {#text} at (0,0) size 160x18
           text run at (0,0) width 160: "(These will only work if "
@@ -103,3 +102,5 @@
                     text run at (520,2) width 95: "border-style"
                 LayoutText {#text} at (614,0) size 56x18
                   text run at (614,0) width 56: " was set."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_width_inline-expected.txt
index 3c00731..ee06bc9 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_left_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (405,15) width 1: " "
           text run at (0,30) width 258: ".three {border-left-width: 25px;}"
           text run at (257,30) width 1: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x78 [border: (3px solid #000000) (25px solid #000000)]
         LayoutText {#text} at (25,3) size 176x18
           text run at (25,3) width 176: "This element has a class of "
@@ -95,3 +94,5 @@
                 LayoutText {#text} at (361,39) size 706x36
                   text run at (361,39) width 370: ", which should have no left border width or visible border"
                   text run at (25,57) width 206: "because no border style was set."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right-expected.txt
index 7debfd4..fa0bc7a 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,30) width 305: ".two {border-right: purple thin solid;}"
           text run at (304,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 764x54 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 720x36
           text run at (0,0) width 720: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with"
@@ -60,3 +59,5 @@
                   text run at (598,18) width 140: ", which should have a"
                   text run at (0,36) width 192: "thin solid purple right border. "
                   text run at (191,36) width 439: "The line-height of the parent element should not change on any line."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_inline-expected.txt
index 6d42a99..2ab1b41a 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_inline-expected.txt
@@ -22,7 +22,6 @@
           text run at (327,75) width 1: " "
           text run at (0,90) width 274: "TD {border-right: green 2px solid;}"
           text run at (273,90) width 1: " "
-      LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,170) size 749x36
         LayoutText {#text} at (0,0) size 732x36
           text run at (0,0) width 658: "Note that all table cells on this page should have a two-pixel solid green border along their right sides. "
@@ -165,3 +164,5 @@
                     text run at (641,36) width 26: "The"
                     text run at (0,54) width 677: "borders should line up together at the right edge of the document's body, as each list element has a default"
                     text run at (0,72) width 100: "width of 100%."
+layer at (8,160) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_width-expected.txt
index cd9411a..9bd7aac 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (421,60) width 1: " "
           text run at (0,75) width 266: ".five {border-right-width: 100px;}"
           text run at (265,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18
         LayoutText {#text} at (0,0) size 160x18
           text run at (0,0) width 160: "(These will only work if "
@@ -103,3 +102,5 @@
                     text run at (529,2) width 95: "border-style"
                 LayoutText {#text} at (623,0) size 56x18
                   text run at (623,0) width 56: " was set."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_width_inline-expected.txt
index 399c557..8457a89 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_right_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (413,15) width 1: " "
           text run at (0,30) width 266: ".three {border-right-width: 25px;}"
           text run at (265,30) width 1: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x78 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
         LayoutText {#text} at (3,3) size 176x18
           text run at (3,3) width 176: "This element has a class of "
@@ -95,3 +94,5 @@
                 LayoutText {#text} at (339,39) size 715x36
                   text run at (339,39) width 379: ", which should have no right border width or visible border"
                   text run at (3,57) width 206: "because no border style was set."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_style-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_style-expected.txt
index ac54582..8085a4a 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_style-expected.txt
@@ -32,7 +32,6 @@
           text run at (358,150) width 1: " "
           text run at (0,165) width 539: ".eleven {border-style: none; border-color: red; border-width: thick;}"
           text run at (538,165) width 1: " "
-      LayoutBlockFlow {HR} at (0,227) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,245) size 769x28 [border: (5px dotted #000000)]
         LayoutText {#text} at (5,5) size 480x18
           text run at (5,5) width 480: "This paragraph should have a thick black dotted border all the way around."
@@ -118,3 +117,5 @@
               LayoutBlockFlow {P} at (4,480) size 747x18
                 LayoutText {#text} at (0,0) size 283x18
                   text run at (0,0) width 283: "This paragraph should have no border at all."
+layer at (8,235) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,227) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_style_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_style_inline-expected.txt
index 736ed78b..afd0c10 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_style_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_style_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (530,15) width 1: " "
           text run at (0,30) width 554: ".three {border-style: none; border-color: purple; border-width: thick;}"
           text run at (553,30) width 1: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 679x18
           text run at (0,0) width 679: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
@@ -68,3 +67,5 @@
                   text run at (67,36) width 260: ", which should result in no border at all. "
                   text run at (326,36) width 410: "The line-height of the parent element should not change, on any"
                   text run at (0,54) width 28: "line."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top-expected.txt
index 9f3fab4..e05fb2f 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top-expected.txt
@@ -16,7 +16,6 @@
           text run at (312,30) width 1: " "
           text run at (0,45) width 258: "TD {border-top: green 2px solid;}"
           text run at (257,45) width 1: " "
-      LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 769x36
         LayoutText {#text} at (0,0) size 723x36
           text run at (0,0) width 648: "Note that all table cells on this page should have a two-pixel solid green border along their top sides. "
@@ -149,3 +148,5 @@
                   LayoutListMarker (anonymous) at (-17,3) size 7x18: bullet
                   LayoutText {#text} at (0,3) size 493x18
                     text run at (0,3) width 493: "Each list item in this list should have a medium-width black border at its top."
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_inline-expected.txt
index 55b1b464..897191d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 289: ".two {border-top: purple thin solid;}"
           text run at (288,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 680x18
           text run at (0,0) width 680: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
@@ -57,3 +56,5 @@
                   text run at (445,18) width 274: ", which should have a thin solid purple top"
                   text run at (0,36) width 49: "border. "
                   text run at (48,36) width 439: "The line-height of the parent element should not change on any line."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_width-expected.txt
index 74a36be..b1016c6 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (405,60) width 1: " "
           text run at (0,75) width 242: ".five {border-top-width: 25px;}"
           text run at (241,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18
         LayoutText {#text} at (0,0) size 160x18
           text run at (0,0) width 160: "(These will only work if "
@@ -95,3 +94,5 @@
                     text run at (533,2) width 94: "border-style"
                 LayoutText {#text} at (627,0) size 55x18
                   text run at (627,0) width 55: " was set."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_width_inline-expected.txt
index fd181bb..92cc9dbd 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_top_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (397,15) width 1: " "
           text run at (0,30) width 250: ".three {border-top-width: 25px;}"
           text run at (249,30) width 1: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x100 [border: (25px solid #000000) (3px solid #000000)]
         LayoutText {#text} at (3,25) size 176x18
           text run at (3,25) width 176: "This element has a class of "
@@ -84,3 +83,5 @@
                 LayoutText {#text} at (294,61) size 735x36
                   text run at (294,61) width 444: ", which should have no top border width or visible border because no"
                   text run at (3,79) width 131: "border style was set."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_width-expected.txt
index e4be224..0345d55 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (374,60) width 1: " "
           text run at (0,75) width 211: ".five {border-width: 25px;}"
           text run at (210,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18
         LayoutText {#text} at (0,0) size 160x18
           text run at (0,0) width 160: "(These will only work if "
@@ -95,3 +94,5 @@
                     text run at (503,2) width 95: "border-style"
                 LayoutText {#text} at (597,0) size 55x18
                   text run at (597,0) width 55: " was set."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_width_inline-expected.txt
index 12718bd..95b4c91e 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/border_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (366,15) width 1: " "
           text run at (0,30) width 219: ".three {border-width: 25px;}"
           text run at (218,30) width 1: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x104 [border: (25px solid #000000)]
         LayoutText {#text} at (25,25) size 176x18
           text run at (25,25) width 176: "This element has a class of "
@@ -83,3 +82,5 @@
                 LayoutText {#text} at (726,43) size 706x36
                   text run at (726,43) width 5: ","
                   text run at (25,61) width 436: "which should have no border width because no border style was set."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/clear-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/clear-expected.txt
index c6e8c70..f7e3c00d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/clear-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/clear-expected.txt
@@ -16,7 +16,6 @@
           text run at (163,30) width 1: " "
           text run at (0,45) width 157: ".four {clear: none;}"
           text run at (156,45) width 1: " "
-      LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutImage (floating) {IMG} at (0,117) size 15x50
       LayoutBlockFlow {P} at (0,125) size 769x18
         LayoutText {#text} at (18,0) size 605x18
@@ -89,3 +88,5 @@
                   text run at (18,0) width 397: "This paragraph should be between both tall orange rectangles."
               LayoutBlockFlow (anonymous) at (4,378) size 670x18
                 LayoutBR {BR} at (18,0) size 0x18
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/clear_float-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/clear_float-expected.txt
index 1f0d608..d06aaba 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/clear_float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/clear_float-expected.txt
@@ -24,7 +24,6 @@
           text run at (0,105) width 469: "             color: black; background: yellow; clear: none;}"
           text run at (468,105) width 1: " "
           text run at (0,120) width 0: " "
-      LayoutBlockFlow {HR} at (0,179) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (floating) {DIV} at (0,189) size 192x116.38 [color=#FFFFFF] [bgcolor=#008000]
         LayoutBlockFlow {H1} at (8,8) size 176x22
           LayoutText {#text} at (0,0) size 82x22
@@ -158,3 +157,5 @@
                     text run at (0,0) width 298: "The top of the yellow rectangle (to which this"
                     text run at (0,18) width 298: "paragraph belongs) should be vertically"
                     text run at (0,36) width 275: "aligned with the top of the green rectangle."
+layer at (8,187) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,179) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float-expected.txt
index b727378..20b2779 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 157: ".two {float: right;}"
           text run at (156,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutImage (floating) {IMG} at (0,102) size 15x50
       LayoutBlockFlow {P} at (0,110) size 784x36
         LayoutText {#text} at (15,0) size 736x36
@@ -22,7 +21,6 @@
           text run at (15,18) width 259: "image which has been floated to the left."
       LayoutBlockFlow (anonymous) at (0,162) size 784x18
         LayoutBR {BR} at (0,0) size 0x18
-      LayoutBlockFlow {HR} at (0,188) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutImage (floating) {IMG} at (769,198) size 15x50
       LayoutBlockFlow {P} at (0,206) size 784x36
         LayoutText {#text} at (0,0) size 745x36
@@ -49,10 +47,15 @@
                   text run at (15,18) width 259: "image which has been floated to the left."
               LayoutBlockFlow (anonymous) at (4,56) size 762x18
                 LayoutBR {BR} at (0,0) size 0x18
-              LayoutBlockFlow {HR} at (4,82) size 762x2 [border: (1px inset #EEEEEE)]
               LayoutImage (floating) {IMG} at (751,92) size 15x50
               LayoutBlockFlow {P} at (4,100) size 762x36
                 LayoutText {#text} at (0,0) size 745x36
                   text run at (0,0) width 618: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
                   text run at (617,0) width 128: "In this case, it is the"
                   text run at (0,18) width 268: "image which has been floated to the right."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,196) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,188) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,375) size 762x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,82) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_elements_in_series-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_elements_in_series-expected.txt
index 65a03971..3f91390 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_elements_in_series-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_elements_in_series-expected.txt
@@ -32,7 +32,6 @@
           text run at (0,165) width 196: "TABLE {margin: 20px 0px;}"
           text run at (195,165) width 1: " "
           text run at (0,180) width 0: " "
-      LayoutBlockFlow {HR} at (0,239) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,249) size 769x36
         LayoutText {#text} at (0,0) size 769x36
           text run at (0,0) width 769: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this"
@@ -157,6 +156,8 @@
                         LayoutBlockFlow {IMG} at (0,0) size 100x1
                       LayoutTableCell {TD} at (600,9) size 20x1 [bgcolor=#000000] [r=0 c=14 rs=1 cs=1]
                         LayoutBlockFlow {IMG} at (0,0) size 20x1
+layer at (8,247) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,239) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (8,420) size 20x1
   LayoutBlockFlow {SPAN} at (0,0) size 20x1
     LayoutInline {SPAN} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_margin-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_margin-expected.txt
index 864c74f..a9d8823 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_margin-expected.txt
@@ -25,7 +25,6 @@
           text run at (0,105) width 391: "#img5 {margin-right: -30px; margin-bottom: -30px;}"
           text run at (390,105) width 1: " "
           text run at (0,120) width 0: " "
-      LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (30,204) size 729x92 [bgcolor=#FFFFFF]
         LayoutText {#text} at (0,0) size 724x92
           text run at (0,0) width 656: "This paragraph should have a white background which extends to the edges of the"
@@ -162,3 +161,5 @@
                   text run at (0,92) width 480: "first of all, which extends to the edges of the element's box. "
                   text run at (479,92) width 212: "There is no padding set on"
                   text run at (0,115) width 214: "this paragraph whatsoever."
+layer at (8,190) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_on_text_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_on_text_elements-expected.txt
index ace2d92..0d664fd 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_on_text_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_on_text_elements-expected.txt
@@ -16,7 +16,6 @@
           text run at (0,72) width 70: "each other."
       LayoutBlockFlow (anonymous) at (0,90) size 769x18
         LayoutBR {BR} at (0,0) size 0x18
-      LayoutBlockFlow {HR} at (0,116) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,126) size 769x91
         LayoutBlockFlow (floating) {P} at (0,0) size 769x72 [bgcolor=#FFFF00]
           LayoutText {#text} at (0,0) size 769x72
@@ -28,7 +27,6 @@
         LayoutText {#text} at (15,73) size 4x18
           text run at (15,73) width 4: " "
         LayoutBR {BR} at (19,87) size 0x0
-      LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,235) size 769x108
         LayoutBlockFlow (floating) {P} at (0,0) size 384.50x108 [bgcolor=#FFFF00]
           LayoutText {#text} at (0,0) size 385x108
@@ -42,7 +40,6 @@
         LayoutText {#text} at (399,1) size 5x18
           text run at (399,1) width 5: " "
         LayoutBR {BR} at (403,15) size 1x0
-      LayoutBlockFlow {HR} at (0,351) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,361) size 769x108
         LayoutBlockFlow (floating) {P} at (384.50,0) size 384.50x108 [bgcolor=#FFFF00]
           LayoutText {#text} at (0,0) size 385x108
@@ -56,7 +53,6 @@
         LayoutText {#text} at (15,1) size 4x18
           text run at (15,1) width 4: " "
         LayoutBR {BR} at (19,15) size 0x0
-      LayoutBlockFlow {HR} at (0,477) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,487) size 769x72
         LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 22x37
@@ -69,7 +65,6 @@
           text run at (0,54) width 33: "cap\"."
       LayoutBlockFlow (anonymous) at (0,559) size 769x18
         LayoutBR {BR} at (0,0) size 0x18
-      LayoutBlockFlow {HR} at (0,585) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (floating) {P} at (423,605) size 336x214 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
         LayoutText {#text} at (8,8) size 320x198
           text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
@@ -103,7 +98,6 @@
           text run at (0,198) width 55: "element."
       LayoutBlockFlow (anonymous) at (0,811) size 769x18
         LayoutBR {BR} at (0,0) size 0x18
-      LayoutBlockFlow {HR} at (0,837) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,847) size 769x26 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
         LayoutBlockFlow (floating) {DIV} at (425,14) size 330x244 [bgcolor=#FFFF00]
           LayoutBlockFlow {P} at (5,5) size 320x234
@@ -126,7 +120,6 @@
             text run at (0,0) width 274: "See description in the box on the right side"
       LayoutBlockFlow (anonymous) at (0,873) size 769x242
         LayoutBR {BR} at (0,0) size 0x18
-      LayoutBlockFlow {HR} at (0,1123) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (floating) {DIV} at (0,1133) size 192.25x72 [bgcolor=#66CCFF]
         LayoutBlockFlow {P} at (0,0) size 192.25x72
           LayoutText {#text} at (0,0) size 193x72
@@ -148,7 +141,6 @@
           text run at (222,18) width 204: "and a yellow box (on the right)."
       LayoutBlockFlow (anonymous) at (0,1169) size 769x36
         LayoutBR {BR} at (192,0) size 1x18
-      LayoutBlockFlow {HR} at (0,1213) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,1223) size 769x126
         LayoutBlockFlow (floating) {DIV} at (0,0) size 576.75x126 [bgcolor=#66CCFF]
           LayoutBlockFlow (floating) {DIV} at (422.56,0) size 144.19x36 [bgcolor=#FFFF00]
@@ -172,7 +164,6 @@
               text run at (0,108) width 79: "a 10px blue "
               text run at (78,108) width 144: "stripe on its right side."
         LayoutBR {BR} at (576,0) size 1x18
-      LayoutBlockFlow {HR} at (0,1357) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (0,1367) size 769x1403 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x1401
           LayoutTableRow {TR} at (0,0) size 767x26
@@ -198,7 +189,6 @@
                   text run at (0,72) width 123: "close to each other."
               LayoutBlockFlow (anonymous) at (4,94) size 747x18
                 LayoutBR {BR} at (0,0) size 0x18
-              LayoutBlockFlow {HR} at (4,120) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,130) size 747x91
                 LayoutBlockFlow (floating) {P} at (0,0) size 747x72 [bgcolor=#FFFF00]
                   LayoutText {#text} at (0,0) size 747x72
@@ -210,7 +200,6 @@
                 LayoutText {#text} at (15,73) size 4x18
                   text run at (15,73) width 4: " "
                 LayoutBR {BR} at (19,87) size 0x0
-              LayoutBlockFlow {HR} at (4,229) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,239) size 747x108
                 LayoutBlockFlow (floating) {P} at (0,0) size 373.50x108 [bgcolor=#FFFF00]
                   LayoutText {#text} at (0,0) size 374x108
@@ -224,7 +213,6 @@
                 LayoutText {#text} at (388,1) size 5x18
                   text run at (388,1) width 5: " "
                 LayoutBR {BR} at (392,15) size 1x0
-              LayoutBlockFlow {HR} at (4,355) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,365) size 747x108
                 LayoutBlockFlow (floating) {P} at (373.50,0) size 373.50x108 [bgcolor=#FFFF00]
                   LayoutText {#text} at (0,0) size 374x108
@@ -238,7 +226,6 @@
                 LayoutText {#text} at (15,1) size 4x18
                   text run at (15,1) width 4: " "
                 LayoutBR {BR} at (19,15) size 0x0
-              LayoutBlockFlow {HR} at (4,481) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {P} at (4,491) size 747x72
                 LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
                   LayoutText {#text} at (0,0) size 22x37
@@ -251,7 +238,6 @@
                   text run at (0,54) width 74: "\"drop-cap\"."
               LayoutBlockFlow (anonymous) at (4,563) size 747x18
                 LayoutBR {BR} at (0,0) size 0x18
-              LayoutBlockFlow {HR} at (4,589) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (floating) {P} at (405,609) size 336x214 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
                 LayoutText {#text} at (8,8) size 320x198
                   text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
@@ -285,7 +271,6 @@
                   text run at (0,198) width 211: "styles set for the floated element."
               LayoutBlockFlow (anonymous) at (4,815) size 747x18
                 LayoutBR {BR} at (0,0) size 0x18
-              LayoutBlockFlow {HR} at (4,841) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (4,851) size 747x26 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
                 LayoutBlockFlow (floating) {DIV} at (403,14) size 330x244 [bgcolor=#FFFF00]
                   LayoutBlockFlow {P} at (5,5) size 320x234
@@ -308,7 +293,6 @@
                     text run at (0,0) width 274: "See description in the box on the right side"
               LayoutBlockFlow (anonymous) at (4,877) size 747x242
                 LayoutBR {BR} at (0,0) size 0x18
-              LayoutBlockFlow {HR} at (4,1127) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (floating) {DIV} at (4,1137) size 186.75x72 [bgcolor=#66CCFF]
                 LayoutBlockFlow {P} at (0,0) size 186.75x72
                   LayoutText {#text} at (0,0) size 187x72
@@ -331,7 +315,6 @@
                   text run at (217,18) width 203: "and a yellow box (on the right)."
               LayoutBlockFlow (anonymous) at (4,1173) size 747x36
                 LayoutBR {BR} at (186,0) size 1x18
-              LayoutBlockFlow {HR} at (4,1217) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,1227) size 747x126
                 LayoutBlockFlow (floating) {DIV} at (0,0) size 560.25x126 [bgcolor=#66CCFF]
                   LayoutBlockFlow (floating) {DIV} at (410.19,0) size 140.06x36 [bgcolor=#FFFF00]
@@ -356,4 +339,39 @@
                       text run at (0,108) width 266: "yellow rectange should have a 10px blue "
                       text run at (265,108) width 143: "stripe on its right side."
                 LayoutBR {BR} at (560,0) size 1x18
-              LayoutBlockFlow {HR} at (4,1361) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (8,124) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,116) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,359) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,351) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,485) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,477) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,593) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,585) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,845) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,837) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1131) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1123) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1221) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1213) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1365) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1357) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (25,1522) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,120) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1631) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,229) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1757) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,355) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1883) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,481) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1991) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,589) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2243) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,841) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2529) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1127) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2619) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1217) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2763) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1361) size 747x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/height-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/height-expected.txt
index e1f164a2..ca57c1c5 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/height-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/height-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 164: ".two {height: 100px;}"
           text run at (163,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,102) size 769x50
         LayoutImage {IMG} at (0,0) size 50x50
         LayoutText {#text} at (0,0) size 0x0
@@ -74,3 +73,5 @@
                     text run at (177,20) width 48: "height"
                 LayoutText {#text} at (224,18) size 68x18
                   text run at (224,18) width 68: " property)."
+layer at (8,100) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin-expected.txt
index 650320d..4e9507b 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin-expected.txt
@@ -22,7 +22,6 @@
           text run at (163,75) width 1: " "
           text run at (0,90) width 352: ".six {margin: -10px; background-color: aqua;}"
           text run at (351,90) width 1: " "
-      LayoutBlockFlow {HR} at (0,152) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,170) size 784x36
         LayoutText {#text} at (0,0) size 752x36
           text run at (0,0) width 752: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in"
@@ -164,3 +163,5 @@
               LayoutBlockFlow {P} at (4,1201) size 762x18 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 208x18
                   text run at (0,0) width 208: "This element has a class of zero."
+layer at (8,160) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_bottom-expected.txt
index 88c801d..3d4946d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_bottom-expected.txt
@@ -25,7 +25,6 @@
           text run at (0,105) width 172: "P, UL {margin-top: 0;}"
           text run at (171,105) width 1: " "
           text run at (0,120) width 0: " "
-      LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,192) size 769x18 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 208x18
           text run at (0,0) width 208: "This element has a class of zero."
@@ -148,3 +147,5 @@
               LayoutBlockFlow {P} at (4,725.75) size 747x18 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 238x18
                   text run at (0,0) width 238: "This element also has a class of zero."
+layer at (8,190) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_bottom_inline-expected.txt
index efade74..40a2ec1 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_bottom_inline-expected.txt
@@ -12,7 +12,6 @@
           text run at (397,0) width 1: " "
           text run at (0,15) width 406: ".two {margin-bottom: -10px; background-color: aqua;}"
           text run at (405,15) width 1: " "
-      LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,95) size 784x54 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 490x18
           text run at (0,0) width 400: "This element is unstyled save for a background color of gray.. "
@@ -93,3 +92,5 @@
                   text run at (287,18) width 9: ". "
                   text run at (295,18) width 449: "Margins on inline elements does not affect line-height calculations, so"
                   text run at (0,36) width 368: "all lines in this element should have the same line-height."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_inline-expected.txt
index 2f22e4c..7de450d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (343,15) width 1: " "
           text run at (0,30) width 352: ".two {margin: -10px; background-color: aqua;}"
           text run at (351,30) width 1: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,102) size 784x18 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 208x18
           text run at (0,0) width 208: "This element has a class of zero."
@@ -123,3 +122,5 @@
               LayoutBlockFlow {P} at (4,284) size 762x18 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 208x18
                   text run at (0,0) width 208: "This element has a class of zero."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_left-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_left-expected.txt
index 7b1f534..c1806f6 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_left-expected.txt
@@ -20,7 +20,6 @@
           text run at (382,60) width 1: " "
           text run at (0,75) width 398: ".five {margin-left: -10px; background-color: aqua;}"
           text run at (397,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 208x18
           text run at (0,0) width 208: "This element has a class of zero."
@@ -118,3 +117,5 @@
                   text run at (148,18) width 394: "In all other respects, however, the element should be normal. "
                   text run at (541,18) width 210: "No styles have been applied to it"
                   text run at (0,36) width 374: "besides the negative left margin and the background color."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_left_inline-expected.txt
index 8dc68f1..5f2920df 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_left_inline-expected.txt
@@ -12,7 +12,6 @@
           text run at (382,0) width 1: " "
           text run at (0,15) width 391: ".two {margin-left: -10px; background-color: aqua;}"
           text run at (390,15) width 1: " "
-      LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,95) size 784x36 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 551x18
           text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
@@ -97,3 +96,5 @@
                     text run at (290,18) width 29: "first"
                 LayoutText {#text} at (318,18) size 237x18
                   text run at (318,18) width 237: " line in which the inline box appears."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_right-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_right-expected.txt
index f931da4..2b86296 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_right-expected.txt
@@ -20,7 +20,6 @@
           text run at (538,60) width 1: " "
           text run at (0,75) width 406: ".five {margin-right: -10px; background-color: aqua;}"
           text run at (405,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 784x18 [bgcolor=#C0C0C0]
         LayoutText {#text} at (576,0) size 208x18
           text run at (576,0) width 208: "This element has a class of zero."
@@ -118,3 +117,5 @@
                   text run at (148,18) width 394: "In all other respects, however, the element should be normal. "
                   text run at (541,18) width 210: "No styles have been applied to it"
                   text run at (0,36) width 383: "besides the negative right margin and the background color."
+layer at (8,145) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_right_inline-expected.txt
index 0ffd5d4..cf4788e 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_right_inline-expected.txt
@@ -12,7 +12,6 @@
           text run at (538,0) width 1: " "
           text run at (0,15) width 398: ".two {margin-right: -10px; background-color: aqua;}"
           text run at (397,15) width 1: " "
-      LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,95) size 784x36 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 551x18
           text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
@@ -97,3 +96,5 @@
                     text run at (299,18) width 25: "last"
                 LayoutText {#text} at (323,18) size 238x18
                   text run at (323,18) width 238: " line in which the inline box appears."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_top-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_top-expected.txt
index 42d0b70..49cb0bb1 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_top-expected.txt
@@ -24,7 +24,6 @@
           text run at (382,90) width 1: " "
           text run at (0,105) width 196: "P, UL {margin-bottom: 0;}"
           text run at (195,105) width 1: " "
-      LayoutBlockFlow {HR} at (0,164) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,174) size 769x18 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 208x18
           text run at (0,0) width 208: "This element has a class of zero."
@@ -136,3 +135,5 @@
                   text run at (53,18) width 497: "No other styles have been applied to it besides a light blue background color. "
                   text run at (549,18) width 154: "In all other respects, the"
                   text run at (0,36) width 170: "element should be normal."
+layer at (8,172) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,164) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_top_inline-expected.txt
index 68d7845..3bf6d67 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/margin_top_inline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,30) width 383: ".two {margin-top: -10px; background-color: aqua;}"
           text run at (382,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 784x54 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 486x18
           text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
@@ -96,3 +95,5 @@
                   text run at (376,18) width 9: ". "
                   text run at (384,18) width 334: "Margins on inline elements do not affect line-height"
                   text run at (0,36) width 470: "calculations, so all lines in this element should have the same line-height."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding-expected.txt
index bc7810d7..99f3c526 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding-expected.txt
@@ -20,7 +20,6 @@
           text run at (351,60) width 1: " "
           text run at (0,75) width 367: ".five {padding: -20px; background-color: aqua;}"
           text run at (366,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 208x18
           text run at (0,0) width 208: "This element has a class of zero."
@@ -93,3 +92,5 @@
                   text run at (0,0) width 550: "This element should have no padding, since negative padding values are not allowed. "
                   text run at (549,0) width 186: "Both the content background"
                   text run at (0,18) width 332: "and the normal padding should be aqua (light blue)."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_bottom-expected.txt
index 9c315e0..593b21a 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_bottom-expected.txt
@@ -20,7 +20,6 @@
           text run at (405,60) width 1: " "
           text run at (0,75) width 422: ".five {padding-bottom: -20px; background-color: aqua;}"
           text run at (421,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 208x18
           text run at (0,0) width 208: "This element has a class of zero."
@@ -97,3 +96,5 @@
                   text run at (0,0) width 599: "This element should have no bottom padding, since negative padding values are not allowed. "
                   text run at (598,0) width 107: "Both the content"
                   text run at (0,18) width 411: "background and the normal padding should be aqua (light blue)."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_bottom_inline-expected.txt
index a92f648..223bdf1b 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_bottom_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 414: ".two {padding-bottom: -10px; background-color: aqua;}"
           text run at (413,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x72 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 486x18
           text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
@@ -98,3 +97,5 @@
                   text run at (563,18) width 9: ". "
                   text run at (571,18) width 175: "Padding on inline elements"
                   text run at (0,36) width 641: "does not affect line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_inline-expected.txt
index c83f164..937d996 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_inline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,30) width 359: ".two {padding: -10px; background-color: aqua;}"
           text run at (358,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 769x18 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 208x18
           text run at (0,0) width 208: "This element has a class of zero."
@@ -124,3 +123,5 @@
               LayoutBlockFlow {P} at (4,266) size 747x18 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 208x18
                   text run at (0,0) width 208: "This element has a class of zero."
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_left-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_left-expected.txt
index 1a3557b1..de16672 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_left-expected.txt
@@ -20,7 +20,6 @@
           text run at (390,60) width 1: " "
           text run at (0,75) width 406: ".five {padding-left: -20px; background-color: aqua;}"
           text run at (405,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 208x18
           text run at (0,0) width 208: "This element has a class of zero."
@@ -116,3 +115,5 @@
                   text run at (0,0) width 575: "This element should have no left padding, since negative padding values are not allowed. "
                   text run at (574,0) width 107: "Both the content"
                   text run at (0,18) width 411: "background and the normal padding should be aqua (light blue)."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_left_inline-expected.txt
index c1c2d7d..bf6956b1 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_left_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 398: ".two {padding-left: -10px; background-color: aqua;}"
           text run at (397,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 551x18
           text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
@@ -99,3 +98,5 @@
                 LayoutText {#text} at (593,18) size 745x36
                   text run at (593,18) width 152: " line in which the inline"
                   text run at (0,36) width 81: "box appears."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt
index 35b6f91..5604ee9 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt
@@ -20,7 +20,6 @@
           text run at (546,60) width 1: " "
           text run at (0,75) width 562: ".five {padding-right: -20px; text-align: right; background-color: aqua;}"
           text run at (561,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 208x18
           text run at (0,0) width 208: "This element has a class of zero."
@@ -133,3 +132,5 @@
                   text run at (0,18) width 416: "background and the normal padding should be aqua (light blue). "
                   text run at (415,18) width 332: "The text has been right-aligned in order to make the"
                   text run at (527,36) width 220: "lack of right padding easier to see."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_right_inline-expected.txt
index 24725ff..d545cb63 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_right_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 554: ".two {padding-right: -10px; text-align: right; background-color: aqua;}"
           text run at (553,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 551x18
           text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
@@ -102,3 +101,5 @@
                 LayoutText {#text} at (625,18) size 737x36
                   text run at (625,18) width 112: " line in which the"
                   text run at (0,36) width 122: "inline box appears."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_top-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_top-expected.txt
index 5dc09ad7..411a057 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_top-expected.txt
@@ -20,7 +20,6 @@
           text run at (382,60) width 1: " "
           text run at (0,75) width 398: ".five {padding-top: -20px; background-color: aqua;}"
           text run at (397,75) width 1: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 208x18
           text run at (0,0) width 208: "This element has a class of zero."
@@ -89,3 +88,5 @@
                   text run at (0,0) width 575: "This element should have no top padding, since negative padding values are not allowed. "
                   text run at (574,0) width 106: "Both the content"
                   text run at (0,18) width 411: "background and the normal padding should be aqua (light blue)."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_top_inline-expected.txt
index febde07..fc5d63d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/padding_top_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 391: ".two {padding-top: -10px; background-color: aqua;}"
           text run at (390,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x72 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 486x18
           text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
@@ -98,3 +97,5 @@
                   text run at (538,18) width 9: ". "
                   text run at (546,18) width 209: "Padding on inline elements does"
                   text run at (0,36) width 608: "not affect line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/width-expected.txt
index a3339a7..ab85400 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/width-expected.txt
@@ -14,7 +14,6 @@
           text run at (140,15) width 1: " "
           text run at (0,30) width 149: "TABLE {width: 50%;}"
           text run at (148,30) width 1: " "
-      LayoutBlockFlow {HR} at (0,92) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,102) size 769x50
         LayoutImage {IMG} at (0,0) size 50x50
         LayoutText {#text} at (0,0) size 0x0
@@ -84,3 +83,5 @@
                   text run at (0,162) width 165: "property without the need"
                   text run at (0,180) width 155: "for the user to resize the"
                   text run at (0,198) width 111: "viewing window."
+layer at (8,100) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/cascade/cascade_order-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/cascade/cascade_order-expected.txt
index f8067d6..d7c38c7 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/cascade/cascade_order-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/cascade/cascade_order-expected.txt
@@ -29,7 +29,6 @@
           text run at (0,135) width 289: ".one {text-decoration: line-through;}"
           text run at (288,135) width 1: " "
           text run at (0,150) width 0: " "
-      LayoutBlockFlow {HR} at (0,212) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,230) size 769x144
         LayoutListItem {LI} at (40,0) size 729x18 [color=#0000FF]
           LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
@@ -140,3 +139,5 @@
               LayoutBlockFlow {P} at (4,232) size 697x18
                 LayoutText {#text} at (0,0) size 697x18
                   text run at (0,0) width 697: "This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported)."
+layer at (8,220) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,212) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/cascade/important-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/cascade/important-expected.txt
index 2e70817..8444083 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/cascade/important-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/cascade/important-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,30) width 172: "P#id1 {color: purple;}"
           text run at (171,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 784x36 [color=#008000]
         LayoutText {#text} at (0,0) size 784x36
           text run at (0,0) width 784: "This sentence should be green, because the declaration marked important should override any other normal declaration for"
@@ -66,3 +65,5 @@
                   text run at (0,0) width 615: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. "
                   text run at (614,0) width 98: "This is because"
                   text run at (0,18) width 659: "declarations marked important have more weight than normal declarations given in a STYLE attribute."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/display-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/display-expected.txt
index ee2fd13..b483dc3 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/display-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/display-expected.txt
@@ -18,7 +18,6 @@
           text run at (265,45) width 1: " "
           text run at (0,60) width 149: "I {display: block;}"
           text run at (148,60) width 1: " "
-      LayoutBlockFlow {HR} at (0,122) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,140) size 769x18
         LayoutText {#text} at (0,0) size 299x18
           text run at (0,0) width 299: "This sentence should be a block-level element."
@@ -129,3 +128,5 @@
                 LayoutBlockFlow (anonymous) at (0,36) size 747x18
                   LayoutText {#text} at (0,0) size 208x18
                     text run at (0,0) width 208: "should be a block-level element."
+layer at (8,130) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,122) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style-expected.txt
index 7fb3c7b0..fcaeb27 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style-expected.txt
@@ -12,7 +12,6 @@
           text run at (296,0) width 1: " "
           text run at (0,15) width 484: ".two {list-style: url(../resources/oransqr.gif) disc outside;}"
           text run at (483,15) width 1: " "
-      LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,95) size 784x36
         LayoutListItem {LI} at (40,0) size 744x36
           LayoutListMarker (anonymous) at (0,0) size 19.55x18: "A"
@@ -51,3 +50,5 @@
                     text run at (0,1) width 489: "The text in this item have an orange square for its bullet; failing that, a disc. "
                     text run at (488,1) width 215: "Also, the bullet should be outside"
                     text run at (0,19) width 314: "the text block, as the list has been set to 'outside'."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_image-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_image-expected.txt
index 85cfb46..ed7aedd 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_image-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 235: ".two {list-style-image: none;}"
           text run at (234,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,110) size 784x57
         LayoutListItem {LI} at (40,0) size 744x19
           LayoutListMarker (anonymous) at (-22,0) size 15x15
@@ -78,3 +77,5 @@
                   LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
                   LayoutText {#text} at (0,0) size 238x18
                     text run at (0,0) width 238: "...standard list markers for each item."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_position-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_position-expected.txt
index f60174b..525a27f 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_position-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 274: ".two {list-style-position: inside;}"
           text run at (273,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,110) size 784x36
         LayoutListItem {LI} at (40,0) size 744x36
           LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
@@ -50,3 +49,5 @@
                   LayoutText {#text} at (22,0) size 674x36
                     text run at (22,0) width 652: "The text in this item should not behave as expected; that is, it should line up with the bullet on the left"
                     text run at (0,18) width 321: "margin, leaving no blank space beneath the bullet."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_type-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_type-expected.txt
index 5269108..f57e3831 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_type-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/list_style_type-expected.txt
@@ -27,7 +27,6 @@
           text run at (0,120) width 235: ".nine {list-style-type: none;}"
           text run at (234,120) width 1: " "
           text run at (0,135) width 0: " "
-      LayoutBlockFlow {HR} at (0,197) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,215) size 769x54
         LayoutListItem {LI} at (40,0) size 729x18
           LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
@@ -268,3 +267,5 @@
                 LayoutListItem {LI} at (40,36) size 282x18
                   LayoutText {#text} at (0,0) size 154x18
                     text run at (0,0) width 154: "...nothing for each item."
+layer at (8,205) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,197) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/white_space-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/white_space-expected.txt
index f156220..ef8ed43 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/classification/white_space-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/classification/white_space-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,30) width 227: ".three {white-space: normal;}"
           text run at (226,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 784x90
         LayoutText {#text} at (0,0) size 576x90
           text run at (0,0) width 0: " "
@@ -78,3 +77,5 @@
                 LayoutText {#text} at (458,18) size 5x18
                   text run at (458,18) width 5: "."
                   text run at (462,18) width 1: " "
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background-expected.txt
index a5a7c37..04a33a4 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background-expected.txt
@@ -16,7 +16,6 @@
           text run at (577,30) width 1: " "
           text run at (0,45) width 578: ".three {background: lime url(../resources/oransqr.gif) repeat-x left top;}"
           text run at (577,45) width 1: " "
-      LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 769x54
         LayoutText {#text} at (0,0) size 741x18
           text run at (0,0) width 741: "This document should have a green background with an orange strip running across the entire top of the page, since"
@@ -90,3 +89,5 @@
                   text run at (38,18) width 701: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser"
                   text run at (0,36) width 199: "in handling these declarations. "
                   text run at (198,36) width 311: "Hey, I didn't say the page would be pretty, did I?"
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_attachment-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_attachment-expected.txt
index 8f88092e..a3fa681 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_attachment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_attachment-expected.txt
@@ -11,7 +11,6 @@
           text run at (0,0) width 851: "BODY {background-image: url(../resources/bg.gif); background-repeat: repeat-x; background-attachment: fixed;}"
           text run at (850,0) width 1: " "
           text run at (0,15) width 0: " "
-      LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,95) size 784x90
         LayoutText {#text} at (0,0) size 778x90
           text run at (0,0) width 778: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which does"
@@ -27,8 +26,6 @@
         LayoutText {#text} at (0,0) size 518x18
           text run at (0,0) width 425: "In fact, why not the relevant section from the CSS1 specification? "
           text run at (424,0) width 94: "A capital idea."
-      LayoutBlockFlow {HR} at (0,235) size 784x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow {HR} at (0,245) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {H4} at (0,268.27) size 784x18
         LayoutInline {A} at (0,0) size 222x18
           LayoutText {#text} at (0,0) size 222x18
@@ -116,8 +113,6 @@
                 LayoutText {#text} at (0,0) size 518x18
                   text run at (0,0) width 425: "In fact, why not the relevant section from the CSS1 specification? "
                   text run at (424,0) width 94: "A capital idea."
-              LayoutBlockFlow {HR} at (4,144) size 762x2 [border: (1px inset #EEEEEE)]
-              LayoutBlockFlow {HR} at (4,154) size 762x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H4} at (4,177.27) size 762x18
                 LayoutInline {A} at (0,0) size 222x18
                   LayoutText {#text} at (0,0) size 222x18
@@ -178,3 +173,13 @@
                   text run at (71,0) width 683: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
                   text run at (0,18) width 726: "HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that"
                   text run at (0,36) width 94: "support 'fixed'."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,243) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,235) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,253) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,245) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,806) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,144) size 762x2 [border: (1px inset #EEEEEE)]
+layer at (25,816) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,154) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_color-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_color-expected.txt
index ea725a80..2540bb6 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_color-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,30) width 289: ".two {background-color: transparent;}"
           text run at (288,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 784x18 [bgcolor=#008000]
         LayoutText {#text} at (0,0) size 282x18
           text run at (0,0) width 282: "This element's background should be green."
@@ -81,3 +80,5 @@
                 LayoutText {#text} at (0,0) size 754x18
                   text run at (0,0) width 469: "This element should allow the document background to \"shine through.\" "
                   text run at (468,0) width 286: "There should be no green backgrounds here!"
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_image-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_image-expected.txt
index b0202339..95274fa 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_image-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 235: ".one {background-image: none;}"
           text run at (234,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x36
         LayoutText {#text} at (0,0) size 760x36
           text run at (0,0) width 512: "This sentence should be backed by an image-- a green grid pattern, in this case. "
@@ -92,3 +91,5 @@
                 LayoutText {#text} at (0,0) size 714x36
                   text run at (0,0) width 714: "This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \"shine"
                   text run at (0,18) width 110: "through\" instead."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_position-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_position-expected.txt
index 92d95994..1e90e84 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_position-expected.txt
@@ -41,7 +41,6 @@
           text run at (0,225) width 476: "       background-repeat: no-repeat; background-color: aqua;}"
           text run at (475,225) width 1: " "
           text run at (0,240) width 0: " "
-      LayoutBlockFlow {HR} at (0,302) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,320) size 769x18
         LayoutText {#text} at (0,0) size 514x18
           text run at (0,0) width 514: "This document should have a single, small green image in its upper right corner."
@@ -146,3 +145,5 @@
                   text run at (0,36) width 170: "left corner of the element. "
                   text run at (169,36) width 569: "The background color will make it easier to determine the edges of the paragraph, which"
                   text run at (0,54) width 226: "should assist in evaluating this test."
+layer at (8,310) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,302) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_repeat-expected.txt
index 7e04a9a..15c11b7 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/background_repeat-expected.txt
@@ -37,7 +37,6 @@
           text run at (0,195) width 235: "       background-color: red;}"
           text run at (234,195) width 1: " "
           text run at (0,210) width 0: " "
-      LayoutBlockFlow {HR} at (0,272) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,290) size 784x54
         LayoutText {#text} at (0,0) size 779x36
           text run at (0,0) width 779: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the default"
@@ -308,3 +307,5 @@
                   text run at (212,72) width 245: "This ought to be enough text, though. "
                   text run at (456,72) width 299: "A background color is present, although if it is"
                   text run at (0,90) width 366: "visible, then the image may not have been tiled correctly."
+layer at (8,280) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,272) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/color-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/color-expected.txt
index da01079..28fa63bc 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/color_and_background/color-expected.txt
@@ -11,7 +11,6 @@
           text run at (0,0) width 157: ".one {color: green;}"
           text run at (156,0) width 1: " "
           text run at (0,15) width 0: " "
-      LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,95) size 784x18 [color=#008000]
         LayoutText {#text} at (0,0) size 197x18
           text run at (0,0) width 197: "This sentence should be green."
@@ -36,3 +35,5 @@
               LayoutBlockFlow {P} at (4,38) size 197x18 [color=#008000]
                 LayoutText {#text} at (0,0) size 197x18
                   text run at (0,0) width 197: "This sentence should be green."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/conformance/forward_compatible_parsing-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/conformance/forward_compatible_parsing-expected.txt
index 920d6b7..e80136a 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/conformance/forward_compatible_parsing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/conformance/forward_compatible_parsing-expected.txt
@@ -113,7 +113,6 @@
           text run at (0,780) width 203: "P.twentyfour {color: red;}"
           text run at (202,780) width 1: " "
           text run at (0,795) width 0: " "
-      LayoutBlockFlow {HR} at (0,857) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,875) size 769x18 [color=#008000]
         LayoutText {#text} at (0,0) size 493x18
           text run at (0,0) width 493: "This paragraph should be green, because only the rotation should be ignored."
@@ -547,3 +546,5 @@
                 LayoutText {#text} at (0,0) size 743x36
                   text run at (0,0) width 743: "This paragraph should be black, because the color declaration after the previous ruleset should be considered part of"
                   text run at (0,18) width 656: "the selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied."
+layer at (8,865) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,857) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/canvas-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/canvas-expected.txt
index b841ec2..af8806a5 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/canvas-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/canvas-expected.txt
@@ -12,7 +12,6 @@
           text run at (234,0) width 1: " "
           text run at (0,15) width 539: "BODY {background-color: green; background-image: none; margin: 25px;}"
           text run at (538,15) width 1: " "
-      LayoutBlockFlow {HR} at (0,77) size 750x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,95) size 750x54
         LayoutText {#text} at (0,0) size 747x54
           text run at (0,0) width 392: "The body of this document should have a green background. "
@@ -39,3 +38,5 @@
                   text run at (0,18) width 434: "background set for the HTML element should surround the BODY. "
                   text run at (433,18) width 282: "If the BODY content is significantly shorter"
                   text run at (0,36) width 559: "than the browser's window height, then the bottom border may be larger than 25 pixels."
+layer at (25,102) size 750x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 750x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/floating_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/floating_elements-expected.txt
index b73b02db..552b60d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/floating_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/floating_elements-expected.txt
@@ -25,14 +25,12 @@
           text run at (0,105) width 172: ".right {float: right;}"
           text run at (171,105) width 1: " "
           text run at (0,120) width 0: " "
-      LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,200) size 769x54
         LayoutText {#text} at (0,0) size 762x54
           text run at (0,0) width 694: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. "
           text run at (693,0) width 69: "Other than"
           text run at (0,18) width 728: "the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the"
           text run at (0,36) width 39: "floats."
-      LayoutBlockFlow {HR} at (24,278) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,304) size 765x100 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 134x54
@@ -51,7 +49,6 @@
           text run at (199,41) width 342: "edge of this DIV, which means that the borders of the"
           text run at (199,59) width 328: "floating elements should not overlap the top or side"
           text run at (199,77) width 124: "borders of the DIV."
-      LayoutBlockFlow {HR} at (364.28,412) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,422) size 765x64 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
@@ -60,7 +57,6 @@
           text run at (197,5) width 547: "The floating images within this DIV should not go beyond the left or right inner edge"
           text run at (20,23) width 721: "of this DIV, which means that the borders of the floating images should not overlap the top or side borders of the"
           text run at (5,41) width 31: "DIV."
-      LayoutBlockFlow {HR} at (24,510) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,536) size 442x226 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (5,5) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 127x36
@@ -89,7 +85,6 @@
           text run at (114,167) width 303: "In addition, they should not overlap each other."
           text run at (5,185) width 432: "The first two should be side by side, whereas the third should be on"
           text run at (5,203) width 97: "the next \"line.\""
-      LayoutBlockFlow {HR} at (364.28,770) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,780) size 360x208 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
@@ -109,7 +104,6 @@
           text run at (201,149) width 148: "The first two should be"
           text run at (5,167) width 335: "side by side, whereas the third should be on the next"
           text run at (5,185) width 42: "\"line.\""
-      LayoutBlockFlow {HR} at (24,1012) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1038) size 314x350 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 134x54
@@ -142,7 +136,6 @@
           text run at (5,291) width 299: "not be side-by-side, but instead the first should"
           text run at (5,309) width 279: "be floated left, and the second floated to the"
           text run at (5,327) width 130: "right below the first."
-      LayoutBlockFlow {HR} at (364.28,1396) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1406) size 410x226 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
@@ -162,7 +155,6 @@
           text run at (5,167) width 391: "the floated images should not be side-by-side, but instead the"
           text run at (5,185) width 389: "first should be floated left, and the second floated to the right"
           text run at (5,203) width 96: "below the first."
-      LayoutBlockFlow {HR} at (24,1656) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1682) size 765x118 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (566,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 143x54
@@ -183,7 +175,6 @@
           text run at (199,77) width 61: "any way. "
           text run at (259,77) width 271: "In addition, the top of the left-floating box"
           text run at (5,95) width 372: "should not be higher than the top of the right-floating box."
-      LayoutBlockFlow {HR} at (364.28,1808) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1818) size 765x64 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
@@ -193,7 +184,6 @@
           text run at (20,23) width 718: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in any"
           text run at (5,41) width 34: "way. "
           text run at (38,41) width 677: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
-      LayoutBlockFlow {HR} at (24,1906) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1932) size 765x136 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 186x18
           text run at (199,5) width 178: "This is text within the DIV. "
@@ -220,7 +210,6 @@
           text run at (5,95) width 50: "source. "
           text run at (54,95) width 494: "In order to mark these points clearly, an asterisk has been inserted just before"
           text run at (5,113) width 136: "each floated element."
-      LayoutBlockFlow {HR} at (364.28,2076) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2086) size 765x82 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 186x18
           text run at (20,5) width 178: "This is text within the DIV. "
@@ -236,7 +225,6 @@
           text run at (5,41) width 705: "as high as the top edge of the inline element containing the content just before the floating images occur in the"
           text run at (5,59) width 50: "source. "
           text run at (54,59) width 622: "In order to mark these points clearly, an asterisk has been inserted just before each floated image."
-      LayoutBlockFlow {HR} at (24,2192) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2218) size 765x262 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 186x18
           text run at (199,5) width 178: "This is text within the DIV. "
@@ -286,7 +274,6 @@
           text run at (5,221) width 739: "has room for a floated element, then the element should float so that its top is aligned with the top of the line-box in"
           text run at (5,239) width 177: "which the asterisk appears. "
           text run at (181,239) width 411: "Otherwise, its top should align with the top of the next line-box."
-      LayoutBlockFlow {HR} at (364.28,2488) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2498) size 765x118 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 186x18
           text run at (20,5) width 178: "This is text within the DIV. "
@@ -313,7 +300,6 @@
           text run at (20,77) width 739: "a line has room for a floated image, then the image should float so that its top is aligned with the top of the line-box"
           text run at (5,95) width 193: "in which the asterisk appears. "
           text run at (197,95) width 411: "Otherwise, its top should align with the top of the next line-box."
-      LayoutBlockFlow {HR} at (24,2640) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2666) size 490x298 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 56x18
           text run at (199,5) width 56: "This is *"
@@ -346,7 +332,6 @@
           text run at (5,239) width 475: "elements to align with the top of the line-box following the insertion point"
           text run at (5,257) width 449: "of the floated element to avoid floating elements appearing before text"
           text run at (5,275) width 269: "which precedes it in the source document."
-      LayoutBlockFlow {HR} at (364.28,2972) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2982) size 490x226 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 56x18
           text run at (20,5) width 56: "This is *"
@@ -369,7 +354,6 @@
           text run at (5,167) width 455: "to align with the top of the line-box following the insertion point of the"
           text run at (5,185) width 451: "floated element to avoid floating elements appearing before text which"
           text run at (5,203) width 226: "precedes it in the source document."
-      LayoutBlockFlow {HR} at (24,3232) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (0,3258) size 769x3079 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x3077
           LayoutTableRow {TR} at (0,0) size 767x26
@@ -388,7 +372,6 @@
                   text run at (693,0) width 38: "Other"
                   text run at (0,18) width 736: "than the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of"
                   text run at (0,36) width 63: "the floats."
-              LayoutBlockFlow {HR} at (28,82) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,108) size 743x100 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 134x54
@@ -407,7 +390,6 @@
                   text run at (199,41) width 338: "inner edge of this DIV, which means that the borders"
                   text run at (199,59) width 340: "of the floating elements should not overlap the top or"
                   text run at (199,77) width 153: "side borders of the DIV."
-              LayoutBlockFlow {HR} at (357.83,216) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,226) size 743x64 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
@@ -416,7 +398,6 @@
                   text run at (197,5) width 512: "The floating images within this DIV should not go beyond the left or right inner"
                   text run at (20,23) width 662: "edge of this DIV, which means that the borders of the floating images should not overlap the top or side"
                   text run at (5,41) width 124: "borders of the DIV."
-              LayoutBlockFlow {HR} at (28,314) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,340) size 442x226 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 127x36
@@ -445,7 +426,6 @@
                   text run at (114,167) width 303: "In addition, they should not overlap each other."
                   text run at (5,185) width 432: "The first two should be side by side, whereas the third should be on"
                   text run at (5,203) width 97: "the next \"line.\""
-              LayoutBlockFlow {HR} at (357.83,574) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,584) size 360x208 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
@@ -465,7 +445,6 @@
                   text run at (201,149) width 148: "The first two should be"
                   text run at (5,167) width 335: "side by side, whereas the third should be on the next"
                   text run at (5,185) width 42: "\"line.\""
-              LayoutBlockFlow {HR} at (28,816) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,842) size 314x350 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 134x54
@@ -498,7 +477,6 @@
                   text run at (5,291) width 299: "not be side-by-side, but instead the first should"
                   text run at (5,309) width 279: "be floated left, and the second floated to the"
                   text run at (5,327) width 130: "right below the first."
-              LayoutBlockFlow {HR} at (357.83,1200) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1210) size 410x226 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
@@ -518,7 +496,6 @@
                   text run at (5,167) width 391: "the floated images should not be side-by-side, but instead the"
                   text run at (5,185) width 389: "first should be floated left, and the second floated to the right"
                   text run at (5,203) width 96: "below the first."
-              LayoutBlockFlow {HR} at (28,1460) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1486) size 743x118 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (544,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 143x54
@@ -539,7 +516,6 @@
                   text run at (199,77) width 134: "the DIV in any way. "
                   text run at (332,77) width 194: "In addition, the top of the left-"
                   text run at (5,95) width 453: "floating box should not be higher than the top of the right-floating box."
-              LayoutBlockFlow {HR} at (357.83,1612) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1622) size 743x82 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
@@ -550,7 +526,6 @@
                   text run at (5,41) width 110: "DIV in any way. "
                   text run at (114,41) width 581: "In addition, the top of the left-floating image should not be higher than the top of the right-"
                   text run at (5,59) width 96: "floating image."
-              LayoutBlockFlow {HR} at (28,1728) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1754) size 743x136 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 186x18
                   text run at (199,5) width 178: "This is text within the DIV. "
@@ -576,7 +551,6 @@
                   text run at (5,95) width 191: "elements occur in the source. "
                   text run at (195,95) width 333: "In order to mark these points clearly, an asterisk has"
                   text run at (5,113) width 297: "been inserted just before each floated element."
-              LayoutBlockFlow {HR} at (357.83,1898) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1908) size 743x82 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 186x18
                   text run at (20,5) width 178: "This is text within the DIV. "
@@ -592,7 +566,6 @@
                   text run at (5,41) width 704: "most, as high as the top edge of the inline element containing the content just before the floating images occur"
                   text run at (5,59) width 90: "in the source. "
                   text run at (94,59) width 622: "In order to mark these points clearly, an asterisk has been inserted just before each floated image."
-              LayoutBlockFlow {HR} at (28,2014) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2040) size 743x226 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 186x18
                   text run at (199,5) width 178: "This is text within the DIV. "
@@ -638,7 +611,6 @@
                   text run at (257,167) width 461: "If a line has room for a floated element, then the element should float so"
                   text run at (199,185) width 505: "that its top is aligned with the top of the line-box in which the asterisk appears."
                   text run at (199,203) width 411: "Otherwise, its top should align with the top of the next line-box."
-              LayoutBlockFlow {HR} at (357.83,2277) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2287) size 743x118 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 186x18
                   text run at (20,5) width 178: "This is text within the DIV. "
@@ -665,7 +637,6 @@
                   text run at (67,77) width 655: "If a line has room for a floated image, then the image should float so that its top is aligned with the top"
                   text run at (5,95) width 292: "of the line-box in which the asterisk appears. "
                   text run at (296,95) width 411: "Otherwise, its top should align with the top of the next line-box."
-              LayoutBlockFlow {HR} at (28,2429) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2455) size 490x298 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 56x18
                   text run at (199,5) width 56: "This is *"
@@ -698,7 +669,6 @@
                   text run at (5,239) width 475: "elements to align with the top of the line-box following the insertion point"
                   text run at (5,257) width 449: "of the floated element to avoid floating elements appearing before text"
                   text run at (5,275) width 269: "which precedes it in the source document."
-              LayoutBlockFlow {HR} at (357.83,2761) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2771) size 490x226 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 56x18
                   text run at (20,5) width 56: "This is *"
@@ -721,4 +691,65 @@
                   text run at (5,167) width 455: "to align with the top of the line-box following the insertion point of the"
                   text run at (5,185) width 451: "floated element to avoid floating elements appearing before text which"
                   text run at (5,203) width 226: "precedes it in the source document."
-              LayoutBlockFlow {HR} at (28,3021) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (8,190) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (32,286) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,278) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,420) size 41x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,412) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,518) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,510) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,778) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,770) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1020) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1012) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1404) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1396) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1664) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1656) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1816) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1808) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1914) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1906) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2084) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2076) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2200) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2192) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2496) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2488) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2648) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2640) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2980) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2972) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,3240) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,3232) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (49,3375) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,82) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,3509) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,216) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,3607) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,314) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,3867) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,574) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,4109) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,816) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4493) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1200) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,4753) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1460) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4905) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1612) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5021) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1728) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5191) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1898) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5307) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2014) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5570) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2277) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5722) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2429) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,6054) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2761) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,6314) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,3021) size 562.25x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/height_of_lines-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/height_of_lines-expected.txt
index 22fe4ab..89394bd2 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/height_of_lines-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/height_of_lines-expected.txt
@@ -41,7 +41,6 @@
           text run at (0,240) width 313: "     border-width: 10px; margin: -10px;}"
           text run at (312,240) width 1: " "
           text run at (0,255) width 0: " "
-      LayoutBlockFlow {HR} at (0,317) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,333) size 769x443
         LayoutText {#text} at (0,1) size 768x239
           text run at (0,1) width 413: "This paragraph should have a font size of 14px and a line height of 20px. "
@@ -130,3 +129,5 @@
                   text run at (426,423) width 8: ". "
                   text run at (433,423) width 307: "The last image in this paragraph has -10px margins set"
                   text run at (0,464) width 635: "on it, so that should pull the text in toward the image in the vertical direction, and also in the horizontal direction."
+layer at (8,325) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,317) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/inline_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/inline_elements-expected.txt
index fba4ccc..c3e467e 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/inline_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/inline_elements-expected.txt
@@ -21,7 +21,6 @@
           text run at (0,75) width 188: "          padding: 2pt;}"
           text run at (187,75) width 1: " "
           text run at (0,90) width 0: " "
-      LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,170) size 769x192
         LayoutText {#text} at (0,7) size 191x18
           text run at (0,7) width 191: "This is a paragraph that has a "
@@ -94,3 +93,5 @@
                 LayoutText {#text} at (169,48) size 410x15
                   text run at (169,48) width 4: " "
                   text run at (172,48) width 407: "The line spacing in the whole paragraph should be 12pt, with font-size 10pt."
+layer at (8,160) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/replaced_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/replaced_elements-expected.txt
index 7984b604..8d72bab 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/replaced_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/replaced_elements-expected.txt
@@ -24,7 +24,6 @@
           text run at (195,90) width 1: " "
           text run at (0,105) width 453: "          margin-right: 0; margin-left: auto; width: 50%;}"
           text run at (452,105) width 1: " "
-      LayoutBlockFlow {HR} at (0,167) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,185) size 769x19
         LayoutImage {IMG} at (0,0) size 15x15
         LayoutText {#text} at (15,1) size 442x18
@@ -85,3 +84,5 @@
                   text run at (0,0) width 733: "The above image should be a square resized so its width is 50% of its parent element, and aligned at the right edge"
                   text run at (0,18) width 144: "of the parent element: "
                   text run at (143,18) width 404: "the document body in the first half, and the table in the second."
+layer at (8,175) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,167) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/vertical_formatting-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/vertical_formatting-expected.txt
index f77ea8c..2f2bbda 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/vertical_formatting-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/formatting_model/vertical_formatting-expected.txt
@@ -47,7 +47,6 @@
           text run at (0,270) width 157: "TABLE {clear: both;}"
           text run at (156,270) width 1: " "
           text run at (0,285) width 0: " "
-      LayoutBlockFlow {HR} at (0,347) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,365) size 769x36
         LayoutText {#text} at (0,0) size 769x36
           text run at (0,0) width 769: "There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins should"
@@ -170,3 +169,5 @@
               LayoutBlockFlow {P} at (4,975) size 747x55.78
                 LayoutText {#text} at (0,38) size 171x18
                   text run at (0,38) width 171: "This is the next paragraph."
+layer at (8,355) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,347) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/anchor-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/anchor-expected.txt
index f9cd662..f05bc76 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/anchor-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/anchor-expected.txt
@@ -19,7 +19,6 @@
           text run at (0,60) width 172: "#one {color: #006600;}"
           text run at (171,60) width 1: " "
           text run at (0,75) width 0: " "
-      LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,155) size 769x18
         LayoutText {#text} at (0,0) size 508x18
           text run at (0,0) width 508: "The following anchors should appear as described; none of them should be red."
@@ -160,3 +159,5 @@
                   text run at (543,0) width 196: "It's a named anchor, and styles"
                   text run at (0,18) width 356: "declared for the A tag are applied to them under CSS1. "
                   text run at (355,18) width 330: "It also should NOT turn orange when clicked upon."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/firstletter-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/firstletter-expected.txt
index ba29d2a..a1c8a34 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/firstletter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/firstletter-expected.txt
@@ -18,7 +18,6 @@
           text run at (0,30) width 305: "P.three:first-letter {font-size: 350%;}"
           text run at (304,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 769x54
         LayoutInline {<pseudo:first-letter>} at (0,0) size 10x18 [color=#800000]
           LayoutTextFragment (anonymous) at (0,0) size 10x18
@@ -91,3 +90,5 @@
                   text run at (0,64) width 628: "quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
                   text run at (627,64) width 102: "Note that this is"
                   text run at (0,82) width 314: "not required under CSS1, but it is recommended."
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/firstline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/firstline-expected.txt
index fef97b0..16c84f1 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/firstline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/firstline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,30) width 352: ".three:first-line {font-variant: small-caps;}"
           text run at (351,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 769x54
         LayoutText {#text} at (0,0) size 757x54
           text run at (0,0) width 431: "The first line of this paragraph, and only that one, should be green. "
@@ -81,3 +80,5 @@
                   text run at (312,36) width 230: " is not supported by your browser). "
                   text run at (541,36) width 189: "This is extra text included for"
                   text run at (0,54) width 503: "the purposes of making the paragraph long enough to have more than one line."
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/multiple_pseudo_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/multiple_pseudo_elements-expected.txt
index a6bb4d6..6e070d9 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/multiple_pseudo_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -24,7 +24,6 @@
           text run at (0,75) width 359: "P.three:first-line {font-variant: small-caps;}"
           text run at (358,75) width 1: " "
           text run at (0,90) width 0: " "
-      LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,170) size 769x54
         LayoutInline {<pseudo:first-letter>} at (0,0) size 10x18 [color=#800000]
           LayoutTextFragment (anonymous) at (0,0) size 10x18
@@ -103,3 +102,5 @@
                   text run at (0,82) width 743: "Note that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but"
                   text run at (0,100) width 127: "it is recommended. "
                   text run at (126,100) width 461: "In addition, the entire first line should be in a small-caps font and green."
+layer at (8,160) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/pseudo_elements_in_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/pseudo_elements_in_selectors-expected.txt
index 8fef4a6..304a115 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/pseudo_elements_in_selectors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/pseudo/pseudo_elements_in_selectors-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,30) width 250: "P:first-line.three {color: red;}"
           text run at (249,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 784x36
         LayoutText {#text} at (0,0) size 730x36
           text run at (0,0) width 344: "The first line of this sentence should be boldfaced. "
@@ -75,3 +74,5 @@
                   text run at (455,18) width 284: "If neither is the case, then the user agent has"
                   text run at (0,36) width 703: "correctly ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be"
                   text run at (0,54) width 215: "considered to have failed the test."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/units/color_units-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/units/color_units-expected.txt
index e29c5f0..9265bd19 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/units/color_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/units/color_units-expected.txt
@@ -32,7 +32,6 @@
           text run at (257,150) width 1: " "
           text run at (0,165) width 258: ".eleven {color: rgb(50%,0%,60%);}"
           text run at (257,165) width 1: " "
-      LayoutBlockFlow {HR} at (0,227) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,245) size 769x18
         LayoutText {#text} at (0,0) size 196x18
           text run at (0,0) width 196: "This sentence should be black."
@@ -237,3 +236,5 @@
                     text run at (284,2) width 40: "style"
                 LayoutText {#text} at (323,0) size 63x18
                   text run at (323,0) width 63: " attribute."
+layer at (8,235) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,227) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/units/length_units-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/units/length_units-expected.txt
index 611e5c90..78e7cec5 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/units/length_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/units/length_units-expected.txt
@@ -30,7 +30,6 @@
           text run at (202,135) width 1: " "
           text run at (0,150) width 609: ".ten {font-size: 40px; border-left: 1ex solid purple; background-color: aqua;}"
           text run at (608,150) width 1: " "
-      LayoutBlockFlow {HR} at (0,212) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,230) size 769x36
         LayoutText {#text} at (0,0) size 737x36
           text run at (0,0) width 737: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer)"
@@ -170,3 +169,5 @@
                   text run at (17,138) width 708: "the same number of pixels as the lower-case"
                   text run at (17,184) width 642: "'x' in this element's font, as well as solid"
                   text run at (17,230) width 114: "purple."
+layer at (8,220) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,212) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/units/percentage_units-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/units/percentage_units-expected.txt
index b169816..582540ac 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/units/percentage_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/units/percentage_units-expected.txt
@@ -17,7 +17,6 @@
           text run at (0,45) width 203: ".three {margin-left: 25%;}"
           text run at (202,45) width 1: " "
           text run at (0,60) width 0: " "
-      LayoutBlockFlow {HR} at (0,122) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,140) size 784x124 [bgcolor=#FFFF00]
         LayoutBlockFlow {DIV} at (196,0) size 392x54 [bgcolor=#FFFFFF]
           LayoutBlockFlow {P} at (0,0) size 392x54
@@ -64,3 +63,5 @@
                 LayoutText {#text} at (0,0) size 560x36
                   text run at (0,0) width 560: "This paragraph should have a left margin of 25% the width of its parent element, which"
                   text run at (0,18) width 366: "should require some extra text in order to test effectively."
+layer at (8,130) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,122) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/css1/units/urls-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/css1/units/urls-expected.txt
index 29ce16fd..24cd269c 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/css1/units/urls-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/css1/units/urls-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,30) width 344: "BODY {background: url(../resources/bg.gif);}"
           text run at (343,30) width 1: " "
           text run at (0,45) width 0: " "
-      LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,125) size 784x18
         LayoutText {#text} at (0,0) size 393x18
           text run at (0,0) width 393: "This page should have a green grid pattern as its background."
@@ -58,3 +57,5 @@
                   text run at (626,0) width 122: "If an image, in this"
                   text run at (0,18) width 722: "case a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in"
                   text run at (0,36) width 370: "relation to the document's URL, not the stylesheet's URL."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/editing/inserting/4278698-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/editing/inserting/4278698-expected.txt
index 00f1322..5d08fa3 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/editing/inserting/4278698-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/editing/inserting/4278698-expected.txt
@@ -15,9 +15,10 @@
       LayoutBlockFlow {P} at (0,52) size 784x18
         LayoutText {#text} at (0,0) size 450x18
           text run at (0,0) width 450: "If successful, you should see 'a' followed by 10 spaces followed by 'b'."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,96) size 784x23 [border: (2px solid #FFAAAA)]
         LayoutBlockFlow {PRE} at (2,2) size 780x19 [border: (2px solid #AAAAFF)]
           LayoutText {#text} at (2,2) size 94x15
             text run at (2,2) width 94: "a          b"
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 3 of child 0 {#text} of child 1 {PRE} of child 7 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/mac/editing/pasteboard/drop-text-without-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/editing/pasteboard/drop-text-without-selection-expected.txt
index 8d699b5..953000e8 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/editing/pasteboard/drop-text-without-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/editing/pasteboard/drop-text-without-selection-expected.txt
@@ -23,7 +23,6 @@
         LayoutText {#text} at (0,0) size 667x18
           text run at (0,0) width 487: "The text field should accept drag-and-dropped text, such as the link, even if "
           text run at (486,0) width 181: "no text is currently selected."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,96) size 784x19
         LayoutTextControl {INPUT} at (0,0) size 131x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (131,0) size 4x18
@@ -33,6 +32,8 @@
             text run at (135,0) width 166: "drop me into the text field"
         LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (11,107) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
     LayoutText {#text} at (0,0) size 110x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac/editing/selection/4402375-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/editing/selection/4402375-expected.txt
index c4ae245..9e2046c0 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/editing/selection/4402375-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/editing/selection/4402375-expected.txt
@@ -13,7 +13,6 @@
         LayoutText {#text} at (287,0) size 774x36
           text run at (287,0) width 487: " \"REGRESSION (417.8-TOT): finding text sometimes also selects previous"
           text run at (0,18) width 139: "image (5127) (6451)\""
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,70) size 784x36
         LayoutText {#text} at (0,0) size 759x36
           text run at (0,0) width 424: "This test uses a right aligned image next to some left aligned text. "
@@ -23,5 +22,7 @@
         LayoutImage (floating) {IMG} at (708,0) size 76x103
         LayoutText {#text} at (0,0) size 182x18
           text run at (0,0) width 182: "This text should be selected."
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 selection start: position 0 of child 1 {#text} of child 6 {DIV} of body
 selection end:   position 29 of child 1 {#text} of child 6 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/mac/editing/selection/6476-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/editing/selection/6476-expected.txt
index f2950c6..403c9cf 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/editing/selection/6476-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/editing/selection/6476-expected.txt
@@ -15,7 +15,6 @@
         LayoutInline {SPAN} at (0,0) size 1x18
         LayoutText {#text} at (0,18) size 185x18
           text run at (0,18) width 185: "thisshouldbeonthesecondline"
-      LayoutBlockFlow {HR} at (0,44) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,62) size 784x36
         LayoutText {#text} at (0,0) size 135x18
           text run at (0,0) width 135: "This is a testcase for "
@@ -32,4 +31,6 @@
           text run at (324,0) width 459: "To run it manually, click in the space after all the text on the first line in"
           text run at (0,18) width 170: "the above editable region. "
           text run at (169,18) width 394: "Clicking should create a caret after the first space after the 'e'."
+layer at (8,52) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,44) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 1 of child 2 {#text} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/mac/editing/selection/click-start-of-line-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/editing/selection/click-start-of-line-expected.txt
index f28e6756..6897154 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/editing/selection/click-start-of-line-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/editing/selection/click-start-of-line-expected.txt
@@ -21,10 +21,11 @@
         LayoutText {#text} at (0,0) size 746x18
           text run at (0,0) width 562: "To test interactively, click the left side of the W on the second line. The caret should be "
           text run at (561,0) width 185: "move to the start of that line."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,96) size 250x110
         LayoutText {#text} at (0,0) size 234x110
           text run at (0,0) width 154: "Alice in"
           text run at (153,0) width 13: " "
           text run at (0,55) width 234: "Wonderland"
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 10 of child 0 {#text} of child 7 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/backgrounds/background-inherit-color-bug-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/backgrounds/background-inherit-color-bug-expected.txt
index 8a6fced..9af56176 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/backgrounds/background-inherit-color-bug-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/backgrounds/background-inherit-color-bug-expected.txt
@@ -7,13 +7,11 @@
         LayoutBlockFlow {P} at (4,20) size 615.19x18
           LayoutText {#text} at (0,0) size 596x18
             text run at (0,0) width 596: "Affected Browsers: Safari 2.0, Windows Internet Explorer 6 SP2"
-        LayoutBlockFlow {HR} at (4,54) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (4,72) size 615.19x54
           LayoutText {#text} at (0,0) size 586x54
             text run at (0,0) width 586: "Bug Description: On the Affected Browsers, if a rule sets the"
             text run at (0,18) width 519: "'background-color' of an element, this color cannot be"
             text run at (0,36) width 461: "overridden by 'background:inherit' declarations."
-        LayoutBlockFlow {HR} at (4,142) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (4,160) size 615.19x90
           LayoutText {#text} at (0,0) size 615x54
             text run at (0,0) width 577: "Example: With the following code, the background color of H1"
@@ -27,13 +25,11 @@
           LayoutText {#text} at (0,72) size 279x18
             text run at (0,72) width 48: "  H1 "
             text run at (48,72) width 231: "{ background: inherit; }"
-        LayoutBlockFlow {HR} at (4,266) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (4,284) size 615.19x54
           LayoutText {#text} at (0,0) size 586x54
             text run at (0,0) width 586: "Work-around: The 'background-color' can only be overridden by"
             text run at (0,18) width 577: "another 'background-color' declaration, or by a 'background'"
             text run at (0,36) width 365: "declaration that does specify a color."
-        LayoutBlockFlow {HR} at (4,354) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow (anonymous) at (4,364) size 615.19x18
           LayoutText {#text} at (0,0) size 409x18
             text run at (0,0) width 409: "This is in contradiction with the CSS2 specification which says:"
@@ -74,3 +70,11 @@
           LayoutText {#text} at (4,4) size 485x74
             text run at (4,4) width 485: "This header has a pink background"
             text run at (4,41) width 218: "and that's good."
+layer at (85,62) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,54) size 615.19x2 [border: (1px inset #EEEEEE)]
+layer at (85,150) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,142) size 615.19x2 [border: (1px inset #EEEEEE)]
+layer at (85,274) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,266) size 615.19x2 [border: (1px inset #EEEEEE)]
+layer at (85,362) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,354) size 615.19x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/014-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/014-expected.txt
index 3700863..266e1483 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/014-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/014-expected.txt
@@ -70,7 +70,6 @@
         LayoutInline {CODE} at (0,0) size 430x15
           LayoutText {#text} at (0,0) size 430x15
             text run at (0,0) width 430: "div.box.one:after{ content:'generated content here!'; }"
-      LayoutBlockFlow {HR} at (0,375.44) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {H2} at (0,397.34) size 769x28
         LayoutText {#text} at (0,0) size 477x28
           text run at (0,0) width 477: "Example (view source to see CSS and HTML):"
@@ -104,3 +103,5 @@
           LayoutBlockFlow {<pseudo:after>} at (0,18) size 717x18 [color=#008000]
             LayoutTextFragment (anonymous) at (0,0) size 114x18
               text run at (0,0) width 114: "generated content"
+layer at (8,397) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,375.44) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/016-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/016-expected.txt
index 044cfc4..ab214b3d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/016-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/016-expected.txt
@@ -9,7 +9,6 @@
       LayoutBlockFlow {P} at (0,34) size 784x18
         LayoutText {#text} at (0,0) size 330x18
           text run at (0,0) width 330: "The href attribute of the last one is changed onload."
-      LayoutBlockFlow {HR} at (0,68) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,86) size 784x18
         LayoutInline {A} at (0,0) size 62x18 [color=#0000EE]
           LayoutText {#text} at (0,0) size 8x18
@@ -38,3 +37,5 @@
           LayoutInline {<pseudo:after>} at (0,0) size 54x18
             LayoutTextFragment (anonymous) at (8,0) size 54x18
               text run at (8,0) width 54: "(href=4)"
+layer at (8,84) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,68) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/hover-style-change-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/hover-style-change-expected.txt
index e35d691..675c764 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/hover-style-change-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css-generated-content/hover-style-change-expected.txt
@@ -9,7 +9,6 @@
         LayoutInline {<pseudo:after>} at (0,0) size 182x18
           LayoutTextFragment (anonymous) at (84,0) size 182x18
             text run at (84,0) width 182: "and generated hover content"
-      LayoutBlockFlow {HR} at (0,26) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,44) size 784x36
         LayoutText {#text} at (0,0) size 54x18
           text run at (0,0) width 54: "Test for "
@@ -34,4 +33,6 @@
           text run at (0,0) width 765: "To reproduce the bug outside of DumpRenderTree, mouse over the div several times, and the style change won't update"
           text run at (0,18) width 72: "every time "
           text run at (71,18) width 89: "like it should."
+layer at (8,34) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 3 of child 0 {#text} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css/find-next-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css/find-next-layer-expected.txt
index e03436a..47aaa04 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css/find-next-layer-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css/find-next-layer-expected.txt
@@ -16,7 +16,8 @@
             text run at (0,18) width 54: "live.com"
         LayoutText {#text} at (53,18) size 5x18
           text run at (53,18) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,70) size 784x0
   LayoutBlockFlow (relative positioned) {DIV} at (0,62) size 784x0
 layer at (8,70) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css/first-letter-detach-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css/first-letter-detach-expected.txt
index 1f37c59..f1ac489 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css/first-letter-detach-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css/first-letter-detach-expected.txt
@@ -23,7 +23,6 @@
             text run at (235,0) width 10: "P"
         LayoutText {#text} at (244,0) size 211x18
           text run at (244,0) width 211: "ASS\x{201D}, with nothing before the P."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,104) size 784x18
         LayoutInline {<pseudo:first-letter>} at (0,0) size 9x18 [color=#0000FF]
           LayoutTextFragment (anonymous) at (0,0) size 9x18
@@ -42,3 +41,5 @@
             text run at (0,0) width 9: "P"
         LayoutTextFragment {#text} at (8,0) size 31x18
           text run at (8,0) width 31: "ASS"
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css/h1-in-section-elements-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css/h1-in-section-elements-expected.txt
index 8ff676d0..145569a 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css/h1-in-section-elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css/h1-in-section-elements-expected.txt
@@ -12,65 +12,49 @@
           LayoutTableRow {TR} at (0,2) size 150x76
             LayoutTableCell {TD} at (2,2) size 72x75.81 [r=0 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 70x73.81
-                LayoutBlockFlow {HR} at (0,0) size 70x2 [border: (1px inset #EEEEEE)]
                 LayoutBlockFlow {H1} at (0,21.91) size 70x30 [border: (1px solid #00FF00)]
                   LayoutText {#text} at (1,1) size 68x28
                     text run at (1,1) width 68: "MMM"
-                LayoutBlockFlow {HR} at (0,71.81) size 70x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (76,2) size 72x75.81 [r=0 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 70x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H2} at (1,22.91) size 70x30 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 68x28
                   text run at (1,1) width 68: "MMM"
-              LayoutBlockFlow {HR} at (1,72.81) size 70x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,80) size 150x67
             LayoutTableCell {TD} at (2,80) size 72x67.44 [r=1 c=0 rs=1 cs=1]
               LayoutBlockFlow {ARTICLE} at (1,1) size 70x65.44
                 LayoutBlockFlow {SECTION} at (0,0) size 70x65.44
-                  LayoutBlockFlow {HR} at (0,0) size 70x2 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {H1} at (0,20.72) size 70x24 [border: (1px solid #00FF00)]
                     LayoutText {#text} at (1,1) size 53x22
                       text run at (1,1) width 53: "MMM"
-                  LayoutBlockFlow {HR} at (0,63.44) size 70x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (76,80) size 72x67.44 [r=1 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 70x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H3} at (1,21.72) size 70x24 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 53x22
                   text run at (1,1) width 53: "MMM"
-              LayoutBlockFlow {HR} at (1,64.44) size 70x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,149) size 150x69
             LayoutTableCell {TD} at (2,149) size 72x68.53 [r=2 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 70x66.53
                 LayoutBlockFlow {ARTICLE} at (0,0) size 70x66.53
                   LayoutBlockFlow {SECTION} at (0,0) size 70x66.53
-                    LayoutBlockFlow {HR} at (0,0) size 70x2 [border: (1px inset #EEEEEE)]
                     LayoutBlockFlow {H1} at (0,23.27) size 70x20 [border: (1px solid #00FF00)]
                       LayoutText {#text} at (1,1) size 46x18
                         text run at (1,1) width 46: "MMM"
-                    LayoutBlockFlow {HR} at (0,64.53) size 70x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (76,149) size 72x68.53 [r=2 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 70x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H4} at (1,24.27) size 70x20 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 46x18
                   text run at (1,1) width 46: "MMM"
-              LayoutBlockFlow {HR} at (1,65.53) size 70x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,220) size 150x67
             LayoutTableCell {TD} at (2,220) size 72x67.34 [r=3 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 70x65.34
                 LayoutBlockFlow {ASIDE} at (0,0) size 70x65.34
                   LayoutBlockFlow {ARTICLE} at (0,0) size 70x65.34
                     LayoutBlockFlow {SECTION} at (0,0) size 70x65.34
-                      LayoutBlockFlow {HR} at (0,0) size 70x2 [border: (1px inset #EEEEEE)]
                       LayoutBlockFlow {H1} at (0,24.17) size 70x17 [border: (1px solid #00FF00)]
                         LayoutText {#text} at (1,1) size 38x15
                           text run at (1,1) width 38: "MMM"
-                      LayoutBlockFlow {HR} at (0,63.34) size 70x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (76,220) size 72x67.34 [r=3 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 70x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H5} at (1,25.17) size 70x17 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 38x15
                   text run at (1,1) width 38: "MMM"
-              LayoutBlockFlow {HR} at (1,64.34) size 70x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,289) size 150x71
             LayoutTableCell {TD} at (2,289) size 72x70.94 [r=4 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 70x68.94
@@ -79,82 +63,62 @@
                     LayoutBlockFlow {ASIDE} at (0,0) size 70x68.94
                       LayoutBlockFlow {ARTICLE} at (0,0) size 70x68.94
                         LayoutBlockFlow {SECTION} at (0,0) size 70x68.94
-                          LayoutBlockFlow {HR} at (0,0) size 70x2 [border: (1px inset #EEEEEE)]
                           LayoutBlockFlow {H1} at (0,26.97) size 70x15 [border: (1px solid #00FF00)]
                             LayoutText {#text} at (1,1) size 31x13
                               text run at (1,1) width 31: "MMM"
-                          LayoutBlockFlow {HR} at (0,66.94) size 70x2 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {DIV} at (0,68.94) size 70x0
             LayoutTableCell {TD} at (76,289) size 72x70.94 [r=4 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 70x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H6} at (1,27.97) size 70x15 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 31x13
                   text run at (1,1) width 31: "MMM"
-              LayoutBlockFlow {HR} at (1,67.94) size 70x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (150,34) size 362x150
         LayoutTableSection {TBODY} at (0,0) size 362x150
           LayoutTableRow {TR} at (2,0) size 76x150
             LayoutTableCell {TD} at (2,2) size 75.81x72 [r=0 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 73.81x70
-                LayoutBlockFlow {HR} at (0,0) size 2x70 [border: (1px inset #EEEEEE)]
                 LayoutBlockFlow {H1} at (21.91,0) size 30x70 [border: (1px solid #00FF00)]
                   LayoutText {#text} at (1,1) size 28x68
                     text run at (1,1) width 68: "MMM"
-                LayoutBlockFlow {HR} at (71.81,0) size 2x70 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (2,76) size 75.81x72 [r=0 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x70 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H2} at (22.91,1) size 30x70 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 28x68
                   text run at (1,1) width 68: "MMM"
-              LayoutBlockFlow {HR} at (72.81,1) size 2x70 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (80,0) size 67x150
             LayoutTableCell {TD} at (80,2) size 67.44x72 [r=1 c=0 rs=1 cs=1]
               LayoutBlockFlow {ARTICLE} at (1,1) size 65.44x70
                 LayoutBlockFlow {SECTION} at (0,0) size 65.44x70
-                  LayoutBlockFlow {HR} at (0,0) size 2x70 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {H1} at (20.72,0) size 24x70 [border: (1px solid #00FF00)]
                     LayoutText {#text} at (1,1) size 22x53
                       text run at (1,1) width 53: "MMM"
-                  LayoutBlockFlow {HR} at (63.44,0) size 2x70 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (80,76) size 67.44x72 [r=1 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x70 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H3} at (21.72,1) size 24x70 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 22x53
                   text run at (1,1) width 53: "MMM"
-              LayoutBlockFlow {HR} at (64.44,1) size 2x70 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (149,0) size 69x150
             LayoutTableCell {TD} at (149,2) size 68.53x72 [r=2 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 66.53x70
                 LayoutBlockFlow {ARTICLE} at (0,0) size 66.53x70
                   LayoutBlockFlow {SECTION} at (0,0) size 66.53x70
-                    LayoutBlockFlow {HR} at (0,0) size 2x70 [border: (1px inset #EEEEEE)]
                     LayoutBlockFlow {H1} at (23.27,0) size 20x70 [border: (1px solid #00FF00)]
                       LayoutText {#text} at (1,1) size 18x46
                         text run at (1,1) width 46: "MMM"
-                    LayoutBlockFlow {HR} at (64.53,0) size 2x70 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (149,76) size 68.53x72 [r=2 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x70 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H4} at (24.27,1) size 20x70 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 18x46
                   text run at (1,1) width 46: "MMM"
-              LayoutBlockFlow {HR} at (65.53,1) size 2x70 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (220,0) size 67x150
             LayoutTableCell {TD} at (220,2) size 67.34x72 [r=3 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 65.34x70
                 LayoutBlockFlow {ASIDE} at (0,0) size 65.34x70
                   LayoutBlockFlow {ARTICLE} at (0,0) size 65.34x70
                     LayoutBlockFlow {SECTION} at (0,0) size 65.34x70
-                      LayoutBlockFlow {HR} at (0,0) size 2x70 [border: (1px inset #EEEEEE)]
                       LayoutBlockFlow {H1} at (24.17,0) size 17x70 [border: (1px solid #00FF00)]
                         LayoutText {#text} at (1,1) size 15x38
                           text run at (1,1) width 38: "MMM"
-                      LayoutBlockFlow {HR} at (63.34,0) size 2x70 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (220,76) size 67.34x72 [r=3 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x70 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H5} at (25.17,1) size 17x70 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 15x38
                   text run at (1,1) width 38: "MMM"
-              LayoutBlockFlow {HR} at (64.34,1) size 2x70 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (289,0) size 71x150
             LayoutTableCell {TD} at (289,2) size 70.94x72 [r=4 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 68.94x70
@@ -163,15 +127,91 @@
                     LayoutBlockFlow {ASIDE} at (0,0) size 68.94x70
                       LayoutBlockFlow {ARTICLE} at (0,0) size 68.94x70
                         LayoutBlockFlow {SECTION} at (0,0) size 68.94x70
-                          LayoutBlockFlow {HR} at (0,0) size 2x70 [border: (1px inset #EEEEEE)]
                           LayoutBlockFlow {H1} at (26.97,0) size 15x70 [border: (1px solid #00FF00)]
                             LayoutText {#text} at (1,1) size 13x31
                               text run at (1,1) width 31: "MMM"
-                          LayoutBlockFlow {HR} at (66.94,0) size 2x70 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {DIV} at (68.94,0) size 0x70
             LayoutTableCell {TD} at (289,76) size 70.94x72 [r=4 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x70 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H6} at (27.97,1) size 15x70 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 13x31
                   text run at (1,1) width 31: "MMM"
-              LayoutBlockFlow {HR} at (67.94,1) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (11,53) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (11,125) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,71.81) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (85,53) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (85,125) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,72.81) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (11,131) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (11,194) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,63.44) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (85,131) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (85,194) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,64.44) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (11,200) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (11,265) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,64.53) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (85,200) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (85,265) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,65.53) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (11,271) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (11,334) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,63.34) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (85,271) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (85,334) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,64.34) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (11,340) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (11,407) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,66.94) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (85,340) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (85,407) size 70x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,67.94) size 70x2 [border: (1px inset #EEEEEE)]
+layer at (515,53) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (443,53) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (71.81,0) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (515,127) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (443,127) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (72.81,1) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (437,53) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (374,53) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (63.44,0) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (437,127) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (374,127) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (64.44,1) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (368,53) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (303,53) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (64.53,0) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (368,127) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (303,127) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (65.53,1) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (297,53) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (234,53) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (63.34,0) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (297,127) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (234,127) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (64.34,1) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (228,53) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (161,53) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (66.94,0) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (228,127) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x70 [border: (1px inset #EEEEEE)]
+layer at (161,127) size 2x70 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (67.94,1) size 2x70 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css/hover-subselector-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css/hover-subselector-expected.txt
index 1728110..b8791f5 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css/hover-subselector-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css/hover-subselector-expected.txt
@@ -8,7 +8,6 @@
           LayoutText {#text} at (0,0) size 228x18
             text run at (0,0) width 228: "This should turn red when hovered."
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,26) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,44) size 784x36
         LayoutText {#text} at (0,0) size 54x18
           text run at (0,0) width 54: "Test for "
@@ -26,3 +25,5 @@
             text run at (231,20) width 95: "span#t:hover"
         LayoutText {#text} at (325,18) size 174x18
           text run at (325,18) width 174: " matches the hovered span."
+layer at (8,34) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-expected.txt
index 28daa88..950997f 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-expected.txt
@@ -3,7 +3,6 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,18) size 784x18
         LayoutText {#text} at (0,0) size 54x18
           text run at (0,0) width 54: "Test for "
@@ -16,7 +15,6 @@
             text run at (409,0) width 324: "Resize corner does not track the mouse accurately"
         LayoutText {#text} at (732,0) size 5x18
           text run at (732,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,187) size 784x357
         LayoutText {#text} at (169,107) size 4x18
           text run at (169,107) width 4: " "
@@ -25,6 +23,10 @@
           text run at (160,164) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,8) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,70) size 173x125 clip at (10,72) size 169x121
   LayoutBlockFlow {DIV} at (0,62) size 173x125 [border: (2px solid #0000FF)]
 layer at (8,195) size 169x121 clip at (10,197) size 165x117
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-transformed-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-transformed-expected.txt
index 3a99ccf0..4d50c73 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-transformed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-transformed-expected.txt
@@ -3,7 +3,6 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x542
-      LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,18) size 784x18
         LayoutText {#text} at (0,0) size 54x18
           text run at (0,0) width 54: "Test for "
@@ -16,6 +15,9 @@
             text run at (367,0) width 341: "Resize corner does not track in transformed elements"
         LayoutText {#text} at (707,0) size 5x18
           text run at (707,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,8) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (58,112) size 163x129 clip at (60,114) size 159x125
   LayoutBlockFlow {DIV} at (50,104) size 163x129 [border: (2px solid #0000FF)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-transformed-iframe-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
index 83346a5..b98b4b2 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
@@ -3,7 +3,6 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,18) size 784x18
         LayoutText {#text} at (0,0) size 54x18
           text run at (0,0) width 54: "Test for "
@@ -16,9 +15,12 @@
             text run at (360,0) width 253: "resize property doesn't work on iframes"
         LayoutText {#text} at (612,0) size 5x18
           text run at (612,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,62) size 784x230
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,8) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (58,120) size 163x130
   LayoutIFrame {IFRAME} at (50,50) size 163x130 [border: (2px solid #0000FF)]
     layer at (0,0) size 159x126
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css/rtl-ordering-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css/rtl-ordering-expected.txt
index 52ca1ef..577c4372 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css/rtl-ordering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css/rtl-ordering-expected.txt
@@ -15,7 +15,6 @@
             text run at (0,18) width 374 LTR override: "type=\"button\"> text is reversed on \"visual Hebrew\" pages"
         LayoutText {#text} at (373,18) size 5x18
           text run at (373,18) width 5 LTR override: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,70) size 784x19
         LayoutText {#text} at (0,1) size 310x18
           text run at (0,1) width 310 LTR override: "The text on both buttons should like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
@@ -32,7 +31,6 @@
             LayoutText {#text} at (0,0) size 31x13
               text run at (0,0) width 31 RTL: "\x{5DB}\x{5E4}\x{5EA}\x{5D5}\x{5E8}"
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,150) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,168) size 784x18
         LayoutText {#text} at (0,0) size 255x18
           text run at (0,0) width 255 LTR override: "The following lines should be identical:"
@@ -43,3 +41,7 @@
       LayoutBlockFlow {P} at (0,237) size 784x19
         LayoutText {#text} at (0,1) size 81x18
           text run at (0,1) width 81 LTR override: "21-\x{5D4} \x{5D4}\x{5D0}\x{5DE}\x{5D4}"
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,158) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,150) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/css/universal-hover-quirk-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/css/universal-hover-quirk-expected.txt
index e5c64b8..67364c4 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/css/universal-hover-quirk-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/css/universal-hover-quirk-expected.txt
@@ -8,7 +8,6 @@
           LayoutText {#text} at (0,0) size 252x18
             text run at (0,0) width 252: "This should not turn red when hovered."
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,26) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,44) size 784x36
         LayoutText {#text} at (0,0) size 54x18
           text run at (0,0) width 54: "Test for "
@@ -25,4 +24,6 @@
             text run at (707,2) width 55: "*:hover"
         LayoutText {#text} at (0,18) size 261x18
           text run at (0,18) width 261: "does not match anything in quirks mode."
+layer at (8,34) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 1 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/dom/34176-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/dom/34176-expected.txt
index 595673233d..534ad90 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/dom/34176-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/dom/34176-expected.txt
@@ -10,7 +10,6 @@
           text run at (39,18) width 730: "TextRun3's bidi level is 1. TextRun2 and TextRun3 are siblings. But their ancestor (not their parent) is a sibling of"
           text run at (93,36) width 72: "TextRun1. "
           text run at (164,36) width 605: "The visual order should be TextRun3 TextRun1 TextRun2, not TextRun3 TextRun2 TextRun1."
-      LayoutBlockFlow {HR} at (0,70) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,88) size 769x19
         LayoutText {#text} at (299,1) size 470x18
           text run at (299,1) width 348: "Pure text. The following 3 lines should all display as \""
@@ -49,7 +48,6 @@
           LayoutInline {SPAN} at (0,0) size 28x18
             LayoutText {#text} at (653,1) size 28x18
               text run at (653,1) width 28 RTL: "\x{5E9}\x{5E0}\x{5D1}"
-      LayoutBlockFlow {HR} at (0,188) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,206) size 769x18
         LayoutText {#text} at (314,0) size 455x18
           text run at (314,0) width 455: "Text in <em>. The English text should be displayed as \"This is a Test\"."
@@ -96,7 +94,6 @@
           LayoutInline {EM} at (0,0) size 26x18
             LayoutText {#text} at (743,0) size 26x18
               text run at (743,0) width 26: "Test"
-      LayoutBlockFlow {HR} at (0,339) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,357) size 769x18
         LayoutText {#text} at (289,0) size 480x18
           text run at (289,0) width 480: "Text in <strong>. The following lines should all display as \"This is a Test\"."
@@ -132,7 +129,6 @@
           LayoutInline {STRONG} at (0,0) size 28x18
             LayoutText {#text} at (741,0) size 28x18
               text run at (741,0) width 28: "Test"
-      LayoutBlockFlow {HR} at (0,471) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,489) size 769x18
         LayoutText {#text} at (324,0) size 445x18
           text run at (324,0) width 445: "Text in <i>. The following lines should all display as \"This is a Test\"."
@@ -168,7 +164,6 @@
           LayoutInline {I} at (0,0) size 26x18
             LayoutText {#text} at (743,0) size 26x18
               text run at (743,0) width 26: "Test"
-      LayoutBlockFlow {HR} at (0,603) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,621) size 769x18
         LayoutText {#text} at (321,0) size 448x18
           text run at (321,0) width 448: "Text in <b>. The following lines should all display as \"This is a Test\"."
@@ -208,7 +203,6 @@
         LayoutInline {B} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,735) size 769x679
-        LayoutBlockFlow {HR} at (0,0) size 769x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (0,18) size 769x18
           LayoutText {#text} at (91,0) size 678x18
             text run at (91,0) width 678: "Text in <img>, <href>, <em>, <tr>. The following English text should all display as \"This is a Test\"."
@@ -281,7 +275,6 @@
           LayoutBlockFlow (anonymous) at (0,42) size 769x0
             LayoutInline {SPAN} at (0,0) size 0x0
               LayoutInline {EM} at (0,0) size 0x0
-        LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {UL} at (0,211) size 769x468
           LayoutListItem {LI} at (40,0) size 729x18
             LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
@@ -389,5 +382,19 @@
               text run at (0,0) width 119: "Test 25: : Success"
       LayoutBlockFlow (anonymous) at (0,1430) size 769x0
         LayoutInline {B} at (0,0) size 0x0
+layer at (8,86) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,70) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,204) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,188) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,355) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,339) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,487) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,471) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,619) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,603) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,751) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,944) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
 selection start: position 0 of child 0 {#text} of child 14 {DIV} of child 56 {B} of body
 selection end:   position 4 of child 0 {#text} of child 14 {DIV} of child 56 {B} of body
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLElement/bdo-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLElement/bdo-expected.txt
index 7c8186c..f05dc42 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLElement/bdo-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLElement/bdo-expected.txt
@@ -14,7 +14,6 @@
           text run at (0,0) width 738: "If successful, the first sentence would be backward, and the second sentence regular. There should then be an extra "
           text run at (737,0) width 37: "blank"
           text run at (0,18) width 705: "line, followed by a line reading only \"A,\" and finally, a sentence where only the word \"umbrella\" is backward."
-      LayoutBlockFlow {HR} at (0,120) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,130) size 784x108
         LayoutBR {BR} at (0,0) size 0x18
         LayoutInline {BDO} at (0,0) size 224x18
@@ -47,3 +46,5 @@
           LayoutText {#text} at (83,90) size 214x18
             text run at (83,90) width 214 LTR override: " sure would be useful in this rain."
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,128) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,120) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
index e1bc63c..c5104be 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
@@ -19,6 +19,7 @@
       LayoutBlockFlow {P} at (0,52) size 784x18
         LayoutText {#text} at (0,0) size 246x18
           text run at (0,0) width 246: "There should be a green square below."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,96) size 784x0
       LayoutBlockFlow {DIV} at (0,96) size 100x100 [bgcolor=#008000]
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/dynamic/012-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/dynamic/012-expected.txt
index 9082470..f0f43334 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/dynamic/012-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/dynamic/012-expected.txt
@@ -18,7 +18,6 @@
           text run at (0,0) width 587: "Note that the second section is collapsed when the page opens and expanding it works fine. "
           text run at (586,0) width 173: "Just the collapse is broken."
       LayoutBlockFlow {DIV} at (0,149.91) size 784x148
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {DIV} at (0,10) size 784x20
           LayoutImage {IMG} at (0,0) size 16x16
           LayoutText {#text} at (16,2) size 76x18
@@ -55,7 +54,10 @@
                 LayoutTableCell {TD} at (36,46) size 746x20 [r=2 c=1 rs=1 cs=1]
                   LayoutText {#text} at (1,1) size 76x18
                     text run at (1,1) width 76: "block three."
-        LayoutBlockFlow {HR} at (0,146) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,158) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,304) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,146) size 784x2 [border: (1px inset #EEEEEE)]
 hidden layer at (8,188) size 111x68
   LayoutBlockFlow (positioned) {DIV} at (8,187.91) size 111x68
     LayoutTable {TABLE} at (0,0) size 111x68
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/dynamic/selection-highlight-adjust-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/dynamic/selection-highlight-adjust-expected.txt
index 8f4e5384..f53f22030 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/dynamic/selection-highlight-adjust-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/dynamic/selection-highlight-adjust-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,18) width 203: "selection highlight stays behind"
         LayoutText {#text} at (202,18) size 5x18
           text run at (202,18) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,62) size 784x70
         LayoutImage {IMG} at (0,0) size 0x30
         LayoutBR {BR} at (0,16) size 0x18
@@ -27,5 +26,7 @@
         LayoutText {#text} at (315,52) size 5x18
           text run at (315,52) width 5: " "
         LayoutBR {BR} at (319,52) size 1x18
+layer at (8,68) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 selection start: position 0 of child 0 {#text} of child 6 {SPAN} of child 5 {DIV} of body
 selection end:   position 51 of child 0 {#text} of child 6 {SPAN} of child 5 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/invalid-UTF-8-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/invalid-UTF-8-expected.txt
index 089f32c0..d0e44fb 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/invalid-UTF-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/invalid-UTF-8-expected.txt
@@ -9,7 +9,8 @@
       LayoutBlockFlow {P} at (0,34) size 784x18
         LayoutText {#text} at (0,0) size 511x18
           text run at (0,0) width 511: "The output should be: \"\x{442}??\x{442}\" (with black diamonds in place of question marks)."
-      LayoutBlockFlow {HR} at (0,68) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,86) size 784x19
         LayoutText {#text} at (0,1) size 47x18
           text run at (0,1) width 47: "\x{442}\x{FFFD}\x{FFFD}\x{442}"
+layer at (8,76) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,68) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/utf-16-big-endian-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/utf-16-big-endian-expected.txt
index 39e0091..370adee 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/utf-16-big-endian-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/utf-16-big-endian-expected.txt
@@ -22,7 +22,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,26.66) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,35.31) size 784x34
         LayoutInline {SPAN} at (0,0) size 110x32
           LayoutInline {SPAN} at (0,0) size 110x32
@@ -45,7 +44,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,75.97) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,84.63) size 784x48
         LayoutInline {SPAN} at (0,0) size 581x46
           LayoutInline {SPAN} at (0,0) size 581x46
@@ -65,7 +63,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,139.28) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,147.94) size 784x19
         LayoutInline {SPAN} at (0,0) size 125x20
           LayoutInline {SPAN} at (0,0) size 125x20
@@ -88,7 +85,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,233.59) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,242.25) size 784x19
         LayoutInline {SPAN} at (0,0) size 131x15
           LayoutInline {SPAN} at (0,0) size 131x15
@@ -137,7 +133,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,327.91) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,336.56) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -237,7 +232,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,539.22) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,547.88) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -337,7 +331,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,750.53) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,759.19) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -394,7 +387,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,879.84) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,888.50) size 784x48
         LayoutInline {SPAN} at (0,0) size 201x46
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -419,7 +411,6 @@
             LayoutBR {BR} at (200,45) size 1x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,943.16) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,951.81) size 784x19
         LayoutInline {SPAN} at (0,0) size 183x15
           LayoutInline {SPAN} at (0,0) size 183x17
@@ -442,7 +433,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,977.47) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,986.13) size 784x18
         LayoutInline {SPAN} at (0,0) size 259x15
           LayoutInline {SPAN} at (0,0) size 259x15
@@ -459,7 +449,6 @@
             LayoutText {#text} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1010.78) size 784x30.33
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (0,15.33) size 784x15
           LayoutText {#text} at (0,0) size 206x15
             text run at (0,0) width 206: "This itinerary is subject to change. "
@@ -471,6 +460,28 @@
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
+layer at (8,35) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,84) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,147) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,242) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,336) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,547) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,759) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,888) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,951) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,985) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,1019) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (23,43) size 86x15
   LayoutInline (relative positioned) {SPAN} at (0,0) size 86x15
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/utf-16-little-endian-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/utf-16-little-endian-expected.txt
index 39e0091..370adee 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/utf-16-little-endian-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/encoding/utf-16-little-endian-expected.txt
@@ -22,7 +22,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,26.66) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,35.31) size 784x34
         LayoutInline {SPAN} at (0,0) size 110x32
           LayoutInline {SPAN} at (0,0) size 110x32
@@ -45,7 +44,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,75.97) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,84.63) size 784x48
         LayoutInline {SPAN} at (0,0) size 581x46
           LayoutInline {SPAN} at (0,0) size 581x46
@@ -65,7 +63,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,139.28) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,147.94) size 784x19
         LayoutInline {SPAN} at (0,0) size 125x20
           LayoutInline {SPAN} at (0,0) size 125x20
@@ -88,7 +85,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,233.59) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,242.25) size 784x19
         LayoutInline {SPAN} at (0,0) size 131x15
           LayoutInline {SPAN} at (0,0) size 131x15
@@ -137,7 +133,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,327.91) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,336.56) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -237,7 +232,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,539.22) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,547.88) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -337,7 +331,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,750.53) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,759.19) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -394,7 +387,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,879.84) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,888.50) size 784x48
         LayoutInline {SPAN} at (0,0) size 201x46
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -419,7 +411,6 @@
             LayoutBR {BR} at (200,45) size 1x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,943.16) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,951.81) size 784x19
         LayoutInline {SPAN} at (0,0) size 183x15
           LayoutInline {SPAN} at (0,0) size 183x17
@@ -442,7 +433,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,977.47) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,986.13) size 784x18
         LayoutInline {SPAN} at (0,0) size 259x15
           LayoutInline {SPAN} at (0,0) size 259x15
@@ -459,7 +449,6 @@
             LayoutText {#text} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1010.78) size 784x30.33
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (0,15.33) size 784x15
           LayoutText {#text} at (0,0) size 206x15
             text run at (0,0) width 206: "This itinerary is subject to change. "
@@ -471,6 +460,28 @@
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
+layer at (8,35) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,84) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,147) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,242) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,336) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,547) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,759) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,888) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,951) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,985) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,1019) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (23,43) size 86x15
   LayoutInline (relative positioned) {SPAN} at (0,0) size 86x15
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/button/button-inner-block-reuse-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/button/button-inner-block-reuse-expected.txt
index b47e1c3..7147be5 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/button/button-inner-block-reuse-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/button/button-inner-block-reuse-expected.txt
@@ -21,7 +21,6 @@
           text run at (0,0) width 568: "In the render tree, the button should have only one child, an anonymous block wrapping "
           text run at (567,0) width 149: "all of the button's other"
           text run at (0,18) width 82: "descendants."
-      LayoutBlockFlow {HR} at (0,104) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,114) size 784x15
         LayoutButton {BUTTON} at (0,0) size 16x15 [bgcolor=#C0C0C0] [border: none (2px outset #C0C0C0) none (2px outset #C0C0C0)]
           LayoutBlockFlow (anonymous) at (8,7) size 0x0
@@ -32,3 +31,5 @@
             LayoutBlockFlow (anonymous) at (0,0) size 0x0
               LayoutInline {SPAN} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,112) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,104) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/fieldset/fieldset-align-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/fieldset/fieldset-align-expected.txt
index 7c225fe..4889eee 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/fieldset/fieldset-align-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/fieldset/fieldset-align-expected.txt
@@ -34,7 +34,6 @@
         LayoutBlockFlow (anonymous) at (14,23.59) size 737x19
           LayoutTextControl {INPUT} at (0,0) size 131x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,260.38) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,278.38) size 769x18
         LayoutText {#text} at (0,0) size 148x18
           text run at (0,0) width 148: "Legend align test, RTL"
@@ -73,7 +72,6 @@
       LayoutBlockFlow (anonymous) at (0,530.75) size 769x0
         LayoutInline {SPAN} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,538.75) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,556.75) size 769x18
         LayoutText {#text} at (0,0) size 275x18
           text run at (0,0) width 275: "Legend align test with margin and padding"
@@ -105,7 +103,6 @@
         LayoutBlockFlow (anonymous) at (17,33) size 705x19
           LayoutTextControl {INPUT} at (0,0) size 131x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,926.75) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,944.75) size 769x18
         LayoutText {#text} at (0,0) size 312x18
           text run at (0,0) width 312: "Legend align test with margin and padding, RTL"
@@ -152,6 +149,8 @@
   LayoutBlockFlow {DIV} at (3,3) size 125x13
 layer at (27,232) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
+layer at (8,268) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,260.38) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (633,347) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
 layer at (633,402) size 125x13
@@ -160,6 +159,8 @@
   LayoutBlockFlow {DIV} at (3,3) size 125x13
 layer at (633,511) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
+layer at (8,547) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,538.75) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (43,635) size 125x13 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (3,3) size 125x13
 layer at (43,719) size 125x13 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
@@ -168,6 +169,8 @@
   LayoutBlockFlow {DIV} at (3,3) size 125x13
 layer at (43,887) size 125x13 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (3,3) size 125x13
+layer at (8,935) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,926.75) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (617,1023) size 125x13 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (3,3) size 125x13
 layer at (617,1107) size 125x13 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/floating-textfield-relayout-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/floating-textfield-relayout-expected.txt
index 25b5444..7b1b918 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/floating-textfield-relayout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/floating-textfield-relayout-expected.txt
@@ -16,7 +16,8 @@
             text run at (0,18) width 60: "keystroke"
         LayoutText {#text} at (59,18) size 5x18
           text run at (59,18) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,70) size 784x0
   LayoutBlockFlow (relative positioned) {DIV} at (0,62) size 784x0
     LayoutTextControl (floating) {INPUT} at (0,0) size 392x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/image-border-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/image-border-expected.txt
index 114c79e..365636d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/image-border-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/image-border-expected.txt
@@ -12,9 +12,10 @@
         LayoutText {#text} at (0,36) size 55x18
           text run at (0,36) width 55: "border:0"
         LayoutImage {IMG} at (54.20,0) size 338x50
-      LayoutBlockFlow {HR} at (0,114) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,124) size 784x56
         LayoutText {#text} at (0,38) size 55x18
           text run at (0,38) width 55: "border:1"
         LayoutImage {IMG} at (54.20,0) size 340x52 [border: (1px solid #000000)]
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,122) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,114) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/input-value-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/input-value-expected.txt
index e6ca426..76b8f0f 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/input-value-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/input-value-expected.txt
@@ -10,7 +10,6 @@
       LayoutBlockFlow {P} at (0,52) size 784x18
         LayoutText {#text} at (0,0) size 725x18
           text run at (0,0) width 725: "Results that match Gecko are like WinIE, but with \"before\" for the attribute in the first two rows and the last row."
-      LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {FORM} at (0,96) size 784x338
         LayoutTable {TABLE} at (0,0) size 766x338
           LayoutTableSection {THEAD} at (0,0) size 766x24
@@ -204,6 +203,8 @@
               LayoutTableCell {TD} at (701,292) size 63x20 [r=13 c=3 rs=1 cs=1]
                 LayoutText {#text} at (1,1) size 41x18
                   text run at (1,1) width 41: "before"
+layer at (8,94) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,86) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (408,132) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
     LayoutText {#text} at (0,0) size 34x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/menulist-appearance-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/menulist-appearance-rtl-expected.txt
index 0123fdf..649e8c08 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/menulist-appearance-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/menulist-appearance-rtl-expected.txt
@@ -53,7 +53,6 @@
             LayoutText {#text} at (0,1) size 82x18
               text run at (0,1) width 23: "abc"
               text run at (22,1) width 60 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-      LayoutBlockFlow {HR} at (0,236) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,246) size 784x55
         LayoutBlockFlow (anonymous) at (0,0) size 784x18
           LayoutText {#text} at (0,0) size 632x18
@@ -67,10 +66,13 @@
               LayoutText (anonymous) at (8,2) size 84x13
                 text run at (8,2) width 84 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,309) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,327) size 784x18
         LayoutText {#text} at (0,0) size 709x18
           text run at (0,0) width 709: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
+layer at (8,252) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,236) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,325) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,309) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,377) size 784x164
   LayoutBlockFlow {DIV} at (0,361) size 784x164
     LayoutMultiColumnSet (anonymous) at (0,0) size 784x164
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/select-visual-hebrew-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/select-visual-hebrew-expected.txt
index 3d606e4..876e141f 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/select-visual-hebrew-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/select-visual-hebrew-expected.txt
@@ -6,7 +6,6 @@
       LayoutBlockFlow {P} at (0,0) size 784x18
         LayoutText {#text} at (0,0) size 632x18
           text run at (0,0) width 632 LTR override: "This tests that native pop-ups are rendered in logical order even in visually-ordered Hebrew pages."
-      LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,52) size 784x19
         LayoutText {#text} at (0,1) size 398x18
           text run at (0,1) width 398 LTR override: "Text on the pop-up and in the list should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
@@ -16,3 +15,5 @@
             LayoutText (anonymous) at (8,2) size 31x13
               text run at (8,2) width 31 RTL: "\x{5DB}\x{5E4}\x{5EA}\x{5D5}\x{5E8}"
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,42) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/visual-hebrew-text-field-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/visual-hebrew-text-field-expected.txt
index ff3033c1d..7a03302 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/forms/visual-hebrew-text-field-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/forms/visual-hebrew-text-field-expected.txt
@@ -15,13 +15,14 @@
             text run at (0,18) width 251 LTR override: "are reversed on \"visual Hebrew\" pages"
         LayoutText {#text} at (250,18) size 5x18
           text run at (250,18) width 5 LTR override: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,70) size 784x19
         LayoutText {#text} at (0,1) size 286x18
           text run at (0,1) width 286 LTR override: "Text in the field should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
       LayoutBlockFlow (anonymous) at (0,105) size 784x19
         LayoutTextControl {INPUT} at (0,0) size 131x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (11,116) size 125x13
   LayoutBlockFlow {DIV} at (3,3) size 125x13
     LayoutText {#text} at (0,0) size 31x13
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/layers/opacity-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/layers/opacity-outline-expected.txt
index 83a0ab5..780c0c3 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/layers/opacity-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/layers/opacity-outline-expected.txt
@@ -16,6 +16,7 @@
             text run at (0,18) width 321: "outline causes the outline to disappear completely"
         LayoutText {#text} at (320,18) size 5x18
           text run at (320,18) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,70) size 100x100 transparent
   LayoutBlockFlow {DIV} at (0,62) size 100x100 [bgcolor=#C0C0C0]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/html/tabular_data/table_createcaption-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/html/tabular_data/table_createcaption-expected.txt
index 716de85..a6dd86d 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/html/tabular_data/table_createcaption-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/html/tabular_data/table_createcaption-expected.txt
@@ -29,7 +29,6 @@
         LayoutText {#text} at (746,0) size 751x36
           text run at (746,0) width 5: "."
           text run at (0,18) width 636: "Upon failure, the first table will have no caption, and the second table will have the caption Things."
-      LayoutBlockFlow {HR} at (0,156) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (0,166) size 110x94 [border: (1px outset #808080)]
         LayoutBlockFlow {CAPTION} at (0,0) size 110x18
           LayoutInline {B} at (0,0) size 44x18
@@ -86,3 +85,5 @@
             LayoutTableCell {TD} at (75,50) size 52x22 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 40x18
                 text run at (2,2) width 40: "Green"
+layer at (8,164) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,156) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/html/tabular_data/td_colspan_rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/html/tabular_data/td_colspan_rendering-expected.txt
index 0804bf3..24d30ca 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/html/tabular_data/td_colspan_rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/html/tabular_data/td_colspan_rendering-expected.txt
@@ -23,7 +23,6 @@
           text run at (0,18) width 721: "column in the first row should span only column \"one\" and the second cell should span all of the other columns. "
           text run at (720,18) width 26: "The"
           text run at (0,36) width 572: "second table tests the zero value. \"Just A\" should span \"A\" and \"Just B\" should span \"B.\""
-      LayoutBlockFlow {HR} at (0,192) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,202) size 784x18
         LayoutBR {BR} at (0,0) size 0x18
       LayoutTable {TABLE} at (0,220) size 277x70 [border: (1px outset #808080)]
@@ -102,3 +101,5 @@
             LayoutTableCell {TD} at (179,26) size 16x22 [border: (1px inset #808080)] [r=1 c=7 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 12x18
                 text run at (2,2) width 12: "H"
+layer at (8,200) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,192) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/flexible-box-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/flexible-box-overflow-expected.txt
index ac4178d7..4455153 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/flexible-box-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/flexible-box-overflow-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,18) width 243: "their top, left and children's overflows"
         LayoutText {#text} at (242,18) size 5x18
           text run at (242,18) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,62) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
@@ -40,3 +39,5 @@
               text run at (1,91) width 79: "ipsum. Nam"
               text run at (1,109) width 80: "consectetuer"
               text run at (1,127) width 84: "mi eget velit."
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/flexible-box-overflow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
index ac4178d7..4455153 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,18) width 243: "their top, left and children's overflows"
         LayoutText {#text} at (242,18) size 5x18
           text run at (242,18) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,62) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
@@ -40,3 +39,5 @@
               text run at (1,91) width 79: "ipsum. Nam"
               text run at (1,109) width 80: "consectetuer"
               text run at (1,127) width 84: "mi eget velit."
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/inline-block-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/inline-block-overflow-expected.txt
index b0c556f..f43f29e 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/inline-block-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/inline-block-overflow-expected.txt
@@ -6,7 +6,6 @@
       LayoutBlockFlow {P} at (0,0) size 784x18
         LayoutText {#text} at (0,0) size 329x18
           text run at (0,0) width 329: "This is a repaint test of inline blocks with overflow."
-      LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,44) size 784x20
         LayoutInline {SPAN} at (0,0) size 200x18
           LayoutText {#text} at (0,0) size 100x18
@@ -16,3 +15,5 @@
               text run at (0,0) width 76: "inline block"
               text run at (0,18) width 93: "with overflow."
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,42) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-child-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-child-outline-expected.txt
index dd44f18..7dc0936f 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-child-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-child-outline-expected.txt
@@ -6,7 +6,8 @@
       LayoutBlockFlow {P} at (0,0) size 784x18
         LayoutText {#text} at (0,0) size 328x18
           text run at (0,0) width 328: "This tests repainting of a layer's children's outlines."
-      LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,42) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,52) size 100x100
   LayoutBlockFlow (relative positioned) {DIV} at (0,44) size 100x100 [bgcolor=#C0C0C0]
     LayoutBlockFlow {DIV} at (0,0) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-outline-expected.txt
index bc0cd55..ea35613 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-outline-expected.txt
@@ -14,7 +14,8 @@
             text run at (565,0) width 198: " Layer outline does not repaint"
         LayoutText {#text} at (762,0) size 5x18
           text run at (762,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,42) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,192) size 100x100 clip at (19,193) size 98x98
   LayoutBlockFlow {DIV} at (10,184) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
 layer at (8,52) size 784x130
diff --git a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-outline-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-outline-horizontal-expected.txt
index bc0cd55..ea35613 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-outline-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/layer-outline-horizontal-expected.txt
@@ -14,7 +14,8 @@
             text run at (565,0) width 198: " Layer outline does not repaint"
         LayoutText {#text} at (762,0) size 5x18
           text run at (762,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,42) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,192) size 100x100 clip at (19,193) size 98x98
   LayoutBlockFlow {DIV} at (10,184) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
 layer at (8,52) size 784x130
diff --git a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/text-shadow-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/text-shadow-expected.txt
index 36c7417c..9065a7b 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/text-shadow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/text-shadow-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,18) width 58: "correctly"
         LayoutText {#text} at (57,18) size 5x18
           text run at (57,18) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (30,84) size 724x22
         LayoutInline {SPAN} at (0,0) size 200x22 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 200x22
@@ -40,3 +39,5 @@
             text run at (0,0) width 97: "Lorem ipsum"
         LayoutText {#text} at (96,3) size 93x18
           text run at (96,3) width 93: " dolor sit amet"
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/text-shadow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/text-shadow-horizontal-expected.txt
index 36c7417c..9065a7b 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/text-shadow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/text-shadow-horizontal-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,18) width 58: "correctly"
         LayoutText {#text} at (57,18) size 5x18
           text run at (57,18) width 5: "."
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (30,84) size 724x22
         LayoutInline {SPAN} at (0,0) size 200x22 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 200x22
@@ -40,3 +39,5 @@
             text run at (0,0) width 97: "Lorem ipsum"
         LayoutText {#text} at (96,3) size 93x18
           text run at (96,3) width 93: " dolor sit amet"
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/plugins/embed-attributes-style-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/plugins/embed-attributes-style-expected.txt
index 5ac3cdf..d3c690eb 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/plugins/embed-attributes-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/plugins/embed-attributes-style-expected.txt
@@ -9,7 +9,6 @@
           text run at (405,0) width 372: "Previous versions of WebKit supported valign and border,"
           text run at (0,18) width 44: "which "
           text run at (43,18) width 458: "didn't match IE and FF. The only special support should be for 'hidden.'"
-      LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,62) size 784x0
       LayoutBlockFlow {DIV} at (0,62) size 784x104
         LayoutText {#text} at (50,86) size 126x18
@@ -23,6 +22,8 @@
         LayoutText {#text} at (52,88) size 105x18
           text run at (52,88) width 4: " "
           text run at (56,88) width 101: "hidden attribute"
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,70) size 50x100
   LayoutEmbeddedObject (relative positioned) {EMBED} at (0,0) size 50x100
 layer at (8,174) size 50x100
diff --git a/third_party/WebKit/LayoutTests/platform/mac/printing/absolute-position-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/printing/absolute-position-headers-and-footers-expected.txt
index 4fb9ec5..db0ef72 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/printing/absolute-position-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/printing/absolute-position-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 615.39x18
         LayoutText {#text} at (0,0) size 616x18
           text run at (0,0) width 616: "crbug.com/303728: Header Line is absolute positioned so should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 615.39x2 [border: (1px inset #EEEEEE)]
+layer at (8,26) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 615.39x2 [border: (1px inset #EEEEEE)]
 layer at (8,763) size 611x36
   LayoutBlockFlow (positioned) {DIV} at (8,763) size 610.98x36
     LayoutBlockFlow {DIV} at (0,8) size 610.98x28
-      LayoutBlockFlow {HR} at (0,0) size 610.98x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 610.98x18
         LayoutText {#text} at (0,0) size 611x18
           text run at (0,0) width 611: "crbug.com/303728: Footer Line is absolute positioned so should not be repeated on every page."
+layer at (8,771) size 611x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 610.98x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-but-static-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
index 304d01d..82e5fef5 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 680.27x18
         LayoutText {#text} at (0,0) size 681x18
           text run at (0,0) width 681: "crbug.com/303728: Fixed-position header Line is statically positioned and will be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 680.27x2 [border: (1px inset #EEEEEE)]
+layer at (8,42) size 680x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 680.27x2 [border: (1px inset #EEEEEE)]
 layer at (8,2567) size 624x36 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (8,2567) size 624.30x36
     LayoutBlockFlow {DIV} at (0,8) size 624.30x28
-      LayoutBlockFlow {HR} at (0,0) size 624.30x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 624.30x18
         LayoutText {#text} at (0,0) size 625x18
           text run at (0,0) width 625: "crbug.com/303728: Footer Line is statically positioned and should not be repeated on every page."
+layer at (8,2575) size 624x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 624.30x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
index bc63ccbc..3b4d477 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
@@ -11,7 +11,8 @@
         LayoutText {#text} at (0,0) size 472x36
           text run at (0,0) width 472: "crbug.com/303728: Header Line should be repeated on every page except"
           text run at (0,18) width 384: "where it's clipped by the absolute element on pages 3 and 4."
-      LayoutBlockFlow {HR} at (0,44) size 500x2 [border: (1px inset #EEEEEE)]
+layer at (5,49) size 500x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,44) size 500x2 [border: (1px inset #EEEEEE)]
 layer at (0,1000) size 600x2000 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,1000) size 600x2000 [bgcolor=#000000]
     LayoutText zI: 2 {#text} at (0,0) size 58x18
diff --git a/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-expected.txt
index b413d1a0..b0a67f2 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 523.84x18
         LayoutText {#text} at (0,0) size 524x18
           text run at (0,0) width 524: "crbug.com/303728: Fixed-position header Line should be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 523.84x2 [border: (1px inset #EEEEEE)]
+layer at (8,26) size 524x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 523.84x2 [border: (1px inset #EEEEEE)]
 layer at (8,763) size 426x36
   LayoutBlockFlow (positioned) {DIV} at (8,763) size 425.66x36
     LayoutBlockFlow {DIV} at (0,8) size 425.66x28
-      LayoutBlockFlow {HR} at (0,0) size 425.66x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 425.66x18
         LayoutText {#text} at (0,0) size 426x18
           text run at (0,0) width 426: "crbug.com/303728: Footer Line should be repeated on every page."
+layer at (8,771) size 426x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 425.66x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
index e3b4936f..2edc783 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
@@ -233,13 +233,15 @@
       LayoutBlockFlow (anonymous) at (0,0) size 454.52x18
         LayoutText {#text} at (0,0) size 455x18
           text run at (0,0) width 455: "crbug.com/303728: Header Line should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 454.52x2 [border: (1px inset #EEEEEE)]
+layer at (8,42) size 455x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 454.52x2 [border: (1px inset #EEEEEE)]
 layer at (8,2567) size 1030x0
   LayoutBlockFlow {DIV} at (0,2551) size 1030x0
 layer at (8,2531) size 450x36 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (0,-36) size 450.09x36
     LayoutBlockFlow {DIV} at (0,8) size 450.09x28
-      LayoutBlockFlow {HR} at (0,0) size 450.09x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 450.09x18
         LayoutText {#text} at (0,0) size 451x18
           text run at (0,0) width 451: "crbug.com/303728: Footer Line should not be repeated on every page."
+layer at (8,2539) size 450x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 450.09x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
index b9d011f..3ae204b 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 2000x18
         LayoutText {#text} at (0,0) size 706x18
           text run at (0,0) width 706: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
-      LayoutBlockFlow {HR} at (0,26) size 2000x2 [border: (1px inset #EEEEEE)]
+layer at (13,31) size 2000x2 backgroundClip at (13,31) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 2000x2 [border: (1px inset #EEEEEE)]
 layer at (8,753) size 2010x46 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (8,753) size 2010x46 [border: (5px solid #000000)]
     LayoutBlockFlow {DIV} at (5,13) size 2000x28
-      LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 2000x18
         LayoutText {#text} at (0,0) size 706x18
           text run at (0,0) width 706: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
+layer at (13,766) size 2000x2 backgroundClip at (13,766) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/svg/custom/svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/svg/custom/svg-float-border-padding-expected.txt
index ddc17af..b05011a 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/svg/custom/svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/svg/custom/svg-float-border-padding-expected.txt
@@ -15,7 +15,6 @@
       LayoutBlockFlow {p} at (0,228) size 784x18
         LayoutText {#text} at (0,0) size 359x18
           text run at (0,0) width 359: "There should be a red, white and blue pattern above this"
-      LayoutBlockFlow {hr} at (0,262) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {p} at (0,280) size 784x18
         LayoutText {#text} at (0,0) size 360x18
           text run at (0,0) width 360: "There should be a red, white and blue pattern below this"
@@ -24,3 +23,5 @@
       LayoutBlockFlow {p} at (0,474) size 784x18
         LayoutText {#text} at (0,0) size 359x18
           text run at (0,0) width 359: "There should be a red, white and blue pattern above this"
+layer at (8,270) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {hr} at (0,262) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/svg/zoom/page/zoom-svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
index c9ad119..80eb80b5 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
@@ -16,7 +16,6 @@
       LayoutBlockFlow {p} at (0,354.41) size 761.97x26
         LayoutText {#text} at (0,0) size 517x26
           text run at (0,0) width 517: "There should be a red, white and blue pattern above this"
-      LayoutBlockFlow {hr} at (0,403.44) size 761.97x2.88 [border: (1.44px inset #EEEEEE)]
       LayoutBlockFlow {p} at (0,429.34) size 761.97x26
         LayoutText {#text} at (0,0) size 518x26
           text run at (0,0) width 518: "There should be a red, white and blue pattern below this"
@@ -25,3 +24,5 @@
       LayoutBlockFlow {p} at (0,708.73) size 761.97x26
         LayoutText {#text} at (0,0) size 517x26
           text run at (0,0) width 517: "There should be a red, white and blue pattern above this"
+layer at (12,415) size 762x3 backgroundClip at (12,415) size 761x3 clip at (0,0) size 0x0
+  LayoutBlockFlow {hr} at (0,403.44) size 761.97x2.88 [border: (1.44px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/svg/zoom/text/zoom-svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
index 49ee0de..cb5cdba 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
@@ -16,7 +16,6 @@
       LayoutBlockFlow {p} at (0,284.06) size 769x26
         LayoutText {#text} at (0,0) size 517x26
           text run at (0,0) width 517: "There should be a red, white and blue pattern above this"
-      LayoutBlockFlow {hr} at (0,333.09) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {p} at (0,358.13) size 769x26
         LayoutText {#text} at (0,0) size 518x26
           text run at (0,0) width 518: "There should be a red, white and blue pattern below this"
@@ -25,3 +24,5 @@
       LayoutBlockFlow {p} at (0,567.16) size 769x26
         LayoutText {#text} at (0,0) size 517x26
           text run at (0,0) width 517: "There should be a red, white and blue pattern above this"
+layer at (8,341) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {hr} at (0,333.09) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-expected.txt
new file mode 100644
index 0000000..4455153
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-expected.txt
@@ -0,0 +1,43 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x552
+      LayoutBlockFlow {P} at (0,0) size 784x36
+        LayoutText {#text} at (0,0) size 233x18
+          text run at (0,0) width 233: "This is a test for regressions against "
+        LayoutInline {I} at (0,0) size 777x36
+          LayoutInline {A} at (0,0) size 354x18 [color=#0000EE]
+            LayoutText {#text} at (232,0) size 354x18
+              text run at (232,0) width 354: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
+          LayoutText {#text} at (585,0) size 777x36
+            text run at (585,0) width 5: " "
+            text run at (589,0) width 188: "Flexible boxes do not repaint"
+            text run at (0,18) width 243: "their top, left and children's overflows"
+        LayoutText {#text} at (242,18) size 5x18
+          text run at (242,18) width 5: "."
+      LayoutBlockFlow {DIV} at (0,62) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 182x18
+              text run at (1,1) width 182: "Lorem ipsum dolor sit amet."
+      LayoutBlockFlow {DIV} at (0,182) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,302) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,422) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 95x144
+              text run at (1,1) width 86: "Lorem ipsum"
+              text run at (1,19) width 92: "dolor sit amet,"
+              text run at (1,37) width 80: "consectetuer"
+              text run at (1,55) width 95: "adipiscing elit."
+              text run at (1,73) width 54: "Etiam et"
+              text run at (1,91) width 79: "ipsum. Nam"
+              text run at (1,109) width 80: "consectetuer"
+              text run at (1,127) width 84: "mi eget velit."
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
new file mode 100644
index 0000000..4455153
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
@@ -0,0 +1,43 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x552
+      LayoutBlockFlow {P} at (0,0) size 784x36
+        LayoutText {#text} at (0,0) size 233x18
+          text run at (0,0) width 233: "This is a test for regressions against "
+        LayoutInline {I} at (0,0) size 777x36
+          LayoutInline {A} at (0,0) size 354x18 [color=#0000EE]
+            LayoutText {#text} at (232,0) size 354x18
+              text run at (232,0) width 354: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
+          LayoutText {#text} at (585,0) size 777x36
+            text run at (585,0) width 5: " "
+            text run at (589,0) width 188: "Flexible boxes do not repaint"
+            text run at (0,18) width 243: "their top, left and children's overflows"
+        LayoutText {#text} at (242,18) size 5x18
+          text run at (242,18) width 5: "."
+      LayoutBlockFlow {DIV} at (0,62) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 182x18
+              text run at (1,1) width 182: "Lorem ipsum dolor sit amet."
+      LayoutBlockFlow {DIV} at (0,182) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,302) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,422) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 95x144
+              text run at (1,1) width 86: "Lorem ipsum"
+              text run at (1,19) width 92: "dolor sit amet,"
+              text run at (1,37) width 80: "consectetuer"
+              text run at (1,55) width 95: "adipiscing elit."
+              text run at (1,73) width 54: "Etiam et"
+              text run at (1,91) width 79: "ipsum. Nam"
+              text run at (1,109) width 80: "consectetuer"
+              text run at (1,127) width 84: "mi eget velit."
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/inline-block-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/inline-block-overflow-expected.txt
new file mode 100644
index 0000000..f43f29e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/inline-block-overflow-expected.txt
@@ -0,0 +1,19 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 329x18
+          text run at (0,0) width 329: "This is a repaint test of inline blocks with overflow."
+      LayoutBlockFlow (anonymous) at (0,44) size 784x20
+        LayoutInline {SPAN} at (0,0) size 200x18
+          LayoutText {#text} at (0,0) size 100x18
+            text run at (0,0) width 100: "Here comes an "
+          LayoutBlockFlow {SPAN} at (99.06,0) size 100x20 [bgcolor=#C0C0C0]
+            LayoutText {#text} at (0,0) size 93x36
+              text run at (0,0) width 76: "inline block"
+              text run at (0,18) width 93: "with overflow."
+        LayoutText {#text} at (0,0) size 0x0
+layer at (8,42) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/layer-child-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/layer-child-outline-expected.txt
new file mode 100644
index 0000000..7dc0936f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/layer-child-outline-expected.txt
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 328x18
+          text run at (0,0) width 328: "This tests repainting of a layer's children's outlines."
+layer at (8,42) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,52) size 100x100
+  LayoutBlockFlow (relative positioned) {DIV} at (0,44) size 100x100 [bgcolor=#C0C0C0]
+    LayoutBlockFlow {DIV} at (0,0) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/layer-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/layer-outline-expected.txt
new file mode 100644
index 0000000..ea35613
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/layer-outline-expected.txt
@@ -0,0 +1,36 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 213x18
+          text run at (0,0) width 213: "This tests for regressions against "
+        LayoutInline {I} at (0,0) size 551x18
+          LayoutInline {A} at (0,0) size 354x18 [color=#0000EE]
+            LayoutText {#text} at (212,0) size 354x18
+              text run at (212,0) width 354: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
+          LayoutText {#text} at (565,0) size 198x18
+            text run at (565,0) width 198: " Layer outline does not repaint"
+        LayoutText {#text} at (762,0) size 5x18
+          text run at (762,0) width 5: "."
+layer at (8,42) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (18,192) size 100x100 clip at (19,193) size 98x98
+  LayoutBlockFlow {DIV} at (10,184) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (8,52) size 784x130
+  LayoutBlockFlow (relative positioned) {DIV} at (0,44) size 784x130
+layer at (18,62) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (10,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (148,62) size 100x100 backgroundClip at (138,52) size 100x100 clip at (138,52) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (140,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (278,62) size 100x100 backgroundClip at (268,52) size 5x5 clip at (268,52) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (270,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (408,62) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (400,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (538,62) size 100x100 backgroundClip at (548,72) size 100x100 clip at (548,72) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (530,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (668,62) size 100x100 backgroundClip at (773,167) size 5x5 clip at (773,167) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (660,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (18,322) size 100x100
+  LayoutBlockFlow (relative positioned) {DIV} at (0,294) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/layer-outline-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/layer-outline-horizontal-expected.txt
new file mode 100644
index 0000000..ea35613
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/layer-outline-horizontal-expected.txt
@@ -0,0 +1,36 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 213x18
+          text run at (0,0) width 213: "This tests for regressions against "
+        LayoutInline {I} at (0,0) size 551x18
+          LayoutInline {A} at (0,0) size 354x18 [color=#0000EE]
+            LayoutText {#text} at (212,0) size 354x18
+              text run at (212,0) width 354: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
+          LayoutText {#text} at (565,0) size 198x18
+            text run at (565,0) width 198: " Layer outline does not repaint"
+        LayoutText {#text} at (762,0) size 5x18
+          text run at (762,0) width 5: "."
+layer at (8,42) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,34) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (18,192) size 100x100 clip at (19,193) size 98x98
+  LayoutBlockFlow {DIV} at (10,184) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (8,52) size 784x130
+  LayoutBlockFlow (relative positioned) {DIV} at (0,44) size 784x130
+layer at (18,62) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (10,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (148,62) size 100x100 backgroundClip at (138,52) size 100x100 clip at (138,52) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (140,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (278,62) size 100x100 backgroundClip at (268,52) size 5x5 clip at (268,52) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (270,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (408,62) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (400,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (538,62) size 100x100 backgroundClip at (548,72) size 100x100 clip at (548,72) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (530,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (668,62) size 100x100 backgroundClip at (773,167) size 5x5 clip at (773,167) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (660,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (18,322) size 100x100
+  LayoutBlockFlow (relative positioned) {DIV} at (0,294) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/text-shadow-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/text-shadow-expected.txt
new file mode 100644
index 0000000..9065a7b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/text-shadow-expected.txt
@@ -0,0 +1,43 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x562
+      LayoutBlockFlow {P} at (0,0) size 784x36
+        LayoutText {#text} at (0,0) size 177x18
+          text run at (0,0) width 177: "This is a regression test for "
+        LayoutInline {I} at (0,0) size 721x36
+          LayoutInline {A} at (0,0) size 354x18 [color=#0000EE]
+            LayoutText {#text} at (176,0) size 354x18
+              text run at (176,0) width 354: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
+          LayoutText {#text} at (529,0) size 721x36
+            text run at (529,0) width 5: " "
+            text run at (533,0) width 188: "Text shadow does not repaint"
+            text run at (0,18) width 58: "correctly"
+        LayoutText {#text} at (57,18) size 5x18
+          text run at (57,18) width 5: "."
+      LayoutBlockFlow {DIV} at (30,84) size 724x22
+        LayoutInline {SPAN} at (0,0) size 200x22 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 200x22
+            text run at (0,0) width 200: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,136) size 724x22
+        LayoutInline {SPAN} at (0,0) size 200x22 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 200x22
+            text run at (0,0) width 200: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,188) size 724x22
+        LayoutText {#text} at (0,3) size 90x18
+          text run at (0,3) width 90: "Lorem ipsum "
+        LayoutInline {SPAN} at (0,0) size 100x22 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (89,0) size 100x22
+            text run at (89,0) width 100: "dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,240) size 724x22
+        LayoutInline {SPAN} at (0,0) size 97x22 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 97x22
+            text run at (0,0) width 97: "Lorem ipsum"
+        LayoutText {#text} at (96,3) size 93x18
+          text run at (96,3) width 93: " dolor sit amet"
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/text-shadow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/text-shadow-horizontal-expected.txt
new file mode 100644
index 0000000..9065a7b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/text-shadow-horizontal-expected.txt
@@ -0,0 +1,43 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x562
+      LayoutBlockFlow {P} at (0,0) size 784x36
+        LayoutText {#text} at (0,0) size 177x18
+          text run at (0,0) width 177: "This is a regression test for "
+        LayoutInline {I} at (0,0) size 721x36
+          LayoutInline {A} at (0,0) size 354x18 [color=#0000EE]
+            LayoutText {#text} at (176,0) size 354x18
+              text run at (176,0) width 354: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
+          LayoutText {#text} at (529,0) size 721x36
+            text run at (529,0) width 5: " "
+            text run at (533,0) width 188: "Text shadow does not repaint"
+            text run at (0,18) width 58: "correctly"
+        LayoutText {#text} at (57,18) size 5x18
+          text run at (57,18) width 5: "."
+      LayoutBlockFlow {DIV} at (30,84) size 724x22
+        LayoutInline {SPAN} at (0,0) size 200x22 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 200x22
+            text run at (0,0) width 200: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,136) size 724x22
+        LayoutInline {SPAN} at (0,0) size 200x22 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 200x22
+            text run at (0,0) width 200: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,188) size 724x22
+        LayoutText {#text} at (0,3) size 90x18
+          text run at (0,3) width 90: "Lorem ipsum "
+        LayoutInline {SPAN} at (0,0) size 100x22 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (89,0) size 100x22
+            text run at (89,0) width 100: "dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,240) size 724x22
+        LayoutInline {SPAN} at (0,0) size 97x22 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 97x22
+            text run at (0,0) width 97: "Lorem ipsum"
+        LayoutText {#text} at (96,3) size 93x18
+          text run at (96,3) width 93: " dolor sit amet"
+layer at (8,60) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,52) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/comments-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/comments-expected.txt
new file mode 100644
index 0000000..77fa6843
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/comments-expected.txt
@@ -0,0 +1,101 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 870
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x870 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x870
+    LayoutBlockFlow {BODY} at (8,8) size 769x854 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x225
+        LayoutText {#text} at (0,0) size 328x225
+          text run at (0,0) width 227: "/* This is a CSS1 comment. */"
+          text run at (226,0) width 1: " "
+          text run at (0,15) width 328: ".one {color: green;} /* Another comment */"
+          text run at (327,15) width 1: " "
+          text run at (0,30) width 281: "/* The following should not be used:"
+          text run at (280,30) width 1: " "
+          text run at (0,45) width 164: ".two {color: red;} */"
+          text run at (163,45) width 1: " "
+          text run at (0,60) width 313: ".three {color: green; /* color: red; */}"
+          text run at (312,60) width 1: " "
+          text run at (0,75) width 24: "/**"
+          text run at (23,75) width 1: " "
+          text run at (0,90) width 172: ".four {color: red;} */"
+          text run at (171,90) width 1: " "
+          text run at (0,105) width 164: ".five {color: green;}"
+          text run at (163,105) width 1: " "
+          text run at (0,120) width 32: "/**/"
+          text run at (31,120) width 1: " "
+          text run at (0,135) width 157: ".six {color: green;}"
+          text run at (156,135) width 1: " "
+          text run at (0,150) width 86: "/*********/"
+          text run at (85,150) width 1: " "
+          text run at (0,165) width 172: ".seven {color: green;}"
+          text run at (171,165) width 1: " "
+          text run at (0,180) width 125: "/* a comment **/"
+          text run at (124,180) width 1: " "
+          text run at (0,195) width 172: ".eight {color: green;}"
+          text run at (171,195) width 1: " "
+          text run at (0,210) width 0: " "
+      LayoutBlockFlow {P} at (0,290) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,324) size 769x18
+        LayoutText {#text} at (0,0) size 196x18
+          text run at (0,0) width 196: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,358) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,392) size 769x18
+        LayoutText {#text} at (0,0) size 196x18
+          text run at (0,0) width 196: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,426) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,460) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,494) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,528) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutTable {TABLE} at (0,562) size 219x292 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 217x290
+          LayoutTableRow {TR} at (0,0) size 217x26
+            LayoutTableCell {TD} at (0,0) size 217x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 217x264
+            LayoutTableCell {TD} at (0,145) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 205x264 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 197x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,38) size 197x18
+                LayoutText {#text} at (0,0) size 196x18
+                  text run at (0,0) width 196: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,72) size 197x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,106) size 197x18
+                LayoutText {#text} at (0,0) size 196x18
+                  text run at (0,0) width 196: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,140) size 197x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,174) size 197x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,208) size 197x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,242) size 197x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+layer at (8,280) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,272) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/containment-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/containment-expected.txt
new file mode 100644
index 0000000..50be7ab
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/containment-expected.txt
@@ -0,0 +1,211 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 961
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x961 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x961
+    LayoutBlockFlow {BODY} at (8,8) size 769x945 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x150
+        LayoutText {#text} at (0,0) size 710x150
+          text run at (0,0) width 609: "<LINK rel=\"stylesheet\" type=\"text/css\" href=\"linktest.css\" title=\"Default SS\">"
+          text run at (608,0) width 1: " "
+          text run at (0,15) width 710: "<LINK rel=\"alternate stylesheet\" type=\"text/css\" href=\"linktest2.css\" title=\"Alternate SS\">"
+          text run at (709,15) width 1: " "
+          text run at (0,30) width 203: "@import url(imptest1.css);"
+          text run at (202,30) width 1: " "
+          text run at (0,45) width 188: "@import \"imptest1a.css\";"
+          text run at (187,45) width 1: " "
+          text run at (0,60) width 125: "UL {color: red;}"
+          text run at (124,60) width 1: " "
+          text run at (0,75) width 172: ".four {color: purple;}"
+          text run at (171,75) width 1: " "
+          text run at (0,90) width 203: "@import url(imptest2.css);"
+          text run at (202,90) width 1: " "
+          text run at (0,105) width 32: "<!--"
+          text run at (31,105) width 1: " "
+          text run at (0,120) width 164: "P.six {color: green;}"
+          text run at (163,120) width 1: " "
+          text run at (0,135) width 24: "-->"
+          text run at (23,135) width 1: " "
+      LayoutBlockFlow {P} at (0,215) size 769x18
+        LayoutText {#text} at (0,0) size 412x18
+          text run at (0,0) width 412: "This sentence should be underlined due to the linked style sheet "
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (411,2) size 95x15
+            text run at (411,2) width 95: "linktest.css"
+        LayoutText {#text} at (505,0) size 258x18
+          text run at (505,0) width 258: ", the reference to which is shown above."
+      LayoutBlockFlow {P} at (0,249) size 769x36
+        LayoutText {#text} at (0,0) size 449x18
+          text run at (0,0) width 449: "This sentence should NOT be underlined due to the linked style sheet "
+        LayoutInline {CODE} at (0,0) size 103x15
+          LayoutText {#text} at (448,2) size 103x15
+            text run at (448,2) width 103: "linktest2.css"
+        LayoutText {#text} at (550,0) size 9x18
+          text run at (550,0) width 9: ", "
+        LayoutInline {STRONG} at (0,0) size 42x18
+          LayoutText {#text} at (558,0) size 42x18
+            text run at (558,0) width 42: "unless"
+        LayoutText {#text} at (599,0) size 751x36
+          text run at (599,0) width 152: " the external style sheet"
+          text run at (0,18) width 330: "\"Alternate SS\" has been selected via the user agent."
+      LayoutBlockFlow {UL} at (0,301) size 769x54 [color=#FF0000]
+        LayoutListItem {LI} at (40,0) size 729x18 [color=#008000]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 398x18
+            text run at (0,0) width 398: "This sentence should be green due to an imported style sheet ["
+          LayoutInline {CODE} at (0,0) size 204x15
+            LayoutText {#text} at (397,2) size 204x15
+              text run at (397,2) width 204: "@import url(imptest1.css);"
+          LayoutText {#text} at (600,0) size 10x18
+            text run at (600,0) width 10: "]."
+        LayoutListItem {LI} at (40,18) size 729x18 [color=#800080]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 403x18
+            text run at (0,0) width 403: "This sentence should be purple due to an imported style sheet ["
+          LayoutInline {CODE} at (0,0) size 180x15
+            LayoutText {#text} at (403,2) size 180x15
+              text run at (403,2) width 180: "@import \"imptest1a.css\""
+          LayoutText {#text} at (582,0) size 10x18
+            text run at (582,0) width 10: "]."
+        LayoutListItem {LI} at (40,36) size 729x18 [color=#008000]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 399x18
+            text run at (0,0) width 399: "This sentence should be green thanks to the STYLE attribute ["
+          LayoutInline {CODE} at (0,0) size 164x15
+            LayoutText {#text} at (399,2) size 164x15
+              text run at (399,2) width 164: "STYLE=\"color: green;\""
+          LayoutText {#text} at (562,0) size 11x18
+            text run at (562,0) width 11: "]."
+      LayoutBlockFlow {P} at (0,371) size 769x18 [color=#800080]
+        LayoutText {#text} at (0,0) size 510x18
+          text run at (0,0) width 510: "This sentence should be purple, and it doesn't have a terminating paragraph tag."
+      LayoutBlockFlow {OL} at (0,405) size 769x54
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-16,0) size 16x18: "1"
+          LayoutText {#text} at (0,0) size 204x18
+            text run at (0,0) width 204: "This list should NOT be purple."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutListMarker (anonymous) at (-16,0) size 16x18: "2"
+          LayoutText {#text} at (0,0) size 176x18
+            text run at (0,0) width 176: "It should, instead, be black."
+        LayoutListItem {LI} at (40,36) size 729x18
+          LayoutListMarker (anonymous) at (-16,0) size 16x18: "3"
+          LayoutText {#text} at (0,0) size 512x18
+            text run at (0,0) width 512: "If it IS purple, then the browser hasn't correctly parsed the preceding paragraph."
+      LayoutBlockFlow {P} at (0,475) size 769x36
+        LayoutText {#text} at (0,0) size 714x18
+          text run at (0,0) width 200: "This sentence should be black. "
+          text run at (199,0) width 515: "If it is red, then the browser has inappropriately imported the styles from the file"
+        LayoutInline {TT} at (0,0) size 94x15
+          LayoutText {#text} at (0,20) size 94x15
+            text run at (0,20) width 94: "imptest2.css"
+        LayoutText {#text} at (93,18) size 35x18
+          text run at (93,18) width 35: " (see "
+        LayoutInline {A} at (0,0) size 70x18 [color=#0000FF]
+          LayoutText {#text} at (127,18) size 70x18
+            text run at (127,18) width 70: "section 3.0"
+        LayoutText {#text} at (196,18) size 282x18
+          text run at (196,18) width 282: " of the CSS1 specification for more details)."
+      LayoutBlockFlow {P} at (0,527) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 206x18
+          text run at (0,0) width 206: "This paragraph should be green."
+      LayoutTable {TABLE} at (0,561) size 769x384 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x382
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x356
+            LayoutTableCell {TD} at (0,191) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x356 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x36
+                LayoutText {#text} at (0,0) size 412x18
+                  text run at (0,0) width 412: "This sentence should be underlined due to the linked style sheet "
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (411,2) size 95x15
+                    text run at (411,2) width 95: "linktest.css"
+                LayoutText {#text} at (505,0) size 717x36
+                  text run at (505,0) width 212: ", the reference to which is shown"
+                  text run at (0,18) width 43: "above."
+              LayoutBlockFlow {P} at (4,56) size 747x36
+                LayoutText {#text} at (0,0) size 449x18
+                  text run at (0,0) width 449: "This sentence should NOT be underlined due to the linked style sheet "
+                LayoutInline {CODE} at (0,0) size 103x15
+                  LayoutText {#text} at (448,2) size 103x15
+                    text run at (448,2) width 103: "linktest2.css"
+                LayoutText {#text} at (550,0) size 9x18
+                  text run at (550,0) width 9: ", "
+                LayoutInline {STRONG} at (0,0) size 42x18
+                  LayoutText {#text} at (558,0) size 42x18
+                    text run at (558,0) width 42: "unless"
+                LayoutText {#text} at (599,0) size 714x36
+                  text run at (599,0) width 115: " the external style"
+                  text run at (0,18) width 367: "sheet \"Alternate SS\" has been selected via the user agent."
+              LayoutBlockFlow {UL} at (4,108) size 747x54 [color=#FF0000]
+                LayoutListItem {LI} at (40,0) size 707x18 [color=#008000]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 398x18
+                    text run at (0,0) width 398: "This sentence should be green due to an imported style sheet ["
+                  LayoutInline {CODE} at (0,0) size 204x15
+                    LayoutText {#text} at (397,2) size 204x15
+                      text run at (397,2) width 204: "@import url(imptest1.css);"
+                  LayoutText {#text} at (600,0) size 10x18
+                    text run at (600,0) width 10: "]."
+                LayoutListItem {LI} at (40,18) size 707x18 [color=#800080]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 403x18
+                    text run at (0,0) width 403: "This sentence should be purple due to an imported style sheet ["
+                  LayoutInline {CODE} at (0,0) size 180x15
+                    LayoutText {#text} at (403,2) size 180x15
+                      text run at (403,2) width 180: "@import \"imptest1a.css\""
+                  LayoutText {#text} at (582,0) size 10x18
+                    text run at (582,0) width 10: "]."
+                LayoutListItem {LI} at (40,36) size 707x18 [color=#008000]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 399x18
+                    text run at (0,0) width 399: "This sentence should be green thanks to the STYLE attribute ["
+                  LayoutInline {CODE} at (0,0) size 164x15
+                    LayoutText {#text} at (399,2) size 164x15
+                      text run at (399,2) width 164: "STYLE=\"color: green;\""
+                  LayoutText {#text} at (562,0) size 11x18
+                    text run at (562,0) width 11: "]."
+              LayoutBlockFlow {P} at (4,178) size 747x18 [color=#800080]
+                LayoutText {#text} at (0,0) size 510x18
+                  text run at (0,0) width 510: "This sentence should be purple, and it doesn't have a terminating paragraph tag."
+              LayoutBlockFlow {OL} at (4,212) size 747x54
+                LayoutListItem {LI} at (40,0) size 707x18
+                  LayoutListMarker (anonymous) at (-16,0) size 16x18: "1"
+                  LayoutText {#text} at (0,0) size 204x18
+                    text run at (0,0) width 204: "This list should NOT be purple."
+                LayoutListItem {LI} at (40,18) size 707x18
+                  LayoutListMarker (anonymous) at (-16,0) size 16x18: "2"
+                  LayoutText {#text} at (0,0) size 176x18
+                    text run at (0,0) width 176: "It should, instead, be black."
+                LayoutListItem {LI} at (40,36) size 707x18
+                  LayoutListMarker (anonymous) at (-16,0) size 16x18: "3"
+                  LayoutText {#text} at (0,0) size 512x18
+                    text run at (0,0) width 512: "If it IS purple, then the browser hasn't correctly parsed the preceding paragraph."
+              LayoutBlockFlow {P} at (4,282) size 747x36
+                LayoutText {#text} at (0,0) size 714x18
+                  text run at (0,0) width 200: "This sentence should be black. "
+                  text run at (199,0) width 515: "If it is red, then the browser has inappropriately imported the styles from the file"
+                LayoutInline {TT} at (0,0) size 94x15
+                  LayoutText {#text} at (0,20) size 94x15
+                    text run at (0,20) width 94: "imptest2.css"
+                LayoutText {#text} at (93,18) size 35x18
+                  text run at (93,18) width 35: " (see "
+                LayoutInline {A} at (0,0) size 70x18 [color=#0000FF]
+                  LayoutText {#text} at (127,18) size 70x18
+                    text run at (127,18) width 70: "section 3.0"
+                LayoutText {#text} at (196,18) size 282x18
+                  text run at (196,18) width 282: " of the CSS1 specification for more details)."
+              LayoutBlockFlow {P} at (4,334) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 206x18
+                  text run at (0,0) width 206: "This paragraph should be green."
+layer at (8,205) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,197) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/contextual_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/contextual_selectors-expected.txt
new file mode 100644
index 0000000..7382d41
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/contextual_selectors-expected.txt
@@ -0,0 +1,83 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18 [color=#000080]
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x60
+        LayoutText {#text} at (0,0) size 461x60
+          text run at (0,0) width 281: "P {color: navy; font-family: serif;}"
+          text run at (280,0) width 1: " "
+          text run at (0,15) width 461: "HTML BODY TABLE P {color: purple; font-family: sans-serif;}"
+          text run at (460,15) width 1: " "
+          text run at (0,30) width 219: "EM, UL LI LI {color: green;}"
+          text run at (218,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 784x18 [color=#000080]
+        LayoutText {#text} at (0,0) size 639x18
+          text run at (0,0) width 639: "This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table."
+      LayoutBlockFlow {P} at (0,159) size 784x18 [color=#000080]
+        LayoutText {#text} at (0,0) size 570x18
+          text run at (0,0) width 570: "This sentence should be normal for its section, except for the last word, which should be "
+        LayoutInline {EM} at (0,0) size 37x18 [color=#008000]
+          LayoutText {#text} at (569,0) size 37x18
+            text run at (569,0) width 37: "green"
+        LayoutText {#text} at (605,0) size 5x18
+          text run at (605,0) width 5: "."
+      LayoutBlockFlow {UL} at (0,193) size 784x36
+        LayoutListItem {LI} at (40,0) size 744x36
+          LayoutBlockFlow (anonymous) at (0,0) size 744x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutInline {EM} at (0,0) size 40x18 [color=#008000]
+              LayoutText {#text} at (0,0) size 40x18
+                text run at (0,0) width 40: "Hello."
+            LayoutText {#text} at (39,0) size 406x18
+              text run at (39,0) width 5: " "
+              text run at (43,0) width 402: "The first \"hello\" should be green, but this part should be black."
+          LayoutBlockFlow {UL} at (0,18) size 744x18
+            LayoutListItem {LI} at (40,0) size 704x18 [color=#008000]
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 138x18
+                text run at (0,0) width 138: "This should be green."
+      LayoutTable {TABLE} at (0,245) size 730x156 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 728x154
+          LayoutTableRow {TR} at (0,0) size 728x26
+            LayoutTableCell {TD} at (0,0) size 728x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 728x128
+            LayoutTableCell {TD} at (0,77) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 716x128 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 708x18 [color=#800080]
+                LayoutText {#text} at (0,0) size 708x18
+                  text run at (0,0) width 708: "This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table."
+              LayoutBlockFlow {P} at (4,38) size 708x18 [color=#800080]
+                LayoutText {#text} at (0,0) size 628x18
+                  text run at (0,0) width 628: "This sentence should be normal for its section, except for the last word, which should be "
+                LayoutInline {EM} at (0,0) size 42x18 [color=#008000]
+                  LayoutText {#text} at (627,0) size 42x18
+                    text run at (627,0) width 42: "green"
+                LayoutText {#text} at (668,0) size 6x18
+                  text run at (668,0) width 6: "."
+              LayoutBlockFlow {UL} at (4,72) size 708x36
+                LayoutListItem {LI} at (40,0) size 668x36
+                  LayoutBlockFlow (anonymous) at (0,0) size 668x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutInline {EM} at (0,0) size 40x18 [color=#008000]
+                      LayoutText {#text} at (0,0) size 40x18
+                        text run at (0,0) width 40: "Hello."
+                    LayoutText {#text} at (39,0) size 406x18
+                      text run at (39,0) width 5: " "
+                      text run at (43,0) width 402: "The first \"hello\" should be green, but this part should be black."
+                  LayoutBlockFlow {UL} at (0,18) size 668x18
+                    LayoutListItem {LI} at (40,0) size 628x18 [color=#008000]
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 138x18
+                        text run at (0,0) width 138: "This should be green."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/grouping-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/grouping-expected.txt
new file mode 100644
index 0000000..5762d680
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/grouping-expected.txt
@@ -0,0 +1,45 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x30
+        LayoutText {#text} at (0,0) size 266x30
+          text run at (0,0) width 266: ".one, .two, .three {color: green;}"
+          text run at (265,0) width 1: " "
+          text run at (0,15) width 0: " "
+      LayoutBlockFlow {P} at (0,95) size 784x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,129) size 784x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,163) size 784x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutTable {TABLE} at (0,197) size 219x122 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 217x120
+          LayoutTableRow {TR} at (0,0) size 217x26
+            LayoutTableCell {TD} at (0,0) size 217x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 217x94
+            LayoutTableCell {TD} at (0,60) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 205x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 197x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,38) size 197x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,72) size 197x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/id_as_selector-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/id_as_selector-expected.txt
new file mode 100644
index 0000000..8f0dc25
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/id_as_selector-expected.txt
@@ -0,0 +1,93 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 627
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x627 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x627
+    LayoutBlockFlow {BODY} at (8,8) size 769x611 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x120
+        LayoutText {#text} at (0,0) size 266x120
+          text run at (0,0) width 157: "#one {color: green;}"
+          text run at (156,0) width 1: " "
+          text run at (0,15) width 149: "#a1 {color: green;}"
+          text run at (148,15) width 1: " "
+          text run at (0,30) width 219: "P#two, P#two2 {color: blue;}"
+          text run at (218,30) width 1: " "
+          text run at (0,45) width 266: "P#three, P#three2 {color: purple;}"
+          text run at (265,45) width 1: " "
+          text run at (0,60) width 164: "#four {color: green;}"
+          text run at (163,60) width 1: " "
+          text run at (0,75) width 149: "#a2 {color: green;}"
+          text run at (148,75) width 1: " "
+          text run at (0,90) width 235: "P#five, P#five2 {color: blue;}"
+          text run at (234,90) width 1: " "
+          text run at (0,105) width 235: "P#six, P#six2 {color: purple;}"
+      LayoutBlockFlow {P} at (0,185) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,219) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,253) size 769x18 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 204x18
+          text run at (0,0) width 204: "This paragraph should be blue ["
+        LayoutInline {TT} at (0,0) size 63x15
+          LayoutText {#text} at (203,2) size 63x15
+            text run at (203,2) width 63: "ID=\"two\""
+        LayoutText {#text} at (265,0) size 10x18
+          text run at (265,0) width 10: "]."
+      LayoutBlockFlow {PRE} at (0,287) size 769x15
+        LayoutText {#text} at (0,0) size 383x15
+          text run at (0,0) width 383: "This sentence should NOT be blue [PRE ID=\"two2\"]."
+          text run at (382,0) width 1: " "
+      LayoutBlockFlow {PRE} at (0,315) size 769x15
+        LayoutText {#text} at (0,0) size 461x15
+          text run at (0,0) width 461: "This sentence should be black, not purple [PRE ID=\"three\"]."
+          text run at (460,0) width 1: " "
+      LayoutBlockFlow {UL} at (0,346) size 769x18
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 240x18
+            text run at (0,0) width 240: "This sentence should NOT be purple."
+      LayoutTable {TABLE} at (0,380) size 413x231 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 411x229
+          LayoutTableRow {TR} at (0,0) size 411x26
+            LayoutTableCell {TD} at (0,0) size 411x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 411x203
+            LayoutTableCell {TD} at (0,114) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 399x203 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 391x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,38) size 391x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,72) size 391x18 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 204x18
+                  text run at (0,0) width 204: "This paragraph should be blue ["
+                LayoutInline {TT} at (0,0) size 71x15
+                  LayoutText {#text} at (203,2) size 71x15
+                    text run at (203,2) width 71: "ID=\"five\""
+                LayoutText {#text} at (273,0) size 10x18
+                  text run at (273,0) width 10: "]."
+              LayoutBlockFlow {PRE} at (4,106) size 391x15
+                LayoutText {#text} at (0,0) size 391x15
+                  text run at (0,0) width 391: "This sentence should NOT be blue [PRE ID=\"five2\"]."
+                  text run at (390,0) width 1: " "
+              LayoutBlockFlow {PRE} at (4,134) size 391x15
+                LayoutText {#text} at (0,0) size 352x15
+                  text run at (0,0) width 352: "This sentence should be black [PRE ID=\"six\"]."
+                  text run at (351,0) width 1: " "
+              LayoutBlockFlow {UL} at (4,165) size 391x18
+                LayoutListItem {LI} at (40,0) size 351x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 240x18
+                    text run at (0,0) width 240: "This sentence should NOT be purple."
+layer at (8,175) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,167) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/inheritance-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/inheritance-expected.txt
new file mode 100644
index 0000000..34b00e7c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/basic/inheritance-expected.txt
@@ -0,0 +1,190 @@
+layer at (0,0) size 800x600 scrollHeight 731
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x731 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x730.59
+    LayoutBlockFlow {BODY} at (8,8) size 784x714.59 [color=#008000] [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x105
+        LayoutText {#text} at (0,0) size 266x105
+          text run at (0,0) width 157: "BODY {color: green;}"
+          text run at (156,0) width 1: " "
+          text run at (0,15) width 133: "H3 {color: blue;}"
+          text run at (132,15) width 1: " "
+          text run at (0,30) width 149: "EM {color: purple;}"
+          text run at (148,30) width 1: " "
+          text run at (0,45) width 203: ".one {font-style: italic;}"
+          text run at (202,45) width 1: " "
+          text run at (0,60) width 266: ".two {text-decoration: underline;}"
+          text run at (265,60) width 1: " "
+          text run at (0,75) width 149: "#two {color: navy;}"
+          text run at (148,75) width 1: " "
+          text run at (0,90) width 180: ".three {color: purple;}"
+          text run at (179,90) width 1: " "
+      LayoutBlockFlow {H3} at (0,172.72) size 784x22 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 216x22
+          text run at (0,0) width 216: "This sentence should show "
+        LayoutInline {STRONG} at (0,0) size 35x22
+          LayoutText {#text} at (215,0) size 35x22
+            text run at (215,0) width 35: "blue"
+        LayoutText {#text} at (249,0) size 41x22
+          text run at (249,0) width 41: " and "
+        LayoutInline {EM} at (0,0) size 50x22 [color=#800080]
+          LayoutText {#text} at (289,0) size 50x22
+            text run at (289,0) width 50: "purple"
+        LayoutText {#text} at (338,0) size 6x22
+          text run at (338,0) width 6: "."
+      LayoutBlockFlow {H3} at (0,213.44) size 784x22 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 194x22
+          text run at (0,0) width 194: "This sentence should be "
+        LayoutInline {SPAN} at (0,0) size 34x22
+          LayoutText {#text} at (193,0) size 34x22
+            text run at (193,0) width 34: "blue"
+        LayoutText {#text} at (226,0) size 101x22
+          text run at (226,0) width 101: " throughout."
+      LayoutBlockFlow {P} at (0,254.16) size 784x18
+        LayoutText {#text} at (0,0) size 230x18
+          text run at (0,0) width 230: "This should be green except for the "
+        LayoutInline {EM} at (0,0) size 118x18 [color=#800080]
+          LayoutText {#text} at (229,0) size 118x18
+            text run at (229,0) width 118: "emphasized words"
+        LayoutText {#text} at (346,0) size 163x18
+          text run at (346,0) width 163: ", which should be purple."
+      LayoutBlockFlow {H3} at (0,290.88) size 784x22 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 287x22
+          text run at (0,0) width 287: "This should be blue and underlined."
+      LayoutBlockFlow {P} at (0,331.59) size 784x18
+        LayoutText {#text} at (0,0) size 299x18
+          text run at (0,0) width 299: "This sentence should be underlined, including "
+        LayoutInline {TT} at (0,0) size 71x15
+          LayoutText {#text} at (298,2) size 71x15
+            text run at (298,2) width 71: "this part"
+        LayoutText {#text} at (368,0) size 9x18
+          text run at (368,0) width 9: ", "
+        LayoutInline {I} at (0,0) size 55x18
+          LayoutText {#text} at (376,0) size 55x18
+            text run at (376,0) width 55: "this part"
+        LayoutText {#text} at (430,0) size 9x18
+          text run at (430,0) width 9: ", "
+        LayoutInline {EM} at (0,0) size 54x18 [color=#800080]
+          LayoutText {#text} at (438,0) size 54x18
+            text run at (438,0) width 54: "this part"
+        LayoutText {#text} at (491,0) size 37x18
+          text run at (491,0) width 37: ", and "
+        LayoutInline {STRONG} at (0,0) size 59x18
+          LayoutText {#text} at (527,0) size 59x18
+            text run at (527,0) width 59: "this part"
+        LayoutText {#text} at (585,0) size 5x18
+          text run at (585,0) width 5: "."
+      LayoutBlockFlow {P} at (0,365.59) size 784x18 [color=#000080]
+        LayoutText {#text} at (0,0) size 444x18
+          text run at (0,0) width 444: "This sentence should also be underlined, as well as dark blue (navy), "
+        LayoutInline {TT} at (0,0) size 149x15
+          LayoutText {#text} at (443,2) size 149x15
+            text run at (443,2) width 149: "including this part"
+        LayoutText {#text} at (591,0) size 5x18
+          text run at (591,0) width 5: "."
+      LayoutBlockFlow {P} at (0,399.59) size 784x18 [color=#800080]
+        LayoutText {#text} at (0,0) size 271x18
+          text run at (0,0) width 271: "This sentence should be purple, including "
+        LayoutInline {STRONG} at (0,0) size 59x18
+          LayoutText {#text} at (270,0) size 59x18
+            text run at (270,0) width 59: "this part"
+        LayoutText {#text} at (328,0) size 32x18
+          text run at (328,0) width 32: " and "
+        LayoutInline {SPAN} at (0,0) size 178x18
+          LayoutText {#text} at (359,0) size 178x18
+            text run at (359,0) width 178: "this part (which is spanned)"
+        LayoutText {#text} at (536,0) size 5x18
+          text run at (536,0) width 5: "."
+      LayoutTable {TABLE} at (0,433.59) size 618x281 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 616x279
+          LayoutTableRow {TR} at (0,0) size 616x26
+            LayoutTableCell {TD} at (0,0) size 616x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 616x253
+            LayoutTableCell {TD} at (0,139) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 604x252.88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {H3} at (4,4) size 596x22 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 216x22
+                  text run at (0,0) width 216: "This sentence should show "
+                LayoutInline {STRONG} at (0,0) size 35x22
+                  LayoutText {#text} at (215,0) size 35x22
+                    text run at (215,0) width 35: "blue"
+                LayoutText {#text} at (249,0) size 41x22
+                  text run at (249,0) width 41: " and "
+                LayoutInline {EM} at (0,0) size 50x22 [color=#800080]
+                  LayoutText {#text} at (289,0) size 50x22
+                    text run at (289,0) width 50: "purple"
+                LayoutText {#text} at (338,0) size 6x22
+                  text run at (338,0) width 6: "."
+              LayoutBlockFlow {H3} at (4,44.72) size 596x22 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 194x22
+                  text run at (0,0) width 194: "This sentence should be "
+                LayoutInline {SPAN} at (0,0) size 34x22
+                  LayoutText {#text} at (193,0) size 34x22
+                    text run at (193,0) width 34: "blue"
+                LayoutText {#text} at (226,0) size 101x22
+                  text run at (226,0) width 101: " throughout."
+              LayoutBlockFlow {P} at (4,85.44) size 596x18
+                LayoutText {#text} at (0,0) size 230x18
+                  text run at (0,0) width 230: "This should be green except for the "
+                LayoutInline {EM} at (0,0) size 118x18 [color=#800080]
+                  LayoutText {#text} at (229,0) size 118x18
+                    text run at (229,0) width 118: "emphasized words"
+                LayoutText {#text} at (346,0) size 163x18
+                  text run at (346,0) width 163: ", which should be purple."
+              LayoutBlockFlow {H3} at (4,122.16) size 596x22 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 287x22
+                  text run at (0,0) width 287: "This should be blue and underlined."
+              LayoutBlockFlow {P} at (4,162.88) size 596x18
+                LayoutText {#text} at (0,0) size 299x18
+                  text run at (0,0) width 299: "This sentence should be underlined, including "
+                LayoutInline {TT} at (0,0) size 71x15
+                  LayoutText {#text} at (298,2) size 71x15
+                    text run at (298,2) width 71: "this part"
+                LayoutText {#text} at (368,0) size 9x18
+                  text run at (368,0) width 9: ", "
+                LayoutInline {I} at (0,0) size 55x18
+                  LayoutText {#text} at (376,0) size 55x18
+                    text run at (376,0) width 55: "this part"
+                LayoutText {#text} at (430,0) size 9x18
+                  text run at (430,0) width 9: ", "
+                LayoutInline {EM} at (0,0) size 54x18 [color=#800080]
+                  LayoutText {#text} at (438,0) size 54x18
+                    text run at (438,0) width 54: "this part"
+                LayoutText {#text} at (491,0) size 37x18
+                  text run at (491,0) width 37: ", and "
+                LayoutInline {STRONG} at (0,0) size 59x18
+                  LayoutText {#text} at (527,0) size 59x18
+                    text run at (527,0) width 59: "this part"
+                LayoutText {#text} at (585,0) size 5x18
+                  text run at (585,0) width 5: "."
+              LayoutBlockFlow {P} at (4,196.88) size 596x18 [color=#000080]
+                LayoutText {#text} at (0,0) size 444x18
+                  text run at (0,0) width 444: "This sentence should also be underlined, as well as dark blue (navy), "
+                LayoutInline {TT} at (0,0) size 149x15
+                  LayoutText {#text} at (443,2) size 149x15
+                    text run at (443,2) width 149: "including this part"
+                LayoutText {#text} at (591,0) size 5x18
+                  text run at (591,0) width 5: "."
+              LayoutBlockFlow {P} at (4,230.88) size 596x18 [color=#800080]
+                LayoutText {#text} at (0,0) size 271x18
+                  text run at (0,0) width 271: "This sentence should be purple, including "
+                LayoutInline {STRONG} at (0,0) size 59x18
+                  LayoutText {#text} at (270,0) size 59x18
+                    text run at (270,0) width 59: "this part"
+                LayoutText {#text} at (328,0) size 32x18
+                  text run at (328,0) width 32: " and "
+                LayoutInline {SPAN} at (0,0) size 178x18
+                  LayoutText {#text} at (359,0) size 178x18
+                    text run at (359,0) width 178: "this part (which is spanned)"
+                LayoutText {#text} at (536,0) size 5x18
+                  text run at (536,0) width 5: "."
+layer at (8,160) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border-expected.txt
new file mode 100644
index 0000000..6cd3a3e7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border-expected.txt
@@ -0,0 +1,189 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1432
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1432 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1432
+    LayoutBlockFlow {BODY} at (8,8) size 769x1416 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x135
+        LayoutText {#text} at (0,0) size 266x135
+          text run at (0,0) width 266: ".one {border: medium black solid;}"
+          text run at (265,0) width 1: " "
+          text run at (0,15) width 258: ".two {border: thin maroon ridge;}"
+          text run at (257,15) width 1: " "
+          text run at (0,30) width 266: ".three {border: 10px teal outset;}"
+          text run at (265,30) width 1: " "
+          text run at (0,45) width 258: ".four {border: 10px olive inset;}"
+          text run at (257,45) width 1: " "
+          text run at (0,60) width 219: ".five {border: 10px maroon;}"
+          text run at (218,60) width 1: " "
+          text run at (0,75) width 227: ".six {border: maroon double;}"
+          text run at (226,75) width 1: " "
+          text run at (0,90) width 250: ".seven {border: left red solid;}"
+          text run at (249,90) width 1: " "
+          text run at (0,105) width 164: ".eight {border: 0px;}"
+          text run at (163,105) width 1: " "
+          text run at (0,120) width 227: "TD {border: 2px solid green;}"
+          text run at (226,120) width 1: " "
+      LayoutBlockFlow {P} at (0,200) size 769x36
+        LayoutText {#text} at (0,0) size 765x36
+          text run at (0,0) width 641: "Note that all table cells on this page should have a two-pixel solid green border along all four sides. "
+          text run at (640,0) width 125: "This border applies"
+          text run at (0,18) width 324: "only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,252) size 769x24 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 491x18
+          text run at (3,3) width 491: "This paragraph should have a medium black solid border all the way around."
+      LayoutBlockFlow {P} at (0,292) size 769x20 [border: (1px ridge #800000)]
+        LayoutText {#text} at (1,1) size 488x18
+          text run at (1,1) width 488: "This paragraph should have a thin maroon ridged border all the way around."
+      LayoutBlockFlow {P} at (0,328) size 769x38 [border: (10px outset #008080)]
+        LayoutText {#text} at (10,10) size 528x18
+          text run at (10,10) width 528: "This paragraph should have a ten-pixel-wide teal outset border all the way around."
+      LayoutBlockFlow {P} at (0,382) size 769x38 [border: (10px inset #808000)]
+        LayoutText {#text} at (10,10) size 529x18
+          text run at (10,10) width 529: "This paragraph should have a ten-pixel-wide olive inset border all the way around."
+      LayoutBlockFlow {P} at (0,436) size 769x36
+        LayoutText {#text} at (0,0) size 354x18
+          text run at (0,0) width 354: "This paragraph should have no border around it, as the "
+        LayoutInline {TT} at (0,0) size 94x15
+          LayoutText {#text} at (353,2) size 94x15
+            text run at (353,2) width 94: "border-style"
+        LayoutText {#text} at (446,0) size 740x36
+          text run at (446,0) width 294: " was not set, and it should not be offset in any"
+          text run at (0,18) width 30: "way."
+      LayoutBlockFlow {P} at (0,488) size 769x42 [border: (3px double #800000)]
+        LayoutText {#text} at (3,3) size 543x18
+          text run at (3,3) width 543: "This paragraph should have a medium maroon double border around it, even though "
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (545,5) size 95x15
+            text run at (545,5) width 95: "border-width"
+        LayoutText {#text} at (639,3) size 755x36
+          text run at (639,3) width 119: " was not explicitly"
+          text run at (3,21) width 22: "set."
+      LayoutBlockFlow {P} at (0,546) size 769x18
+        LayoutText {#text} at (0,0) size 633x18
+          text run at (0,0) width 633: "This paragraph should have no border around it, as its declaration is invalid and should be ignored."
+      LayoutBlockFlow {P} at (0,580) size 769x37
+        LayoutInline {A} at (0,0) size 25x18
+          LayoutText {#text} at (0,1) size 25x18
+            text run at (0,1) width 25: "The"
+        LayoutText {#text} at (24,1) size 730x18
+          text run at (24,1) width 730: " following image is also an anchor which points to a target on this page, but it should not have a border around it: "
+        LayoutInline {A} at (0,0) size 16x18 [color=#0000FF]
+          LayoutImage {IMG} at (753.77,0) size 15x15
+        LayoutText {#text} at (0,19) size 4x18
+          text run at (0,19) width 4: "."
+      LayoutTable {TABLE} at (0,633) size 769x113 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x111
+          LayoutTableRow {TR} at (0,5) size 767x42
+            LayoutTableCell {TD} at (5,5) size 757x42 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (3,3) size 728x36
+                text run at (3,3) width 413: "Every cell in this table should have a 2-pixel solid green border. "
+                text run at (415,3) width 316: "This is also true of the table-testing section in the"
+                text run at (3,21) width 179: "second half of the test page."
+          LayoutTableRow {TR} at (0,52) size 767x54
+            LayoutTableCell {TD} at (5,67) size 192x24 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (3,3) size 54x18
+                text run at (3,3) width 54: "Cell one"
+            LayoutTableCell {TD} at (202,52) size 560x54 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (3,3) size 554x18
+                LayoutText {#text} at (0,0) size 55x18
+                  text run at (0,0) width 55: "Cell two"
+              LayoutTable {TABLE} at (3,21) size 168x30 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 166x28
+                  LayoutTableRow {TR} at (0,2) size 166x24
+                    LayoutTableCell {TD} at (2,2) size 162x24 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,3) size 156x18
+                        text run at (3,3) width 156: "Nested single-cell table!"
+      LayoutBlockFlow {P} at (0,762) size 769x18
+        LayoutText {#text} at (0,0) size 180x18
+          text run at (0,0) width 180: "This is an unstyled element."
+      LayoutTable {TABLE} at (0,796) size 769x620 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x618
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (5,5) size 161x18
+                  text run at (5,5) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x590
+            LayoutTableCell {TD} at (0,309) size 14x28 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (5,5) size 4x18
+                text run at (5,5) width 4: " "
+            LayoutTableCell {TD} at (14,28) size 753x590 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (5,5) size 743x36
+                LayoutText {#text} at (0,0) size 715x36
+                  text run at (0,0) width 641: "Note that all table cells on this page should have a two-pixel solid green border along all four sides. "
+                  text run at (640,0) width 75: "This border"
+                  text run at (0,18) width 373: "applies only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (5,57) size 743x24 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 491x18
+                  text run at (3,3) width 491: "This paragraph should have a medium black solid border all the way around."
+              LayoutBlockFlow {P} at (5,97) size 743x20 [border: (1px ridge #800000)]
+                LayoutText {#text} at (1,1) size 488x18
+                  text run at (1,1) width 488: "This paragraph should have a thin maroon ridged border all the way around."
+              LayoutBlockFlow {P} at (5,133) size 743x38 [border: (10px outset #008080)]
+                LayoutText {#text} at (10,10) size 528x18
+                  text run at (10,10) width 528: "This paragraph should have a ten-pixel-wide teal outset border all the way around."
+              LayoutBlockFlow {P} at (5,187) size 743x38 [border: (10px inset #808000)]
+                LayoutText {#text} at (10,10) size 529x18
+                  text run at (10,10) width 529: "This paragraph should have a ten-pixel-wide olive inset border all the way around."
+              LayoutBlockFlow {P} at (5,241) size 743x36
+                LayoutText {#text} at (0,0) size 354x18
+                  text run at (0,0) width 354: "This paragraph should have no border around it, as the "
+                LayoutInline {TT} at (0,0) size 94x15
+                  LayoutText {#text} at (353,2) size 94x15
+                    text run at (353,2) width 94: "border-style"
+                LayoutText {#text} at (446,0) size 740x36
+                  text run at (446,0) width 294: " was not set, and it should not be offset in any"
+                  text run at (0,18) width 30: "way."
+              LayoutBlockFlow {P} at (5,293) size 743x42 [border: (3px double #800000)]
+                LayoutText {#text} at (3,3) size 543x18
+                  text run at (3,3) width 543: "This paragraph should have a medium maroon double border around it, even though "
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (545,5) size 95x15
+                    text run at (545,5) width 95: "border-width"
+                LayoutText {#text} at (639,3) size 690x36
+                  text run at (639,3) width 54: " was not"
+                  text run at (3,21) width 87: "explicitly set."
+              LayoutBlockFlow {P} at (5,351) size 743x18
+                LayoutText {#text} at (0,0) size 633x18
+                  text run at (0,0) width 633: "This paragraph should have no border around it, as its declaration is invalid and should be ignored."
+              LayoutBlockFlow {P} at (5,385) size 743x37
+                LayoutInline {A} at (0,0) size 25x18
+                  LayoutText {#text} at (0,0) size 25x18
+                    text run at (0,0) width 25: "The"
+                LayoutText {#text} at (24,0) size 733x37
+                  text run at (24,0) width 709: " following image is also an anchor which points to a target on this page, but it should not have a border around"
+                  text run at (0,19) width 18: "it: "
+                LayoutInline {A} at (0,0) size 16x18 [color=#0000FF]
+                  LayoutImage {IMG} at (17.33,18) size 15x15
+                LayoutText {#text} at (32,19) size 5x18
+                  text run at (32,19) width 5: "."
+              LayoutTable {TABLE} at (5,438) size 743x113 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 741x111
+                  LayoutTableRow {TR} at (0,5) size 741x42
+                    LayoutTableCell {TD} at (5,5) size 731x42 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (3,3) size 705x36
+                        text run at (3,3) width 413: "Every cell in this table should have a 2-pixel solid green border. "
+                        text run at (415,3) width 293: "This is also true of the table-testing section in"
+                        text run at (3,21) width 203: "the second half of the test page."
+                  LayoutTableRow {TR} at (0,52) size 741x54
+                    LayoutTableCell {TD} at (5,67) size 185x24 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,3) size 54x18
+                        text run at (3,3) width 54: "Cell one"
+                    LayoutTableCell {TD} at (195,52) size 541x54 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (3,3) size 535x18
+                        LayoutText {#text} at (0,0) size 55x18
+                          text run at (0,0) width 55: "Cell two"
+                      LayoutTable {TABLE} at (3,21) size 168x30 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 166x28
+                          LayoutTableRow {TR} at (0,2) size 166x24
+                            LayoutTableCell {TD} at (2,2) size 162x24 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (3,3) size 156x18
+                                text run at (3,3) width 156: "Nested single-cell table!"
+              LayoutBlockFlow {P} at (5,567) size 743x18
+                LayoutText {#text} at (0,0) size 180x18
+                  text run at (0,0) width 180: "This is an unstyled element."
+layer at (8,190) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom-expected.txt
new file mode 100644
index 0000000..0b8adbbf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom-expected.txt
@@ -0,0 +1,164 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 995
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x995 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x995
+    LayoutBlockFlow {BODY} at (8,8) size 769x979 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x60
+        LayoutText {#text} at (0,0) size 336x60
+          text run at (0,0) width 320: ".one {border-bottom: purple double 10px;}"
+          text run at (319,0) width 1: " "
+          text run at (0,15) width 313: ".two {border-bottom: purple thin solid;}"
+          text run at (312,15) width 1: " "
+          text run at (0,30) width 336: ".three {border-bottom: black medium solid;}"
+          text run at (335,30) width 1: " "
+          text run at (0,45) width 281: "TD {border-bottom: green 2px solid;}"
+          text run at (280,45) width 1: " "
+      LayoutBlockFlow {P} at (0,125) size 769x36
+        LayoutText {#text} at (0,0) size 747x36
+          text run at (0,0) width 673: "Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. "
+          text run at (672,0) width 75: "This border"
+          text run at (0,18) width 373: "applies only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,177) size 769x28 [border: none (10px double #800080) none]
+        LayoutText {#text} at (0,0) size 445x18
+          text run at (0,0) width 445: "This paragraph should have a purple, double, 10-pixel bottom border."
+      LayoutBlockFlow {P} at (0,221) size 769x19 [border: none (1px solid #800080) none]
+        LayoutText {#text} at (0,0) size 361x18
+          text run at (0,0) width 361: "This paragraph should have a thin purple bottom border."
+      LayoutTable {TABLE} at (0,256) size 769x110 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x108
+          LayoutTableRow {TR} at (0,5) size 767x41
+            LayoutTableCell {TD} at (5,5) size 757x41 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (2,2) size 738x36
+                text run at (2,2) width 463: "Every cell in this table should have a 2-pixel solid green bottom border. "
+                text run at (464,2) width 276: "This is also true of the table-testing section"
+                text run at (2,20) width 219: "in the second half of the test page."
+          LayoutTableRow {TR} at (0,51) size 767x52
+            LayoutTableCell {TD} at (5,65) size 190x23 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (2,2) size 54x18
+                text run at (2,2) width 54: "Cell one"
+            LayoutTableCell {TD} at (200,51) size 562x52 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (2,2) size 558x18
+                LayoutText {#text} at (0,0) size 55x18
+                  text run at (0,0) width 55: "Cell two"
+              LayoutTable {TABLE} at (2,20) size 166x29 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 164x27
+                  LayoutTableRow {TR} at (0,2) size 164x23
+                    LayoutTableCell {TD} at (2,2) size 160x23 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 156x18
+                        text run at (2,2) width 156: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,382) size 769x135
+        LayoutListItem {LI} at (40,0) size 729x75 [border: none (3px solid #000000) none]
+          LayoutBlockFlow (anonymous) at (0,0) size 729x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 123x18
+              text run at (0,0) width 123: "This is a list item..."
+          LayoutBlockFlow {UL} at (0,18) size 729x54
+            LayoutListItem {LI} at (40,0) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 75x18
+                text run at (0,0) width 75: "...and this..."
+            LayoutListItem {LI} at (40,18) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 118x18
+                text run at (0,0) width 118: "...is a second list..."
+            LayoutListItem {LI} at (40,36) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 182x18
+                text run at (0,0) width 182: "...nested within the list item."
+        LayoutListItem {LI} at (40,75) size 729x21 [border: none (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 163x18
+            text run at (0,0) width 163: "This is a second list item."
+        LayoutListItem {LI} at (40,96) size 729x39 [border: none (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 714x36
+            text run at (0,0) width 714: "Each list item in this list should have a medium-width black border at its bottom, which for the first item means"
+            text run at (0,18) width 135: "that it should appear "
+          LayoutInline {EM} at (0,0) size 51x18
+            LayoutText {#text} at (134,18) size 51x18
+              text run at (134,18) width 51: "beneath"
+          LayoutText {#text} at (184,18) size 401x18
+            text run at (184,18) width 401: " the nested list (below the line \"...nested within the list item.\")."
+      LayoutTable {TABLE} at (0,533) size 769x446 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x444
+          LayoutTableRow {TR} at (0,0) size 767x27
+            LayoutTableCell {TD} at (0,0) size 767x27 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,27) size 767x417
+            LayoutTableCell {TD} at (0,222) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,27) size 755x417 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x36
+                LayoutText {#text} at (0,0) size 747x36
+                  text run at (0,0) width 673: "Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. "
+                  text run at (672,0) width 75: "This border"
+                  text run at (0,18) width 373: "applies only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (4,56) size 747x28 [border: none (10px double #800080) none]
+                LayoutText {#text} at (0,0) size 445x18
+                  text run at (0,0) width 445: "This paragraph should have a purple, double, 10-pixel bottom border."
+              LayoutBlockFlow {P} at (4,100) size 747x19 [border: none (1px solid #800080) none]
+                LayoutText {#text} at (0,0) size 361x18
+                  text run at (0,0) width 361: "This paragraph should have a thin purple bottom border."
+              LayoutTable {TABLE} at (4,135) size 747x110 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 745x108
+                  LayoutTableRow {TR} at (0,5) size 745x41
+                    LayoutTableCell {TD} at (5,5) size 735x41 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (2,2) size 688x36
+                        text run at (2,2) width 463: "Every cell in this table should have a 2-pixel solid green bottom border. "
+                        text run at (464,2) width 226: "This is also true of the table-testing"
+                        text run at (2,20) width 268: "section in the second half of the test page."
+                  LayoutTableRow {TR} at (0,51) size 745x52
+                    LayoutTableCell {TD} at (5,65) size 184x23 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 54x18
+                        text run at (2,2) width 54: "Cell one"
+                    LayoutTableCell {TD} at (194,51) size 546x52 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (2,2) size 542x18
+                        LayoutText {#text} at (0,0) size 55x18
+                          text run at (0,0) width 55: "Cell two"
+                      LayoutTable {TABLE} at (2,20) size 166x29 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 164x27
+                          LayoutTableRow {TR} at (0,2) size 164x23
+                            LayoutTableCell {TD} at (2,2) size 160x23 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (2,2) size 156x18
+                                text run at (2,2) width 156: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (4,261) size 747x135
+                LayoutListItem {LI} at (40,0) size 707x75 [border: none (3px solid #000000) none]
+                  LayoutBlockFlow (anonymous) at (0,0) size 707x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 123x18
+                      text run at (0,0) width 123: "This is a list item..."
+                  LayoutBlockFlow {UL} at (0,18) size 707x54
+                    LayoutListItem {LI} at (40,0) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 75x18
+                        text run at (0,0) width 75: "...and this..."
+                    LayoutListItem {LI} at (40,18) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 118x18
+                        text run at (0,0) width 118: "...is a second list..."
+                    LayoutListItem {LI} at (40,36) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 182x18
+                        text run at (0,0) width 182: "...nested within the list item."
+                LayoutListItem {LI} at (40,75) size 707x21 [border: none (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 163x18
+                    text run at (0,0) width 163: "This is a second list item."
+                LayoutListItem {LI} at (40,96) size 707x39 [border: none (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 669x36
+                    text run at (0,0) width 669: "Each list item in this list should have a medium-width black border at its bottom, which for the first item"
+                    text run at (0,18) width 180: "means that it should appear "
+                  LayoutInline {EM} at (0,0) size 51x18
+                    LayoutText {#text} at (179,18) size 51x18
+                      text run at (179,18) width 51: "beneath"
+                  LayoutText {#text} at (229,18) size 401x18
+                    text run at (229,18) width 401: " the nested list (below the line \"...nested within the list item.\")."
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom_inline-expected.txt
new file mode 100644
index 0000000..130f107
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom_inline-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 320x45
+          text run at (0,0) width 320: ".one {border-bottom: purple double 10px;}"
+          text run at (319,0) width 1: " "
+          text run at (0,15) width 313: ".two {border-bottom: purple thin solid;}"
+          text run at (312,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 680x18
+          text run at (0,0) width 680: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 59x28 [border: none (10px double #800080) none]
+          LayoutText {#text} at (679,0) size 59x18
+            text run at (679,0) width 59: "class one"
+        LayoutText {#text} at (737,0) size 742x36
+          text run at (737,0) width 5: ","
+          text run at (0,18) width 412: "which should have a 10-pixel purple double bottom border; and "
+        LayoutInline {SPAN} at (0,0) size 60x19 [border: none (1px solid #800080) none]
+          LayoutText {#text} at (411,18) size 60x18
+            text run at (411,18) width 60: "class two"
+        LayoutText {#text} at (470,18) size 768x36
+          text run at (470,18) width 298: ", which should have a thin solid purple bottom"
+          text run at (0,36) width 49: "border. "
+          text run at (48,36) width 439: "The line-height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,180) size 784x90 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x88
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x62
+            LayoutTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x54 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 680x18
+                  text run at (0,0) width 680: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 59x28 [border: none (10px double #800080) none]
+                  LayoutText {#text} at (679,0) size 59x18
+                    text run at (679,0) width 59: "class one"
+                LayoutText {#text} at (737,0) size 742x36
+                  text run at (737,0) width 5: ","
+                  text run at (0,18) width 412: "which should have a 10-pixel purple double bottom border; and "
+                LayoutInline {SPAN} at (0,0) size 60x19 [border: none (1px solid #800080) none]
+                  LayoutText {#text} at (411,18) size 60x18
+                    text run at (411,18) width 60: "class two"
+                LayoutText {#text} at (470,18) size 719x36
+                  text run at (470,18) width 249: ", which should have a thin solid purple"
+                  text run at (0,36) width 99: "bottom border. "
+                  text run at (98,36) width 438: "The line-height of the parent element should not change on any line."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom_width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom_width-expected.txt
new file mode 100644
index 0000000..a110fa0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom_width-expected.txt
@@ -0,0 +1,104 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 877
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x877 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x877
+    LayoutBlockFlow {BODY} at (8,8) size 769x861 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 453x90
+          text run at (0,0) width 445: ".zero {background-color: silver; border-bottom-width: 0;}"
+          text run at (444,0) width 1: " "
+          text run at (0,15) width 422: ".one {border-bottom-width: 50px; border-style: solid;}"
+          text run at (421,15) width 1: " "
+          text run at (0,30) width 430: ".two {border-bottom-width: thick; border-style: solid;}"
+          text run at (429,30) width 1: " "
+          text run at (0,45) width 453: ".three {border-bottom-width: medium; border-style: solid;}"
+          text run at (452,45) width 1: " "
+          text run at (0,60) width 430: ".four {border-bottom-width: thin; border-style: solid;}"
+          text run at (429,60) width 1: " "
+          text run at (0,75) width 266: ".five {border-bottom-width: 25px;}"
+          text run at (265,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18
+        LayoutText {#text} at (0,0) size 160x18
+          text run at (0,0) width 160: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (159,2) size 95x15
+            text run at (159,2) width 95: "border-style"
+        LayoutText {#text} at (253,0) size 92x18
+          text run at (253,0) width 92: " is supported.)"
+      LayoutBlockFlow {P} at (0,189) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,223) size 769x71 [border: (3px solid #000000) (50px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 395x18
+          text run at (3,3) width 395: "This element should have a bottom border width of 50 pixels."
+      LayoutBlockFlow {P} at (0,310) size 769x26 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 351x18
+          text run at (3,3) width 351: "This element should have a thick bottom border width."
+      LayoutBlockFlow {P} at (0,352) size 769x24 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 372x18
+          text run at (3,3) width 372: "This element should have a medium bottom border width."
+      LayoutBlockFlow {P} at (0,392) size 769x22 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 344x18
+          text run at (3,3) width 344: "This element should have a thin bottom border width."
+      LayoutBlockFlow {P} at (0,430) size 769x18
+        LayoutText {#text} at (0,0) size 545x18
+          text run at (0,0) width 545: "This element should have no border and no extra \"padding\" on its bottom side, as no "
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (544,2) size 95x15
+            text run at (544,2) width 95: "border-style"
+        LayoutText {#text} at (638,0) size 56x18
+          text run at (638,0) width 56: " was set."
+      LayoutBlockFlow {P} at (0,464) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,498) size 716x363 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 714x361
+          LayoutTableRow {TR} at (0,0) size 714x26
+            LayoutTableCell {TD} at (0,0) size 714x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 714x335
+            LayoutTableCell {TD} at (0,180) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 702x335 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 694x18
+                LayoutText {#text} at (0,0) size 160x18
+                  text run at (0,0) width 160: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (159,2) size 95x15
+                    text run at (159,2) width 95: "border-style"
+                LayoutText {#text} at (253,0) size 92x18
+                  text run at (253,0) width 92: " is supported.)"
+              LayoutBlockFlow {P} at (4,38) size 694x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,72) size 694x71 [border: (3px solid #000000) (50px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 395x18
+                  text run at (3,3) width 395: "This element should have a bottom border width of 50 pixels."
+              LayoutBlockFlow {P} at (4,159) size 694x26 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 351x18
+                  text run at (3,3) width 351: "This element should have a thick bottom border width."
+              LayoutBlockFlow {P} at (4,201) size 694x24 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 372x18
+                  text run at (3,3) width 372: "This element should have a medium bottom border width."
+              LayoutBlockFlow {P} at (4,241) size 694x22 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 344x18
+                  text run at (3,3) width 344: "This element should have a thin bottom border width."
+              LayoutBlockFlow {P} at (4,279) size 694x18
+                LayoutText {#text} at (0,0) size 545x18
+                  text run at (0,0) width 545: "This element should have no border and no extra \"padding\" on its bottom side, as no "
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (544,2) size 95x15
+                    text run at (544,2) width 95: "border-style"
+                LayoutText {#text} at (638,0) size 56x18
+                  text run at (638,0) width 56: " was set."
+              LayoutBlockFlow {P} at (4,313) size 694x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom_width_inline-expected.txt
new file mode 100644
index 0000000..c5a511505
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_bottom_width_inline-expected.txt
@@ -0,0 +1,88 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 422x45
+          text run at (0,0) width 422: ".one {border-bottom-width: 25px; border-style: solid;}"
+          text run at (421,0) width 1: " "
+          text run at (0,15) width 422: ".two {border-bottom-width: thin; border-style: solid;}"
+          text run at (421,15) width 1: " "
+          text run at (0,30) width 274: ".three {border-bottom-width: 25px;}"
+          text run at (273,30) width 1: " "
+      LayoutBlockFlow {P} at (0,110) size 784x100 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 176x18
+          text run at (3,3) width 176: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 25x15
+          LayoutText {#text} at (178,5) size 25x15
+            text run at (178,5) width 25: "one"
+        LayoutText {#text} at (202,3) size 164x18
+          text run at (202,3) width 9: ". "
+          text run at (210,3) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 178x22 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (368,3) size 149x18
+            text run at (368,3) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (516,5) size 24x15
+              text run at (516,5) width 24: "two"
+        LayoutText {#text} at (542,3) size 768x54
+          text run at (542,3) width 226: ", which should result in a thin solid"
+          text run at (3,21) width 731: "border on the bottom side of each box in the inline element (and the UA's default border on the other three sides). "
+          text run at (733,21) width 38: "There"
+          text run at (3,39) width 64: "is also an "
+        LayoutInline {SPAN} at (0,0) size 188x18
+          LayoutText {#text} at (66,39) size 149x18
+            text run at (66,39) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x15
+            LayoutText {#text} at (214,41) size 40x15
+              text run at (214,41) width 40: "three"
+        LayoutText {#text} at (253,39) size 764x36
+          text run at (253,39) width 514: ", which should have no bottom border width or visible border because no border"
+          text run at (3,57) width 85: "style was set."
+      LayoutTable {TABLE} at (0,226) size 784x136 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x134
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x108
+            LayoutTableCell {TD} at (0,67) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x108 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x100 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 176x18
+                  text run at (3,3) width 176: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 25x15
+                  LayoutText {#text} at (178,5) size 25x15
+                    text run at (178,5) width 25: "one"
+                LayoutText {#text} at (202,3) size 164x18
+                  text run at (202,3) width 9: ". "
+                  text run at (210,3) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 178x22 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (368,3) size 149x18
+                    text run at (368,3) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (516,5) size 24x15
+                      text run at (516,5) width 24: "two"
+                LayoutText {#text} at (542,3) size 730x54
+                  text run at (542,3) width 191: ", which should result in a thin"
+                  text run at (3,21) width 716: "solid border on the bottom side of each box in the inline element (and the UA's default border on the other three"
+                  text run at (3,39) width 46: "sides). "
+                  text run at (48,39) width 106: "There is also an "
+                LayoutInline {SPAN} at (0,0) size 187x18
+                  LayoutText {#text} at (153,39) size 148x18
+                    text run at (153,39) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x15
+                    LayoutText {#text} at (300,41) size 40x15
+                      text run at (300,41) width 40: "three"
+                LayoutText {#text} at (339,39) size 730x36
+                  text run at (339,39) width 394: ", which should have no bottom border width or visible border"
+                  text run at (3,57) width 206: "because no border style was set."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_color-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_color-expected.txt
new file mode 100644
index 0000000..21373ea
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_color-expected.txt
@@ -0,0 +1,50 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 710x45
+          text run at (0,0) width 383: ".one {border-color: purple; border-style: solid;}"
+          text run at (382,0) width 1: " "
+          text run at (0,15) width 554: ".two {border-color: purple; border-width: medium; border-style: solid;}"
+          text run at (553,15) width 1: " "
+          text run at (0,30) width 710: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
+          text run at (709,30) width 1: " "
+      LayoutBlockFlow {P} at (0,110) size 784x24 [border: (3px solid #800080)]
+        LayoutText {#text} at (3,3) size 364x18
+          text run at (3,3) width 364: "This element should have a purple border surrounding it."
+      LayoutBlockFlow {P} at (0,150) size 784x24 [border: (3px solid #800080)]
+        LayoutText {#text} at (3,3) size 463x18
+          text run at (3,3) width 463: "This element should have a medium-width purple border surrounding it."
+      LayoutBlockFlow {P} at (0,190) size 784x42 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+        LayoutText {#text} at (3,3) size 776x36
+          text run at (3,3) width 776: "This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on the"
+          text run at (3,21) width 227: "bottom, and yellow on the left side."
+      LayoutTable {TABLE} at (0,248) size 784x158 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x156
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x130
+            LayoutTableCell {TD} at (0,78) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x130 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x24 [border: (3px solid #800080)]
+                LayoutText {#text} at (3,3) size 364x18
+                  text run at (3,3) width 364: "This element should have a purple border surrounding it."
+              LayoutBlockFlow {P} at (4,44) size 762x24 [border: (3px solid #800080)]
+                LayoutText {#text} at (3,3) size 463x18
+                  text run at (3,3) width 463: "This element should have a medium-width purple border surrounding it."
+              LayoutBlockFlow {P} at (4,84) size 762x42 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+                LayoutText {#text} at (3,3) size 753x36
+                  text run at (3,3) width 753: "This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on"
+                  text run at (3,21) width 251: "the bottom, and yellow on the left side."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_color_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_color_inline-expected.txt
new file mode 100644
index 0000000..dd06c68a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_color_inline-expected.txt
@@ -0,0 +1,74 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 710x45
+          text run at (0,0) width 383: ".one {border-color: purple; border-style: solid;}"
+          text run at (382,0) width 1: " "
+          text run at (0,15) width 554: ".two {border-color: purple; border-width: medium; border-style: solid;}"
+          text run at (553,15) width 1: " "
+          text run at (0,30) width 710: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
+          text run at (709,30) width 1: " "
+      LayoutBlockFlow {P} at (0,110) size 784x72 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 691x18
+          text run at (0,0) width 691: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+        LayoutInline {SPAN} at (0,0) size 65x24 [border: (3px solid #800080)]
+          LayoutText {#text} at (693,0) size 59x18
+            text run at (693,0) width 59: "class one"
+        LayoutText {#text} at (754,0) size 5x18
+          text run at (754,0) width 5: ","
+        LayoutInline {SPAN} at (0,0) size 66x24 [border: (3px solid #800080)]
+          LayoutText {#text} at (3,18) size 60x18
+            text run at (3,18) width 60: "class two"
+        LayoutText {#text} at (65,18) size 36x18
+          text run at (65,18) width 36: ", and "
+        LayoutInline {SPAN} at (0,0) size 74x24 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+          LayoutText {#text} at (103,18) size 68x18
+            text run at (103,18) width 68: "class three"
+        LayoutText {#text} at (173,18) size 772x54
+          text run at (173,18) width 9: ". "
+          text run at (181,18) width 585: "The effect for each inline element should be to have a purple medium-width solid border in"
+          text run at (0,36) width 633: "the first and second cases, and a purple-green-blue-yellow medium-width solid border in the third. "
+          text run at (632,36) width 140: "The line-height of the"
+          text run at (0,54) width 334: "parent element should not change at all, on any line."
+      LayoutTable {TABLE} at (0,198) size 784x108 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x106
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x80
+            LayoutTableCell {TD} at (0,53) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x80 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x72 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 691x18
+                  text run at (0,0) width 691: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+                LayoutInline {SPAN} at (0,0) size 65x24 [border: (3px solid #800080)]
+                  LayoutText {#text} at (693,0) size 59x18
+                    text run at (693,0) width 59: "class one"
+                LayoutText {#text} at (754,0) size 5x18
+                  text run at (754,0) width 5: ","
+                LayoutInline {SPAN} at (0,0) size 66x24 [border: (3px solid #800080)]
+                  LayoutText {#text} at (3,18) size 60x18
+                    text run at (3,18) width 60: "class two"
+                LayoutText {#text} at (65,18) size 36x18
+                  text run at (65,18) width 36: ", and "
+                LayoutInline {SPAN} at (0,0) size 74x24 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+                  LayoutText {#text} at (103,18) size 68x18
+                    text run at (103,18) width 68: "class three"
+                LayoutText {#text} at (173,18) size 749x54
+                  text run at (173,18) width 9: ". "
+                  text run at (181,18) width 568: "The effect for each inline element should be to have a purple medium-width solid border"
+                  text run at (0,36) width 650: "in the first and second cases, and a purple-green-blue-yellow medium-width solid border in the third. "
+                  text run at (649,36) width 99: "The line-height"
+                  text run at (0,54) width 375: "of the parent element should not change at all, on any line."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_inline-expected.txt
new file mode 100644
index 0000000..ffab5080
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_inline-expected.txt
@@ -0,0 +1,60 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 250x45
+          text run at (0,0) width 250: ".one {border: 10px teal outset;}"
+          text run at (249,0) width 1: " "
+          text run at (0,15) width 250: ".two {border: 10px olive inset;}"
+          text run at (249,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 691x18
+          text run at (0,0) width 691: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+        LayoutInline {SPAN} at (0,0) size 79x38 [border: (10px outset #008080)]
+          LayoutText {#text} at (700,0) size 59x18
+            text run at (700,0) width 59: "class one"
+        LayoutText {#text} at (768,0) size 773x36
+          text run at (768,0) width 5: ","
+          text run at (0,18) width 361: "which should result in a 10-pixel outset teal border; and "
+        LayoutInline {SPAN} at (0,0) size 80x38 [border: (10px inset #808000)]
+          LayoutText {#text} at (370,18) size 60x18
+            text run at (370,18) width 60: "class two"
+        LayoutText {#text} at (439,18) size 778x36
+          text run at (439,18) width 339: ", which should result in a 10-pixel inset olive border."
+          text run at (0,36) width 438: "The line-height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,180) size 784x90 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x88
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x62
+            LayoutTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x54 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 691x18
+                  text run at (0,0) width 691: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+                LayoutInline {SPAN} at (0,0) size 732x56 [border: (10px outset #008080)]
+                  LayoutText {#text} at (700,0) size 732x36
+                    text run at (700,0) width 32: "class"
+                    text run at (0,18) width 24: "one"
+                LayoutText {#text} at (33,18) size 369x18
+                  text run at (33,18) width 369: ", which should result in a 10-pixel outset teal border; and "
+                LayoutInline {SPAN} at (0,0) size 80x38 [border: (10px inset #808000)]
+                  LayoutText {#text} at (411,18) size 60x18
+                    text run at (411,18) width 60: "class two"
+                LayoutText {#text} at (480,18) size 734x36
+                  text run at (480,18) width 254: ", which should result in a 10-pixel inset"
+                  text run at (0,36) width 85: "olive border. "
+                  text run at (84,36) width 439: "The line-height of the parent element should not change on any line."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left-expected.txt
new file mode 100644
index 0000000..27a2001a1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left-expected.txt
@@ -0,0 +1,163 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1028
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1028 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1028
+    LayoutBlockFlow {BODY} at (8,8) size 769x1012 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (20,0) size 749x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x105
+        LayoutText {#text} at (0,0) size 336x105
+          text run at (0,0) width 172: "P {margin-left: 20px;}"
+          text run at (171,0) width 1: " "
+          text run at (0,15) width 305: ".one {border-left: purple double 10px;}"
+          text run at (304,15) width 1: " "
+          text run at (0,30) width 297: ".two {border-left: purple thin solid;}"
+          text run at (296,30) width 1: " "
+          text run at (0,45) width 328: ".threea {border-left: black medium solid;}"
+          text run at (327,45) width 1: " "
+          text run at (0,60) width 336: ".threeb {border-left: purple medium solid;}"
+          text run at (335,60) width 1: " "
+          text run at (0,75) width 320: ".threec {border-left: blue medium solid;}"
+          text run at (319,75) width 1: " "
+          text run at (0,90) width 266: "TD {border-left: green 2px solid;}"
+          text run at (265,90) width 1: " "
+      LayoutBlockFlow {P} at (20,170) size 749x36
+        LayoutText {#text} at (0,0) size 723x36
+          text run at (0,0) width 649: "Note that all table cells on this page should have a two-pixel solid green border along their left sides. "
+          text run at (648,0) width 75: "This border"
+          text run at (0,18) width 373: "applies only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (20,222) size 749x18 [border: none (10px double #800080)]
+        LayoutText {#text} at (10,0) size 421x18
+          text run at (10,0) width 421: "This paragraph should have a purple, double, 10-pixel left border."
+      LayoutBlockFlow {P} at (20,256) size 749x18 [border: none (1px solid #800080)]
+        LayoutText {#text} at (1,0) size 337x18
+          text run at (1,0) width 337: "This paragraph should have a thin purple left border."
+      LayoutTable {TABLE} at (0,290) size 769x107 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x105
+          LayoutTableRow {TR} at (0,5) size 767x40
+            LayoutTableCell {TD} at (5,5) size 757x40 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (3,2) size 730x36
+                text run at (3,2) width 439: "Every cell in this table should have a 2-pixel solid green left border. "
+                text run at (441,2) width 292: "This is also true of the table-testing section in"
+                text run at (3,20) width 203: "the second half of the test page."
+          LayoutTableRow {TR} at (0,50) size 767x50
+            LayoutTableCell {TD} at (5,64) size 192x22 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (3,2) size 54x18
+                text run at (3,2) width 54: "Cell one"
+            LayoutTableCell {TD} at (202,50) size 560x50 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (3,2) size 555x18
+                LayoutText {#text} at (0,0) size 55x18
+                  text run at (0,0) width 55: "Cell two"
+              LayoutTable {TABLE} at (3,20) size 167x28 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 165x26
+                  LayoutTableRow {TR} at (0,2) size 165x22
+                    LayoutTableCell {TD} at (2,2) size 161x22 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,2) size 156x18
+                        text run at (3,2) width 156: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,413) size 769x144
+        LayoutListItem {LI} at (40,0) size 729x72 [border: none (3px solid #000000)]
+          LayoutBlockFlow (anonymous) at (3,0) size 726x18
+            LayoutListMarker (anonymous) at (-20,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 123x18
+              text run at (0,0) width 123: "This is a list item..."
+          LayoutBlockFlow {UL} at (3,18) size 726x54
+            LayoutListItem {LI} at (40,0) size 686x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 75x18
+                text run at (0,0) width 75: "...and this..."
+            LayoutListItem {LI} at (40,18) size 686x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 118x18
+                text run at (0,0) width 118: "...is a second list..."
+            LayoutListItem {LI} at (40,36) size 686x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 182x18
+                text run at (0,0) width 182: "...nested within the list item."
+        LayoutListItem {LI} at (40,72) size 729x18 [border: none (3px solid #800080)]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (3,0) size 163x18
+            text run at (3,0) width 163: "This is a second list item."
+        LayoutListItem {LI} at (40,90) size 729x54 [border: none (3px solid #0000FF)]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (3,0) size 721x54
+            text run at (3,0) width 709: "Each list item in this 'parent' list should have a medium-width border along its left side, in each of three colors."
+            text run at (3,18) width 721: "The first item's border should travel the entire height the nested list (to end near the baseline of the line \"...nested"
+            text run at (3,36) width 546: "within the list item.\"), even though the nested list does not have any border styles set."
+      LayoutTable {TABLE} at (0,573) size 769x439 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x437
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (5,4) size 161x18
+                  text run at (5,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x411
+            LayoutTableCell {TD} at (0,218) size 13x26 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (5,4) size 4x18
+                text run at (5,4) width 4: " "
+            LayoutTableCell {TD} at (13,26) size 754x411 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (25,4) size 725x36
+                LayoutText {#text} at (0,0) size 723x36
+                  text run at (0,0) width 649: "Note that all table cells on this page should have a two-pixel solid green border along their left sides. "
+                  text run at (648,0) width 75: "This border"
+                  text run at (0,18) width 373: "applies only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (25,56) size 725x18 [border: none (10px double #800080)]
+                LayoutText {#text} at (10,0) size 421x18
+                  text run at (10,0) width 421: "This paragraph should have a purple, double, 10-pixel left border."
+              LayoutBlockFlow {P} at (25,90) size 725x18 [border: none (1px solid #800080)]
+                LayoutText {#text} at (1,0) size 337x18
+                  text run at (1,0) width 337: "This paragraph should have a thin purple left border."
+              LayoutTable {TABLE} at (5,124) size 745x107 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 743x105
+                  LayoutTableRow {TR} at (0,5) size 743x40
+                    LayoutTableCell {TD} at (5,5) size 733x40 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (3,2) size 714x36
+                        text run at (3,2) width 439: "Every cell in this table should have a 2-pixel solid green left border. "
+                        text run at (441,2) width 276: "This is also true of the table-testing section"
+                        text run at (3,20) width 219: "in the second half of the test page."
+                  LayoutTableRow {TR} at (0,50) size 743x50
+                    LayoutTableCell {TD} at (5,64) size 185x22 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,2) size 54x18
+                        text run at (3,2) width 54: "Cell one"
+                    LayoutTableCell {TD} at (195,50) size 543x50 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (3,2) size 538x18
+                        LayoutText {#text} at (0,0) size 55x18
+                          text run at (0,0) width 55: "Cell two"
+                      LayoutTable {TABLE} at (3,20) size 167x28 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 165x26
+                          LayoutTableRow {TR} at (0,2) size 165x22
+                            LayoutTableCell {TD} at (2,2) size 161x22 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (3,2) size 156x18
+                                text run at (3,2) width 156: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (5,247) size 745x144
+                LayoutListItem {LI} at (40,0) size 705x72 [border: none (3px solid #000000)]
+                  LayoutBlockFlow (anonymous) at (3,0) size 702x18
+                    LayoutListMarker (anonymous) at (-20,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 123x18
+                      text run at (0,0) width 123: "This is a list item..."
+                  LayoutBlockFlow {UL} at (3,18) size 702x54
+                    LayoutListItem {LI} at (40,0) size 662x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 75x18
+                        text run at (0,0) width 75: "...and this..."
+                    LayoutListItem {LI} at (40,18) size 662x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 118x18
+                        text run at (0,0) width 118: "...is a second list..."
+                    LayoutListItem {LI} at (40,36) size 662x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 182x18
+                        text run at (0,0) width 182: "...nested within the list item."
+                LayoutListItem {LI} at (40,72) size 705x18 [border: none (3px solid #800080)]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (3,0) size 163x18
+                    text run at (3,0) width 163: "This is a second list item."
+                LayoutListItem {LI} at (40,90) size 705x54 [border: none (3px solid #0000FF)]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (3,0) size 677x54
+                    text run at (3,0) width 662: "Each list item in this 'parent' list should have a medium-width border along its left side, in each of three"
+                    text run at (3,18) width 48: "colors. "
+                    text run at (50,18) width 630: "The first item's border should travel the entire height the nested list (to end near the baseline of the"
+                    text run at (3,36) width 638: "line \"...nested within the list item.\"), even though the nested list does not have any border styles set."
+layer at (8,160) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left_inline-expected.txt
new file mode 100644
index 0000000..f0df8f6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left_inline-expected.txt
@@ -0,0 +1,63 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (20,0) size 764x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x60
+        LayoutText {#text} at (0,0) size 305x60
+          text run at (0,0) width 172: "P {margin-left: 20px;}"
+          text run at (171,0) width 1: " "
+          text run at (0,15) width 305: ".one {border-left: purple double 10px;}"
+          text run at (304,15) width 1: " "
+          text run at (0,30) width 297: ".two {border-left: purple thin solid;}"
+          text run at (296,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (20,125) size 764x54 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 760x36
+          text run at (0,0) width 760: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with classes"
+          text run at (0,18) width 18: "of "
+        LayoutInline {SPAN} at (0,0) size 69x18 [border: none (10px double #800080)]
+          LayoutText {#text} at (27,18) size 59x18
+            text run at (27,18) width 59: "class one"
+        LayoutText {#text} at (85,18) size 396x18
+          text run at (85,18) width 396: ", which should have a 10-pixel purple double left border; and "
+        LayoutInline {SPAN} at (0,0) size 62x18 [border: none (1px solid #800080)]
+          LayoutText {#text} at (481,18) size 61x18
+            text run at (481,18) width 61: "class two"
+        LayoutText {#text} at (541,18) size 745x36
+          text run at (541,18) width 204: ", which should have a thin solid"
+          text run at (0,36) width 120: "purple left border. "
+          text run at (119,36) width 438: "The line-height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,195) size 784x90 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x88
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x62
+            LayoutTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (24,4) size 742x54 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 712x36
+                  text run at (0,0) width 712: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with"
+                  text run at (0,18) width 66: "classes of "
+                LayoutInline {SPAN} at (0,0) size 69x18 [border: none (10px double #800080)]
+                  LayoutText {#text} at (75,18) size 59x18
+                    text run at (75,18) width 59: "class one"
+                LayoutText {#text} at (133,18) size 397x18
+                  text run at (133,18) width 397: ", which should have a 10-pixel purple double left border; and "
+                LayoutInline {SPAN} at (0,0) size 61x18 [border: none (1px solid #800080)]
+                  LayoutText {#text} at (530,18) size 60x18
+                    text run at (530,18) width 60: "class two"
+                LayoutText {#text} at (589,18) size 729x36
+                  text run at (589,18) width 140: ", which should have a"
+                  text run at (0,36) width 184: "thin solid purple left border. "
+                  text run at (183,36) width 438: "The line-height of the parent element should not change on any line."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left_width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left_width-expected.txt
new file mode 100644
index 0000000..f01a391
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left_width-expected.txt
@@ -0,0 +1,106 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 859
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x859 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x859
+    LayoutBlockFlow {BODY} at (8,8) size 769x843 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 437x90
+          text run at (0,0) width 430: ".zero {background-color: silver; border-left-width: 0;}"
+          text run at (429,0) width 1: " "
+          text run at (0,15) width 406: ".one {border-left-width: 50px; border-style: solid;}"
+          text run at (405,15) width 1: " "
+          text run at (0,30) width 414: ".two {border-left-width: thick; border-style: solid;}"
+          text run at (413,30) width 1: " "
+          text run at (0,45) width 437: ".three {border-left-width: medium; border-style: solid;}"
+          text run at (436,45) width 1: " "
+          text run at (0,60) width 414: ".four {border-left-width: thin; border-style: solid;}"
+          text run at (413,60) width 1: " "
+          text run at (0,75) width 250: ".five {border-left-width: 25px;}"
+          text run at (249,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18
+        LayoutText {#text} at (0,0) size 160x18
+          text run at (0,0) width 160: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (159,2) size 95x15
+            text run at (159,2) width 95: "border-style"
+        LayoutText {#text} at (253,0) size 92x18
+          text run at (253,0) width 92: " is supported.)"
+      LayoutBlockFlow {P} at (0,189) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,223) size 769x42 [border: (3px solid #000000) (50px solid #000000)]
+        LayoutText {#text} at (50,3) size 697x36
+          text run at (50,3) width 697: "This element should have a left border width of 50 pixels, which will be more obvious if the element is more"
+          text run at (50,21) width 120: "than one line long."
+      LayoutBlockFlow {P} at (0,281) size 769x42 [border: (3px solid #000000) (5px solid #000000)]
+        LayoutText {#text} at (5,3) size 740x36
+          text run at (5,3) width 740: "This element should have a thick left border width, which will be more obvious if the element is more than one line"
+          text run at (5,21) width 33: "long."
+      LayoutBlockFlow {P} at (0,339) size 769x42 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 760x36
+          text run at (3,3) width 760: "This element should have a medium left border width, which will be more obvious if the element is more than one line"
+          text run at (3,21) width 33: "long."
+      LayoutBlockFlow {P} at (0,397) size 769x42 [border: (3px solid #000000) (1px solid #000000)]
+        LayoutText {#text} at (1,3) size 733x36
+          text run at (1,3) width 733: "This element should have a thin left border width, which will be more obvious if the element is more than one line"
+          text run at (1,21) width 33: "long."
+      LayoutBlockFlow {P} at (0,455) size 769x18
+        LayoutText {#text} at (0,0) size 521x18
+          text run at (0,0) width 521: "This element should have no border and no extra \"padding\" on its left side, as no "
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (520,2) size 95x15
+            text run at (520,2) width 95: "border-style"
+        LayoutText {#text} at (614,0) size 56x18
+          text run at (614,0) width 56: " was set."
+      LayoutTable {TABLE} at (0,489) size 769x354 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x352
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x326
+            LayoutTableCell {TD} at (0,176) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x326 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18
+                LayoutText {#text} at (0,0) size 160x18
+                  text run at (0,0) width 160: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (159,2) size 95x15
+                    text run at (159,2) width 95: "border-style"
+                LayoutText {#text} at (253,0) size 92x18
+                  text run at (253,0) width 92: " is supported.)"
+              LayoutBlockFlow {P} at (4,38) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,72) size 747x42 [border: (3px solid #000000) (50px solid #000000)]
+                LayoutText {#text} at (50,3) size 660x36
+                  text run at (50,3) width 660: "This element should have a left border width of 50 pixels, which will be more obvious if the element is"
+                  text run at (50,21) width 156: "more than one line long."
+              LayoutBlockFlow {P} at (4,130) size 747x42 [border: (3px solid #000000) (5px solid #000000)]
+                LayoutText {#text} at (5,3) size 712x36
+                  text run at (5,3) width 712: "This element should have a thick left border width, which will be more obvious if the element is more than one"
+                  text run at (5,21) width 61: "line long."
+              LayoutBlockFlow {P} at (4,188) size 747x42 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 732x36
+                  text run at (3,3) width 732: "This element should have a medium left border width, which will be more obvious if the element is more than one"
+                  text run at (3,21) width 61: "line long."
+              LayoutBlockFlow {P} at (4,246) size 747x42 [border: (3px solid #000000) (1px solid #000000)]
+                LayoutText {#text} at (1,3) size 733x36
+                  text run at (1,3) width 733: "This element should have a thin left border width, which will be more obvious if the element is more than one line"
+                  text run at (1,21) width 33: "long."
+              LayoutBlockFlow {P} at (4,304) size 747x18
+                LayoutText {#text} at (0,0) size 521x18
+                  text run at (0,0) width 521: "This element should have no border and no extra \"padding\" on its left side, as no "
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (520,2) size 95x15
+                    text run at (520,2) width 95: "border-style"
+                LayoutText {#text} at (614,0) size 56x18
+                  text run at (614,0) width 56: " was set."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left_width_inline-expected.txt
new file mode 100644
index 0000000..ee06bc9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_left_width_inline-expected.txt
@@ -0,0 +1,98 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 406x45
+          text run at (0,0) width 406: ".one {border-left-width: 25px; border-style: solid;}"
+          text run at (405,0) width 1: " "
+          text run at (0,15) width 406: ".two {border-left-width: thin; border-style: solid;}"
+          text run at (405,15) width 1: " "
+          text run at (0,30) width 258: ".three {border-left-width: 25px;}"
+          text run at (257,30) width 1: " "
+      LayoutBlockFlow {P} at (0,110) size 784x78 [border: (3px solid #000000) (25px solid #000000)]
+        LayoutText {#text} at (25,3) size 176x18
+          text run at (25,3) width 176: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 25x15
+          LayoutText {#text} at (200,5) size 25x15
+            text run at (200,5) width 25: "one"
+        LayoutText {#text} at (224,3) size 164x18
+          text run at (224,3) width 9: ". "
+          text run at (232,3) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 176x24 [border: (3px solid #000000) (1px solid #000000)]
+          LayoutText {#text} at (388,3) size 149x18
+            text run at (388,3) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (536,5) size 24x15
+              text run at (536,5) width 24: "two"
+        LayoutText {#text} at (562,3) size 728x36
+          text run at (562,3) width 191: ", which should result in a thin"
+          text run at (25,21) width 221: "solid border on the left side of the "
+        LayoutInline {STRONG} at (0,0) size 28x18
+          LayoutText {#text} at (245,21) size 28x18
+            text run at (245,21) width 28: "first"
+        LayoutText {#text} at (272,21) size 714x36
+          text run at (272,21) width 467: " box in the inline element (and the UA's default border on the other three"
+          text run at (25,39) width 46: "sides). "
+          text run at (70,39) width 106: "There is also an "
+        LayoutInline {SPAN} at (0,0) size 187x18
+          LayoutText {#text} at (175,39) size 148x18
+            text run at (175,39) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x15
+            LayoutText {#text} at (322,41) size 40x15
+              text run at (322,41) width 40: "three"
+        LayoutText {#text} at (361,39) size 706x36
+          text run at (361,39) width 370: ", which should have no left border width or visible border"
+          text run at (25,57) width 206: "because no border style was set."
+      LayoutTable {TABLE} at (0,204) size 784x114 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x112
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x86
+            LayoutTableCell {TD} at (0,56) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x86 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x78 [border: (3px solid #000000) (25px solid #000000)]
+                LayoutText {#text} at (25,3) size 176x18
+                  text run at (25,3) width 176: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 25x15
+                  LayoutText {#text} at (200,5) size 25x15
+                    text run at (200,5) width 25: "one"
+                LayoutText {#text} at (224,3) size 164x18
+                  text run at (224,3) width 9: ". "
+                  text run at (232,3) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 176x24 [border: (3px solid #000000) (1px solid #000000)]
+                  LayoutText {#text} at (388,3) size 149x18
+                    text run at (388,3) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (536,5) size 24x15
+                      text run at (536,5) width 24: "two"
+                LayoutText {#text} at (562,3) size 728x36
+                  text run at (562,3) width 191: ", which should result in a thin"
+                  text run at (25,21) width 221: "solid border on the left side of the "
+                LayoutInline {STRONG} at (0,0) size 28x18
+                  LayoutText {#text} at (245,21) size 28x18
+                    text run at (245,21) width 28: "first"
+                LayoutText {#text} at (272,21) size 714x36
+                  text run at (272,21) width 467: " box in the inline element (and the UA's default border on the other three"
+                  text run at (25,39) width 46: "sides). "
+                  text run at (70,39) width 106: "There is also an "
+                LayoutInline {SPAN} at (0,0) size 187x18
+                  LayoutText {#text} at (175,39) size 148x18
+                    text run at (175,39) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x15
+                    LayoutText {#text} at (322,41) size 40x15
+                      text run at (322,41) width 40: "three"
+                LayoutText {#text} at (361,39) size 706x36
+                  text run at (361,39) width 370: ", which should have no left border width or visible border"
+                  text run at (25,57) width 206: "because no border style was set."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right-expected.txt
new file mode 100644
index 0000000..fa0bc7a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right-expected.txt
@@ -0,0 +1,63 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 764x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x60
+        LayoutText {#text} at (0,0) size 313x60
+          text run at (0,0) width 180: "P {margin-right: 20px;}"
+          text run at (179,0) width 1: " "
+          text run at (0,15) width 313: ".one {border-right: purple double 10px;}"
+          text run at (312,15) width 1: " "
+          text run at (0,30) width 305: ".two {border-right: purple thin solid;}"
+          text run at (304,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 764x54 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 720x36
+          text run at (0,0) width 720: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with"
+          text run at (0,18) width 66: "classes of "
+        LayoutInline {SPAN} at (0,0) size 69x18 [border: none (10px double #800080) none]
+          LayoutText {#text} at (65,18) size 59x18
+            text run at (65,18) width 59: "class one"
+        LayoutText {#text} at (133,18) size 406x18
+          text run at (133,18) width 406: ", which should have a 10-pixel purple double right border; and "
+        LayoutInline {SPAN} at (0,0) size 61x18 [border: none (1px solid #800080) none]
+          LayoutText {#text} at (538,18) size 60x18
+            text run at (538,18) width 60: "class two"
+        LayoutText {#text} at (598,18) size 738x36
+          text run at (598,18) width 140: ", which should have a"
+          text run at (0,36) width 192: "thin solid purple right border. "
+          text run at (191,36) width 439: "The line-height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,195) size 784x90 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x88
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x62
+            LayoutTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 742x54 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 720x36
+                  text run at (0,0) width 720: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with"
+                  text run at (0,18) width 66: "classes of "
+                LayoutInline {SPAN} at (0,0) size 69x18 [border: none (10px double #800080) none]
+                  LayoutText {#text} at (65,18) size 59x18
+                    text run at (65,18) width 59: "class one"
+                LayoutText {#text} at (133,18) size 406x18
+                  text run at (133,18) width 406: ", which should have a 10-pixel purple double right border; and "
+                LayoutInline {SPAN} at (0,0) size 61x18 [border: none (1px solid #800080) none]
+                  LayoutText {#text} at (538,18) size 60x18
+                    text run at (538,18) width 60: "class two"
+                LayoutText {#text} at (598,18) size 738x36
+                  text run at (598,18) width 140: ", which should have a"
+                  text run at (0,36) width 192: "thin solid purple right border. "
+                  text run at (191,36) width 439: "The line-height of the parent element should not change on any line."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right_inline-expected.txt
new file mode 100644
index 0000000..2ab1b41a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right_inline-expected.txt
@@ -0,0 +1,168 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1082
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1082 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1082
+    LayoutBlockFlow {BODY} at (8,8) size 769x1066 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 749x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x105
+        LayoutText {#text} at (0,0) size 344x105
+          text run at (0,0) width 180: "P {margin-right: 20px;}"
+          text run at (179,0) width 1: " "
+          text run at (0,15) width 313: ".one {border-right: purple double 10px;}"
+          text run at (312,15) width 1: " "
+          text run at (0,30) width 305: ".two {border-right: purple thin solid;}"
+          text run at (304,30) width 1: " "
+          text run at (0,45) width 336: ".threea {border-right: black medium solid;}"
+          text run at (335,45) width 1: " "
+          text run at (0,60) width 344: ".threeb {border-right: purple medium solid;}"
+          text run at (343,60) width 1: " "
+          text run at (0,75) width 328: ".threec {border-right: blue medium solid;}"
+          text run at (327,75) width 1: " "
+          text run at (0,90) width 274: "TD {border-right: green 2px solid;}"
+          text run at (273,90) width 1: " "
+      LayoutBlockFlow {P} at (0,170) size 749x36
+        LayoutText {#text} at (0,0) size 732x36
+          text run at (0,0) width 658: "Note that all table cells on this page should have a two-pixel solid green border along their right sides. "
+          text run at (657,0) width 75: "This border"
+          text run at (0,18) width 373: "applies only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,222) size 749x18 [border: none (10px double #800080) none]
+        LayoutText {#text} at (0,0) size 430x18
+          text run at (0,0) width 430: "This paragraph should have a purple, double, 10-pixel right border."
+      LayoutBlockFlow {P} at (0,256) size 749x18 [border: none (1px solid #800080) none]
+        LayoutText {#text} at (0,0) size 346x18
+          text run at (0,0) width 346: "This paragraph should have a thin purple right border."
+      LayoutTable {TABLE} at (0,290) size 769x107 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x105
+          LayoutTableRow {TR} at (0,5) size 767x40
+            LayoutTableCell {TD} at (5,5) size 757x40 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (2,2) size 739x36
+                text run at (2,2) width 447: "Every cell in this table should have a 2-pixel solid green right border. "
+                text run at (449,2) width 292: "This is also true of the table-testing section in"
+                text run at (2,20) width 203: "the second half of the test page."
+          LayoutTableRow {TR} at (0,50) size 767x50
+            LayoutTableCell {TD} at (5,64) size 191x22 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (2,2) size 54x18
+                text run at (2,2) width 54: "Cell one"
+            LayoutTableCell {TD} at (201,50) size 561x50 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (2,2) size 556x18
+                LayoutText {#text} at (0,0) size 55x18
+                  text run at (0,0) width 55: "Cell two"
+              LayoutTable {TABLE} at (2,20) size 167x28 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 165x26
+                  LayoutTableRow {TR} at (0,2) size 165x22
+                    LayoutTableCell {TD} at (2,2) size 161x22 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 156x18
+                        text run at (2,2) width 156: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,413) size 769x162
+        LayoutListItem {LI} at (40,0) size 729x72 [border: none (3px solid #000000) none]
+          LayoutBlockFlow (anonymous) at (0,0) size 726x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 123x18
+              text run at (0,0) width 123: "This is a list item..."
+          LayoutBlockFlow {UL} at (0,18) size 726x54
+            LayoutListItem {LI} at (40,0) size 686x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 75x18
+                text run at (0,0) width 75: "...and this..."
+            LayoutListItem {LI} at (40,18) size 686x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 118x18
+                text run at (0,0) width 118: "...is a second list..."
+            LayoutListItem {LI} at (40,36) size 686x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 182x18
+                text run at (0,0) width 182: "...nested within the list item."
+        LayoutListItem {LI} at (40,72) size 729x18 [border: none (3px solid #800080) none]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 163x18
+            text run at (0,0) width 163: "This is a second list item."
+        LayoutListItem {LI} at (40,90) size 729x72 [border: none (3px solid #0000FF) none]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 722x72
+            text run at (0,0) width 718: "Each list item in this 'parent' list should have a medium-width border along its right side, in each of three colors."
+            text run at (0,18) width 721: "The first item's border should travel the entire height the nested list (to end near the baseline of the line \"...nested"
+            text run at (0,36) width 550: "within the list item.\"), even though the nested list does not have any border styles set. "
+            text run at (549,36) width 173: "The borders should line up"
+            text run at (0,54) width 633: "together at the right edge of the document's body, as each list element has a default width of 100%."
+      LayoutTable {TABLE} at (0,591) size 769x475 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x473
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x447
+            LayoutTableCell {TD} at (0,236) size 13x26 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (13,26) size 754x447 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 725x36
+                LayoutText {#text} at (0,0) size 687x36
+                  text run at (0,0) width 658: "Note that all table cells on this page should have a two-pixel solid green border along their right sides. "
+                  text run at (657,0) width 30: "This"
+                  text run at (0,18) width 419: "border applies only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (4,56) size 725x18 [border: none (10px double #800080) none]
+                LayoutText {#text} at (0,0) size 430x18
+                  text run at (0,0) width 430: "This paragraph should have a purple, double, 10-pixel right border."
+              LayoutBlockFlow {P} at (4,90) size 725x18 [border: none (1px solid #800080) none]
+                LayoutText {#text} at (0,0) size 346x18
+                  text run at (0,0) width 346: "This paragraph should have a thin purple right border."
+              LayoutTable {TABLE} at (4,124) size 745x107 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 743x105
+                  LayoutTableRow {TR} at (0,5) size 743x40
+                    LayoutTableCell {TD} at (5,5) size 733x40 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (2,2) size 723x36
+                        text run at (2,2) width 447: "Every cell in this table should have a 2-pixel solid green right border. "
+                        text run at (449,2) width 276: "This is also true of the table-testing section"
+                        text run at (2,20) width 219: "in the second half of the test page."
+                  LayoutTableRow {TR} at (0,50) size 743x50
+                    LayoutTableCell {TD} at (5,64) size 185x22 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 54x18
+                        text run at (2,2) width 54: "Cell one"
+                    LayoutTableCell {TD} at (195,50) size 543x50 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (2,2) size 538x18
+                        LayoutText {#text} at (0,0) size 55x18
+                          text run at (0,0) width 55: "Cell two"
+                      LayoutTable {TABLE} at (2,20) size 167x28 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 165x26
+                          LayoutTableRow {TR} at (0,2) size 165x22
+                            LayoutTableCell {TD} at (2,2) size 161x22 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (2,2) size 156x18
+                                text run at (2,2) width 156: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (4,247) size 745x180
+                LayoutListItem {LI} at (40,0) size 705x72 [border: none (3px solid #000000) none]
+                  LayoutBlockFlow (anonymous) at (0,0) size 702x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 123x18
+                      text run at (0,0) width 123: "This is a list item..."
+                  LayoutBlockFlow {UL} at (0,18) size 702x54
+                    LayoutListItem {LI} at (40,0) size 662x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 75x18
+                        text run at (0,0) width 75: "...and this..."
+                    LayoutListItem {LI} at (40,18) size 662x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 118x18
+                        text run at (0,0) width 118: "...is a second list..."
+                    LayoutListItem {LI} at (40,36) size 662x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 182x18
+                        text run at (0,0) width 182: "...nested within the list item."
+                LayoutListItem {LI} at (40,72) size 705x18 [border: none (3px solid #800080) none]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 163x18
+                    text run at (0,0) width 163: "This is a second list item."
+                LayoutListItem {LI} at (40,90) size 705x90 [border: none (3px solid #0000FF) none]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 677x90
+                    text run at (0,0) width 671: "Each list item in this 'parent' list should have a medium-width border along its right side, in each of three"
+                    text run at (0,18) width 48: "colors. "
+                    text run at (47,18) width 630: "The first item's border should travel the entire height the nested list (to end near the baseline of the"
+                    text run at (0,36) width 642: "line \"...nested within the list item.\"), even though the nested list does not have any border styles set. "
+                    text run at (641,36) width 26: "The"
+                    text run at (0,54) width 677: "borders should line up together at the right edge of the document's body, as each list element has a default"
+                    text run at (0,72) width 100: "width of 100%."
+layer at (8,160) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right_width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right_width-expected.txt
new file mode 100644
index 0000000..9bd7aac
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right_width-expected.txt
@@ -0,0 +1,106 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 859
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x859 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x859
+    LayoutBlockFlow {BODY} at (8,8) size 769x843 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 445x90
+          text run at (0,0) width 437: ".zero {background-color: silver; border-right-width: 0;}"
+          text run at (436,0) width 1: " "
+          text run at (0,15) width 414: ".one {border-right-width: 25px; border-style: solid;}"
+          text run at (413,15) width 1: " "
+          text run at (0,30) width 422: ".two {border-right-width: thick; border-style: solid;}"
+          text run at (421,30) width 1: " "
+          text run at (0,45) width 445: ".three {border-right-width: medium; border-style: solid;}"
+          text run at (444,45) width 1: " "
+          text run at (0,60) width 422: ".four {border-right-width: thin; border-style: solid;}"
+          text run at (421,60) width 1: " "
+          text run at (0,75) width 266: ".five {border-right-width: 100px;}"
+          text run at (265,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18
+        LayoutText {#text} at (0,0) size 160x18
+          text run at (0,0) width 160: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (159,2) size 95x15
+            text run at (159,2) width 95: "border-style"
+        LayoutText {#text} at (253,0) size 92x18
+          text run at (253,0) width 92: " is supported.)"
+      LayoutBlockFlow {P} at (0,189) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,223) size 769x42 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 737x36
+          text run at (3,3) width 737: "This element should have a right border width of 25 pixels, which will be more obvious if the element is more than"
+          text run at (3,21) width 88: "one line long."
+      LayoutBlockFlow {P} at (0,281) size 769x42 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 749x36
+          text run at (3,3) width 749: "This element should have a thick right border width, which will be more obvious if the element is more than one line"
+          text run at (3,21) width 33: "long."
+      LayoutBlockFlow {P} at (0,339) size 769x42 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 741x36
+          text run at (3,3) width 741: "This element should have a medium right border width, which will be more obvious if the element is more than one"
+          text run at (3,21) width 61: "line long."
+      LayoutBlockFlow {P} at (0,397) size 769x42 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 742x36
+          text run at (3,3) width 742: "This element should have a thin right border width, which will be more obvious if the element is more than one line"
+          text run at (3,21) width 33: "long."
+      LayoutBlockFlow {P} at (0,455) size 769x18
+        LayoutText {#text} at (0,0) size 530x18
+          text run at (0,0) width 530: "This element should have no border and no extra \"padding\" on its right side, as no "
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (529,2) size 95x15
+            text run at (529,2) width 95: "border-style"
+        LayoutText {#text} at (623,0) size 56x18
+          text run at (623,0) width 56: " was set."
+      LayoutTable {TABLE} at (0,489) size 769x354 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x352
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x326
+            LayoutTableCell {TD} at (0,176) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x326 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18
+                LayoutText {#text} at (0,0) size 160x18
+                  text run at (0,0) width 160: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (159,2) size 95x15
+                    text run at (159,2) width 95: "border-style"
+                LayoutText {#text} at (253,0) size 92x18
+                  text run at (253,0) width 92: " is supported.)"
+              LayoutBlockFlow {P} at (4,38) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,72) size 747x42 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 706x36
+                  text run at (3,3) width 706: "This element should have a right border width of 25 pixels, which will be more obvious if the element is more"
+                  text run at (3,21) width 120: "than one line long."
+              LayoutBlockFlow {P} at (4,130) size 747x42 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 721x36
+                  text run at (3,3) width 721: "This element should have a thick right border width, which will be more obvious if the element is more than one"
+                  text run at (3,21) width 61: "line long."
+              LayoutBlockFlow {P} at (4,188) size 747x42 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 741x36
+                  text run at (3,3) width 741: "This element should have a medium right border width, which will be more obvious if the element is more than one"
+                  text run at (3,21) width 61: "line long."
+              LayoutBlockFlow {P} at (4,246) size 747x42 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 742x36
+                  text run at (3,3) width 742: "This element should have a thin right border width, which will be more obvious if the element is more than one line"
+                  text run at (3,21) width 33: "long."
+              LayoutBlockFlow {P} at (4,304) size 747x18
+                LayoutText {#text} at (0,0) size 530x18
+                  text run at (0,0) width 530: "This element should have no border and no extra \"padding\" on its right side, as no "
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (529,2) size 95x15
+                    text run at (529,2) width 95: "border-style"
+                LayoutText {#text} at (623,0) size 56x18
+                  text run at (623,0) width 56: " was set."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right_width_inline-expected.txt
new file mode 100644
index 0000000..8457a89
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_right_width_inline-expected.txt
@@ -0,0 +1,98 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 414x45
+          text run at (0,0) width 414: ".one {border-right-width: 25px; border-style: solid;}"
+          text run at (413,0) width 1: " "
+          text run at (0,15) width 414: ".two {border-right-width: thin; border-style: solid;}"
+          text run at (413,15) width 1: " "
+          text run at (0,30) width 266: ".three {border-right-width: 25px;}"
+          text run at (265,30) width 1: " "
+      LayoutBlockFlow {P} at (0,110) size 784x78 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 176x18
+          text run at (3,3) width 176: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 25x15
+          LayoutText {#text} at (178,5) size 25x15
+            text run at (178,5) width 25: "one"
+        LayoutText {#text} at (202,3) size 164x18
+          text run at (202,3) width 9: ". "
+          text run at (210,3) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 176x24 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (368,3) size 149x18
+            text run at (368,3) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (516,5) size 24x15
+              text run at (516,5) width 24: "two"
+        LayoutText {#text} at (540,3) size 728x36
+          text run at (540,3) width 191: ", which should result in a thin"
+          text run at (3,21) width 230: "solid border on the right side of the "
+        LayoutInline {STRONG} at (0,0) size 25x18
+          LayoutText {#text} at (232,21) size 25x18
+            text run at (232,21) width 25: "last"
+        LayoutText {#text} at (256,21) size 720x36
+          text run at (256,21) width 467: " box of the inline element (and the UA's default border on the other three"
+          text run at (3,39) width 46: "sides). "
+          text run at (48,39) width 106: "There is also an "
+        LayoutInline {SPAN} at (0,0) size 187x18
+          LayoutText {#text} at (153,39) size 148x18
+            text run at (153,39) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x15
+            LayoutText {#text} at (300,41) size 40x15
+              text run at (300,41) width 40: "three"
+        LayoutText {#text} at (339,39) size 715x36
+          text run at (339,39) width 379: ", which should have no right border width or visible border"
+          text run at (3,57) width 206: "because no border style was set."
+      LayoutTable {TABLE} at (0,204) size 784x114 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x112
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x86
+            LayoutTableCell {TD} at (0,56) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x86 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x78 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 176x18
+                  text run at (3,3) width 176: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 25x15
+                  LayoutText {#text} at (178,5) size 25x15
+                    text run at (178,5) width 25: "one"
+                LayoutText {#text} at (202,3) size 164x18
+                  text run at (202,3) width 9: ". "
+                  text run at (210,3) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 176x24 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (368,3) size 149x18
+                    text run at (368,3) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (516,5) size 24x15
+                      text run at (516,5) width 24: "two"
+                LayoutText {#text} at (540,3) size 728x36
+                  text run at (540,3) width 191: ", which should result in a thin"
+                  text run at (3,21) width 230: "solid border on the right side of the "
+                LayoutInline {STRONG} at (0,0) size 25x18
+                  LayoutText {#text} at (232,21) size 25x18
+                    text run at (232,21) width 25: "last"
+                LayoutText {#text} at (256,21) size 720x36
+                  text run at (256,21) width 467: " box of the inline element (and the UA's default border on the other three"
+                  text run at (3,39) width 46: "sides). "
+                  text run at (48,39) width 106: "There is also an "
+                LayoutInline {SPAN} at (0,0) size 187x18
+                  LayoutText {#text} at (153,39) size 148x18
+                    text run at (153,39) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x15
+                    LayoutText {#text} at (300,41) size 40x15
+                      text run at (300,41) width 40: "three"
+                LayoutText {#text} at (339,39) size 715x36
+                  text run at (339,39) width 379: ", which should have no right border width or visible border"
+                  text run at (3,57) width 206: "because no border style was set."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_style-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_style-expected.txt
new file mode 100644
index 0000000..8085a4a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_style-expected.txt
@@ -0,0 +1,121 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1301
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1301 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1301
+    LayoutBlockFlow {BODY} at (8,8) size 769x1285 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x180
+        LayoutText {#text} at (0,0) size 617x180
+          text run at (0,0) width 547: ".one {border-style: dotted; border-color: black; border-width: thick;}"
+          text run at (546,0) width 1: " "
+          text run at (0,15) width 547: ".two {border-style: dashed; border-color: black; border-width: thick;}"
+          text run at (546,15) width 1: " "
+          text run at (0,30) width 554: ".three {border-style: solid; border-color: black; border-width: thick;}"
+          text run at (553,30) width 1: " "
+          text run at (0,45) width 554: ".four {border-style: double; border-color: black; border-width: thick;}"
+          text run at (553,45) width 1: " "
+          text run at (0,60) width 554: ".five {border-style: groove; border-color: olive; border-width: thick;}"
+          text run at (553,60) width 1: " "
+          text run at (0,75) width 539: ".six {border-style: ridge; border-color: olive; border-width: thick;}"
+          text run at (538,75) width 1: " "
+          text run at (0,90) width 554: ".seven {border-style: inset; border-color: olive; border-width: thick;}"
+          text run at (553,90) width 1: " "
+          text run at (0,105) width 562: ".eight {border-style: outset; border-color: olive; border-width: thick;}"
+          text run at (561,105) width 1: " "
+          text run at (0,120) width 617: ".nine {border-style: double groove; border-color: purple; border-width: thick;}"
+          text run at (616,120) width 1: " "
+          text run at (0,135) width 359: ".ten {border-style: double groove ridge inset;"
+          text run at (358,135) width 1: " "
+          text run at (0,150) width 359: "   border-color: purple; border-width: thick;}"
+          text run at (358,150) width 1: " "
+          text run at (0,165) width 539: ".eleven {border-style: none; border-color: red; border-width: thick;}"
+          text run at (538,165) width 1: " "
+      LayoutBlockFlow {P} at (0,245) size 769x28 [border: (5px dotted #000000)]
+        LayoutText {#text} at (5,5) size 480x18
+          text run at (5,5) width 480: "This paragraph should have a thick black dotted border all the way around."
+      LayoutBlockFlow {P} at (0,289) size 769x28 [border: (5px dashed #000000)]
+        LayoutText {#text} at (5,5) size 484x18
+          text run at (5,5) width 484: "This paragraph should have a thick black dashed border all the way around."
+      LayoutBlockFlow {P} at (0,333) size 769x28 [border: (5px solid #000000)]
+        LayoutText {#text} at (5,5) size 471x18
+          text run at (5,5) width 471: "This paragraph should have a thick black solid border all the way around."
+      LayoutBlockFlow {P} at (0,377) size 769x28 [border: (5px double #000000)]
+        LayoutText {#text} at (5,5) size 483x18
+          text run at (5,5) width 483: "This paragraph should have a thick black double border all the way around."
+      LayoutBlockFlow {P} at (0,421) size 769x28 [border: (5px groove #808000)]
+        LayoutText {#text} at (5,5) size 482x18
+          text run at (5,5) width 482: "This paragraph should have a thick olive groove border all the way around."
+      LayoutBlockFlow {P} at (0,465) size 769x28 [border: (5px ridge #808000)]
+        LayoutText {#text} at (5,5) size 470x18
+          text run at (5,5) width 470: "This paragraph should have a thick olive ridge border all the way around."
+      LayoutBlockFlow {P} at (0,509) size 769x28 [border: (5px inset #808000)]
+        LayoutText {#text} at (5,5) size 467x18
+          text run at (5,5) width 467: "This paragraph should have a thick olive inset border all the way around."
+      LayoutBlockFlow {P} at (0,553) size 769x28 [border: (5px outset #808000)]
+        LayoutText {#text} at (5,5) size 475x18
+          text run at (5,5) width 475: "This paragraph should have a thick olive outset border all the way around."
+      LayoutBlockFlow {P} at (0,597) size 769x46 [border: (5px double #800080) (5px groove #800080) (5px double #800080) (5px groove #800080)]
+        LayoutText {#text} at (5,5) size 757x36
+          text run at (5,5) width 627: "This paragraph should have thick double top and bottom borders, and thick grooved side borders. "
+          text run at (631,5) width 131: "The color of all four"
+          text run at (5,23) width 208: "sides should be based on purple."
+      LayoutBlockFlow {P} at (0,659) size 769x46 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
+        LayoutText {#text} at (5,5) size 738x36
+          text run at (5,5) width 713: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
+          text run at (717,5) width 26: "The"
+          text run at (5,23) width 312: "color of all four sides should be based on purple."
+      LayoutBlockFlow {P} at (0,721) size 769x18
+        LayoutText {#text} at (0,0) size 283x18
+          text run at (0,0) width 283: "This paragraph should have no border at all."
+      LayoutTable {TABLE} at (0,755) size 769x530 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x528
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x502
+            LayoutTableCell {TD} at (0,264) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x502 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x28 [border: (5px dotted #000000)]
+                LayoutText {#text} at (5,5) size 480x18
+                  text run at (5,5) width 480: "This paragraph should have a thick black dotted border all the way around."
+              LayoutBlockFlow {P} at (4,48) size 747x28 [border: (5px dashed #000000)]
+                LayoutText {#text} at (5,5) size 484x18
+                  text run at (5,5) width 484: "This paragraph should have a thick black dashed border all the way around."
+              LayoutBlockFlow {P} at (4,92) size 747x28 [border: (5px solid #000000)]
+                LayoutText {#text} at (5,5) size 471x18
+                  text run at (5,5) width 471: "This paragraph should have a thick black solid border all the way around."
+              LayoutBlockFlow {P} at (4,136) size 747x28 [border: (5px double #000000)]
+                LayoutText {#text} at (5,5) size 483x18
+                  text run at (5,5) width 483: "This paragraph should have a thick black double border all the way around."
+              LayoutBlockFlow {P} at (4,180) size 747x28 [border: (5px groove #808000)]
+                LayoutText {#text} at (5,5) size 482x18
+                  text run at (5,5) width 482: "This paragraph should have a thick olive groove border all the way around."
+              LayoutBlockFlow {P} at (4,224) size 747x28 [border: (5px ridge #808000)]
+                LayoutText {#text} at (5,5) size 470x18
+                  text run at (5,5) width 470: "This paragraph should have a thick olive ridge border all the way around."
+              LayoutBlockFlow {P} at (4,268) size 747x28 [border: (5px inset #808000)]
+                LayoutText {#text} at (5,5) size 467x18
+                  text run at (5,5) width 467: "This paragraph should have a thick olive inset border all the way around."
+              LayoutBlockFlow {P} at (4,312) size 747x28 [border: (5px outset #808000)]
+                LayoutText {#text} at (5,5) size 475x18
+                  text run at (5,5) width 475: "This paragraph should have a thick olive outset border all the way around."
+              LayoutBlockFlow {P} at (4,356) size 747x46 [border: (5px double #800080) (5px groove #800080) (5px double #800080) (5px groove #800080)]
+                LayoutText {#text} at (5,5) size 727x36
+                  text run at (5,5) width 627: "This paragraph should have thick double top and bottom borders, and thick grooved side borders. "
+                  text run at (631,5) width 101: "The color of all"
+                  text run at (5,23) width 238: "four sides should be based on purple."
+              LayoutBlockFlow {P} at (4,418) size 747x46 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
+                LayoutText {#text} at (5,5) size 709x36
+                  text run at (5,5) width 709: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border."
+                  text run at (5,23) width 341: "The color of all four sides should be based on purple."
+              LayoutBlockFlow {P} at (4,480) size 747x18
+                LayoutText {#text} at (0,0) size 283x18
+                  text run at (0,0) width 283: "This paragraph should have no border at all."
+layer at (8,235) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,227) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_style_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_style_inline-expected.txt
new file mode 100644
index 0000000..afd0c10
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_style_inline-expected.txt
@@ -0,0 +1,71 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 554x45
+          text run at (0,0) width 547: ".one {border-style: dashed; border-color: black; border-width: thick;}"
+          text run at (546,0) width 1: " "
+          text run at (0,15) width 531: ".two {border-style: groove; border-color: red; border-width: thick;}"
+          text run at (530,15) width 1: " "
+          text run at (0,30) width 554: ".three {border-style: none; border-color: purple; border-width: thick;}"
+          text run at (553,30) width 1: " "
+      LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 679x18
+          text run at (0,0) width 679: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 69x28 [border: (5px dashed #000000)]
+          LayoutText {#text} at (683,0) size 59x18
+            text run at (683,0) width 59: "class one"
+        LayoutText {#text} at (746,0) size 751x36
+          text run at (746,0) width 5: ","
+          text run at (0,18) width 313: "which will result in a dashed thick black border; "
+        LayoutInline {SPAN} at (0,0) size 70x28 [border: (5px groove #FF0000)]
+          LayoutText {#text} at (317,18) size 60x18
+            text run at (317,18) width 60: "class two"
+        LayoutText {#text} at (381,18) size 375x18
+          text run at (381,18) width 375: ", which should result in a grooved thick purple border, and"
+        LayoutInline {SPAN} at (0,0) size 68x18
+          LayoutText {#text} at (0,36) size 68x18
+            text run at (0,36) width 68: "class three"
+        LayoutText {#text} at (67,36) size 701x18
+          text run at (67,36) width 260: ", which should result in no border at all. "
+          text run at (326,36) width 442: "The line-height of the parent element should not change, on any line."
+      LayoutTable {TABLE} at (0,180) size 784x108 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x106
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x80
+            LayoutTableCell {TD} at (0,53) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x80 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x72 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 679x18
+                  text run at (0,0) width 679: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 69x28 [border: (5px dashed #000000)]
+                  LayoutText {#text} at (683,0) size 59x18
+                    text run at (683,0) width 59: "class one"
+                LayoutText {#text} at (746,0) size 751x36
+                  text run at (746,0) width 5: ","
+                  text run at (0,18) width 313: "which will result in a dashed thick black border; "
+                LayoutInline {SPAN} at (0,0) size 70x28 [border: (5px groove #FF0000)]
+                  LayoutText {#text} at (317,18) size 60x18
+                    text run at (317,18) width 60: "class two"
+                LayoutText {#text} at (381,18) size 375x18
+                  text run at (381,18) width 375: ", which should result in a grooved thick purple border, and"
+                LayoutInline {SPAN} at (0,0) size 68x18
+                  LayoutText {#text} at (0,36) size 68x18
+                    text run at (0,36) width 68: "class three"
+                LayoutText {#text} at (67,36) size 736x36
+                  text run at (67,36) width 260: ", which should result in no border at all. "
+                  text run at (326,36) width 410: "The line-height of the parent element should not change, on any"
+                  text run at (0,54) width 28: "line."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top-expected.txt
new file mode 100644
index 0000000..e05fb2f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top-expected.txt
@@ -0,0 +1,152 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 959
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x959 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x959
+    LayoutBlockFlow {BODY} at (8,8) size 769x943 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x60
+        LayoutText {#text} at (0,0) size 313x60
+          text run at (0,0) width 297: ".one {border-top: purple double 10px;}"
+          text run at (296,0) width 1: " "
+          text run at (0,15) width 289: ".two {border-top: purple thin solid;}"
+          text run at (288,15) width 1: " "
+          text run at (0,30) width 313: ".three {border-top: black medium solid;}"
+          text run at (312,30) width 1: " "
+          text run at (0,45) width 258: "TD {border-top: green 2px solid;}"
+          text run at (257,45) width 1: " "
+      LayoutBlockFlow {P} at (0,125) size 769x36
+        LayoutText {#text} at (0,0) size 723x36
+          text run at (0,0) width 648: "Note that all table cells on this page should have a two-pixel solid green border along their top sides. "
+          text run at (647,0) width 76: "This border"
+          text run at (0,18) width 373: "applies only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,177) size 769x28 [border: (10px double #800080) none]
+        LayoutText {#text} at (0,10) size 420x18
+          text run at (0,10) width 420: "This paragraph should have a purple, double, 10-pixel top border."
+      LayoutBlockFlow {P} at (0,221) size 769x19 [border: (1px solid #800080) none]
+        LayoutText {#text} at (0,1) size 336x18
+          text run at (0,1) width 336: "This paragraph should have a thin purple top border."
+      LayoutTable {TABLE} at (0,256) size 769x110 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x108
+          LayoutTableRow {TR} at (0,5) size 767x41
+            LayoutTableCell {TD} at (5,5) size 757x41 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (2,3) size 753x36
+                text run at (2,3) width 438: "Every cell in this table should have a 2-pixel solid green top border. "
+                text run at (439,3) width 316: "This is also true of the table-testing section in the"
+                text run at (2,21) width 179: "second half of the test page."
+          LayoutTableRow {TR} at (0,51) size 767x52
+            LayoutTableCell {TD} at (5,65) size 190x23 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (2,3) size 54x18
+                text run at (2,3) width 54: "Cell one"
+            LayoutTableCell {TD} at (200,51) size 562x52 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (2,3) size 558x18
+                LayoutText {#text} at (0,0) size 55x18
+                  text run at (0,0) width 55: "Cell two"
+              LayoutTable {TABLE} at (2,21) size 166x29 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 164x27
+                  LayoutTableRow {TR} at (0,2) size 164x23
+                    LayoutTableCell {TD} at (2,2) size 160x23 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,3) size 156x18
+                        text run at (2,3) width 156: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,382) size 769x117
+        LayoutListItem {LI} at (40,0) size 729x75 [border: (3px solid #000000) none]
+          LayoutBlockFlow (anonymous) at (0,3) size 729x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 123x18
+              text run at (0,0) width 123: "This is a list item..."
+          LayoutBlockFlow {UL} at (0,21) size 729x54
+            LayoutListItem {LI} at (40,0) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 75x18
+                text run at (0,0) width 75: "...and this..."
+            LayoutListItem {LI} at (40,18) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 118x18
+                text run at (0,0) width 118: "...is a second list..."
+            LayoutListItem {LI} at (40,36) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 182x18
+                text run at (0,0) width 182: "...nested within the list item."
+        LayoutListItem {LI} at (40,75) size 729x21 [border: (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-17,3) size 7x18: bullet
+          LayoutText {#text} at (0,3) size 163x18
+            text run at (0,3) width 163: "This is a second list item."
+        LayoutListItem {LI} at (40,96) size 729x21 [border: (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-17,3) size 7x18: bullet
+          LayoutText {#text} at (0,3) size 493x18
+            text run at (0,3) width 493: "Each list item in this list should have a medium-width black border at its top."
+      LayoutTable {TABLE} at (0,515) size 769x428 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x426
+          LayoutTableRow {TR} at (0,0) size 767x27
+            LayoutTableCell {TD} at (0,0) size 767x27 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,5) size 161x18
+                  text run at (4,5) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,27) size 767x399
+            LayoutTableCell {TD} at (0,213) size 12x27 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,5) size 4x18
+                text run at (4,5) width 4: " "
+            LayoutTableCell {TD} at (12,27) size 755x399 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,5) size 747x36
+                LayoutText {#text} at (0,0) size 723x36
+                  text run at (0,0) width 648: "Note that all table cells on this page should have a two-pixel solid green border along their top sides. "
+                  text run at (647,0) width 76: "This border"
+                  text run at (0,18) width 373: "applies only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (4,57) size 747x28 [border: (10px double #800080) none]
+                LayoutText {#text} at (0,10) size 420x18
+                  text run at (0,10) width 420: "This paragraph should have a purple, double, 10-pixel top border."
+              LayoutBlockFlow {P} at (4,101) size 747x19 [border: (1px solid #800080) none]
+                LayoutText {#text} at (0,1) size 336x18
+                  text run at (0,1) width 336: "This paragraph should have a thin purple top border."
+              LayoutTable {TABLE} at (4,136) size 747x110 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 745x108
+                  LayoutTableRow {TR} at (0,5) size 745x41
+                    LayoutTableCell {TD} at (5,5) size 735x41 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (2,3) size 729x36
+                        text run at (2,3) width 438: "Every cell in this table should have a 2-pixel solid green top border. "
+                        text run at (439,3) width 292: "This is also true of the table-testing section in"
+                        text run at (2,21) width 203: "the second half of the test page."
+                  LayoutTableRow {TR} at (0,51) size 745x52
+                    LayoutTableCell {TD} at (5,65) size 185x23 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,3) size 54x18
+                        text run at (2,3) width 54: "Cell one"
+                    LayoutTableCell {TD} at (195,51) size 545x52 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (2,3) size 541x18
+                        LayoutText {#text} at (0,0) size 55x18
+                          text run at (0,0) width 55: "Cell two"
+                      LayoutTable {TABLE} at (2,21) size 166x29 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 164x27
+                          LayoutTableRow {TR} at (0,2) size 164x23
+                            LayoutTableCell {TD} at (2,2) size 160x23 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (2,3) size 156x18
+                                text run at (2,3) width 156: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (4,262) size 747x117
+                LayoutListItem {LI} at (40,0) size 707x75 [border: (3px solid #000000) none]
+                  LayoutBlockFlow (anonymous) at (0,3) size 707x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 123x18
+                      text run at (0,0) width 123: "This is a list item..."
+                  LayoutBlockFlow {UL} at (0,21) size 707x54
+                    LayoutListItem {LI} at (40,0) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 75x18
+                        text run at (0,0) width 75: "...and this..."
+                    LayoutListItem {LI} at (40,18) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 118x18
+                        text run at (0,0) width 118: "...is a second list..."
+                    LayoutListItem {LI} at (40,36) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 182x18
+                        text run at (0,0) width 182: "...nested within the list item."
+                LayoutListItem {LI} at (40,75) size 707x21 [border: (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-17,3) size 7x18: bullet
+                  LayoutText {#text} at (0,3) size 163x18
+                    text run at (0,3) width 163: "This is a second list item."
+                LayoutListItem {LI} at (40,96) size 707x21 [border: (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-17,3) size 7x18: bullet
+                  LayoutText {#text} at (0,3) size 493x18
+                    text run at (0,3) width 493: "Each list item in this list should have a medium-width black border at its top."
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top_inline-expected.txt
new file mode 100644
index 0000000..897191d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top_inline-expected.txt
@@ -0,0 +1,60 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 297x45
+          text run at (0,0) width 297: ".one {border-top: purple double 10px;}"
+          text run at (296,0) width 1: " "
+          text run at (0,15) width 289: ".two {border-top: purple thin solid;}"
+          text run at (288,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 680x18
+          text run at (0,0) width 680: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 59x28 [border: (10px double #800080) none]
+          LayoutText {#text} at (679,0) size 59x18
+            text run at (679,0) width 59: "class one"
+        LayoutText {#text} at (737,0) size 742x36
+          text run at (737,0) width 5: ","
+          text run at (0,18) width 387: "which should have a 10-pixel purple double top border; and "
+        LayoutInline {SPAN} at (0,0) size 60x19 [border: (1px solid #800080) none]
+          LayoutText {#text} at (386,18) size 60x18
+            text run at (386,18) width 60: "class two"
+        LayoutText {#text} at (445,18) size 767x36
+          text run at (445,18) width 322: ", which should have a thin solid purple top border."
+          text run at (0,36) width 438: "The line-height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,180) size 784x90 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x88
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x62
+            LayoutTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x54 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 680x18
+                  text run at (0,0) width 680: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 59x28 [border: (10px double #800080) none]
+                  LayoutText {#text} at (679,0) size 59x18
+                    text run at (679,0) width 59: "class one"
+                LayoutText {#text} at (737,0) size 742x36
+                  text run at (737,0) width 5: ","
+                  text run at (0,18) width 387: "which should have a 10-pixel purple double top border; and "
+                LayoutInline {SPAN} at (0,0) size 60x19 [border: (1px solid #800080) none]
+                  LayoutText {#text} at (386,18) size 60x18
+                    text run at (386,18) width 60: "class two"
+                LayoutText {#text} at (445,18) size 719x36
+                  text run at (445,18) width 274: ", which should have a thin solid purple top"
+                  text run at (0,36) width 49: "border. "
+                  text run at (48,36) width 439: "The line-height of the parent element should not change on any line."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top_width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top_width-expected.txt
new file mode 100644
index 0000000..b1016c6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top_width-expected.txt
@@ -0,0 +1,98 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 759
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x759 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x759
+    LayoutBlockFlow {BODY} at (8,8) size 769x743 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 430x90
+          text run at (0,0) width 422: ".zero {background-color: silver; border-top-width: 0;}"
+          text run at (421,0) width 1: " "
+          text run at (0,15) width 398: ".one {border-top-width: 25px; border-style: solid;}"
+          text run at (397,15) width 1: " "
+          text run at (0,30) width 406: ".two {border-top-width: thick; border-style: solid;}"
+          text run at (405,30) width 1: " "
+          text run at (0,45) width 430: ".three {border-top-width: medium; border-style: solid;}"
+          text run at (429,45) width 1: " "
+          text run at (0,60) width 406: ".four {border-top-width: thin; border-style: solid;}"
+          text run at (405,60) width 1: " "
+          text run at (0,75) width 242: ".five {border-top-width: 25px;}"
+          text run at (241,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18
+        LayoutText {#text} at (0,0) size 160x18
+          text run at (0,0) width 160: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (159,2) size 95x15
+            text run at (159,2) width 95: "border-style"
+        LayoutText {#text} at (253,0) size 92x18
+          text run at (253,0) width 92: " is supported.)"
+      LayoutBlockFlow {P} at (0,189) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,223) size 769x46 [border: (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,25) size 383x18
+          text run at (3,25) width 383: "This paragraph should have a top border width of 25 pixels."
+      LayoutBlockFlow {P} at (0,285) size 769x26 [border: (5px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,5) size 340x18
+          text run at (3,5) width 340: "This paragraph should have a thick top border width."
+      LayoutBlockFlow {P} at (0,327) size 769x24 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 360x18
+          text run at (3,3) width 360: "This paragraph should have a medium top border width."
+      LayoutBlockFlow {P} at (0,367) size 769x22 [border: (1px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,1) size 332x18
+          text run at (3,1) width 332: "This paragraph should have a thin top border width."
+      LayoutBlockFlow {P} at (0,405) size 769x18
+        LayoutText {#text} at (0,0) size 534x18
+          text run at (0,0) width 534: "This paragraph should have no border and no extra \"padding\" on its top side, as no "
+        LayoutInline {CODE} at (0,0) size 94x15
+          LayoutText {#text} at (533,2) size 94x15
+            text run at (533,2) width 94: "border-style"
+        LayoutText {#text} at (627,0) size 55x18
+          text run at (627,0) width 55: " was set."
+      LayoutTable {TABLE} at (0,439) size 704x304 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 702x302
+          LayoutTableRow {TR} at (0,0) size 702x26
+            LayoutTableCell {TD} at (0,0) size 702x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 702x276
+            LayoutTableCell {TD} at (0,151) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 690x276 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 682x18
+                LayoutText {#text} at (0,0) size 160x18
+                  text run at (0,0) width 160: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (159,2) size 95x15
+                    text run at (159,2) width 95: "border-style"
+                LayoutText {#text} at (253,0) size 92x18
+                  text run at (253,0) width 92: " is supported.)"
+              LayoutBlockFlow {P} at (4,38) size 682x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,72) size 682x46 [border: (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,25) size 383x18
+                  text run at (3,25) width 383: "This paragraph should have a top border width of 25 pixels."
+              LayoutBlockFlow {P} at (4,134) size 682x26 [border: (5px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,5) size 340x18
+                  text run at (3,5) width 340: "This paragraph should have a thick top border width."
+              LayoutBlockFlow {P} at (4,176) size 682x24 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 360x18
+                  text run at (3,3) width 360: "This paragraph should have a medium top border width."
+              LayoutBlockFlow {P} at (4,216) size 682x22 [border: (1px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,1) size 332x18
+                  text run at (3,1) width 332: "This paragraph should have a thin top border width."
+              LayoutBlockFlow {P} at (4,254) size 682x18
+                LayoutText {#text} at (0,0) size 534x18
+                  text run at (0,0) width 534: "This paragraph should have no border and no extra \"padding\" on its top side, as no "
+                LayoutInline {CODE} at (0,0) size 94x15
+                  LayoutText {#text} at (533,2) size 94x15
+                    text run at (533,2) width 94: "border-style"
+                LayoutText {#text} at (627,0) size 55x18
+                  text run at (627,0) width 55: " was set."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top_width_inline-expected.txt
new file mode 100644
index 0000000..92cc9dbd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_top_width_inline-expected.txt
@@ -0,0 +1,87 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 398x45
+          text run at (0,0) width 398: ".one {border-top-width: 25px; border-style: solid;}"
+          text run at (397,0) width 1: " "
+          text run at (0,15) width 398: ".two {border-top-width: thin; border-style: solid;}"
+          text run at (397,15) width 1: " "
+          text run at (0,30) width 250: ".three {border-top-width: 25px;}"
+          text run at (249,30) width 1: " "
+      LayoutBlockFlow {P} at (0,110) size 784x100 [border: (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,25) size 176x18
+          text run at (3,25) width 176: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 25x15
+          LayoutText {#text} at (178,27) size 25x15
+            text run at (178,27) width 25: "one"
+        LayoutText {#text} at (202,25) size 164x18
+          text run at (202,25) width 9: ". "
+          text run at (210,25) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 178x22 [border: (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (368,25) size 149x18
+            text run at (368,25) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (516,27) size 24x15
+              text run at (516,27) width 24: "two"
+        LayoutText {#text} at (542,25) size 765x54
+          text run at (542,25) width 226: ", which should result in a thin solid"
+          text run at (3,43) width 706: "border on the top side of each box in the inline element (and the UA's default border on the other three sides). "
+          text run at (708,43) width 53: "There is"
+          text run at (3,61) width 49: "also an "
+        LayoutInline {SPAN} at (0,0) size 188x18
+          LayoutText {#text} at (51,61) size 149x18
+            text run at (51,61) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x15
+            LayoutText {#text} at (199,63) size 40x15
+              text run at (199,63) width 40: "three"
+        LayoutText {#text} at (238,61) size 759x36
+          text run at (238,61) width 524: ", which should have no top border width or visible border because no border style"
+          text run at (3,79) width 51: "was set."
+      LayoutTable {TABLE} at (0,226) size 784x136 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x134
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x108
+            LayoutTableCell {TD} at (0,67) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x108 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x100 [border: (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,25) size 176x18
+                  text run at (3,25) width 176: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 25x15
+                  LayoutText {#text} at (178,27) size 25x15
+                    text run at (178,27) width 25: "one"
+                LayoutText {#text} at (202,25) size 164x18
+                  text run at (202,25) width 9: ". "
+                  text run at (210,25) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 178x22 [border: (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (368,25) size 149x18
+                    text run at (368,25) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (516,27) size 24x15
+                      text run at (516,27) width 24: "two"
+                LayoutText {#text} at (542,25) size 737x54
+                  text run at (542,25) width 191: ", which should result in a thin"
+                  text run at (3,43) width 737: "solid border on the top side of each box in the inline element (and the UA's default border on the other three sides)."
+                  text run at (3,61) width 105: "There is also an "
+                LayoutInline {SPAN} at (0,0) size 188x18
+                  LayoutText {#text} at (107,61) size 149x18
+                    text run at (107,61) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x15
+                    LayoutText {#text} at (255,63) size 40x15
+                      text run at (255,63) width 40: "three"
+                LayoutText {#text} at (294,61) size 735x36
+                  text run at (294,61) width 444: ", which should have no top border width or visible border because no"
+                  text run at (3,79) width 131: "border style was set."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_width-expected.txt
new file mode 100644
index 0000000..0345d55
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_width-expected.txt
@@ -0,0 +1,98 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 903
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x903 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x903
+    LayoutBlockFlow {BODY} at (8,8) size 769x887 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 398x90
+          text run at (0,0) width 391: ".zero {background-color: silver; border-width: 0;}"
+          text run at (390,0) width 1: " "
+          text run at (0,15) width 367: ".one {border-width: 50px; border-style: solid;}"
+          text run at (366,15) width 1: " "
+          text run at (0,30) width 375: ".two {border-width: thick; border-style: solid;}"
+          text run at (374,30) width 1: " "
+          text run at (0,45) width 398: ".three {border-width: medium; border-style: solid;}"
+          text run at (397,45) width 1: " "
+          text run at (0,60) width 375: ".four {border-width: thin; border-style: solid;}"
+          text run at (374,60) width 1: " "
+          text run at (0,75) width 211: ".five {border-width: 25px;}"
+          text run at (210,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18
+        LayoutText {#text} at (0,0) size 160x18
+          text run at (0,0) width 160: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (159,2) size 95x15
+            text run at (159,2) width 95: "border-style"
+        LayoutText {#text} at (253,0) size 92x18
+          text run at (253,0) width 92: " is supported.)"
+      LayoutBlockFlow {P} at (0,189) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,223) size 769x118 [border: (50px solid #000000)]
+        LayoutText {#text} at (50,50) size 402x18
+          text run at (50,50) width 402: "This element should have an overall border width of 50 pixels."
+      LayoutBlockFlow {P} at (0,357) size 769x28 [border: (5px solid #000000)]
+        LayoutText {#text} at (5,5) size 350x18
+          text run at (5,5) width 350: "This element should have a thick overall border width."
+      LayoutBlockFlow {P} at (0,401) size 769x24 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 371x18
+          text run at (3,3) width 371: "This element should have a medium overall border width."
+      LayoutBlockFlow {P} at (0,441) size 769x20 [border: (1px solid #000000)]
+        LayoutText {#text} at (1,1) size 343x18
+          text run at (1,1) width 343: "This element should have a thin overall border width."
+      LayoutBlockFlow {P} at (0,477) size 769x18
+        LayoutText {#text} at (0,0) size 504x18
+          text run at (0,0) width 504: "This element should have no border and no extra \"padding\" on any side, as no "
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (503,2) size 95x15
+            text run at (503,2) width 95: "border-style"
+        LayoutText {#text} at (597,0) size 55x18
+          text run at (597,0) width 55: " was set."
+      LayoutTable {TABLE} at (0,511) size 674x376 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 672x374
+          LayoutTableRow {TR} at (0,0) size 672x26
+            LayoutTableCell {TD} at (0,0) size 672x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 672x348
+            LayoutTableCell {TD} at (0,187) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 660x348 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 652x18
+                LayoutText {#text} at (0,0) size 160x18
+                  text run at (0,0) width 160: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (159,2) size 95x15
+                    text run at (159,2) width 95: "border-style"
+                LayoutText {#text} at (253,0) size 92x18
+                  text run at (253,0) width 92: " is supported.)"
+              LayoutBlockFlow {P} at (4,38) size 652x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,72) size 652x118 [border: (50px solid #000000)]
+                LayoutText {#text} at (50,50) size 402x18
+                  text run at (50,50) width 402: "This element should have an overall border width of 50 pixels."
+              LayoutBlockFlow {P} at (4,206) size 652x28 [border: (5px solid #000000)]
+                LayoutText {#text} at (5,5) size 350x18
+                  text run at (5,5) width 350: "This element should have a thick overall border width."
+              LayoutBlockFlow {P} at (4,250) size 652x24 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 371x18
+                  text run at (3,3) width 371: "This element should have a medium overall border width."
+              LayoutBlockFlow {P} at (4,290) size 652x20 [border: (1px solid #000000)]
+                LayoutText {#text} at (1,1) size 343x18
+                  text run at (1,1) width 343: "This element should have a thin overall border width."
+              LayoutBlockFlow {P} at (4,326) size 652x18
+                LayoutText {#text} at (0,0) size 504x18
+                  text run at (0,0) width 504: "This element should have no border and no extra \"padding\" on any side, as no "
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (503,2) size 95x15
+                    text run at (503,2) width 95: "border-style"
+                LayoutText {#text} at (597,0) size 55x18
+                  text run at (597,0) width 55: " was set."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_width_inline-expected.txt
new file mode 100644
index 0000000..95b4c91e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/border_width_inline-expected.txt
@@ -0,0 +1,86 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 367x45
+          text run at (0,0) width 367: ".one {border-width: 25px; border-style: solid;}"
+          text run at (366,0) width 1: " "
+          text run at (0,15) width 367: ".two {border-width: thin; border-style: solid;}"
+          text run at (366,15) width 1: " "
+          text run at (0,30) width 219: ".three {border-width: 25px;}"
+          text run at (218,30) width 1: " "
+      LayoutBlockFlow {P} at (0,110) size 784x104 [border: (25px solid #000000)]
+        LayoutText {#text} at (25,25) size 176x18
+          text run at (25,25) width 176: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 25x15
+          LayoutText {#text} at (200,27) size 25x15
+            text run at (200,27) width 25: "one"
+        LayoutText {#text} at (224,25) size 164x18
+          text run at (224,25) width 9: ". "
+          text run at (232,25) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 174x20 [border: (1px solid #000000)]
+          LayoutText {#text} at (388,25) size 149x18
+            text run at (388,25) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (536,27) size 24x15
+              text run at (536,27) width 24: "two"
+        LayoutText {#text} at (560,25) size 726x36
+          text run at (560,25) width 191: ", which should result in a thin"
+          text run at (25,43) width 382: "solid border on each side of each box in the inline element. "
+          text run at (406,43) width 106: "There is also an "
+        LayoutInline {SPAN} at (0,0) size 187x18
+          LayoutText {#text} at (511,43) size 148x18
+            text run at (511,43) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 39x15
+            LayoutText {#text} at (659,45) size 39x15
+              text run at (659,45) width 39: "three"
+        LayoutText {#text} at (698,43) size 721x36
+          text run at (698,43) width 48: ", which"
+          text run at (25,61) width 393: "should have no border width because no border style was set."
+      LayoutTable {TABLE} at (0,230) size 784x140 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x138
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x112
+            LayoutTableCell {TD} at (0,69) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x112 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x104 [border: (25px solid #000000)]
+                LayoutText {#text} at (25,25) size 176x18
+                  text run at (25,25) width 176: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 25x15
+                  LayoutText {#text} at (200,27) size 25x15
+                    text run at (200,27) width 25: "one"
+                LayoutText {#text} at (224,25) size 164x18
+                  text run at (224,25) width 9: ". "
+                  text run at (232,25) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 174x20 [border: (1px solid #000000)]
+                  LayoutText {#text} at (388,25) size 149x18
+                    text run at (388,25) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (536,27) size 24x15
+                      text run at (536,27) width 24: "two"
+                LayoutText {#text} at (560,25) size 697x36
+                  text run at (560,25) width 162: ", which should result in a"
+                  text run at (25,43) width 411: "thin solid border on each side of each box in the inline element. "
+                  text run at (435,43) width 106: "There is also an "
+                LayoutInline {SPAN} at (0,0) size 187x18
+                  LayoutText {#text} at (540,43) size 148x18
+                    text run at (540,43) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x15
+                    LayoutText {#text} at (687,45) size 40x15
+                      text run at (687,45) width 40: "three"
+                LayoutText {#text} at (726,43) size 706x36
+                  text run at (726,43) width 5: ","
+                  text run at (25,61) width 436: "which should have no border width because no border style was set."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/clear-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/clear-expected.txt
new file mode 100644
index 0000000..f7e3c00d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/clear-expected.txt
@@ -0,0 +1,92 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 961
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x961 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x961
+    LayoutBlockFlow {BODY} at (8,8) size 769x945 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x60
+        LayoutText {#text} at (0,0) size 164x60
+          text run at (0,0) width 149: ".one {clear: left;}"
+          text run at (148,0) width 1: " "
+          text run at (0,15) width 157: ".two {clear: right;}"
+          text run at (156,15) width 1: " "
+          text run at (0,30) width 164: ".three {clear: both;}"
+          text run at (163,30) width 1: " "
+          text run at (0,45) width 157: ".four {clear: none;}"
+          text run at (156,45) width 1: " "
+      LayoutImage (floating) {IMG} at (0,117) size 15x50
+      LayoutBlockFlow {P} at (0,125) size 769x18
+        LayoutText {#text} at (18,0) size 605x18
+          text run at (18,0) width 605: "This text should be flowing past a tall orange rectangle on the left side of the browser window."
+      LayoutBlockFlow (anonymous) at (0,159) size 769x18
+        LayoutBR {BR} at (18,0) size 0x18
+        LayoutImage (floating) {IMG} at (0,18) size 15x50
+      LayoutBlockFlow {P} at (0,227) size 769x18
+        LayoutText {#text} at (0,0) size 661x18
+          text run at (0,0) width 661: "This paragraph should appear below the tall orange rectangle above and to the left, and not flow past it."
+      LayoutBlockFlow (anonymous) at (0,261) size 769x18
+        LayoutBR {BR} at (0,0) size 0x18
+        LayoutImage (floating) {IMG} at (754,18) size 15x50
+      LayoutBlockFlow {P} at (0,329) size 769x18
+        LayoutText {#text} at (0,0) size 670x18
+          text run at (0,0) width 670: "This paragraph should appear below the tall orange rectangle above and to the right, and not flow past it."
+      LayoutBlockFlow (anonymous) at (0,363) size 769x18
+        LayoutBR {BR} at (0,0) size 0x18
+        LayoutImage (floating) {IMG} at (0,18) size 15x50
+        LayoutImage (floating) {IMG} at (754,18) size 15x50
+      LayoutBlockFlow {P} at (0,431) size 769x18
+        LayoutText {#text} at (0,0) size 611x18
+          text run at (0,0) width 611: "This paragraph should appear below the two tall orange rectangles, and not flow between them."
+      LayoutImage (floating) {IMG} at (0,465) size 15x50
+      LayoutImage (floating) {IMG} at (754,465) size 15x50
+      LayoutBlockFlow {P} at (0,465) size 769x18
+        LayoutText {#text} at (18,0) size 397x18
+          text run at (18,0) width 397: "This paragraph should be between both tall orange rectangles."
+      LayoutBlockFlow (anonymous) at (0,499) size 769x18
+        LayoutBR {BR} at (18,0) size 0x18
+      LayoutTable {TABLE} at (0,517) size 692x428 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 690x426
+          LayoutTableRow {TR} at (0,0) size 690x26
+            LayoutTableCell {TD} at (0,0) size 690x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 690x400
+            LayoutTableCell {TD} at (0,213) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 678x400 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutImage (floating) {IMG} at (4,4) size 15x50
+              LayoutBlockFlow {P} at (4,4) size 670x18
+                LayoutText {#text} at (18,0) size 605x18
+                  text run at (18,0) width 605: "This text should be flowing past a tall orange rectangle on the left side of the browser window."
+              LayoutBlockFlow (anonymous) at (4,38) size 670x18
+                LayoutBR {BR} at (18,0) size 0x18
+                LayoutImage (floating) {IMG} at (0,18) size 15x50
+              LayoutBlockFlow {P} at (4,106) size 670x18
+                LayoutText {#text} at (0,0) size 661x18
+                  text run at (0,0) width 661: "This paragraph should appear below the tall orange rectangle above and to the left, and not flow past it."
+              LayoutBlockFlow (anonymous) at (4,140) size 670x18
+                LayoutBR {BR} at (0,0) size 0x18
+                LayoutImage (floating) {IMG} at (655,18) size 15x50
+              LayoutBlockFlow {P} at (4,208) size 670x18
+                LayoutText {#text} at (0,0) size 670x18
+                  text run at (0,0) width 670: "This paragraph should appear below the tall orange rectangle above and to the right, and not flow past it."
+              LayoutBlockFlow (anonymous) at (4,242) size 670x18
+                LayoutBR {BR} at (0,0) size 0x18
+                LayoutImage (floating) {IMG} at (0,18) size 15x50
+                LayoutImage (floating) {IMG} at (655,18) size 15x50
+              LayoutBlockFlow {P} at (4,310) size 670x18
+                LayoutText {#text} at (0,0) size 611x18
+                  text run at (0,0) width 611: "This paragraph should appear below the two tall orange rectangles, and not flow between them."
+              LayoutImage (floating) {IMG} at (4,344) size 15x50
+              LayoutImage (floating) {IMG} at (659,344) size 15x50
+              LayoutBlockFlow {P} at (4,344) size 670x18
+                LayoutText {#text} at (18,0) size 397x18
+                  text run at (18,0) width 397: "This paragraph should be between both tall orange rectangles."
+              LayoutBlockFlow (anonymous) at (4,378) size 670x18
+                LayoutBR {BR} at (18,0) size 0x18
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/clear_float-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/clear_float-expected.txt
new file mode 100644
index 0000000..d06aaba
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/clear_float-expected.txt
@@ -0,0 +1,161 @@
+layer at (0,0) size 800x600 scrollHeight 775
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x775 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x774.88
+    LayoutBlockFlow {BODY} at (8,8) size 784x758.88 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,31) size 784x135
+        LayoutText {#text} at (0,0) size 601x135
+          text run at (0,0) width 383: "P { margin: 0; padding: 0; text-align:  justify;}"
+          text run at (382,0) width 1: " "
+          text run at (0,15) width 0: " "
+          text run at (0,30) width 375: "DIV.menu {float: left; clear: left; width: 11em;"
+          text run at (374,30) width 1: " "
+          text run at (0,45) width 453: "          margin: 0; margin-bottom: 10px; padding: 0.5em;}"
+          text run at (452,45) width 1: " "
+          text run at (0,60) width 422: "DIV.menu H1 {font-size: 1.2em; margin: 0; padding: 0;}"
+          text run at (421,60) width 1: " "
+          text run at (0,75) width 437: "DIV.menu UL {margin: 0.2em 0.3em 0.2em 1em; padding: 0;}"
+          text run at (436,75) width 1: " "
+          text run at (0,90) width 601: "DIV.article {padding: 0.5em; margin: 0; margin-left: 14em; margin-right: 2em;"
+          text run at (600,90) width 1: " "
+          text run at (0,105) width 469: "             color: black; background: yellow; clear: none;}"
+          text run at (468,105) width 1: " "
+          text run at (0,120) width 0: " "
+      LayoutBlockFlow (floating) {DIV} at (0,189) size 192x116.38 [color=#FFFFFF] [bgcolor=#008000]
+        LayoutBlockFlow {H1} at (8,8) size 176x22
+          LayoutText {#text} at (0,0) size 82x22
+            text run at (0,0) width 82: "Top menu"
+        LayoutBlockFlow {UL} at (24,33.19) size 155.20x72
+          LayoutListItem {LI} at (0,0) size 155.20x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 36x18
+              text run at (0,0) width 36: "green"
+          LayoutListItem {LI} at (0,18) size 155.20x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 64x18
+              text run at (0,0) width 64: "white text"
+          LayoutListItem {LI} at (0,36) size 155.20x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 96x18
+              text run at (0,0) width 96: "0.5em padding"
+          LayoutListItem {LI} at (0,54) size 155.20x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 89x18
+              text run at (0,0) width 89: "0.5em margin"
+      LayoutBlockFlow (floating) {DIV} at (0,315.38) size 192x116.38 [color=#FFFFFF] [bgcolor=#0000FF]
+        LayoutBlockFlow {H1} at (8,8) size 176x22
+          LayoutText {#text} at (0,0) size 112x22
+            text run at (0,0) width 112: "Bottom menu"
+        LayoutBlockFlow {UL} at (24,33.19) size 155.20x72
+          LayoutListItem {LI} at (0,0) size 155.20x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 108x18
+              text run at (0,0) width 108: "blue background"
+          LayoutListItem {LI} at (0,18) size 155.20x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 64x18
+              text run at (0,0) width 64: "white text"
+          LayoutListItem {LI} at (0,36) size 155.20x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 96x18
+              text run at (0,0) width 96: "0.5em padding"
+          LayoutListItem {LI} at (0,54) size 155.20x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 89x18
+              text run at (0,0) width 89: "0.5em margin"
+      LayoutBlockFlow {DIV} at (224,189) size 528x221.88 [bgcolor=#FFFF00]
+        LayoutBlockFlow {H1} at (8,29.44) size 512x37
+          LayoutText {#text} at (0,0) size 275x37
+            text run at (0,0) width 275: "The 'clear' property"
+        LayoutBlockFlow {P} at (8,87.88) size 512x90
+          LayoutText {#text} at (0,0) size 512x90
+            text run at (0,0) width 512: "This page has two floating \"menus\" on the side; one has a green background,"
+            text run at (0,18) width 238: "and the other a blue background. "
+            text run at (237,18) width 275: "Due to settings on the 'float' and 'clear'"
+            text run at (0,36) width 512: "properties, the two menus should appear on the left side of the page, the blue"
+            text run at (0,54) width 512: "below the green. There should be a 10px gap between the two menus. There"
+            text run at (0,72) width 465: "should also be a 10px gap between the top menu and the top of the page."
+        LayoutBlockFlow {P} at (8,177.88) size 512x36
+          LayoutText {#text} at (0,0) size 512x36
+            text run at (0,0) width 512: "The top of the yellow rectangle (to which this paragraph belongs) should be"
+            text run at (0,18) width 339: "vertically aligned with the top of the green rectangle."
+      LayoutTable {TABLE} at (192,410.88) size 592x348 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 590x346
+          LayoutTableRow {TR} at (0,0) size 590x26
+            LayoutTableCell {TD} at (0,0) size 590x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 590x320
+            LayoutTableCell {TD} at (0,173) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 578x319.88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (floating) {DIV} at (4,4) size 192x116.38 [color=#FFFFFF] [bgcolor=#008000]
+                LayoutBlockFlow {H1} at (8,8) size 176x22
+                  LayoutText {#text} at (0,0) size 82x22
+                    text run at (0,0) width 82: "Top menu"
+                LayoutBlockFlow {UL} at (24,33.19) size 155.20x72
+                  LayoutListItem {LI} at (0,0) size 155.20x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 36x18
+                      text run at (0,0) width 36: "green"
+                  LayoutListItem {LI} at (0,18) size 155.20x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 64x18
+                      text run at (0,0) width 64: "white text"
+                  LayoutListItem {LI} at (0,36) size 155.20x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 96x18
+                      text run at (0,0) width 96: "0.5em padding"
+                  LayoutListItem {LI} at (0,54) size 155.20x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 89x18
+                      text run at (0,0) width 89: "0.5em margin"
+              LayoutBlockFlow (floating) {DIV} at (4,130.38) size 192x116.38 [color=#FFFFFF] [bgcolor=#0000FF]
+                LayoutBlockFlow {H1} at (8,8) size 176x22
+                  LayoutText {#text} at (0,0) size 112x22
+                    text run at (0,0) width 112: "Bottom menu"
+                LayoutBlockFlow {UL} at (24,33.19) size 155.20x72
+                  LayoutListItem {LI} at (0,0) size 155.20x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 108x18
+                      text run at (0,0) width 108: "blue background"
+                  LayoutListItem {LI} at (0,18) size 155.20x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 64x18
+                      text run at (0,0) width 64: "white text"
+                  LayoutListItem {LI} at (0,36) size 155.20x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 96x18
+                      text run at (0,0) width 96: "0.5em padding"
+                  LayoutListItem {LI} at (0,54) size 155.20x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 89x18
+                      text run at (0,0) width 89: "0.5em margin"
+              LayoutBlockFlow {DIV} at (228,4) size 314x311.88 [bgcolor=#FFFF00]
+                LayoutBlockFlow {H1} at (8,29.44) size 298x37
+                  LayoutText {#text} at (0,0) size 275x37
+                    text run at (0,0) width 275: "The 'clear' property"
+                LayoutBlockFlow {P} at (8,87.88) size 298x162
+                  LayoutText {#text} at (0,0) size 298x162
+                    text run at (0,0) width 298: "This page has two floating \"menus\" on the"
+                    text run at (0,18) width 298: "side; one has a green background, and the"
+                    text run at (0,36) width 174: "other a blue background. "
+                    text run at (173,36) width 125: "Due to settings on"
+                    text run at (0,54) width 298: "the 'float' and 'clear' properties, the two menus"
+                    text run at (0,72) width 298: "should appear on the left side of the page, the"
+                    text run at (0,90) width 298: "blue below the green. There should be a 10px"
+                    text run at (0,108) width 298: "gap between the two menus. There should"
+                    text run at (0,126) width 298: "also be a 10px gap between the top menu and"
+                    text run at (0,144) width 124: "the top of the page."
+                LayoutBlockFlow {P} at (8,249.88) size 298x54
+                  LayoutText {#text} at (0,0) size 298x54
+                    text run at (0,0) width 298: "The top of the yellow rectangle (to which this"
+                    text run at (0,18) width 298: "paragraph belongs) should be vertically"
+                    text run at (0,36) width 275: "aligned with the top of the green rectangle."
+layer at (8,187) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,179) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float-expected.txt
new file mode 100644
index 0000000..20b2779
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 157x45
+          text run at (0,0) width 149: ".one {float: left;}"
+          text run at (148,0) width 1: " "
+          text run at (0,15) width 157: ".two {float: right;}"
+          text run at (156,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutImage (floating) {IMG} at (0,102) size 15x50
+      LayoutBlockFlow {P} at (0,110) size 784x36
+        LayoutText {#text} at (15,0) size 736x36
+          text run at (15,0) width 609: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
+          text run at (623,0) width 128: "In this case, it is the"
+          text run at (15,18) width 259: "image which has been floated to the left."
+      LayoutBlockFlow (anonymous) at (0,162) size 784x18
+        LayoutBR {BR} at (0,0) size 0x18
+      LayoutImage (floating) {IMG} at (769,198) size 15x50
+      LayoutBlockFlow {P} at (0,206) size 784x36
+        LayoutText {#text} at (0,0) size 745x36
+          text run at (0,0) width 618: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
+          text run at (617,0) width 128: "In this case, it is the"
+          text run at (0,18) width 268: "image which has been floated to the right."
+      LayoutTable {TABLE} at (0,258) size 784x174 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x172
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x146
+            LayoutTableCell {TD} at (0,86) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x146 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutImage (floating) {IMG} at (4,4) size 15x50
+              LayoutBlockFlow {P} at (4,4) size 762x36
+                LayoutText {#text} at (15,0) size 736x36
+                  text run at (15,0) width 609: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
+                  text run at (623,0) width 128: "In this case, it is the"
+                  text run at (15,18) width 259: "image which has been floated to the left."
+              LayoutBlockFlow (anonymous) at (4,56) size 762x18
+                LayoutBR {BR} at (0,0) size 0x18
+              LayoutImage (floating) {IMG} at (751,92) size 15x50
+              LayoutBlockFlow {P} at (4,100) size 762x36
+                LayoutText {#text} at (0,0) size 745x36
+                  text run at (0,0) width 618: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
+                  text run at (617,0) width 128: "In this case, it is the"
+                  text run at (0,18) width 268: "image which has been floated to the right."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,196) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,188) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,375) size 762x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,82) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt
index 65a03971..3f91390 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt
@@ -32,7 +32,6 @@
           text run at (0,165) width 196: "TABLE {margin: 20px 0px;}"
           text run at (195,165) width 1: " "
           text run at (0,180) width 0: " "
-      LayoutBlockFlow {HR} at (0,239) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,249) size 769x36
         LayoutText {#text} at (0,0) size 769x36
           text run at (0,0) width 769: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this"
@@ -157,6 +156,8 @@
                         LayoutBlockFlow {IMG} at (0,0) size 100x1
                       LayoutTableCell {TD} at (600,9) size 20x1 [bgcolor=#000000] [r=0 c=14 rs=1 cs=1]
                         LayoutBlockFlow {IMG} at (0,0) size 20x1
+layer at (8,247) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,239) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (8,420) size 20x1
   LayoutBlockFlow {SPAN} at (0,0) size 20x1
     LayoutInline {SPAN} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float_margin-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float_margin-expected.txt
new file mode 100644
index 0000000..a9d8823
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float_margin-expected.txt
@@ -0,0 +1,165 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1902
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1902 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1902
+    LayoutBlockFlow {BODY} at (8,8) size 769x1886 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x135
+        LayoutText {#text} at (0,0) size 547x135
+          text run at (0,0) width 336: "P.test {background: white; font-size: 20px;"
+          text run at (335,0) width 1: " "
+          text run at (0,15) width 547: "        margin-left: 30px; margin-right: 10px; padding: 0; border: 0;}"
+          text run at (546,15) width 1: " "
+          text run at (0,30) width 305: "IMG {padding: 0; border: 0; margin: 0;}"
+          text run at (304,30) width 1: " "
+          text run at (0,45) width 196: "P.test IMG {float: left;}"
+          text run at (195,45) width 1: " "
+          text run at (0,60) width 344: "#img2 {margin-top: 30px; margin-left: 30px;}"
+          text run at (343,60) width 1: " "
+          text run at (0,75) width 359: "#img3 {margin-top: -30px; margin-left: -30px;}"
+          text run at (358,75) width 1: " "
+          text run at (0,90) width 375: "#img4 {margin-right: 30px; margin-bottom: 30px;}"
+          text run at (374,90) width 1: " "
+          text run at (0,105) width 391: "#img5 {margin-right: -30px; margin-bottom: -30px;}"
+          text run at (390,105) width 1: " "
+          text run at (0,120) width 0: " "
+      LayoutBlockFlow {P} at (30,204) size 729x92 [bgcolor=#FFFFFF]
+        LayoutText {#text} at (0,0) size 724x92
+          text run at (0,0) width 656: "This paragraph should have a white background which extends to the edges of the"
+          text run at (0,23) width 120: "element's box. "
+          text run at (119,23) width 437: "There is no padding set on this paragraph whatsoever. "
+          text run at (555,23) width 164: "If the background of"
+          text run at (0,46) width 724: "the entire box is not white, this may cause problems with the following tests; at any rate, it"
+          text run at (0,69) width 220: "must be taken into account."
+      LayoutBlockFlow {P} at (30,316) size 729x115 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (0,0) size 60x60
+        LayoutText {#text} at (60,0) size 712x115
+          text run at (60,0) width 626: "The image in the upper left corner of this paragraph should be floated left, and"
+          text run at (60,23) width 118: "nothing more. "
+          text run at (177,23) width 535: "The edges of the white background should line up with the top and"
+          text run at (60,46) width 193: "left edges of the image. "
+          text run at (252,46) width 448: "This paragraph should have a white background, first of"
+          text run at (0,69) width 422: "all, which extends to the edges of the element's box. "
+          text run at (421,69) width 246: "There is no padding set on this"
+          text run at (0,92) width 180: "paragraph whatsoever."
+      LayoutBlockFlow {P} at (30,451) size 729x115 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (30,30) size 60x60
+        LayoutText {#text} at (90,0) size 723x115
+          text run at (90,0) width 608: "The image in the upper left corner of this paragraph should be pushed down"
+          text run at (90,23) width 601: "and to the right 30 pixels each from the upper left corner of the paragraph's"
+          text run at (90,46) width 397: "box, and displace the paragraph text accordingly. "
+          text run at (486,46) width 237: "This paragraph should have a"
+          text run at (90,69) width 628: "white background, first of all, which extends to the edges of the element's box."
+          text run at (0,92) width 431: "There is no padding set on this paragraph whatsoever."
+      LayoutBlockFlow {P} at (30,586) size 729x115 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (-30,-30) size 60x60
+        LayoutText {#text} at (30,0) size 729x115
+          text run at (30,0) width 699: "The image in the upper left corner of this paragraph should be pushed up and to the left"
+          text run at (30,23) width 698: "30 pixels each from the upper left corner of the paragraph's box, thus causing the edges"
+          text run at (0,46) width 573: "of the white background to align with the thick gray lines in the image. "
+          text run at (572,46) width 122: "This paragraph"
+          text run at (0,69) width 703: "should have a white background, first of all, which extends to the edges of the element's"
+          text run at (0,92) width 40: "box. "
+          text run at (40,92) width 431: "There is no padding set on this paragraph whatsoever."
+      LayoutBlockFlow {P} at (30,721) size 729x138 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (0,0) size 60x60
+        LayoutText {#text} at (90,0) size 722x138
+          text run at (90,0) width 626: "The image in the upper left corner of this paragraph should be floated left, and"
+          text run at (90,23) width 632: "the edges of the white background should line up with the top and left edges of"
+          text run at (90,46) width 89: "the image. "
+          text run at (178,46) width 532: "However, there should be 30 pixels of space between the right and"
+          text run at (90,69) width 483: "bottom edges of the image and the paragraph text around it. "
+          text run at (572,69) width 121: "This paragraph"
+          text run at (0,92) width 703: "should have a white background, first of all, which extends to the edges of the element's"
+          text run at (0,115) width 40: "box. "
+          text run at (40,115) width 431: "There is no padding set on this paragraph whatsoever."
+      LayoutBlockFlow {P} at (30,879) size 729x138 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (0,0) size 60x60
+        LayoutText {#text} at (30,0) size 722x138
+          text run at (30,0) width 656: "The image in the upper left corner of this paragraph should be floated left, and the"
+          text run at (30,23) width 691: "edges of the white background should line up with the top and left edges of the image."
+          text run at (0,46) width 695: "However, the text should overlap the image's right and bottom sides, lining up with the"
+          text run at (0,69) width 238: "thick gray lines in the image. "
+          text run at (237,69) width 478: "This paragraph should have a white background, first of all,"
+          text run at (0,92) width 392: "which extends to the edges of the element's box. "
+          text run at (391,92) width 331: "There is no padding set on this paragraph"
+          text run at (0,115) width 95: "whatsoever."
+      LayoutTable {TABLE} at (0,1037) size 769x849 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x847
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x821
+            LayoutTableCell {TD} at (0,423) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x821 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (34,4) size 707x92 [bgcolor=#FFFFFF]
+                LayoutText {#text} at (0,0) size 698x92
+                  text run at (0,0) width 656: "This paragraph should have a white background which extends to the edges of the"
+                  text run at (0,23) width 120: "element's box. "
+                  text run at (119,23) width 437: "There is no padding set on this paragraph whatsoever. "
+                  text run at (555,23) width 143: "If the background"
+                  text run at (0,46) width 690: "of the entire box is not white, this may cause problems with the following tests; at any"
+                  text run at (0,69) width 276: "rate, it must be taken into account."
+              LayoutBlockFlow {P} at (34,116) size 707x115 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (0,0) size 60x60
+                LayoutText {#text} at (60,0) size 691x115
+                  text run at (60,0) width 626: "The image in the upper left corner of this paragraph should be floated left, and"
+                  text run at (60,23) width 118: "nothing more. "
+                  text run at (177,23) width 501: "The edges of the white background should line up with the top"
+                  text run at (60,46) width 227: "and left edges of the image. "
+                  text run at (286,46) width 390: "This paragraph should have a white background,"
+                  text run at (0,69) width 480: "first of all, which extends to the edges of the element's box. "
+                  text run at (479,69) width 212: "There is no padding set on"
+                  text run at (0,92) width 214: "this paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,251) size 707x115 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (30,30) size 60x60
+                LayoutText {#text} at (90,0) size 698x115
+                  text run at (90,0) width 608: "The image in the upper left corner of this paragraph should be pushed down"
+                  text run at (90,23) width 601: "and to the right 30 pixels each from the upper left corner of the paragraph's"
+                  text run at (90,46) width 397: "box, and displace the paragraph text accordingly. "
+                  text run at (486,46) width 180: "This paragraph should"
+                  text run at (90,69) width 565: "have a white background, first of all, which extends to the edges of the"
+                  text run at (0,92) width 120: "element's box. "
+                  text run at (119,92) width 432: "There is no padding set on this paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,386) size 707x115 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (-30,-30) size 60x60
+                LayoutText {#text} at (30,0) size 697x115
+                  text run at (30,0) width 667: "The image in the upper left corner of this paragraph should be pushed up and to the"
+                  text run at (30,23) width 650: "left 30 pixels each from the upper left corner of the paragraph's box, thus causing"
+                  text run at (0,46) width 653: "the edges of the white background to align with the thick gray lines in the image. "
+                  text run at (652,46) width 37: "This"
+                  text run at (0,69) width 679: "paragraph should have a white background, first of all, which extends to the edges of"
+                  text run at (0,92) width 150: "the element's box. "
+                  text run at (149,92) width 431: "There is no padding set on this paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,521) size 707x138 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (0,0) size 60x60
+                LayoutText {#text} at (90,0) size 706x138
+                  text run at (90,0) width 593: "The image in the upper left corner of this paragraph should be floated left,"
+                  text run at (90,23) width 594: "and the edges of the white background should line up with the top and left"
+                  text run at (90,46) width 161: "edges of the image. "
+                  text run at (250,46) width 456: "However, there should be 30 pixels of space between the"
+                  text run at (90,69) width 559: "right and bottom edges of the image and the paragraph text around it. "
+                  text run at (648,69) width 37: "This"
+                  text run at (0,92) width 679: "paragraph should have a white background, first of all, which extends to the edges of"
+                  text run at (0,115) width 150: "the element's box. "
+                  text run at (149,115) width 431: "There is no padding set on this paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,679) size 707x138 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (0,0) size 60x60
+                LayoutText {#text} at (30,0) size 697x138
+                  text run at (30,0) width 656: "The image in the upper left corner of this paragraph should be floated left, and the"
+                  text run at (30,23) width 632: "edges of the white background should line up with the top and left edges of the"
+                  text run at (0,46) width 59: "image. "
+                  text run at (58,46) width 626: "However, the text should overlap the image's right and bottom sides, lining up"
+                  text run at (0,69) width 308: "with the thick gray lines in the image. "
+                  text run at (307,69) width 390: "This paragraph should have a white background,"
+                  text run at (0,92) width 480: "first of all, which extends to the edges of the element's box. "
+                  text run at (479,92) width 212: "There is no padding set on"
+                  text run at (0,115) width 214: "this paragraph whatsoever."
+layer at (8,190) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float_on_text_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float_on_text_elements-expected.txt
new file mode 100644
index 0000000..0d664fd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float_on_text_elements-expected.txt
@@ -0,0 +1,377 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2786
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2786 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2786
+    LayoutBlockFlow {BODY} at (8,8) size 769x2770 [bgcolor=#CCCCCC]
+      LayoutBlockFlow (floating) {P} at (0,0) size 384.50x36 [bgcolor=#FFFF00]
+        LayoutText {#text} at (0,0) size 385x36
+          text run at (0,0) width 385: "This paragraph is of class \"one\". It has a width of 50% and"
+          text run at (0,18) width 128: "is floated to the left."
+      LayoutBlockFlow {P} at (0,0) size 769x90
+        LayoutText {#text} at (384,0) size 769x90
+          text run at (384,0) width 385: "This paragraph should start on the right side of a yellow"
+          text run at (384,18) width 385: "box which contains the previous paragraph. Since the text"
+          text run at (0,36) width 769: "of this element is much longer than the text in the previous element, the text will wrap around the yellow box. There is"
+          text run at (0,54) width 769: "no padding, border or margins on this and the previous element, so the text of the two elements should be very close to"
+          text run at (0,72) width 70: "each other."
+      LayoutBlockFlow (anonymous) at (0,90) size 769x18
+        LayoutBR {BR} at (0,0) size 0x18
+      LayoutBlockFlow (anonymous) at (0,126) size 769x91
+        LayoutBlockFlow (floating) {P} at (0,0) size 769x72 [bgcolor=#FFFF00]
+          LayoutText {#text} at (0,0) size 769x72
+            text run at (0,0) width 769: "This paragraph is of class \"two\". Since the width has been set to 100%, it should automatically be as wide as its parent"
+            text run at (0,18) width 769: "element allows it to be. Therefore, even though the element is floated, there is no room for other content on the sides"
+            text run at (0,36) width 769: "and a orange square image should be seen AFTER the paragraph, not next to it. A yellow background has been added"
+            text run at (0,54) width 265: "to this paragraph for diagnostic purposes."
+        LayoutImage {IMG} at (0,72) size 15x15
+        LayoutText {#text} at (15,73) size 4x18
+          text run at (15,73) width 4: " "
+        LayoutBR {BR} at (19,87) size 0x0
+      LayoutBlockFlow (anonymous) at (0,235) size 769x108
+        LayoutBlockFlow (floating) {P} at (0,0) size 384.50x108 [bgcolor=#FFFF00]
+          LayoutText {#text} at (0,0) size 385x108
+            text run at (0,0) width 384: "This paragraph is floated to the left and the orange square"
+            text run at (0,18) width 384: "image should appear to the right of the paragraph. This"
+            text run at (0,36) width 385: "paragraph has a yellow background and no padding, margin"
+            text run at (0,54) width 385: "or border. The right edge of this yellow box should be"
+            text run at (0,72) width 385: "horizontally aligned with the left edge of the yellow box"
+            text run at (0,90) width 81: "undernearth."
+        LayoutImage {IMG} at (384.50,0) size 15x15
+        LayoutText {#text} at (399,1) size 5x18
+          text run at (399,1) width 5: " "
+        LayoutBR {BR} at (403,15) size 1x0
+      LayoutBlockFlow (anonymous) at (0,361) size 769x108
+        LayoutBlockFlow (floating) {P} at (384.50,0) size 384.50x108 [bgcolor=#FFFF00]
+          LayoutText {#text} at (0,0) size 385x108
+            text run at (0,0) width 384: "This paragraph is floated to the right (using a STYLE"
+            text run at (0,18) width 384: "attribute) and the orange square image should appear to the"
+            text run at (0,36) width 384: "left of the paragraph. This paragraph has a yellow"
+            text run at (0,54) width 384: "background and no padding, margin or border. The left"
+            text run at (0,72) width 385: "edge of this yellow box should be horizonally aligned with"
+            text run at (0,90) width 251: "the right edge of the yellow box above."
+        LayoutImage {IMG} at (0,0) size 15x15
+        LayoutText {#text} at (15,1) size 4x18
+          text run at (15,1) width 4: " "
+        LayoutBR {BR} at (19,15) size 0x0
+      LayoutBlockFlow {P} at (0,487) size 769x72
+        LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 22x37
+            text run at (0,0) width 22: "T"
+        LayoutText {#text} at (48,0) size 769x72
+          text run at (48,0) width 721: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the paragraph, as"
+          text run at (48,18) width 529: "well as bold, with a content width of 1.5em and a background-color of silver. "
+          text run at (576,18) width 193: "The top of the big letter \"T\""
+          text run at (48,36) width 721: "should be vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-"
+          text run at (0,54) width 33: "cap\"."
+      LayoutBlockFlow (anonymous) at (0,559) size 769x18
+        LayoutBR {BR} at (0,0) size 0x18
+      LayoutBlockFlow (floating) {P} at (423,605) size 336x214 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
+        LayoutText {#text} at (8,8) size 320x198
+          text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
+          text run at (8,26) width 320: "of like a 'sidebar' in a magazine article. Its width"
+          text run at (8,44) width 320: "is 20em so the box should not be reformatted"
+          text run at (8,62) width 320: "when the size of the viewport is changed (e.g."
+          text run at (8,80) width 320: "when the window is resized). The background"
+          text run at (8,98) width 320: "color of the element is yellow, and there should"
+          text run at (8,116) width 320: "be a 3px solid red border outside a 5px wide"
+          text run at (8,134) width 320: "padding. Also, the element has a 10px wide"
+          text run at (8,152) width 320: "margin around it where the blue background of"
+          text run at (8,170) width 320: "the paragraph in the normal flow should shine"
+          text run at (8,188) width 54: "through."
+      LayoutBlockFlow {P} at (0,595) size 769x216 [bgcolor=#66CCFF]
+        LayoutText {#text} at (0,0) size 413x216
+          text run at (0,0) width 413: "This paragraph is not floating. If there is enough room, the"
+          text run at (0,18) width 413: "textual content of the paragraph should appear on the left side of"
+          text run at (0,36) width 230: "the yellow \"sidebar\" on the right. "
+          text run at (229,36) width 184: "The content of this element"
+          text run at (0,54) width 274: "should flow around the floated element. "
+          text run at (273,54) width 140: "However, the floated"
+          text run at (0,72) width 413: "element may or may not be obscured by the blue background of"
+          text run at (0,90) width 413: "this element, as the specification does not say which is drawn"
+          text run at (0,108) width 64: "\"on top.\" "
+          text run at (63,108) width 350: "Even if the floated element is obscured, it still forces"
+          text run at (0,126) width 323: "the content of this element to flow around it. "
+          text run at (322,126) width 91: "If the floated"
+          text run at (0,144) width 413: "element is not obscured, then the blue rectangle of this"
+          text run at (0,162) width 413: "paragraph should extend 10px above and to the right of the"
+          text run at (0,180) width 413: "sidebar's red border, due to the margin styles set for the floated"
+          text run at (0,198) width 55: "element."
+      LayoutBlockFlow (anonymous) at (0,811) size 769x18
+        LayoutBR {BR} at (0,0) size 0x18
+      LayoutBlockFlow {DIV} at (0,847) size 769x26 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
+        LayoutBlockFlow (floating) {DIV} at (425,14) size 330x244 [bgcolor=#FFFF00]
+          LayoutBlockFlow {P} at (5,5) size 320x234
+            LayoutText {#text} at (0,0) size 320x234
+              text run at (0,0) width 320: "This paragraph is placed inside a DIV element"
+              text run at (0,18) width 320: "which is floated to the right. The width of the"
+              text run at (0,36) width 320: "DIV element is 20em. The background is yellow"
+              text run at (0,54) width 320: "and there is a 5px padding, a 10px margin and no"
+              text run at (0,72) width 320: "border. Since it is floated, the yellow box should"
+              text run at (0,90) width 320: "be rendered on top of the background and borders"
+              text run at (0,108) width 320: "of adjacent non-floated elements. To the left of"
+              text run at (0,126) width 320: "this yellow box there should be a short paragraph"
+              text run at (0,144) width 320: "with a blue background and a red border. The"
+              text run at (0,162) width 320: "yellow box should be rendered on top of the"
+              text run at (0,180) width 320: "bottom red border. I.e., the bottom red border will"
+              text run at (0,198) width 320: "appear broken where it's overlaid by the yellow"
+              text run at (0,216) width 63: "rectangle."
+        LayoutBlockFlow {P} at (4,4) size 761x18
+          LayoutText {#text} at (0,0) size 274x18
+            text run at (0,0) width 274: "See description in the box on the right side"
+      LayoutBlockFlow (anonymous) at (0,873) size 769x242
+        LayoutBR {BR} at (0,0) size 0x18
+      LayoutBlockFlow (floating) {DIV} at (0,1133) size 192.25x72 [bgcolor=#66CCFF]
+        LayoutBlockFlow {P} at (0,0) size 192.25x72
+          LayoutText {#text} at (0,0) size 193x72
+            text run at (0,0) width 192: "This paragraph is inside a"
+            text run at (0,18) width 193: "DIV which is floated left. Its"
+            text run at (0,36) width 192: "background is blue and the"
+            text run at (0,54) width 89: "width is 25%."
+      LayoutBlockFlow (floating) {DIV} at (576.75,1133) size 192.25x72 [bgcolor=#FFFF00]
+        LayoutBlockFlow {P} at (0,0) size 192.25x72
+          LayoutText {#text} at (0,0) size 192x72
+            text run at (0,0) width 192: "This paragraph is inside a"
+            text run at (0,18) width 192: "DIV which is floated right. Its"
+            text run at (0,36) width 192: "background is yellow and the"
+            text run at (0,54) width 89: "width is 25%."
+      LayoutBlockFlow {P} at (0,1133) size 769x36
+        LayoutText {#text} at (192,0) size 384x36
+          text run at (192,0) width 384: "This paragraph should appear between a blue box (on the"
+          text run at (192,18) width 31: "left) "
+          text run at (222,18) width 204: "and a yellow box (on the right)."
+      LayoutBlockFlow (anonymous) at (0,1169) size 769x36
+        LayoutBR {BR} at (192,0) size 1x18
+      LayoutBlockFlow (anonymous) at (0,1223) size 769x126
+        LayoutBlockFlow (floating) {DIV} at (0,0) size 576.75x126 [bgcolor=#66CCFF]
+          LayoutBlockFlow (floating) {DIV} at (422.56,0) size 144.19x36 [bgcolor=#FFFF00]
+            LayoutBlockFlow {P} at (0,0) size 144.19x36
+              LayoutText {#text} at (0,0) size 145x36
+                text run at (0,0) width 145: "See description in the"
+                text run at (0,18) width 127: "box on the left side."
+          LayoutBlockFlow {P} at (0,0) size 576.75x126
+            LayoutText {#text} at (0,0) size 577x126
+              text run at (0,0) width 423: "This paragraph is inside a DIV which is floated left. The"
+              text run at (0,18) width 422: "background of the DIV element is blue and its width is 75%. This"
+              text run at (0,36) width 407: "text should all be inside the blue rectangle. The blue DIV "
+              text run at (406,36) width 170: "element has another DIV"
+              text run at (0,54) width 224: "element as a child. It has a yellow "
+              text run at (223,54) width 353: "background color and is floated to the right. Since it is"
+              text run at (0,72) width 12: "a "
+              text run at (11,72) width 410: "child of the blue DIV, the yellow DIV should appear inside the "
+              text run at (420,72) width 157: "blue rectangle. Due to it"
+              text run at (0,90) width 236: "being floated to the right and having "
+              text run at (235,90) width 342: "a 10px right margin, the yellow rectange should have"
+              text run at (0,108) width 79: "a 10px blue "
+              text run at (78,108) width 144: "stripe on its right side."
+        LayoutBR {BR} at (576,0) size 1x18
+      LayoutTable {TABLE} at (0,1367) size 769x1403 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1401
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x1375
+            LayoutTableCell {TD} at (0,700) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x1375 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (floating) {P} at (4,4) size 373.50x36 [bgcolor=#FFFF00]
+                LayoutText {#text} at (0,0) size 373x36
+                  text run at (0,0) width 373: "This paragraph is of class \"one\". It has a width of 50%"
+                  text run at (0,18) width 155: "and is floated to the left."
+              LayoutBlockFlow {P} at (4,4) size 747x90
+                LayoutText {#text} at (373,0) size 747x90
+                  text run at (373,0) width 374: "This paragraph should start on the right side of a yellow"
+                  text run at (373,18) width 374: "box which contains the previous paragraph. Since the text"
+                  text run at (0,36) width 747: "of this element is much longer than the text in the previous element, the text will wrap around the yellow box. There"
+                  text run at (0,54) width 747: "is no padding, border or margins on this and the previous element, so the text of the two elements should be very"
+                  text run at (0,72) width 123: "close to each other."
+              LayoutBlockFlow (anonymous) at (4,94) size 747x18
+                LayoutBR {BR} at (0,0) size 0x18
+              LayoutBlockFlow (anonymous) at (4,130) size 747x91
+                LayoutBlockFlow (floating) {P} at (0,0) size 747x72 [bgcolor=#FFFF00]
+                  LayoutText {#text} at (0,0) size 747x72
+                    text run at (0,0) width 747: "This paragraph is of class \"two\". Since the width has been set to 100%, it should automatically be as wide as its"
+                    text run at (0,18) width 747: "parent element allows it to be. Therefore, even though the element is floated, there is no room for other content on"
+                    text run at (0,36) width 747: "the sides and a orange square image should be seen AFTER the paragraph, not next to it. A yellow background has"
+                    text run at (0,54) width 342: "been added to this paragraph for diagnostic purposes."
+                LayoutImage {IMG} at (0,72) size 15x15
+                LayoutText {#text} at (15,73) size 4x18
+                  text run at (15,73) width 4: " "
+                LayoutBR {BR} at (19,87) size 0x0
+              LayoutBlockFlow (anonymous) at (4,239) size 747x108
+                LayoutBlockFlow (floating) {P} at (0,0) size 373.50x108 [bgcolor=#FFFF00]
+                  LayoutText {#text} at (0,0) size 374x108
+                    text run at (0,0) width 373: "This paragraph is floated to the left and the orange square"
+                    text run at (0,18) width 373: "image should appear to the right of the paragraph. This"
+                    text run at (0,36) width 374: "paragraph has a yellow background and no padding,"
+                    text run at (0,54) width 373: "margin or border. The right edge of this yellow box"
+                    text run at (0,72) width 373: "should be horizontally aligned with the left edge of the"
+                    text run at (0,90) width 156: "yellow box undernearth."
+                LayoutImage {IMG} at (373.50,0) size 15x15
+                LayoutText {#text} at (388,1) size 5x18
+                  text run at (388,1) width 5: " "
+                LayoutBR {BR} at (392,15) size 1x0
+              LayoutBlockFlow (anonymous) at (4,365) size 747x108
+                LayoutBlockFlow (floating) {P} at (373.50,0) size 373.50x108 [bgcolor=#FFFF00]
+                  LayoutText {#text} at (0,0) size 374x108
+                    text run at (0,0) width 373: "This paragraph is floated to the right (using a STYLE"
+                    text run at (0,18) width 374: "attribute) and the orange square image should appear to"
+                    text run at (0,36) width 374: "the left of the paragraph. This paragraph has a yellow"
+                    text run at (0,54) width 373: "background and no padding, margin or border. The left"
+                    text run at (0,72) width 373: "edge of this yellow box should be horizonally aligned"
+                    text run at (0,90) width 284: "with the right edge of the yellow box above."
+                LayoutImage {IMG} at (0,0) size 15x15
+                LayoutText {#text} at (15,1) size 4x18
+                  text run at (15,1) width 4: " "
+                LayoutBR {BR} at (19,15) size 0x0
+              LayoutBlockFlow {P} at (4,491) size 747x72
+                LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
+                  LayoutText {#text} at (0,0) size 22x37
+                    text run at (0,0) width 22: "T"
+                LayoutText {#text} at (48,0) size 747x72
+                  text run at (48,0) width 699: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the paragraph,"
+                  text run at (48,18) width 519: "as well as bold, with a content width of 1.5em and a background-color of silver. "
+                  text run at (566,18) width 181: "The top of the big letter \"T\""
+                  text run at (48,36) width 699: "should be vertically aligned with the top of the first line of this paragraph. This is commonly known as"
+                  text run at (0,54) width 74: "\"drop-cap\"."
+              LayoutBlockFlow (anonymous) at (4,563) size 747x18
+                LayoutBR {BR} at (0,0) size 0x18
+              LayoutBlockFlow (floating) {P} at (405,609) size 336x214 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
+                LayoutText {#text} at (8,8) size 320x198
+                  text run at (8,8) width 320: "This paragraph should be floated to the right, sort"
+                  text run at (8,26) width 320: "of like a 'sidebar' in a magazine article. Its width"
+                  text run at (8,44) width 320: "is 20em so the box should not be reformatted"
+                  text run at (8,62) width 320: "when the size of the viewport is changed (e.g."
+                  text run at (8,80) width 320: "when the window is resized). The background"
+                  text run at (8,98) width 320: "color of the element is yellow, and there should"
+                  text run at (8,116) width 320: "be a 3px solid red border outside a 5px wide"
+                  text run at (8,134) width 320: "padding. Also, the element has a 10px wide"
+                  text run at (8,152) width 320: "margin around it where the blue background of"
+                  text run at (8,170) width 320: "the paragraph in the normal flow should shine"
+                  text run at (8,188) width 54: "through."
+              LayoutBlockFlow {P} at (4,599) size 747x216 [bgcolor=#66CCFF]
+                LayoutText {#text} at (0,0) size 391x216
+                  text run at (0,0) width 391: "This paragraph is not floating. If there is enough room, the"
+                  text run at (0,18) width 391: "textual content of the paragraph should appear on the left"
+                  text run at (0,36) width 269: "side of the yellow \"sidebar\" on the right. "
+                  text run at (268,36) width 123: "The content of this"
+                  text run at (0,54) width 329: "element should flow around the floated element. "
+                  text run at (328,54) width 63: "However,"
+                  text run at (0,72) width 391: "the floated element may or may not be obscured by the blue"
+                  text run at (0,90) width 391: "background of this element, as the specification does not say"
+                  text run at (0,108) width 184: "which is drawn \"on top.\" "
+                  text run at (183,108) width 208: "Even if the floated element is"
+                  text run at (0,126) width 391: "obscured, it still forces the content of this element to flow"
+                  text run at (0,144) width 71: "around it. "
+                  text run at (70,144) width 321: "If the floated element is not obscured, then the"
+                  text run at (0,162) width 391: "blue rectangle of this paragraph should extend 10px above"
+                  text run at (0,180) width 391: "and to the right of the sidebar's red border, due to the margin"
+                  text run at (0,198) width 211: "styles set for the floated element."
+              LayoutBlockFlow (anonymous) at (4,815) size 747x18
+                LayoutBR {BR} at (0,0) size 0x18
+              LayoutBlockFlow {DIV} at (4,851) size 747x26 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
+                LayoutBlockFlow (floating) {DIV} at (403,14) size 330x244 [bgcolor=#FFFF00]
+                  LayoutBlockFlow {P} at (5,5) size 320x234
+                    LayoutText {#text} at (0,0) size 320x234
+                      text run at (0,0) width 320: "This paragraph is placed inside a DIV element"
+                      text run at (0,18) width 320: "which is floated to the right. The width of the"
+                      text run at (0,36) width 320: "DIV element is 20em. The background is yellow"
+                      text run at (0,54) width 320: "and there is a 5px padding, a 10px margin and no"
+                      text run at (0,72) width 320: "border. Since it is floated, the yellow box should"
+                      text run at (0,90) width 320: "be rendered on top of the background and borders"
+                      text run at (0,108) width 320: "of adjacent non-floated elements. To the left of"
+                      text run at (0,126) width 320: "this yellow box there should be a short paragraph"
+                      text run at (0,144) width 320: "with a blue background and a red border. The"
+                      text run at (0,162) width 320: "yellow box should be rendered on top of the"
+                      text run at (0,180) width 320: "bottom red border. I.e., the bottom red border will"
+                      text run at (0,198) width 320: "appear broken where it's overlaid by the yellow"
+                      text run at (0,216) width 63: "rectangle."
+                LayoutBlockFlow {P} at (4,4) size 739x18
+                  LayoutText {#text} at (0,0) size 274x18
+                    text run at (0,0) width 274: "See description in the box on the right side"
+              LayoutBlockFlow (anonymous) at (4,877) size 747x242
+                LayoutBR {BR} at (0,0) size 0x18
+              LayoutBlockFlow (floating) {DIV} at (4,1137) size 186.75x72 [bgcolor=#66CCFF]
+                LayoutBlockFlow {P} at (0,0) size 186.75x72
+                  LayoutText {#text} at (0,0) size 187x72
+                    text run at (0,0) width 187: "This paragraph is inside a"
+                    text run at (0,18) width 187: "DIV which is floated left. Its"
+                    text run at (0,36) width 187: "background is blue and the"
+                    text run at (0,54) width 89: "width is 25%."
+              LayoutBlockFlow (floating) {DIV} at (564.25,1137) size 186.75x72 [bgcolor=#FFFF00]
+                LayoutBlockFlow {P} at (0,0) size 186.75x72
+                  LayoutText {#text} at (0,0) size 187x72
+                    text run at (0,0) width 187: "This paragraph is inside a"
+                    text run at (0,18) width 186: "DIV which is floated right."
+                    text run at (0,36) width 20: "Its "
+                    text run at (20,36) width 166: "background is yellow and"
+                    text run at (0,54) width 112: "the width is 25%."
+              LayoutBlockFlow {P} at (4,1137) size 747x36
+                LayoutText {#text} at (186,0) size 374x36
+                  text run at (186,0) width 374: "This paragraph should appear between a blue box (on the"
+                  text run at (186,18) width 32: "left) "
+                  text run at (217,18) width 203: "and a yellow box (on the right)."
+              LayoutBlockFlow (anonymous) at (4,1173) size 747x36
+                LayoutBR {BR} at (186,0) size 1x18
+              LayoutBlockFlow (anonymous) at (4,1227) size 747x126
+                LayoutBlockFlow (floating) {DIV} at (0,0) size 560.25x126 [bgcolor=#66CCFF]
+                  LayoutBlockFlow (floating) {DIV} at (410.19,0) size 140.06x36 [bgcolor=#FFFF00]
+                    LayoutBlockFlow {P} at (0,0) size 140.06x36
+                      LayoutText {#text} at (0,0) size 140x36
+                        text run at (0,0) width 140: "See description in the"
+                        text run at (0,18) width 127: "box on the left side."
+                  LayoutBlockFlow {P} at (0,0) size 560.25x126
+                    LayoutText {#text} at (0,0) size 561x126
+                      text run at (0,0) width 410: "This paragraph is inside a DIV which is floated left. The"
+                      text run at (0,18) width 410: "background of the DIV element is blue and its width is 75%."
+                      text run at (0,36) width 35: "This "
+                      text run at (34,36) width 394: "text should all be inside the blue rectangle. The blue DIV "
+                      text run at (427,36) width 133: "element has another"
+                      text run at (0,54) width 269: "DIV element as a child. It has a yellow "
+                      text run at (268,54) width 293: "background color and is floated to the right."
+                      text run at (0,72) width 91: "Since it is a "
+                      text run at (90,72) width 443: "child of the blue DIV, the yellow DIV should appear inside the "
+                      text run at (532,72) width 29: "blue"
+                      text run at (0,90) width 395: "rectangle. Due to it being floated to the right and having "
+                      text run at (394,90) width 166: "a 10px right margin, the"
+                      text run at (0,108) width 266: "yellow rectange should have a 10px blue "
+                      text run at (265,108) width 143: "stripe on its right side."
+                LayoutBR {BR} at (560,0) size 1x18
+layer at (8,124) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,116) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,359) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,351) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,485) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,477) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,593) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,585) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,845) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,837) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1131) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1123) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1221) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1213) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1365) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1357) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (25,1522) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,120) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1631) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,229) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1757) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,355) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1883) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,481) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1991) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,589) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2243) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,841) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2529) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1127) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2619) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1217) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2763) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1361) size 747x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/height-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/height-expected.txt
new file mode 100644
index 0000000..ca57c1c5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/height-expected.txt
@@ -0,0 +1,77 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 974
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x974 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x974
+    LayoutBlockFlow {BODY} at (8,8) size 769x958 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x45
+        LayoutText {#text} at (0,0) size 164x45
+          text run at (0,0) width 157: ".one {height: 50px;}"
+          text run at (156,0) width 1: " "
+          text run at (0,15) width 164: ".two {height: 100px;}"
+          text run at (163,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutBlockFlow (anonymous) at (0,102) size 769x50
+        LayoutImage {IMG} at (0,0) size 50x50
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,168) size 769x18
+        LayoutText {#text} at (0,0) size 280x18
+          text run at (0,0) width 280: "The square above should be fifty pixels tall."
+      LayoutBlockFlow (anonymous) at (0,202) size 769x100
+        LayoutImage {IMG} at (0,0) size 100x100
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,318) size 769x18
+        LayoutText {#text} at (0,0) size 340x18
+          text run at (0,0) width 340: "The square above should be 100 pixels tall and wide."
+      LayoutBlockFlow (anonymous) at (0,352) size 769x100
+        LayoutImage {IMG} at (0,0) size 30x100
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,468) size 769x36
+        LayoutText {#text} at (0,0) size 765x36
+          text run at (0,0) width 765: "The rectangular image above should be 100 pixels tall and 30 pixels wide (the original image is 50x15, and the size has"
+          text run at (0,18) width 152: "been doubled using the "
+        LayoutInline {CODE} at (0,0) size 48x15
+          LayoutText {#text} at (151,20) size 48x15
+            text run at (151,20) width 48: "height"
+        LayoutText {#text} at (198,18) size 69x18
+          text run at (198,18) width 69: " property)."
+      LayoutTable {TABLE} at (0,520) size 769x438 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x436
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x410
+            LayoutTableCell {TD} at (0,218) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x410 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (4,4) size 747x50
+                LayoutImage {IMG} at (0,0) size 50x50
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,70) size 747x18
+                LayoutText {#text} at (0,0) size 280x18
+                  text run at (0,0) width 280: "The square above should be fifty pixels tall."
+              LayoutBlockFlow (anonymous) at (4,104) size 747x100
+                LayoutImage {IMG} at (0,0) size 100x100
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,220) size 747x18
+                LayoutText {#text} at (0,0) size 340x18
+                  text run at (0,0) width 340: "The square above should be 100 pixels tall and wide."
+              LayoutBlockFlow (anonymous) at (4,254) size 747x100
+                LayoutImage {IMG} at (0,0) size 30x100
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,370) size 747x36
+                LayoutText {#text} at (0,0) size 739x36
+                  text run at (0,0) width 739: "The rectangular image above should be 100 pixels tall and 30 pixels wide (the original image is 50x15, and the size"
+                  text run at (0,18) width 178: "has been doubled using the "
+                LayoutInline {CODE} at (0,0) size 48x15
+                  LayoutText {#text} at (177,20) size 48x15
+                    text run at (177,20) width 48: "height"
+                LayoutText {#text} at (224,18) size 68x18
+                  text run at (224,18) width 68: " property)."
+layer at (8,100) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin-expected.txt
new file mode 100644
index 0000000..4e9507b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin-expected.txt
@@ -0,0 +1,167 @@
+layer at (0,0) size 800x600 scrollWidth 802 scrollHeight 2645
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x2645 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x2645
+    LayoutBlockFlow {BODY} at (8,8) size 784x2629 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x105
+        LayoutText {#text} at (0,0) size 352x105
+          text run at (0,0) width 344: ".zero {background-color: silver; margin: 0;}"
+          text run at (343,0) width 1: " "
+          text run at (0,15) width 352: ".one {margin: 0.5in; background-color: aqua;}"
+          text run at (351,15) width 1: " "
+          text run at (0,30) width 344: ".two {margin: 25px; background-color: aqua;}"
+          text run at (343,30) width 1: " "
+          text run at (0,45) width 352: ".three {margin: 5em; background-color: aqua;}"
+          text run at (351,45) width 1: " "
+          text run at (0,60) width 344: ".four {margin: 25%; background-color: aqua;}"
+          text run at (343,60) width 1: " "
+          text run at (0,75) width 164: ".five {margin: 25px;}"
+          text run at (163,75) width 1: " "
+          text run at (0,90) width 352: ".six {margin: -10px; background-color: aqua;}"
+          text run at (351,90) width 1: " "
+      LayoutBlockFlow {P} at (0,170) size 784x36
+        LayoutText {#text} at (0,0) size 752x36
+          text run at (0,0) width 752: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in"
+          text run at (0,18) width 252: "section 4.1.1 of the CSS1 specification."
+      LayoutBlockFlow {P} at (0,222) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (48,288) size 688x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 672x18
+          text run at (0,0) width 672: "This sentence should have an overall margin of half an inch, which will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,354) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (25,397) size 734x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 655x18
+          text run at (0,0) width 655: "This sentence should have an overall margin of 25 pixels, which will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,440) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (80,538) size 624x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 598x36
+          text run at (0,0) width 598: "This sentence should have an overall margin of 5 em, which will require extra text in order to"
+          text run at (0,18) width 27: "test."
+      LayoutBlockFlow {P} at (0,654) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (196,868) size 392x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 386x54
+          text run at (0,0) width 383: "This sentence should have an overall margin of 25%, which"
+          text run at (0,18) width 386: "is calculated with respect to the width of the parent element."
+          text run at (0,36) width 272: "This will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,1118) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {UL} at (25,1161) size 734x122 [bgcolor=#00FFFF]
+        LayoutListItem {LI} at (40,0) size 694x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 382x18
+            text run at (0,0) width 382: "This list has a margin of 25px, and a light blue background."
+        LayoutListItem {LI} at (40,18) size 694x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 269x18
+            text run at (0,0) width 269: "Therefore, it ought to have such a margin."
+        LayoutListItem {LI} at (65,61) size 644x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 555x18
+            text run at (0,0) width 555: "This list item has a margin of 25px, which should cause it to be offset in some fashion."
+        LayoutListItem {LI} at (40,104) size 694x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 304x18
+            text run at (0,0) width 304: "This list item has no special styles applied to it."
+      LayoutBlockFlow {P} at (0,1308) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (-10,1316) size 804x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 789x54
+          text run at (0,0) width 772: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull"
+          text run at (0,18) width 376: "subsequent text up toward it, and a light blue background. "
+          text run at (375,18) width 394: "In all other respects, however, the element should be normal. "
+          text run at (768,18) width 21: "No"
+          text run at (0,36) width 538: "styles have been applied to it besides the negative margin and the background color."
+      LayoutBlockFlow {P} at (0,1360) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,1378) size 784x1251 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x1249
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x1223
+            LayoutTableCell {TD} at (0,624) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x1223 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x36
+                LayoutText {#text} at (0,0) size 752x36
+                  text run at (0,0) width 752: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in"
+                  text run at (0,18) width 252: "section 4.1.1 of the CSS1 specification."
+              LayoutBlockFlow {P} at (4,56) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (52,122) size 666x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 642x36
+                  text run at (0,0) width 642: "This sentence should have an overall margin of half an inch, which will require extra text in order to"
+                  text run at (0,18) width 27: "test."
+              LayoutBlockFlow {P} at (4,206) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (29,249) size 712x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 655x18
+                  text run at (0,0) width 655: "This sentence should have an overall margin of 25 pixels, which will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,292) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (84,390) size 602x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 598x36
+                  text run at (0,0) width 598: "This sentence should have an overall margin of 5 em, which will require extra text in order to"
+                  text run at (0,18) width 27: "test."
+              LayoutBlockFlow {P} at (4,506) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (194.50,714.50) size 381x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 370x54
+                  text run at (0,0) width 340: "This sentence should have an overall margin of 25%,"
+                  text run at (0,18) width 370: "which is calculated with respect to the width of the parent"
+                  text run at (0,36) width 59: "element. "
+                  text run at (58,36) width 273: "This will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,959) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {UL} at (29,1002) size 712x122 [bgcolor=#00FFFF]
+                LayoutListItem {LI} at (40,0) size 672x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 382x18
+                    text run at (0,0) width 382: "This list has a margin of 25px, and a light blue background."
+                LayoutListItem {LI} at (40,18) size 672x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 269x18
+                    text run at (0,0) width 269: "Therefore, it ought to have such a margin."
+                LayoutListItem {LI} at (65,61) size 622x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 555x18
+                    text run at (0,0) width 555: "This list item has a margin of 25px, which should cause it to be offset in some fashion."
+                LayoutListItem {LI} at (40,104) size 672x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 304x18
+                    text run at (0,0) width 304: "This list item has no special styles applied to it."
+              LayoutBlockFlow {P} at (4,1149) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (-6,1157) size 782x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 772x54
+                  text run at (0,0) width 772: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull"
+                  text run at (0,18) width 376: "subsequent text up toward it, and a light blue background. "
+                  text run at (375,18) width 390: "In all other respects, however, the element should be normal."
+                  text run at (0,36) width 561: "No styles have been applied to it besides the negative margin and the background color."
+              LayoutBlockFlow {P} at (4,1201) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+layer at (8,160) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_bottom-expected.txt
new file mode 100644
index 0000000..3d4946d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_bottom-expected.txt
@@ -0,0 +1,151 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1729
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1729 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1729.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1713.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x135
+        LayoutText {#text} at (0,0) size 406x135
+          text run at (0,0) width 398: ".zero {background-color: silver; margin-bottom: 0;}"
+          text run at (397,0) width 1: " "
+          text run at (0,15) width 406: ".one {margin-bottom: 0.5in; background-color: aqua;}"
+          text run at (405,15) width 1: " "
+          text run at (0,30) width 398: ".two {margin-bottom: 25px; background-color: aqua;}"
+          text run at (397,30) width 1: " "
+          text run at (0,45) width 406: ".three {margin-bottom: 5em; background-color: aqua;}"
+          text run at (405,45) width 1: " "
+          text run at (0,60) width 398: ".four {margin-bottom: 25%; background-color: aqua;}"
+          text run at (397,60) width 1: " "
+          text run at (0,75) width 219: ".five {margin-bottom: 25px;}"
+          text run at (218,75) width 1: " "
+          text run at (0,90) width 406: ".six {margin-bottom: -10px; background-color: aqua;}"
+          text run at (405,90) width 1: " "
+          text run at (0,105) width 172: "P, UL {margin-top: 0;}"
+          text run at (171,105) width 1: " "
+          text run at (0,120) width 0: " "
+      LayoutBlockFlow {P} at (0,192) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,210) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 756x36
+          text run at (0,0) width 756: "This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure that the"
+          text run at (0,18) width 208: "margin isn't applied to each line."
+      LayoutBlockFlow {P} at (0,294) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 739x36
+          text run at (0,0) width 739: "This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure that the"
+          text run at (0,18) width 208: "margin isn't applied to each line."
+      LayoutBlockFlow {P} at (0,355) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 761x36
+          text run at (0,0) width 761: "This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the margin"
+          text run at (0,18) width 159: "isn't applied to each line."
+      LayoutBlockFlow {P} at (0,471) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 754x36
+          text run at (0,0) width 754: "This element should have a bottom margin of 25%, which will require extra text in order to make sure that the margin"
+          text run at (0,18) width 159: "isn't applied to each line."
+      LayoutBlockFlow {P} at (0,699.25) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,717.25) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 238x18
+          text run at (0,0) width 238: "This element also has a class of zero."
+      LayoutBlockFlow {UL} at (0,735.25) size 769x97 [bgcolor=#00FFFF]
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 433x18
+            text run at (0,0) width 433: "This list has a margin-bottom of 25px, and a light blue background."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 269x18
+            text run at (0,0) width 269: "Therefore, it ought to have such a margin."
+        LayoutListItem {LI} at (40,36) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 604x18
+            text run at (0,0) width 604: "This list item has a bottom margin of 25px, which should cause it to be offset in some fashion."
+        LayoutListItem {LI} at (40,79) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 304x18
+            text run at (0,0) width 304: "This list item has no special styles applied to it."
+      LayoutBlockFlow {P} at (0,857.25) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 761x54
+          text run at (0,0) width 761: "This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \"upward\" on the page,"
+          text run at (0,18) width 125: "and no top margin. "
+          text run at (124,18) width 497: "No other styles have been applied to it besides a light blue background color. "
+          text run at (620,18) width 131: "In all other respects,"
+          text run at (0,36) width 194: "the element should be normal."
+      LayoutBlockFlow {P} at (0,901.25) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,919.25) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 238x18
+          text run at (0,0) width 238: "This element also has a class of zero."
+      LayoutTable {TABLE} at (0,937.25) size 769x776 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x774
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x748
+            LayoutTableCell {TD} at (0,387) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x747.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,22) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 732x36
+                  text run at (0,0) width 732: "This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure that"
+                  text run at (0,18) width 232: "the margin isn't applied to each line."
+              LayoutBlockFlow {P} at (4,106) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 739x36
+                  text run at (0,0) width 739: "This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure that the"
+                  text run at (0,18) width 208: "margin isn't applied to each line."
+              LayoutBlockFlow {P} at (4,167) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 712x36
+                  text run at (0,0) width 712: "This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the"
+                  text run at (0,18) width 208: "margin isn't applied to each line."
+              LayoutBlockFlow {P} at (4,283) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 705x36
+                  text run at (0,0) width 705: "This element should have a bottom margin of 25%, which will require extra text in order to make sure that the"
+                  text run at (0,18) width 208: "margin isn't applied to each line."
+              LayoutBlockFlow {P} at (4,505.75) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,523.75) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 238x18
+                  text run at (0,0) width 238: "This element also has a class of zero."
+              LayoutBlockFlow {UL} at (4,541.75) size 747x97 [bgcolor=#00FFFF]
+                LayoutListItem {LI} at (40,0) size 707x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 433x18
+                    text run at (0,0) width 433: "This list has a margin-bottom of 25px, and a light blue background."
+                LayoutListItem {LI} at (40,18) size 707x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 269x18
+                    text run at (0,0) width 269: "Therefore, it ought to have such a margin."
+                LayoutListItem {LI} at (40,36) size 707x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 604x18
+                    text run at (0,0) width 604: "This list item has a bottom margin of 25px, which should cause it to be offset in some fashion."
+                LayoutListItem {LI} at (40,79) size 707x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 304x18
+                    text run at (0,0) width 304: "This list item has no special styles applied to it."
+              LayoutBlockFlow {P} at (4,663.75) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 730x54
+                  text run at (0,0) width 722: "This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \"upward\" on the"
+                  text run at (0,18) width 163: "page, and no top margin. "
+                  text run at (162,18) width 498: "No other styles have been applied to it besides a light blue background color. "
+                  text run at (659,18) width 71: "In all other"
+                  text run at (0,36) width 253: "respects, the element should be normal."
+              LayoutBlockFlow {P} at (4,707.75) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,725.75) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 238x18
+                  text run at (0,0) width 238: "This element also has a class of zero."
+layer at (8,190) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_bottom_inline-expected.txt
new file mode 100644
index 0000000..40a2ec1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_bottom_inline-expected.txt
@@ -0,0 +1,96 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x30
+        LayoutText {#text} at (0,0) size 406x30
+          text run at (0,0) width 398: ".one {margin-bottom: 25px; background-color: aqua;}"
+          text run at (397,0) width 1: " "
+          text run at (0,15) width 406: ".two {margin-bottom: -10px; background-color: aqua;}"
+          text run at (405,15) width 1: " "
+      LayoutBlockFlow {P} at (0,95) size 784x54 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 490x18
+          text run at (0,0) width 400: "This element is unstyled save for a background color of gray.. "
+          text run at (399,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 776x36 [bgcolor=#00FFFF]
+          LayoutText {#text} at (489,0) size 148x18
+            text run at (489,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (636,2) size 25x15
+              text run at (636,2) width 25: "one"
+          LayoutText {#text} at (660,0) size 776x36
+            text run at (660,0) width 116: ", giving it an aqua"
+            text run at (0,18) width 249: "background and a 25px bottom margin"
+        LayoutText {#text} at (248,18) size 775x36
+          text run at (248,18) width 9: ". "
+          text run at (256,18) width 519: "Margins on inline elements does not affect line-height calculations, so all lines in"
+          text run at (0,36) width 297: "this element should have the same line-height."
+      LayoutBlockFlow {P} at (0,165) size 784x54 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 490x18
+          text run at (0,0) width 400: "This element is unstyled save for a background color of gray.. "
+          text run at (399,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 776x36 [bgcolor=#00FFFF]
+          LayoutText {#text} at (489,0) size 148x18
+            text run at (489,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (636,2) size 25x15
+              text run at (636,2) width 25: "two"
+          LayoutText {#text} at (660,0) size 776x36
+            text run at (660,0) width 116: ", giving it an aqua"
+            text run at (0,18) width 254: "background and a -10px bottom margin"
+        LayoutText {#text} at (253,18) size 781x36
+          text run at (253,18) width 9: ". "
+          text run at (261,18) width 520: "Margins on inline elements does not affect line-height calculations, so all lines in"
+          text run at (0,36) width 297: "this element should have the same line-height."
+      LayoutTable {TABLE} at (0,235) size 784x160 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x158
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x132
+            LayoutTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x54 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 490x18
+                  text run at (0,0) width 400: "This element is unstyled save for a background color of gray.. "
+                  text run at (399,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 742x36 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (489,0) size 148x18
+                    text run at (489,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (636,2) size 25x15
+                      text run at (636,2) width 25: "one"
+                  LayoutText {#text} at (660,0) size 742x36
+                    text run at (660,0) width 82: ", giving it an"
+                    text run at (0,18) width 283: "aqua background and a 25px bottom margin"
+                LayoutText {#text} at (282,18) size 759x36
+                  text run at (282,18) width 9: ". "
+                  text run at (290,18) width 469: "Margins on inline elements does not affect line-height calculations, so all"
+                  text run at (0,36) width 348: "lines in this element should have the same line-height."
+              LayoutBlockFlow {P} at (4,74) size 762x54 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 490x18
+                  text run at (0,0) width 400: "This element is unstyled save for a background color of gray.. "
+                  text run at (399,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 742x36 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (489,0) size 148x18
+                    text run at (489,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (636,2) size 25x15
+                      text run at (636,2) width 25: "two"
+                  LayoutText {#text} at (660,0) size 742x36
+                    text run at (660,0) width 82: ", giving it an"
+                    text run at (0,18) width 288: "aqua background and a -10px bottom margin"
+                LayoutText {#text} at (287,18) size 744x36
+                  text run at (287,18) width 9: ". "
+                  text run at (295,18) width 449: "Margins on inline elements does not affect line-height calculations, so"
+                  text run at (0,36) width 368: "all lines in this element should have the same line-height."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_inline-expected.txt
new file mode 100644
index 0000000..7de450d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_inline-expected.txt
@@ -0,0 +1,126 @@
+layer at (0,0) size 800x600 scrollHeight 714
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x714 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x714
+    LayoutBlockFlow {BODY} at (8,8) size 784x698 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 352x45
+          text run at (0,0) width 344: ".zero {background-color: silver; margin: 0;}"
+          text run at (343,0) width 1: " "
+          text run at (0,15) width 344: ".one {margin: 25px; background-color: aqua;}"
+          text run at (343,15) width 1: " "
+          text run at (0,30) width 352: ".two {margin: -10px; background-color: aqua;}"
+          text run at (351,30) width 1: " "
+      LayoutBlockFlow {P} at (0,102) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,136) size 784x72 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 490x18
+          text run at (0,0) width 400: "This element is unstyled save for a background color of gray.. "
+          text run at (399,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 767x36 [bgcolor=#00FFFF]
+          LayoutText {#text} at (514,0) size 148x18
+            text run at (514,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (661,2) size 25x15
+              text run at (661,2) width 25: "one"
+          LayoutText {#text} at (685,0) size 767x36
+            text run at (685,0) width 82: ", giving it an"
+            text run at (0,18) width 233: "aqua background and a 25px margin"
+        LayoutText {#text} at (257,18) size 782x54
+          text run at (257,18) width 9: ". "
+          text run at (265,18) width 504: "Margins on inline elements does not affect line-height calculations, so all lines"
+          text run at (0,36) width 317: "in this element should have the same line-height. "
+          text run at (316,36) width 466: "However, there should be a 25px margin to the left side of the inline box"
+          text run at (0,54) width 761: "in the first line it appears, and a 25px margin to the right side of the inline element box in the last line where it appears."
+      LayoutBlockFlow {P} at (0,224) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,258) size 784x72 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 490x18
+          text run at (0,0) width 400: "This element is unstyled save for a background color of gray.. "
+          text run at (399,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 766x36 [bgcolor=#00FFFF]
+          LayoutText {#text} at (479,0) size 148x18
+            text run at (479,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (626,2) size 25x15
+              text run at (626,2) width 25: "two"
+          LayoutText {#text} at (650,0) size 766x36
+            text run at (650,0) width 116: ", giving it an aqua"
+            text run at (0,18) width 205: "background and a -10px margin"
+        LayoutText {#text} at (194,18) size 783x54
+          text run at (194,18) width 9: ". "
+          text run at (202,18) width 547: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+          text run at (0,36) width 274: "element should have the same line-height. "
+          text run at (273,36) width 510: "However, there should be a -10px margin to the left side of the inline box in the"
+          text run at (0,54) width 727: "first line it appears, and a -10px margin to the right side of the inline element box in the last line where it appears."
+      LayoutBlockFlow {P} at (0,346) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,364) size 784x334 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x332
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x306
+            LayoutTableCell {TD} at (0,166) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x306 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,38) size 762x90 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 490x18
+                  text run at (0,0) width 400: "This element is unstyled save for a background color of gray.. "
+                  text run at (399,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 748x36 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (514,0) size 148x18
+                    text run at (514,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (661,2) size 25x15
+                      text run at (661,2) width 25: "one"
+                  LayoutText {#text} at (685,0) size 748x36
+                    text run at (685,0) width 63: ", giving it"
+                    text run at (0,18) width 253: "an aqua background and a 25px margin"
+                LayoutText {#text} at (277,18) size 760x72
+                  text run at (277,18) width 9: ". "
+                  text run at (285,18) width 469: "Margins on inline elements does not affect line-height calculations, so all"
+                  text run at (0,36) width 352: "lines in this element should have the same line-height. "
+                  text run at (351,36) width 396: "However, there should be a 25px margin to the left side of the"
+                  text run at (0,54) width 760: "inline box in the first line it appears, and a 25px margin to the right side of the inline element box in the last line where"
+                  text run at (0,72) width 66: "it appears."
+              LayoutBlockFlow {P} at (4,144) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,178) size 762x90 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 490x18
+                  text run at (0,0) width 400: "This element is unstyled save for a background color of gray.. "
+                  text run at (399,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 732x36 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (479,0) size 148x18
+                    text run at (479,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (626,2) size 25x15
+                      text run at (626,2) width 25: "two"
+                  LayoutText {#text} at (650,0) size 732x36
+                    text run at (650,0) width 82: ", giving it an"
+                    text run at (0,18) width 239: "aqua background and a -10px margin"
+                LayoutText {#text} at (228,18) size 756x72
+                  text run at (228,18) width 9: ". "
+                  text run at (236,18) width 520: "Margins on inline elements does not affect line-height calculations, so all lines in"
+                  text run at (0,36) width 301: "this element should have the same line-height. "
+                  text run at (300,36) width 442: "However, there should be a -10px margin to the left side of the inline"
+                  text run at (0,54) width 738: "box in the first line it appears, and a -10px margin to the right side of the inline element box in the last line where it"
+                  text run at (0,72) width 53: "appears."
+              LayoutBlockFlow {P} at (4,284) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_left-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_left-expected.txt
new file mode 100644
index 0000000..c1806f6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_left-expected.txt
@@ -0,0 +1,121 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1005
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1005 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1005
+    LayoutBlockFlow {BODY} at (8,8) size 769x989 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 398x90
+          text run at (0,0) width 383: ".zero {background-color: silver; margin-left: 0;}"
+          text run at (382,0) width 1: " "
+          text run at (0,15) width 391: ".one {margin-left: 0.5in; background-color: aqua;}"
+          text run at (390,15) width 1: " "
+          text run at (0,30) width 383: ".two {margin-left: 25px; background-color: aqua;}"
+          text run at (382,30) width 1: " "
+          text run at (0,45) width 391: ".three {margin-left: 5em; background-color: aqua;}"
+          text run at (390,45) width 1: " "
+          text run at (0,60) width 383: ".four {margin-left: 25%; background-color: aqua;}"
+          text run at (382,60) width 1: " "
+          text run at (0,75) width 398: ".five {margin-left: -10px; background-color: aqua;}"
+          text run at (397,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (48,189) size 721x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 355x18
+          text run at (0,0) width 355: "This sentence should have a left margin of half an inch."
+      LayoutBlockFlow {P} at (25,223) size 744x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 338x18
+          text run at (0,0) width 338: "This sentence should have a left margin of 25 pixels."
+      LayoutBlockFlow {P} at (80,257) size 689x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 311x18
+          text run at (0,0) width 311: "This sentence should have a left margin of 5 em."
+      LayoutBlockFlow {P} at (192.25,291) size 576.75x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 557x36
+          text run at (0,0) width 557: "This sentence should have a left margin of 25%, which is calculated with respect to the"
+          text run at (0,18) width 180: "width of the parent element."
+      LayoutBlockFlow {UL} at (25,343) size 744x90 [bgcolor=#808080]
+        LayoutListItem {LI} at (40,0) size 704x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 699x18
+            text run at (0,0) width 699: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to gray."
+        LayoutListItem {LI} at (65,18) size 679x54 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 669x54
+            text run at (0,0) width 669: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+            text run at (0,18) width 61: "checked. "
+            text run at (60,18) width 576: "This list item has its left margin also set to 25 pixels, which should combine with the list's"
+            text run at (0,36) width 537: "margin to make 50 pixels of margin, and its background color has been set to white."
+        LayoutListItem {LI} at (40,72) size 704x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 185x18
+            text run at (0,0) width 185: "This is an unclassed list item"
+      LayoutBlockFlow {P} at (0,449) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (-10,483) size 779x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 773x54
+          text run at (0,0) width 773: "This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light"
+          text run at (0,18) width 116: "blue background. "
+          text run at (115,18) width 394: "In all other respects, however, the element should be normal. "
+          text run at (508,18) width 261: "No styles have been applied to it besides"
+          text run at (0,36) width 323: "the negative left margin and the background color."
+      LayoutTable {TABLE} at (0,553) size 769x436 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x434
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x408
+            LayoutTableCell {TD} at (0,217) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x408 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (52,38) size 699x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 355x18
+                  text run at (0,0) width 355: "This sentence should have a left margin of half an inch."
+              LayoutBlockFlow {P} at (29,72) size 722x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 338x18
+                  text run at (0,0) width 338: "This sentence should have a left margin of 25 pixels."
+              LayoutBlockFlow {P} at (84,106) size 667x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 311x18
+                  text run at (0,0) width 311: "This sentence should have a left margin of 5 em."
+              LayoutBlockFlow {P} at (190.75,140) size 560.25x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 557x36
+                  text run at (0,0) width 557: "This sentence should have a left margin of 25%, which is calculated with respect to the"
+                  text run at (0,18) width 180: "width of the parent element."
+              LayoutBlockFlow {UL} at (29,192) size 722x108 [bgcolor=#808080]
+                LayoutListItem {LI} at (40,0) size 682x36
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 664x36
+                    text run at (0,0) width 664: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to"
+                    text run at (0,18) width 32: "gray."
+                LayoutListItem {LI} at (65,36) size 657x54 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 652x54
+                    text run at (0,0) width 617: "Another list item might not be such a bad idea, either, considering that such things do need to be"
+                    text run at (0,18) width 110: "double-checked. "
+                    text run at (109,18) width 543: "This list item has its left margin also set to 25 pixels, which should combine with the"
+                    text run at (0,36) width 570: "list's margin to make 50 pixels of margin, and its background color has been set to white."
+                LayoutListItem {LI} at (40,90) size 682x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 185x18
+                    text run at (0,0) width 185: "This is an unclassed list item"
+              LayoutBlockFlow {P} at (4,316) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (-6,350) size 757x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 751x54
+                  text run at (0,0) width 740: "This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a"
+                  text run at (0,18) width 149: "light blue background. "
+                  text run at (148,18) width 394: "In all other respects, however, the element should be normal. "
+                  text run at (541,18) width 210: "No styles have been applied to it"
+                  text run at (0,36) width 374: "besides the negative left margin and the background color."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_left_inline-expected.txt
new file mode 100644
index 0000000..5f2920df
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_left_inline-expected.txt
@@ -0,0 +1,100 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x30
+        LayoutText {#text} at (0,0) size 391x30
+          text run at (0,0) width 383: ".one {margin-left: 25px; background-color: aqua;}"
+          text run at (382,0) width 1: " "
+          text run at (0,15) width 391: ".two {margin-left: -10px; background-color: aqua;}"
+          text run at (390,15) width 1: " "
+      LayoutBlockFlow {P} at (0,95) size 784x36 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 551x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+          LayoutText {#text} at (575,0) size 149x18
+            text run at (575,0) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (723,2) size 24x15
+              text run at (723,2) width 24: "one"
+        LayoutText {#text} at (746,0) size 751x36
+          text run at (746,0) width 5: ","
+          text run at (0,18) width 350: "which should result in 25-pixel left margin only in the "
+        LayoutInline {STRONG} at (0,0) size 29x18
+          LayoutText {#text} at (349,18) size 29x18
+            text run at (349,18) width 29: "first"
+        LayoutText {#text} at (377,18) size 237x18
+          text run at (377,18) width 237: " line in which the inline box appears."
+      LayoutBlockFlow {P} at (0,147) size 784x36 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 551x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+          LayoutText {#text} at (540,0) size 149x18
+            text run at (540,0) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (688,2) size 24x15
+              text run at (688,2) width 24: "two"
+        LayoutText {#text} at (711,0) size 759x36
+          text run at (711,0) width 48: ", which"
+          text run at (0,18) width 291: "should result in -10px left margin only in the "
+        LayoutInline {STRONG} at (0,0) size 29x18
+          LayoutText {#text} at (290,18) size 29x18
+            text run at (290,18) width 29: "first"
+        LayoutText {#text} at (318,18) size 237x18
+          text run at (318,18) width 237: " line in which the inline box appears."
+      LayoutTable {TABLE} at (0,199) size 784x124 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x122
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x96
+            LayoutTableCell {TD} at (0,61) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x96 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x36 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 551x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (575,0) size 149x18
+                    text run at (575,0) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (723,2) size 24x15
+                      text run at (723,2) width 24: "one"
+                LayoutText {#text} at (746,0) size 751x36
+                  text run at (746,0) width 5: ","
+                  text run at (0,18) width 350: "which should result in 25-pixel left margin only in the "
+                LayoutInline {STRONG} at (0,0) size 29x18
+                  LayoutText {#text} at (349,18) size 29x18
+                    text run at (349,18) width 29: "first"
+                LayoutText {#text} at (377,18) size 237x18
+                  text run at (377,18) width 237: " line in which the inline box appears."
+              LayoutBlockFlow {P} at (4,56) size 762x36 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 551x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (540,0) size 149x18
+                    text run at (540,0) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (688,2) size 24x15
+                      text run at (688,2) width 24: "two"
+                LayoutText {#text} at (711,0) size 759x36
+                  text run at (711,0) width 48: ", which"
+                  text run at (0,18) width 291: "should result in -10px left margin only in the "
+                LayoutInline {STRONG} at (0,0) size 29x18
+                  LayoutText {#text} at (290,18) size 29x18
+                    text run at (290,18) width 29: "first"
+                LayoutText {#text} at (318,18) size 237x18
+                  text run at (318,18) width 237: " line in which the inline box appears."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_right-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_right-expected.txt
new file mode 100644
index 0000000..2b86296
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_right-expected.txt
@@ -0,0 +1,121 @@
+layer at (0,0) size 800x600 scrollWidth 802 scrollHeight 1005
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x1005 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x1005
+    LayoutBlockFlow {BODY} at (8,8) size 784x989 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x90
+        LayoutText {#text} at (0,0) size 547x90
+          text run at (0,0) width 539: ".zero {background-color: silver; margin-right: 0; text-align: right;}"
+          text run at (538,0) width 1: " "
+          text run at (0,15) width 547: ".one {margin-right: 0.5in; text-align: right; background-color: aqua;}"
+          text run at (546,15) width 1: " "
+          text run at (0,30) width 539: ".two {margin-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (538,30) width 1: " "
+          text run at (0,45) width 547: ".three {margin-right: 5em; text-align: right; background-color: aqua;}"
+          text run at (546,45) width 1: " "
+          text run at (0,60) width 539: ".four {margin-right: 25%; text-align: right; background-color: aqua;}"
+          text run at (538,60) width 1: " "
+          text run at (0,75) width 406: ".five {margin-right: -10px; background-color: aqua;}"
+          text run at (405,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (576,0) size 208x18
+          text run at (576,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,189) size 736x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (372,0) size 364x18
+          text run at (372,0) width 364: "This sentence should have a right margin of half an inch."
+      LayoutBlockFlow {P} at (0,223) size 759x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (412,0) size 347x18
+          text run at (412,0) width 347: "This sentence should have a right margin of 25 pixels."
+      LayoutBlockFlow {P} at (0,257) size 704x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (384,0) size 320x18
+          text run at (384,0) width 320: "This sentence should have a right margin of 5 em."
+      LayoutBlockFlow {P} at (0,291) size 588x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (22,0) size 566x36
+          text run at (22,0) width 566: "This sentence should have a right margin of 25%, which is calculated with respect to the"
+          text run at (408,18) width 180: "width of the parent element."
+      LayoutBlockFlow {UL} at (0,343) size 759x90 [bgcolor=#808080]
+        LayoutListItem {LI} at (40,0) size 719x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (7,0) size 712x18
+            text run at (7,0) width 712: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray."
+        LayoutListItem {LI} at (40,18) size 694x54 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (25,0) size 694x54
+            text run at (25,0) width 669: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+            text run at (0,18) width 62: "checked. "
+            text run at (61,18) width 633: "This list item has its right margin also set to 25 pixels, which should combine with the list's margin"
+            text run at (205,36) width 489: "to make 50 pixels of margin, and its background-color has been set to white."
+        LayoutListItem {LI} at (40,72) size 719x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (534,0) size 185x18
+            text run at (534,0) width 185: "This is an unclassed list item"
+      LayoutBlockFlow {P} at (0,449) size 784x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (576,0) size 208x18
+          text run at (576,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,483) size 794x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 793x54
+          text run at (0,0) width 782: "This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light"
+          text run at (0,18) width 116: "blue background. "
+          text run at (115,18) width 394: "In all other respects, however, the element should be normal. "
+          text run at (508,18) width 285: "No styles have been applied to it besides the"
+          text run at (0,36) width 308: "negative right margin and the background color."
+      LayoutTable {TABLE} at (0,553) size 784x436 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x434
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x408
+            LayoutTableCell {TD} at (0,217) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x408 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (554,0) size 208x18
+                  text run at (554,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,38) size 714x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (350,0) size 364x18
+                  text run at (350,0) width 364: "This sentence should have a right margin of half an inch."
+              LayoutBlockFlow {P} at (4,72) size 737x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (390,0) size 347x18
+                  text run at (390,0) width 347: "This sentence should have a right margin of 25 pixels."
+              LayoutBlockFlow {P} at (4,106) size 682x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (362,0) size 320x18
+                  text run at (362,0) width 320: "This sentence should have a right margin of 5 em."
+              LayoutBlockFlow {P} at (4,140) size 571.50x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (5,0) size 567x36
+                  text run at (5,0) width 567: "This sentence should have a right margin of 25%, which is calculated with respect to the"
+                  text run at (391,18) width 181: "width of the parent element."
+              LayoutBlockFlow {UL} at (4,192) size 737x108 [bgcolor=#808080]
+                LayoutListItem {LI} at (40,0) size 697x36
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (20,0) size 677x36
+                    text run at (20,0) width 677: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to"
+                    text run at (665,18) width 32: "gray."
+                LayoutListItem {LI} at (40,36) size 672x54 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (3,0) size 669x54
+                    text run at (3,0) width 669: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+                    text run at (27,18) width 62: "checked. "
+                    text run at (88,18) width 584: "This list item has its right margin also set to 25 pixels, which should combine with the list's"
+                    text run at (134,36) width 538: "margin to make 50 pixels of margin, and its background-color has been set to white."
+                LayoutListItem {LI} at (40,90) size 697x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (512,0) size 185x18
+                    text run at (512,0) width 185: "This is an unclassed list item"
+              LayoutBlockFlow {P} at (4,316) size 762x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (554,0) size 208x18
+                  text run at (554,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,350) size 772x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 751x54
+                  text run at (0,0) width 749: "This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a"
+                  text run at (0,18) width 149: "light blue background. "
+                  text run at (148,18) width 394: "In all other respects, however, the element should be normal. "
+                  text run at (541,18) width 210: "No styles have been applied to it"
+                  text run at (0,36) width 383: "besides the negative right margin and the background color."
+layer at (8,145) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_right_inline-expected.txt
new file mode 100644
index 0000000..cf4788e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_right_inline-expected.txt
@@ -0,0 +1,100 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x30
+        LayoutText {#text} at (0,0) size 539x30
+          text run at (0,0) width 539: ".one {margin-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (538,0) width 1: " "
+          text run at (0,15) width 398: ".two {margin-right: -10px; background-color: aqua;}"
+          text run at (397,15) width 1: " "
+      LayoutBlockFlow {P} at (0,95) size 784x36 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 551x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+          LayoutText {#text} at (550,0) size 149x18
+            text run at (550,0) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (698,2) size 24x15
+              text run at (698,2) width 24: "one"
+        LayoutText {#text} at (746,0) size 751x36
+          text run at (746,0) width 5: ","
+          text run at (0,18) width 359: "which should result in 25-pixel right margin only in the "
+        LayoutInline {STRONG} at (0,0) size 25x18
+          LayoutText {#text} at (358,18) size 25x18
+            text run at (358,18) width 25: "last"
+        LayoutText {#text} at (382,18) size 238x18
+          text run at (382,18) width 238: " line in which the inline box appears."
+      LayoutBlockFlow {P} at (0,147) size 784x36 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 551x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+          LayoutText {#text} at (550,0) size 149x18
+            text run at (550,0) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (698,2) size 24x15
+              text run at (698,2) width 24: "two"
+        LayoutText {#text} at (711,0) size 759x36
+          text run at (711,0) width 48: ", which"
+          text run at (0,18) width 300: "should result in -10px right margin only in the "
+        LayoutInline {STRONG} at (0,0) size 25x18
+          LayoutText {#text} at (299,18) size 25x18
+            text run at (299,18) width 25: "last"
+        LayoutText {#text} at (323,18) size 238x18
+          text run at (323,18) width 238: " line in which the inline box appears."
+      LayoutTable {TABLE} at (0,199) size 784x124 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x122
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x96
+            LayoutTableCell {TD} at (0,61) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x96 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x36 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 551x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (550,0) size 149x18
+                    text run at (550,0) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (698,2) size 24x15
+                      text run at (698,2) width 24: "one"
+                LayoutText {#text} at (746,0) size 751x36
+                  text run at (746,0) width 5: ","
+                  text run at (0,18) width 359: "which should result in 25-pixel right margin only in the "
+                LayoutInline {STRONG} at (0,0) size 25x18
+                  LayoutText {#text} at (358,18) size 25x18
+                    text run at (358,18) width 25: "last"
+                LayoutText {#text} at (382,18) size 238x18
+                  text run at (382,18) width 238: " line in which the inline box appears."
+              LayoutBlockFlow {P} at (4,56) size 762x36 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 551x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (550,0) size 149x18
+                    text run at (550,0) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (698,2) size 24x15
+                      text run at (698,2) width 24: "two"
+                LayoutText {#text} at (711,0) size 759x36
+                  text run at (711,0) width 48: ", which"
+                  text run at (0,18) width 300: "should result in -10px right margin only in the "
+                LayoutInline {STRONG} at (0,0) size 25x18
+                  LayoutText {#text} at (299,18) size 25x18
+                    text run at (299,18) width 25: "last"
+                LayoutText {#text} at (323,18) size 238x18
+                  text run at (323,18) width 238: " line in which the inline box appears."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_top-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_top-expected.txt
new file mode 100644
index 0000000..49cb0bb1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_top-expected.txt
@@ -0,0 +1,139 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1639
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1639 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1639.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1623.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,31) size 769x120
+        LayoutText {#text} at (0,0) size 383x120
+          text run at (0,0) width 375: ".zero {background-color: silver; margin-top: 0;}"
+          text run at (374,0) width 1: " "
+          text run at (0,15) width 383: ".one {margin-top: 0.5in; background-color: aqua;}"
+          text run at (382,15) width 1: " "
+          text run at (0,30) width 375: ".two {margin-top: 25px; background-color: aqua;}"
+          text run at (374,30) width 1: " "
+          text run at (0,45) width 383: ".three {margin-top: 5em; background-color: aqua;}"
+          text run at (382,45) width 1: " "
+          text run at (0,60) width 375: ".four {margin-top: 25%; background-color: aqua;}"
+          text run at (374,60) width 1: " "
+          text run at (0,75) width 196: ".five {margin-top: 25px;}"
+          text run at (195,75) width 1: " "
+          text run at (0,90) width 383: ".six {margin-top: -10px; background-color: aqua;}"
+          text run at (382,90) width 1: " "
+          text run at (0,105) width 196: "P, UL {margin-bottom: 0;}"
+          text run at (195,105) width 1: " "
+      LayoutBlockFlow {P} at (0,174) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,192) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 238x18
+          text run at (0,0) width 238: "This element also has a class of zero."
+      LayoutBlockFlow {P} at (0,258) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 727x36
+          text run at (0,0) width 727: "This element should have a top margin of half an inch, which will require extra text in order to make sure that the"
+          text run at (0,18) width 208: "margin isn't applied to each line."
+      LayoutBlockFlow {P} at (0,319) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 758x36
+          text run at (0,0) width 758: "This element should have a top margin of 25 pixels, which will require extra text in order to make sure that the margin"
+          text run at (0,18) width 159: "isn't applied to each line."
+      LayoutBlockFlow {P} at (0,435) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 762x36
+          text run at (0,0) width 762: "This element should have a top margin of 5 em, which will require extra text in order to make sure that the margin isn't"
+          text run at (0,18) width 129: "applied to each line."
+      LayoutBlockFlow {P} at (0,663.25) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 768x36
+          text run at (0,0) width 740: "This element should have a top margin of 25%, which is calculated with respect to the width of the parent element. "
+          text run at (739,0) width 29: "This"
+          text run at (0,18) width 240: "will require extra text in order to test."
+      LayoutBlockFlow {UL} at (0,724.25) size 769x97 [bgcolor=#00FFFF]
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 408x18
+            text run at (0,0) width 408: "This list has a margin-top of 25px, and a light blue background."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 269x18
+            text run at (0,0) width 269: "Therefore, it ought to have such a margin."
+        LayoutListItem {LI} at (40,61) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 579x18
+            text run at (0,0) width 579: "This list item has a top margin of 25px, which should cause it to be offset in some fashion."
+        LayoutListItem {LI} at (40,79) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 304x18
+            text run at (0,0) width 304: "This list item has no special styles applied to it."
+      LayoutBlockFlow {P} at (0,821.25) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,829.25) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 758x54
+          text run at (0,0) width 725: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom"
+          text run at (0,18) width 54: "margin. "
+          text run at (53,18) width 497: "No other styles have been applied to it besides a light blue background color. "
+          text run at (549,18) width 209: "In all other respects, the element"
+          text run at (0,36) width 116: "should be normal."
+      LayoutTable {TABLE} at (0,883.25) size 769x740 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x738
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x712
+            LayoutTableCell {TD} at (0,369) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x711.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,22) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 238x18
+                  text run at (0,0) width 238: "This element also has a class of zero."
+              LayoutBlockFlow {P} at (4,88) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 727x36
+                  text run at (0,0) width 727: "This element should have a top margin of half an inch, which will require extra text in order to make sure that the"
+                  text run at (0,18) width 208: "margin isn't applied to each line."
+              LayoutBlockFlow {P} at (4,149) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 709x36
+                  text run at (0,0) width 709: "This element should have a top margin of 25 pixels, which will require extra text in order to make sure that the"
+                  text run at (0,18) width 208: "margin isn't applied to each line."
+              LayoutBlockFlow {P} at (4,265) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 732x36
+                  text run at (0,0) width 732: "This element should have a top margin of 5 em, which will require extra text in order to make sure that the margin"
+                  text run at (0,18) width 159: "isn't applied to each line."
+              LayoutBlockFlow {P} at (4,487.75) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 736x36
+                  text run at (0,0) width 736: "This element should have a top margin of 25%, which is calculated with respect to the width of the parent element."
+                  text run at (0,18) width 272: "This will require extra text in order to test."
+              LayoutBlockFlow {UL} at (4,548.75) size 747x97 [bgcolor=#00FFFF]
+                LayoutListItem {LI} at (40,0) size 707x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 408x18
+                    text run at (0,0) width 408: "This list has a margin-top of 25px, and a light blue background."
+                LayoutListItem {LI} at (40,18) size 707x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 269x18
+                    text run at (0,0) width 269: "Therefore, it ought to have such a margin."
+                LayoutListItem {LI} at (40,61) size 707x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 579x18
+                    text run at (0,0) width 579: "This list item has a top margin of 25px, which should cause it to be offset in some fashion."
+                LayoutListItem {LI} at (40,79) size 707x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 304x18
+                    text run at (0,0) width 304: "This list item has no special styles applied to it."
+              LayoutBlockFlow {P} at (4,645.75) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,653.75) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 725x54
+                  text run at (0,0) width 725: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom"
+                  text run at (0,18) width 54: "margin. "
+                  text run at (53,18) width 497: "No other styles have been applied to it besides a light blue background color. "
+                  text run at (549,18) width 154: "In all other respects, the"
+                  text run at (0,36) width 170: "element should be normal."
+layer at (8,172) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,164) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_top_inline-expected.txt
new file mode 100644
index 0000000..3bf6d67
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/margin_top_inline-expected.txt
@@ -0,0 +1,99 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x60
+        LayoutText {#text} at (0,0) size 383x60
+          text run at (0,0) width 375: ".zero {background-color: silver; margin-top: 0;}"
+          text run at (374,0) width 1: " "
+          text run at (0,15) width 375: ".one {margin-top: 25px; background-color: aqua;}"
+          text run at (374,15) width 1: " "
+          text run at (0,30) width 383: ".two {margin-top: -10px; background-color: aqua;}"
+          text run at (382,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 784x54 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 486x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 772x36 [bgcolor=#00FFFF]
+          LayoutText {#text} at (485,0) size 148x18
+            text run at (485,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (632,2) size 25x15
+              text run at (632,2) width 25: "one"
+          LayoutText {#text} at (656,0) size 772x36
+            text run at (656,0) width 116: ", giving it an aqua"
+            text run at (0,18) width 224: "background and a 25px top margin"
+        LayoutText {#text} at (223,18) size 764x36
+          text run at (223,18) width 9: ". "
+          text run at (231,18) width 533: "Margins on inline elements do not affect line-height calculations, so all lines in this"
+          text run at (0,36) width 270: "element should have the same line-height."
+      LayoutBlockFlow {P} at (0,195) size 784x54 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 486x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 770x36 [bgcolor=#00FFFF]
+          LayoutText {#text} at (485,0) size 148x18
+            text run at (485,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (632,2) size 25x15
+              text run at (632,2) width 25: "two"
+          LayoutText {#text} at (656,0) size 770x36
+            text run at (656,0) width 114: ", giving the inline"
+            text run at (0,18) width 337: "element an aqua background and a -10px top margin"
+        LayoutText {#text} at (336,18) size 780x36
+          text run at (336,18) width 9: ". "
+          text run at (344,18) width 436: "Margins on inline elements do not affect line-height calculations, so"
+          text run at (0,36) width 368: "all lines in this element should have the same line-height."
+      LayoutTable {TABLE} at (0,265) size 784x160 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x158
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x132
+            LayoutTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x54 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 486x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 738x36 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (485,0) size 148x18
+                    text run at (485,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (632,2) size 25x15
+                      text run at (632,2) width 25: "one"
+                  LayoutText {#text} at (656,0) size 738x36
+                    text run at (656,0) width 82: ", giving it an"
+                    text run at (0,18) width 258: "aqua background and a 25px top margin"
+                LayoutText {#text} at (257,18) size 755x36
+                  text run at (257,18) width 9: ". "
+                  text run at (265,18) width 490: "Margins on inline elements do not affect line-height calculations, so all lines"
+                  text run at (0,36) width 313: "in this element should have the same line-height."
+              LayoutBlockFlow {P} at (4,74) size 762x54 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 486x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 729x36 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (485,0) size 148x18
+                    text run at (485,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (632,2) size 25x15
+                      text run at (632,2) width 25: "two"
+                  LayoutText {#text} at (656,0) size 729x36
+                    text run at (656,0) width 73: ", giving the"
+                    text run at (0,18) width 377: "inline element an aqua background and a -10px top margin"
+                LayoutText {#text} at (376,18) size 718x36
+                  text run at (376,18) width 9: ". "
+                  text run at (384,18) width 334: "Margins on inline elements do not affect line-height"
+                  text run at (0,36) width 470: "calculations, so all lines in this element should have the same line-height."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding-expected.txt
new file mode 100644
index 0000000..99f3c526
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding-expected.txt
@@ -0,0 +1,96 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2222
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2222 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2221.50
+    LayoutBlockFlow {BODY} at (8,8) size 769x2205.50 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 367x90
+          text run at (0,0) width 352: ".zero {background-color: silver; padding: 0;}"
+          text run at (351,0) width 1: " "
+          text run at (0,15) width 359: ".one {padding: 0.5in; background-color: aqua;}"
+          text run at (358,15) width 1: " "
+          text run at (0,30) width 352: ".two {padding: 25px; background-color: aqua;}"
+          text run at (351,30) width 1: " "
+          text run at (0,45) width 359: ".three {padding: 5em; background-color: aqua;}"
+          text run at (358,45) width 1: " "
+          text run at (0,60) width 352: ".four {padding: 25%; background-color: aqua;}"
+          text run at (351,60) width 1: " "
+          text run at (0,75) width 367: ".five {padding: -20px; background-color: aqua;}"
+          text run at (366,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,189) size 769x132 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,48) size 644x36
+          text run at (48,48) width 644: "This element should have an overall padding of half an inch, which will require extra text in order to"
+          text run at (48,66) width 31: "test. "
+          text run at (78,66) width 472: "Both the content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,337) size 769x86 [bgcolor=#00FFFF]
+        LayoutText {#text} at (25,25) size 716x36
+          text run at (25,25) width 661: "This element should have an overall padding of 25 pixels, which will require extra text in order to test. "
+          text run at (685,25) width 56: "Both the"
+          text run at (25,43) width 413: "content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,439) size 769x196 [bgcolor=#00FFFF]
+        LayoutText {#text} at (80,80) size 600x36
+          text run at (80,80) width 600: "This element should have an overall padding of 5 em, which will require extra text in order to"
+          text run at (80,98) width 31: "test. "
+          text run at (110,98) width 472: "Both the content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,651) size 769x456.50 [bgcolor=#00FFFF]
+        LayoutText {#text} at (192,192) size 370x72
+          text run at (192,192) width 342: "This element should have an overall padding of 25%,"
+          text run at (192,210) width 370: "which is calculated with respect to the width of the parent"
+          text run at (192,228) width 59: "element. "
+          text run at (250,228) width 293: "Both the content background and the padding"
+          text run at (192,246) width 176: "should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,1123.50) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 763x36
+          text run at (0,0) width 550: "This element should have no padding, since negative padding values are not allowed. "
+          text run at (549,0) width 214: "Both the content background and"
+          text run at (0,18) width 304: "the normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,1175.50) size 769x1030 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1028
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x1002
+            LayoutTableCell {TD} at (0,514) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x1001.50 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,38) size 747x132 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,48) size 644x36
+                  text run at (48,48) width 644: "This element should have an overall padding of half an inch, which will require extra text in order to"
+                  text run at (48,66) width 31: "test. "
+                  text run at (78,66) width 472: "Both the content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,186) size 747x86 [bgcolor=#00FFFF]
+                LayoutText {#text} at (25,25) size 692x36
+                  text run at (25,25) width 661: "This element should have an overall padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (685,25) width 32: "Both"
+                  text run at (25,43) width 436: "the content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,288) size 747x196 [bgcolor=#00FFFF]
+                LayoutText {#text} at (80,80) size 584x36
+                  text run at (80,80) width 584: "This element should have an overall padding of 5 em, which will require extra text in order"
+                  text run at (80,98) width 47: "to test. "
+                  text run at (126,98) width 472: "Both the content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,500) size 747x445.50 [bgcolor=#00FFFF]
+                LayoutText {#text} at (186,187) size 371x72
+                  text run at (186,187) width 343: "This element should have an overall padding of 25%,"
+                  text run at (186,205) width 371: "which is calculated with respect to the width of the parent"
+                  text run at (186,223) width 60: "element. "
+                  text run at (245,223) width 292: "Both the content background and the padding"
+                  text run at (186,241) width 177: "should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,961.50) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 735x36
+                  text run at (0,0) width 550: "This element should have no padding, since negative padding values are not allowed. "
+                  text run at (549,0) width 186: "Both the content background"
+                  text run at (0,18) width 332: "and the normal padding should be aqua (light blue)."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_bottom-expected.txt
new file mode 100644
index 0000000..593b21a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_bottom-expected.txt
@@ -0,0 +1,100 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1550
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1550 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1550.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1534.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 422x90
+          text run at (0,0) width 406: ".zero {background-color: silver; padding-bottom: 0;}"
+          text run at (405,0) width 1: " "
+          text run at (0,15) width 414: ".one {padding-bottom: 0.5in; background-color: aqua;}"
+          text run at (413,15) width 1: " "
+          text run at (0,30) width 406: ".two {padding-bottom: 25px; background-color: aqua;}"
+          text run at (405,30) width 1: " "
+          text run at (0,45) width 414: ".three {padding-bottom: 5em; background-color: aqua;}"
+          text run at (413,45) width 1: " "
+          text run at (0,60) width 406: ".four {padding-bottom: 25%; background-color: aqua;}"
+          text run at (405,60) width 1: " "
+          text run at (0,75) width 422: ".five {padding-bottom: -20px; background-color: aqua;}"
+          text run at (421,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,189) size 769x84 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 726x36
+          text run at (0,0) width 671: "This element should have a bottom padding of half an inch, which will require extra text in order to test. "
+          text run at (670,0) width 56: "Both the"
+          text run at (0,18) width 413: "content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,289) size 769x61 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 760x36
+          text run at (0,0) width 654: "This element should have a bottom padding of 25 pixels, which will require extra text in order to test. "
+          text run at (653,0) width 107: "Both the content"
+          text run at (0,18) width 362: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,366) size 769x116 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 733x36
+          text run at (0,0) width 627: "This element should have a bottom padding of 5 em, which will require extra text in order to test. "
+          text run at (626,0) width 107: "Both the content"
+          text run at (0,18) width 362: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,498) size 769x228.25 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 767x36
+          text run at (0,0) width 767: "This element should have a bottom padding of 25%, which is calculated with respect to the width of the parent element."
+          text run at (0,18) width 276: "This will require extra text in order to test. "
+          text run at (275,18) width 472: "Both the content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,742.25) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,776.25) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 705x36
+          text run at (0,0) width 599: "This element should have no bottom padding, since negative padding values are not allowed. "
+          text run at (598,0) width 107: "Both the content"
+          text run at (0,18) width 411: "background and the normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,828.25) size 769x706 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x704
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x678
+            LayoutTableCell {TD} at (0,352) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x677.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,38) size 747x84 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 726x36
+                  text run at (0,0) width 671: "This element should have a bottom padding of half an inch, which will require extra text in order to test. "
+                  text run at (670,0) width 56: "Both the"
+                  text run at (0,18) width 413: "content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,138) size 747x61 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 709x36
+                  text run at (0,0) width 654: "This element should have a bottom padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (653,0) width 56: "Both the"
+                  text run at (0,18) width 413: "content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,215) size 747x116 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 733x36
+                  text run at (0,0) width 627: "This element should have a bottom padding of 5 em, which will require extra text in order to test. "
+                  text run at (626,0) width 107: "Both the content"
+                  text run at (0,18) width 362: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,347) size 747x240.75 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 726x54
+                  text run at (0,0) width 709: "This element should have a bottom padding of 25%, which is calculated with respect to the width of the parent"
+                  text run at (0,18) width 59: "element. "
+                  text run at (58,18) width 277: "This will require extra text in order to test. "
+                  text run at (334,18) width 392: "Both the content background and the padding should be aqua"
+                  text run at (0,36) width 76: "(light blue)."
+              LayoutBlockFlow {P} at (4,603.75) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,637.75) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 705x36
+                  text run at (0,0) width 599: "This element should have no bottom padding, since negative padding values are not allowed. "
+                  text run at (598,0) width 107: "Both the content"
+                  text run at (0,18) width 411: "background and the normal padding should be aqua (light blue)."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_bottom_inline-expected.txt
new file mode 100644
index 0000000..223bdf1b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_bottom_inline-expected.txt
@@ -0,0 +1,101 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 414x45
+          text run at (0,0) width 406: ".one {padding-bottom: 25px; background-color: aqua;}"
+          text run at (405,0) width 1: " "
+          text run at (0,15) width 414: ".two {padding-bottom: -10px; background-color: aqua;}"
+          text run at (413,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutBlockFlow {P} at (0,110) size 784x72 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 486x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 772x61 [bgcolor=#00FFFF]
+          LayoutText {#text} at (485,0) size 148x18
+            text run at (485,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (632,2) size 25x15
+              text run at (632,2) width 25: "one"
+          LayoutText {#text} at (656,0) size 772x36
+            text run at (656,0) width 116: ", giving it an aqua"
+            text run at (0,18) width 255: "background and a 25px bottom padding"
+        LayoutText {#text} at (254,18) size 781x54
+          text run at (254,18) width 9: ". "
+          text run at (262,18) width 519: "Padding on inline elements does not affect line-height calculations, so all lines in"
+          text run at (0,36) width 301: "this element should have the same line-height. "
+          text run at (300,36) width 475: "There may be implementation-specific limits on how much of the padding"
+          text run at (0,54) width 204: "the user agent is able to display."
+      LayoutBlockFlow {P} at (0,198) size 784x54 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 486x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 772x36 [bgcolor=#00FFFF]
+          LayoutText {#text} at (485,0) size 148x18
+            text run at (485,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (632,2) size 25x15
+              text run at (632,2) width 25: "two"
+          LayoutText {#text} at (656,0) size 772x36
+            text run at (656,0) width 116: ", giving it an aqua"
+            text run at (0,18) width 530: "background and no bottom padding, since negative padding values are not allowed"
+        LayoutText {#text} at (529,18) size 770x36
+          text run at (529,18) width 9: ". "
+          text run at (537,18) width 233: "Padding on inline elements does not"
+          text run at (0,36) width 584: "affect line-height calculations, so all lines in this element should have the same line-height."
+      LayoutTable {TABLE} at (0,268) size 784x178 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x176
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x150
+            LayoutTableCell {TD} at (0,88) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x150 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x72 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 486x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 738x61 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (485,0) size 148x18
+                    text run at (485,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (632,2) size 25x15
+                      text run at (632,2) width 25: "one"
+                  LayoutText {#text} at (656,0) size 738x36
+                    text run at (656,0) width 82: ", giving it an"
+                    text run at (0,18) width 289: "aqua background and a 25px bottom padding"
+                LayoutText {#text} at (288,18) size 750x54
+                  text run at (288,18) width 9: ". "
+                  text run at (296,18) width 449: "Padding on inline elements does not affect line-height calculations, so"
+                  text run at (0,36) width 372: "all lines in this element should have the same line-height. "
+                  text run at (371,36) width 379: "There may be implementation-specific limits on how much"
+                  text run at (0,54) width 301: "of the padding the user agent is able to display."
+              LayoutBlockFlow {P} at (4,92) size 762x54 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 486x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 738x36 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (485,0) size 148x18
+                    text run at (485,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (632,2) size 25x15
+                      text run at (632,2) width 25: "two"
+                  LayoutText {#text} at (656,0) size 738x36
+                    text run at (656,0) width 82: ", giving it an"
+                    text run at (0,18) width 564: "aqua background and no bottom padding, since negative padding values are not allowed"
+                LayoutText {#text} at (563,18) size 746x36
+                  text run at (563,18) width 9: ". "
+                  text run at (571,18) width 175: "Padding on inline elements"
+                  text run at (0,36) width 641: "does not affect line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_inline-expected.txt
new file mode 100644
index 0000000..937d996
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_inline-expected.txt
@@ -0,0 +1,127 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 753
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x753 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x753
+    LayoutBlockFlow {BODY} at (8,8) size 769x737 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x60
+        LayoutText {#text} at (0,0) size 359x60
+          text run at (0,0) width 352: ".zero {background-color: silver; padding: 0;}"
+          text run at (351,0) width 1: " "
+          text run at (0,15) width 352: ".one {padding: 25px; background-color: aqua;}"
+          text run at (351,15) width 1: " "
+          text run at (0,30) width 359: ".two {padding: -10px; background-color: aqua;}"
+          text run at (358,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,159) size 769x108 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 486x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 763x86 [bgcolor=#00FFFF]
+          LayoutText {#text} at (510,0) size 148x18
+            text run at (510,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (657,2) size 25x15
+              text run at (657,2) width 25: "one"
+          LayoutText {#text} at (681,0) size 763x36
+            text run at (681,0) width 82: ", giving it an"
+            text run at (0,18) width 240: "aqua background and a 25px padding"
+        LayoutText {#text} at (264,18) size 747x90
+          text run at (264,18) width 9: ". "
+          text run at (272,18) width 469: "Padding on inline elements does not affect line-height calculations, so all"
+          text run at (0,36) width 352: "lines in this element should have the same line-height. "
+          text run at (351,36) width 396: "There may be implementation-specific limits on how much of"
+          text run at (0,54) width 462: "the padding the user agent is able to display above and below each line. "
+          text run at (461,54) width 267: "However, there should be at least 25px of"
+          text run at (0,72) width 744: "padding to the left side of the inline box in the first line it appears, and 25px of padding to the right side of the inline"
+          text run at (0,90) width 286: "element box in the last line where it appears."
+      LayoutBlockFlow {P} at (0,283) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,317) size 769x54 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 486x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 738x36 [bgcolor=#00FFFF]
+          LayoutText {#text} at (485,0) size 148x18
+            text run at (485,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (632,2) size 25x15
+              text run at (632,2) width 25: "two"
+          LayoutText {#text} at (656,0) size 738x36
+            text run at (656,0) width 82: ", giving it an"
+            text run at (0,18) width 515: "aqua background and no padding, since negative padding values are not allowed"
+        LayoutText {#text} at (514,18) size 755x36
+          text run at (514,18) width 9: ". "
+          text run at (522,18) width 233: "Padding on inline elements does not"
+          text run at (0,36) width 584: "affect line-height calculations, so all lines in this element should have the same line-height."
+      LayoutBlockFlow {P} at (0,387) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,421) size 769x316 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x314
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x288
+            LayoutTableCell {TD} at (0,157) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x288 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,38) size 747x108 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 486x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 744x86 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (510,0) size 148x18
+                    text run at (510,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (657,2) size 25x15
+                      text run at (657,2) width 25: "one"
+                  LayoutText {#text} at (681,0) size 744x36
+                    text run at (681,0) width 63: ", giving it"
+                    text run at (0,18) width 259: "an aqua background and a 25px padding"
+                LayoutText {#text} at (283,18) size 740x90
+                  text run at (283,18) width 9: ". "
+                  text run at (291,18) width 449: "Padding on inline elements does not affect line-height calculations, so"
+                  text run at (0,36) width 372: "all lines in this element should have the same line-height. "
+                  text run at (371,36) width 339: "There may be implementation-specific limits on how"
+                  text run at (0,54) width 519: "much of the padding the user agent is able to display above and below each line. "
+                  text run at (518,54) width 214: "However, there should be at least"
+                  text run at (0,72) width 734: "25px of padding to the left side of the inline box in the first line it appears, and 25px of padding to the right side of"
+                  text run at (0,90) width 350: "the inline element box in the last line where it appears."
+              LayoutBlockFlow {P} at (4,162) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,196) size 747x54 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 486x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 738x36 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (485,0) size 148x18
+                    text run at (485,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (632,2) size 25x15
+                      text run at (632,2) width 25: "two"
+                  LayoutText {#text} at (656,0) size 738x36
+                    text run at (656,0) width 82: ", giving it an"
+                    text run at (0,18) width 515: "aqua background and no padding, since negative padding values are not allowed"
+                LayoutText {#text} at (514,18) size 730x36
+                  text run at (514,18) width 9: ". "
+                  text run at (522,18) width 208: "Padding on inline elements does"
+                  text run at (0,36) width 608: "not affect line-height calculations, so all lines in this element should have the same line-height."
+              LayoutBlockFlow {P} at (4,266) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_left-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_left-expected.txt
new file mode 100644
index 0000000..de16672
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_left-expected.txt
@@ -0,0 +1,119 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1009
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1009 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1009
+    LayoutBlockFlow {BODY} at (8,8) size 769x993 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 406x90
+          text run at (0,0) width 391: ".zero {background-color: silver; padding-left: 0;}"
+          text run at (390,0) width 1: " "
+          text run at (0,15) width 398: ".one {padding-left: 0.5in; background-color: aqua;}"
+          text run at (397,15) width 1: " "
+          text run at (0,30) width 391: ".two {padding-left: 25px; background-color: aqua;}"
+          text run at (390,30) width 1: " "
+          text run at (0,45) width 398: ".three {padding-left: 5em; background-color: aqua;}"
+          text run at (397,45) width 1: " "
+          text run at (0,60) width 391: ".four {padding-left: 25%; background-color: aqua;}"
+          text run at (390,60) width 1: " "
+          text run at (0,75) width 406: ".five {padding-left: -20px; background-color: aqua;}"
+          text run at (405,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,189) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,0) size 702x36
+          text run at (48,0) width 647: "This element should have a left padding of half an inch, which will require extra text in order to test. "
+          text run at (694,0) width 56: "Both the"
+          text run at (48,18) width 413: "content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,241) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (25,0) size 736x36
+          text run at (25,0) width 630: "This element should have a left padding of 25 pixels, which will require extra text in order to test. "
+          text run at (654,0) width 107: "Both the content"
+          text run at (25,18) width 362: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,293) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (80,0) size 654x36
+          text run at (80,0) width 599: "This element should have a left padding of 5em, which will require extra text in order to test. "
+          text run at (678,0) width 56: "Both the"
+          text run at (80,18) width 413: "content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,345) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (192,0) size 576x54
+          text run at (192,0) width 560: "This element should have a left padding of 25%, which is calculated with respect to the"
+          text run at (192,18) width 185: "width of the parent element. "
+          text run at (376,18) width 392: "Both the content background and the padding should be aqua"
+          text run at (192,36) width 76: "(light blue)."
+      LayoutBlockFlow {UL} at (0,415) size 769x72 [bgcolor=#808080]
+        LayoutListItem {LI} at (25,0) size 744x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 732x18
+            text run at (0,0) width 732: "The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to test."
+        LayoutListItem {LI} at (25,18) size 744x54 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (25,0) size 714x54
+            text run at (25,0) width 669: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+            text run at (25,18) width 61: "checked. "
+            text run at (85,18) width 654: "This list item has its left padding also set to 25 pixels, which should combine with the list's padding to"
+            text run at (25,36) width 168: "make 50 pixels of margin."
+      LayoutBlockFlow {P} at (0,503) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 761x36
+          text run at (0,0) width 575: "This element should have no left padding, since negative padding values are not allowed. "
+          text run at (574,0) width 187: "Both the content background"
+          text run at (0,18) width 332: "and the normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,555) size 769x438 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x436
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x410
+            LayoutTableCell {TD} at (0,218) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x410 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,38) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,0) size 679x36
+                  text run at (48,0) width 647: "This element should have a left padding of half an inch, which will require extra text in order to test. "
+                  text run at (694,0) width 33: "Both"
+                  text run at (48,18) width 436: "the content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,90) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (25,0) size 685x36
+                  text run at (25,0) width 630: "This element should have a left padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (654,0) width 56: "Both the"
+                  text run at (25,18) width 413: "content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,142) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (80,0) size 654x36
+                  text run at (80,0) width 599: "This element should have a left padding of 5em, which will require extra text in order to test. "
+                  text run at (678,0) width 56: "Both the"
+                  text run at (80,18) width 413: "content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,194) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (186,0) size 560x54
+                  text run at (186,0) width 560: "This element should have a left padding of 25%, which is calculated with respect to the"
+                  text run at (186,18) width 185: "width of the parent element. "
+                  text run at (370,18) width 358: "Both the content background and the padding should be"
+                  text run at (186,36) width 111: "aqua (light blue)."
+              LayoutBlockFlow {UL} at (4,264) size 747x90 [bgcolor=#808080]
+                LayoutListItem {LI} at (25,0) size 722x36
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 702x36
+                    text run at (0,0) width 702: "The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to"
+                    text run at (0,18) width 27: "test."
+                LayoutListItem {LI} at (25,36) size 722x54 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (25,0) size 669x54
+                    text run at (25,0) width 669: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+                    text run at (25,18) width 61: "checked. "
+                    text run at (85,18) width 582: "This list item has its left padding also set to 25 pixels, which should combine with the list's"
+                    text run at (25,36) width 240: "padding to make 50 pixels of margin."
+              LayoutBlockFlow {P} at (4,370) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 681x36
+                  text run at (0,0) width 575: "This element should have no left padding, since negative padding values are not allowed. "
+                  text run at (574,0) width 107: "Both the content"
+                  text run at (0,18) width 411: "background and the normal padding should be aqua (light blue)."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_left_inline-expected.txt
new file mode 100644
index 0000000..bf6956b1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_left_inline-expected.txt
@@ -0,0 +1,102 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 398x45
+          text run at (0,0) width 391: ".one {padding-left: 25px; background-color: aqua;}"
+          text run at (390,0) width 1: " "
+          text run at (0,15) width 398: ".two {padding-left: -10px; background-color: aqua;}"
+          text run at (397,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 551x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 197x18 [bgcolor=#00FFFF]
+          LayoutText {#text} at (575,0) size 149x18
+            text run at (575,0) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (723,2) size 24x15
+              text run at (723,2) width 24: "one"
+        LayoutText {#text} at (0,18) size 582x18
+          text run at (0,18) width 582: "which should result in 25-pixel left padding (which should also be a light blue) only in the "
+        LayoutInline {STRONG} at (0,0) size 29x18
+          LayoutText {#text} at (581,18) size 29x18
+            text run at (581,18) width 29: "first"
+        LayoutText {#text} at (609,18) size 761x36
+          text run at (609,18) width 152: " line in which the inline"
+          text run at (0,36) width 81: "box appears."
+      LayoutBlockFlow {P} at (0,180) size 784x54 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 551x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+          LayoutText {#text} at (550,0) size 149x18
+            text run at (550,0) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (698,2) size 24x15
+              text run at (698,2) width 24: "two"
+        LayoutText {#text} at (721,0) size 765x36
+          text run at (721,0) width 44: " which"
+          text run at (0,18) width 523: "should result in -10px left padding (which should also be a light blue) only in the "
+        LayoutInline {STRONG} at (0,0) size 29x18
+          LayoutText {#text} at (522,18) size 29x18
+            text run at (522,18) width 29: "first"
+        LayoutText {#text} at (550,18) size 730x36
+          text run at (550,18) width 180: " line in which the inline box"
+          text run at (0,36) width 53: "appears."
+      LayoutTable {TABLE} at (0,250) size 784x160 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x158
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x132
+            LayoutTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x54 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 551x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 197x18 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (575,0) size 149x18
+                    text run at (575,0) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (723,2) size 24x15
+                      text run at (723,2) width 24: "one"
+                LayoutText {#text} at (0,18) size 582x18
+                  text run at (0,18) width 582: "which should result in 25-pixel left padding (which should also be a light blue) only in the "
+                LayoutInline {STRONG} at (0,0) size 29x18
+                  LayoutText {#text} at (581,18) size 29x18
+                    text run at (581,18) width 29: "first"
+                LayoutText {#text} at (609,18) size 761x36
+                  text run at (609,18) width 152: " line in which the inline"
+                  text run at (0,36) width 81: "box appears."
+              LayoutBlockFlow {P} at (4,74) size 762x54 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 551x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (550,0) size 149x18
+                    text run at (550,0) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (698,2) size 24x15
+                      text run at (698,2) width 24: "two"
+                LayoutText {#text} at (0,18) size 566x18
+                  text run at (0,18) width 566: "which should result in -10px left padding (which should also be a light blue) only in the "
+                LayoutInline {STRONG} at (0,0) size 29x18
+                  LayoutText {#text} at (565,18) size 29x18
+                    text run at (565,18) width 29: "first"
+                LayoutText {#text} at (593,18) size 745x36
+                  text run at (593,18) width 152: " line in which the inline"
+                  text run at (0,36) width 81: "box appears."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_right-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_right-expected.txt
new file mode 100644
index 0000000..5604ee9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_right-expected.txt
@@ -0,0 +1,136 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1171
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1171 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1171
+    LayoutBlockFlow {BODY} at (8,8) size 769x1155 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 562x90
+          text run at (0,0) width 398: ".zero {background-color: silver; padding-right: 0;}"
+          text run at (397,0) width 1: " "
+          text run at (0,15) width 554: ".one {padding-right: 0.5in; text-align: right; background-color: aqua;}"
+          text run at (553,15) width 1: " "
+          text run at (0,30) width 547: ".two {padding-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (546,30) width 1: " "
+          text run at (0,45) width 554: ".three {padding-right: 5em; text-align: right; background-color: aqua;}"
+          text run at (553,45) width 1: " "
+          text run at (0,60) width 547: ".four {padding-right: 25%; text-align: right; background-color: aqua;}"
+          text run at (546,60) width 1: " "
+          text run at (0,75) width 562: ".five {padding-right: -20px; text-align: right; background-color: aqua;}"
+          text run at (561,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,189) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (10,0) size 711x54
+          text run at (10,0) width 657: "This element should have a right padding of half an inch, which will require extra text in order to test. "
+          text run at (666,0) width 55: "Both the"
+          text run at (34,18) width 418: "content background and the padding should be aqua (light blue). "
+          text run at (451,18) width 270: "The text has been right-aligned in order to"
+          text run at (486,36) width 235: "make the right padding easier to see."
+      LayoutBlockFlow {P} at (0,259) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (50,0) size 725x54
+          text run at (50,0) width 640: "This element should have a right padding of 25 pixels, which will require extra text in order to test. "
+          text run at (689,0) width 55: "Both the"
+          text run at (19,18) width 417: "content background and the padding should be aqua (light blue). "
+          text run at (435,18) width 309: "The text has been right-aligned in order to make"
+          text run at (548,36) width 196: "the right padding easier to see."
+      LayoutBlockFlow {P} at (0,329) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (22,0) size 687x54
+          text run at (22,0) width 613: "This element should have a right padding of 5 em, which will require extra text in order to test. "
+          text run at (634,0) width 55: "Both the"
+          text run at (2,18) width 418: "content background and the padding should be aqua (light blue). "
+          text run at (419,18) width 270: "The text has been right-aligned in order to"
+          text run at (454,36) width 235: "make the right padding easier to see."
+      LayoutBlockFlow {P} at (0,399) size 769x72 [bgcolor=#00FFFF]
+        LayoutText {#text} at (8,0) size 576x72
+          text run at (8,0) width 569: "This element should have a right padding of 25%, which is calculated with respect to the"
+          text run at (1,18) width 185: "width of the parent element. "
+          text run at (185,18) width 392: "Both the content background and the padding should be aqua"
+          text run at (17,36) width 81: "(light blue). "
+          text run at (97,36) width 480: "The text has been right-aligned in order to make the right padding easier to"
+          text run at (552,54) width 25: "see."
+      LayoutBlockFlow {UL} at (0,487) size 769x72 [bgcolor=#808080]
+        LayoutListItem {LI} at (40,0) size 704x36
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (8,0) size 696x36
+            text run at (8,0) width 696: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in order"
+            text run at (661,18) width 43: "to test."
+        LayoutListItem {LI} at (40,36) size 704x36 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (5,0) size 674x36
+            text run at (5,0) width 674: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the UL"
+            text run at (624,18) width 55: "element."
+      LayoutBlockFlow {P} at (0,575) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (79,0) size 747x54
+          text run at (79,0) width 585: "This element should have no right padding, since negative padding values are not allowed. "
+          text run at (663,0) width 106: "Both the content"
+          text run at (22,18) width 416: "background and the normal padding should be aqua (light blue). "
+          text run at (437,18) width 332: "The text has been right-aligned in order to make the"
+          text run at (549,36) width 220: "lack of right padding easier to see."
+      LayoutTable {TABLE} at (0,645) size 769x510 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x508
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x482
+            LayoutTableCell {TD} at (0,254) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x482 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,38) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (12,0) size 694x54
+                  text run at (12,0) width 656: "This element should have a right padding of half an inch, which will require extra text in order to test. "
+                  text run at (667,0) width 32: "Both"
+                  text run at (5,18) width 441: "the content background and the padding should be aqua (light blue). "
+                  text run at (445,18) width 254: "The text has been right-aligned in order"
+                  text run at (448,36) width 251: "to make the right padding easier to see."
+              LayoutBlockFlow {P} at (4,108) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (28,0) size 694x54
+                  text run at (28,0) width 640: "This element should have a right padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (667,0) width 55: "Both the"
+                  text run at (35,18) width 418: "content background and the padding should be aqua (light blue). "
+                  text run at (452,18) width 270: "The text has been right-aligned in order to"
+                  text run at (487,36) width 235: "make the right padding easier to see."
+              LayoutBlockFlow {P} at (4,178) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 667x54
+                  text run at (0,0) width 613: "This element should have a right padding of 5 em, which will require extra text in order to test. "
+                  text run at (612,0) width 55: "Both the"
+                  text run at (35,18) width 417: "content background and the padding should be aqua (light blue). "
+                  text run at (451,18) width 216: "The text has been right-aligned in"
+                  text run at (378,36) width 289: "order to make the right padding easier to see."
+              LayoutBlockFlow {P} at (4,248) size 747x72 [bgcolor=#00FFFF]
+                LayoutText {#text} at (15,0) size 556x72
+                  text run at (15,0) width 546: "This element should have a right padding of 25%, which is calculated with respect to"
+                  text run at (14,18) width 209: "the width of the parent element. "
+                  text run at (222,18) width 339: "Both the content background and the padding should"
+                  text run at (5,36) width 134: "be aqua (light blue). "
+                  text run at (138,36) width 423: "The text has been right-aligned in order to make the right padding"
+                  text run at (478,54) width 83: "easier to see."
+              LayoutBlockFlow {UL} at (4,336) size 747x72 [bgcolor=#808080]
+                LayoutListItem {LI} at (40,0) size 682x36
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (24,0) size 658x36
+                    text run at (24,0) width 658: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in"
+                    text run at (601,18) width 81: "order to test."
+                LayoutListItem {LI} at (40,36) size 682x36 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (9,0) size 648x36
+                    text run at (9,0) width 648: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the"
+                    text run at (577,18) width 80: "UL element."
+              LayoutBlockFlow {P} at (4,424) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (57,0) size 747x54
+                  text run at (57,0) width 585: "This element should have no right padding, since negative padding values are not allowed. "
+                  text run at (641,0) width 106: "Both the content"
+                  text run at (0,18) width 416: "background and the normal padding should be aqua (light blue). "
+                  text run at (415,18) width 332: "The text has been right-aligned in order to make the"
+                  text run at (527,36) width 220: "lack of right padding easier to see."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_right_inline-expected.txt
new file mode 100644
index 0000000..d545cb63
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_right_inline-expected.txt
@@ -0,0 +1,105 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 554x45
+          text run at (0,0) width 547: ".one {padding-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (546,0) width 1: " "
+          text run at (0,15) width 554: ".two {padding-right: -10px; text-align: right; background-color: aqua;}"
+          text run at (553,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutBlockFlow {P} at (0,110) size 784x54 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 551x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 197x18 [bgcolor=#00FFFF]
+          LayoutText {#text} at (550,0) size 149x18
+            text run at (550,0) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (698,2) size 24x15
+              text run at (698,2) width 24: "one"
+        LayoutText {#text} at (746,0) size 751x36
+          text run at (746,0) width 5: ","
+          text run at (0,18) width 580: "which should result in 25-pixel right padding (which should also be light blue) only in the "
+        LayoutInline {STRONG} at (0,0) size 25x18
+          LayoutText {#text} at (579,18) size 25x18
+            text run at (579,18) width 25: "last"
+        LayoutText {#text} at (603,18) size 783x36
+          text run at (603,18) width 180: " line in which the inline box"
+          text run at (0,36) width 53: "appears."
+      LayoutBlockFlow {P} at (0,180) size 784x54 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 551x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 156: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+          LayoutText {#text} at (550,0) size 149x18
+            text run at (550,0) width 149: "inline element of class "
+          LayoutInline {TT} at (0,0) size 24x15
+            LayoutText {#text} at (698,2) size 24x15
+              text run at (698,2) width 24: "two"
+        LayoutText {#text} at (721,0) size 769x36
+          text run at (721,0) width 48: ", which"
+          text run at (0,18) width 559: "should result in no right padding, since negative padding values are not allowed, in the "
+        LayoutInline {STRONG} at (0,0) size 25x18
+          LayoutText {#text} at (558,18) size 25x18
+            text run at (558,18) width 25: "last"
+        LayoutText {#text} at (582,18) size 763x36
+          text run at (582,18) width 181: " line in which the inline box"
+          text run at (0,36) width 53: "appears."
+      LayoutTable {TABLE} at (0,250) size 784x160 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x158
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x132
+            LayoutTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x54 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 551x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 197x18 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (550,0) size 149x18
+                    text run at (550,0) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (698,2) size 24x15
+                      text run at (698,2) width 24: "one"
+                LayoutText {#text} at (746,0) size 751x36
+                  text run at (746,0) width 5: ","
+                  text run at (0,18) width 580: "which should result in 25-pixel right padding (which should also be light blue) only in the "
+                LayoutInline {STRONG} at (0,0) size 25x18
+                  LayoutText {#text} at (579,18) size 25x18
+                    text run at (579,18) width 25: "last"
+                LayoutText {#text} at (603,18) size 755x36
+                  text run at (603,18) width 152: " line in which the inline"
+                  text run at (0,36) width 81: "box appears."
+              LayoutBlockFlow {P} at (4,74) size 762x54 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 551x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 156: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 172x18 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (550,0) size 149x18
+                    text run at (550,0) width 149: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 24x15
+                    LayoutText {#text} at (698,2) size 24x15
+                      text run at (698,2) width 24: "two"
+                LayoutText {#text} at (721,0) size 726x36
+                  text run at (721,0) width 5: ","
+                  text run at (0,18) width 602: "which should result in no right padding, since negative padding values are not allowed, in the "
+                LayoutInline {STRONG} at (0,0) size 25x18
+                  LayoutText {#text} at (601,18) size 25x18
+                    text run at (601,18) width 25: "last"
+                LayoutText {#text} at (625,18) size 737x36
+                  text run at (625,18) width 112: " line in which the"
+                  text run at (0,36) width 122: "inline box appears."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_top-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_top-expected.txt
new file mode 100644
index 0000000..411a057
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_top-expected.txt
@@ -0,0 +1,92 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1464
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1464 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1464.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1448.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 398x90
+          text run at (0,0) width 383: ".zero {background-color: silver; padding-top: 0;}"
+          text run at (382,0) width 1: " "
+          text run at (0,15) width 391: ".one {padding-top: 0.5in; background-color: aqua;}"
+          text run at (390,15) width 1: " "
+          text run at (0,30) width 383: ".two {padding-top: 25px; background-color: aqua;}"
+          text run at (382,30) width 1: " "
+          text run at (0,45) width 391: ".three {padding-top: 5em; background-color: aqua;}"
+          text run at (390,45) width 1: " "
+          text run at (0,60) width 383: ".four {padding-top: 25%; background-color: aqua;}"
+          text run at (382,60) width 1: " "
+          text run at (0,75) width 398: ".five {padding-top: -20px; background-color: aqua;}"
+          text run at (397,75) width 1: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,189) size 769x84 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,48) size 752x36
+          text run at (0,48) width 647: "This element should have a top padding of half an inch, which will require extra text in order to test. "
+          text run at (646,48) width 106: "Both the content"
+          text run at (0,66) width 362: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,289) size 769x61 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,25) size 735x36
+          text run at (0,25) width 629: "This element should have a top padding of 25 pixels, which will require extra text in order to test. "
+          text run at (628,25) width 107: "Both the content"
+          text run at (0,43) width 362: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,366) size 769x116 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,80) size 708x36
+          text run at (0,80) width 603: "This element should have a top padding of 5 em, which will require extra text in order to test. "
+          text run at (602,80) width 106: "Both the content"
+          text run at (0,98) width 362: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,498) size 769x228.25 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,192) size 747x36
+          text run at (0,192) width 742: "This element should have a top padding of 25%, which is calculated with respect to the width of the parent element."
+          text run at (0,210) width 475: "Both the content background and the padding should be aqua (light blue). "
+          text run at (475,210) width 272: "This will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,742.25) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 760x36
+          text run at (0,0) width 575: "This element should have no top padding, since negative padding values are not allowed. "
+          text run at (574,0) width 186: "Both the content background"
+          text run at (0,18) width 332: "and the normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,794.25) size 769x654 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x652
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x626
+            LayoutTableCell {TD} at (0,326) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x625.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,38) size 747x84 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,48) size 701x36
+                  text run at (0,48) width 647: "This element should have a top padding of half an inch, which will require extra text in order to test. "
+                  text run at (646,48) width 55: "Both the"
+                  text run at (0,66) width 413: "content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,138) size 747x61 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,25) size 735x36
+                  text run at (0,25) width 629: "This element should have a top padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (628,25) width 107: "Both the content"
+                  text run at (0,43) width 362: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,215) size 747x116 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,80) size 708x36
+                  text run at (0,80) width 603: "This element should have a top padding of 5 em, which will require extra text in order to test. "
+                  text run at (602,80) width 106: "Both the content"
+                  text run at (0,98) width 362: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,347) size 747x222.75 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,187) size 747x36
+                  text run at (0,187) width 742: "This element should have a top padding of 25%, which is calculated with respect to the width of the parent element."
+                  text run at (0,205) width 475: "Both the content background and the padding should be aqua (light blue). "
+                  text run at (475,205) width 272: "This will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,585.75) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 680x36
+                  text run at (0,0) width 575: "This element should have no top padding, since negative padding values are not allowed. "
+                  text run at (574,0) width 106: "Both the content"
+                  text run at (0,18) width 411: "background and the normal padding should be aqua (light blue)."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_top_inline-expected.txt
new file mode 100644
index 0000000..fc5d63d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/padding_top_inline-expected.txt
@@ -0,0 +1,101 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 391x45
+          text run at (0,0) width 383: ".one {padding-top: 25px; background-color: aqua;}"
+          text run at (382,0) width 1: " "
+          text run at (0,15) width 391: ".two {padding-top: -10px; background-color: aqua;}"
+          text run at (390,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutBlockFlow {P} at (0,110) size 784x72 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 486x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 772x61 [bgcolor=#00FFFF]
+          LayoutText {#text} at (485,0) size 148x18
+            text run at (485,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (632,2) size 25x15
+              text run at (632,2) width 25: "one"
+          LayoutText {#text} at (656,0) size 772x36
+            text run at (656,0) width 116: ", giving it an aqua"
+            text run at (0,18) width 230: "background and a 25px top padding"
+        LayoutText {#text} at (229,18) size 784x54
+          text run at (229,18) width 9: ". "
+          text run at (237,18) width 547: "Padding on inline elements does not affect line-height calculations, so all lines in this"
+          text run at (0,36) width 274: "element should have the same line-height. "
+          text run at (273,36) width 499: "There may be implementation-specific limits on how much of the padding the"
+          text run at (0,54) width 181: "user agent is able to display."
+      LayoutBlockFlow {P} at (0,198) size 784x54 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 486x18
+          text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+          text run at (395,0) width 91: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 772x36 [bgcolor=#00FFFF]
+          LayoutText {#text} at (485,0) size 148x18
+            text run at (485,0) width 148: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x15
+            LayoutText {#text} at (632,2) size 25x15
+              text run at (632,2) width 25: "two"
+          LayoutText {#text} at (656,0) size 772x36
+            text run at (656,0) width 116: ", giving it an aqua"
+            text run at (0,18) width 505: "background and no top padding, since negative padding values are not allowed"
+        LayoutText {#text} at (504,18) size 745x36
+          text run at (504,18) width 9: ". "
+          text run at (512,18) width 233: "Padding on inline elements does not"
+          text run at (0,36) width 584: "affect line-height calculations, so all lines in this element should have the same line-height."
+      LayoutTable {TABLE} at (0,268) size 784x178 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x176
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x150
+            LayoutTableCell {TD} at (0,88) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x150 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x72 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 486x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 738x61 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (485,0) size 148x18
+                    text run at (485,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (632,2) size 25x15
+                      text run at (632,2) width 25: "one"
+                  LayoutText {#text} at (656,0) size 738x36
+                    text run at (656,0) width 82: ", giving it an"
+                    text run at (0,18) width 264: "aqua background and a 25px top padding"
+                LayoutText {#text} at (263,18) size 747x54
+                  text run at (263,18) width 9: ". "
+                  text run at (271,18) width 469: "Padding on inline elements does not affect line-height calculations, so all"
+                  text run at (0,36) width 352: "lines in this element should have the same line-height. "
+                  text run at (351,36) width 396: "There may be implementation-specific limits on how much of"
+                  text run at (0,54) width 283: "the padding the user agent is able to display."
+              LayoutBlockFlow {P} at (4,92) size 762x54 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 486x18
+                  text run at (0,0) width 396: "This element is unstyled save for a background color of gray. "
+                  text run at (395,0) width 91: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 738x36 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (485,0) size 148x18
+                    text run at (485,0) width 148: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x15
+                    LayoutText {#text} at (632,2) size 25x15
+                      text run at (632,2) width 25: "two"
+                  LayoutText {#text} at (656,0) size 738x36
+                    text run at (656,0) width 82: ", giving it an"
+                    text run at (0,18) width 539: "aqua background and no top padding, since negative padding values are not allowed"
+                LayoutText {#text} at (538,18) size 755x36
+                  text run at (538,18) width 9: ". "
+                  text run at (546,18) width 209: "Padding on inline elements does"
+                  text run at (0,36) width 608: "not affect line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/width-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/width-expected.txt
new file mode 100644
index 0000000..ab85400
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/width-expected.txt
@@ -0,0 +1,87 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1378
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1378 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1378
+    LayoutBlockFlow {BODY} at (8,8) size 769x1362 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x45
+        LayoutText {#text} at (0,0) size 149x45
+          text run at (0,0) width 149: ".one {width: 50px;}"
+          text run at (148,0) width 1: " "
+          text run at (0,15) width 141: ".two {width: 50%;}"
+          text run at (140,15) width 1: " "
+          text run at (0,30) width 149: "TABLE {width: 50%;}"
+          text run at (148,30) width 1: " "
+      LayoutBlockFlow (anonymous) at (0,102) size 769x50
+        LayoutImage {IMG} at (0,0) size 50x50
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,168) size 769x18
+        LayoutText {#text} at (0,0) size 291x18
+          text run at (0,0) width 291: "The square above should be fifty pixels wide."
+      LayoutBlockFlow (anonymous) at (0,202) size 769x385
+        LayoutImage {IMG} at (0,0) size 384.50x384.50
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,603) size 769x18
+        LayoutText {#text} at (0,0) size 683x18
+          text run at (0,0) width 683: "The square above should be half as wide as the image's parent element (either the BODY or the table cell)."
+      LayoutBlockFlow {P} at (0,637) size 384.50x108
+        LayoutText {#text} at (0,0) size 375x72
+          text run at (0,0) width 336: "This paragraph should be half the width of its parent"
+          text run at (0,18) width 375: "element (either the BODY or the table, which should itself"
+          text run at (0,36) width 255: "be half as wide as the BODY element). "
+          text run at (254,36) width 108: "This is extra text"
+          text run at (0,54) width 329: "included to ensure that this will be a fair test of the "
+        LayoutInline {CODE} at (0,0) size 40x15
+          LayoutText {#text} at (328,56) size 40x15
+            text run at (328,56) width 40: "width"
+        LayoutText {#text} at (0,72) size 379x36
+          text run at (0,72) width 379: "property without the need for the user to resize the viewing"
+          text run at (0,90) width 55: "window."
+      LayoutTable {TABLE} at (0,761) size 384x601 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 382x599
+          LayoutTableRow {TR} at (0,0) size 382x26
+            LayoutTableCell {TD} at (0,0) size 382x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 382x573
+            LayoutTableCell {TD} at (0,299) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 370x573 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (4,4) size 362x50
+                LayoutImage {IMG} at (0,0) size 50x50
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,70) size 362x18
+                LayoutText {#text} at (0,0) size 291x18
+                  text run at (0,0) width 291: "The square above should be fifty pixels wide."
+              LayoutBlockFlow (anonymous) at (4,104) size 362x181
+                LayoutImage {IMG} at (0,0) size 181x181
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,301) size 362x36
+                LayoutText {#text} at (0,0) size 353x36
+                  text run at (0,0) width 353: "The square above should be half as wide as the image's"
+                  text run at (0,18) width 326: "parent element (either the BODY or the table cell)."
+              LayoutBlockFlow {P} at (4,353) size 181x216
+                LayoutText {#text} at (0,0) size 174x162
+                  text run at (0,0) width 163: "This paragraph should be"
+                  text run at (0,18) width 170: "half the width of its parent"
+                  text run at (0,36) width 170: "element (either the BODY"
+                  text run at (0,54) width 166: "or the table, which should"
+                  text run at (0,72) width 174: "itself be half as wide as the"
+                  text run at (0,90) width 114: "BODY element). "
+                  text run at (113,90) width 44: "This is"
+                  text run at (0,108) width 136: "extra text included to"
+                  text run at (0,126) width 156: "ensure that this will be a"
+                  text run at (0,144) width 94: "fair test of the "
+                LayoutInline {CODE} at (0,0) size 40x15
+                  LayoutText {#text} at (93,146) size 40x15
+                    text run at (93,146) width 40: "width"
+                LayoutText {#text} at (0,162) size 165x54
+                  text run at (0,162) width 165: "property without the need"
+                  text run at (0,180) width 155: "for the user to resize the"
+                  text run at (0,198) width 111: "viewing window."
+layer at (8,100) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/cascade/cascade_order-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/cascade/cascade_order-expected.txt
new file mode 100644
index 0000000..d7c38c7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/cascade/cascade_order-expected.txt
@@ -0,0 +1,143 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 790
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x790 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x790
+    LayoutBlockFlow {BODY} at (8,8) size 769x774 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x165
+        LayoutText {#text} at (0,0) size 562x165
+          text run at (0,0) width 562: "<LINK rel=\"stylesheet\" type=\"text/css\" HREF=\"../resources/linktest.css\">"
+          text run at (561,0) width 1: " "
+          text run at (0,15) width 149: "LI {color: purple;}"
+          text run at (148,15) width 1: " "
+          text run at (0,30) width 157: "UL LI {color: blue;}"
+          text run at (156,30) width 1: " "
+          text run at (0,45) width 180: "UL LI LI {color: gray;}"
+          text run at (179,45) width 1: " "
+          text run at (0,60) width 172: "LI.red {color: green;}"
+          text run at (171,60) width 1: " "
+          text run at (0,75) width 211: "UL LI.mar {color: #660000;}"
+          text run at (210,75) width 1: " "
+          text run at (0,90) width 196: "UL LI#gre {color: green;}"
+          text run at (195,90) width 1: " "
+          text run at (0,105) width 157: ".test {color: blue;}"
+          text run at (156,105) width 1: " "
+          text run at (0,120) width 172: ".test {color: purple;}"
+          text run at (171,120) width 1: " "
+          text run at (0,135) width 289: ".one {text-decoration: line-through;}"
+          text run at (288,135) width 1: " "
+          text run at (0,150) width 0: " "
+      LayoutBlockFlow {UL} at (0,230) size 769x144
+        LayoutListItem {LI} at (40,0) size 729x18 [color=#0000FF]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 194x18
+            text run at (0,0) width 194: "This list item should be blue..."
+        LayoutListItem {LI} at (40,18) size 729x72 [color=#0000FF]
+          LayoutBlockFlow (anonymous) at (0,0) size 729x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 295x18
+              text run at (0,0) width 295: "...and so should this; neither should be purple."
+          LayoutBlockFlow {UL} at (0,18) size 729x54
+            LayoutListItem {LI} at (40,0) size 689x18 [color=#808080]
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 194x18
+                text run at (0,0) width 194: "This list item should be gray..."
+            LayoutListItem {LI} at (40,18) size 689x18 [color=#808080]
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 116x18
+                text run at (0,0) width 116: "...as should this...."
+            LayoutListItem {LI} at (40,36) size 689x18 [color=#008000]
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutText {#text} at (0,0) size 196x18
+                text run at (0,0) width 196: "...but this one should be green."
+        LayoutListItem {LI} at (40,90) size 729x18 [color=#660000]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 174x18
+            text run at (0,0) width 174: "This ought to be dark red..."
+        LayoutListItem {LI} at (40,108) size 729x18 [color=#008000]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 87x18
+            text run at (0,0) width 87: "...this green..."
+        LayoutListItem {LI} at (40,126) size 729x18 [color=#0000FF]
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 98x18
+            text run at (0,0) width 98: "...and this blue."
+      LayoutBlockFlow {P} at (0,390) size 769x18 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 282x18
+          text run at (0,0) width 282: "This sentence should be blue (STYLE attr.)."
+      LayoutBlockFlow {P} at (0,424) size 769x18 [color=#800080]
+        LayoutText {#text} at (0,0) size 208x18
+          text run at (0,0) width 208: "This sentence should be purple ["
+        LayoutInline {CODE} at (0,0) size 95x15
+          LayoutText {#text} at (207,2) size 95x15
+            text run at (207,2) width 95: "class=\"test\""
+        LayoutText {#text} at (301,0) size 10x18
+          text run at (301,0) width 10: "]."
+      LayoutBlockFlow {P} at (0,458) size 769x18
+        LayoutText {#text} at (0,0) size 697x18
+          text run at (0,0) width 697: "This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported)."
+      LayoutTable {TABLE} at (0,492) size 719x282 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 717x280
+          LayoutTableRow {TR} at (0,0) size 717x26
+            LayoutTableCell {TD} at (0,0) size 717x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 717x254
+            LayoutTableCell {TD} at (0,140) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 705x254 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 697x144
+                LayoutListItem {LI} at (40,0) size 657x18 [color=#0000FF]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 194x18
+                    text run at (0,0) width 194: "This list item should be blue..."
+                LayoutListItem {LI} at (40,18) size 657x72 [color=#0000FF]
+                  LayoutBlockFlow (anonymous) at (0,0) size 657x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 295x18
+                      text run at (0,0) width 295: "...and so should this; neither should be purple."
+                  LayoutBlockFlow {UL} at (0,18) size 657x54
+                    LayoutListItem {LI} at (40,0) size 617x18 [color=#808080]
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 194x18
+                        text run at (0,0) width 194: "This list item should be gray..."
+                    LayoutListItem {LI} at (40,18) size 617x18 [color=#808080]
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 116x18
+                        text run at (0,0) width 116: "...as should this...."
+                    LayoutListItem {LI} at (40,36) size 617x18 [color=#008000]
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutText {#text} at (0,0) size 196x18
+                        text run at (0,0) width 196: "...but this one should be green."
+                LayoutListItem {LI} at (40,90) size 657x18 [color=#660000]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 174x18
+                    text run at (0,0) width 174: "This ought to be dark red..."
+                LayoutListItem {LI} at (40,108) size 657x18 [color=#008000]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 87x18
+                    text run at (0,0) width 87: "...this green..."
+                LayoutListItem {LI} at (40,126) size 657x18 [color=#0000FF]
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 98x18
+                    text run at (0,0) width 98: "...and this blue."
+              LayoutBlockFlow {P} at (4,164) size 697x18 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 282x18
+                  text run at (0,0) width 282: "This sentence should be blue (STYLE attr.)."
+              LayoutBlockFlow {P} at (4,198) size 697x18 [color=#800080]
+                LayoutText {#text} at (0,0) size 208x18
+                  text run at (0,0) width 208: "This sentence should be purple ["
+                LayoutInline {CODE} at (0,0) size 95x15
+                  LayoutText {#text} at (207,2) size 95x15
+                    text run at (207,2) width 95: "class=\"test\""
+                LayoutText {#text} at (301,0) size 10x18
+                  text run at (301,0) width 10: "]."
+              LayoutBlockFlow {P} at (4,232) size 697x18
+                LayoutText {#text} at (0,0) size 697x18
+                  text run at (0,0) width 697: "This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported)."
+layer at (8,220) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,212) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/cascade/important-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/cascade/important-expected.txt
new file mode 100644
index 0000000..8444083
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/cascade/important-expected.txt
@@ -0,0 +1,69 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x60
+        LayoutText {#text} at (0,0) size 227x60
+          text run at (0,0) width 227: "P {color: green ! important;}"
+          text run at (226,0) width 1: " "
+          text run at (0,15) width 118: "P {color: red;}"
+          text run at (117,15) width 1: " "
+          text run at (0,30) width 172: "P#id1 {color: purple;}"
+          text run at (171,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 784x36 [color=#008000]
+        LayoutText {#text} at (0,0) size 784x36
+          text run at (0,0) width 784: "This sentence should be green, because the declaration marked important should override any other normal declaration for"
+          text run at (0,18) width 366: "the same element, even if it occurs later in the stylesheet."
+      LayoutBlockFlow {P} at (0,177) size 784x36 [color=#008000]
+        LayoutText {#text} at (0,0) size 409x18
+          text run at (0,0) width 409: "This sentence should also be green, even though it has an ID of "
+        LayoutInline {TT} at (0,0) size 25x15
+          LayoutText {#text} at (408,2) size 25x15
+            text run at (408,2) width 25: "id1"
+        LayoutText {#text} at (432,0) size 738x36
+          text run at (432,0) width 263: ", which would ordinarily make it purple. "
+          text run at (694,0) width 44: "This is"
+          text run at (0,18) width 714: "because declarations marked important have more weight than normal declarations given in a STYLE attribute."
+      LayoutBlockFlow {P} at (0,229) size 784x36 [color=#008000]
+        LayoutText {#text} at (0,0) size 712x36
+          text run at (0,0) width 615: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. "
+          text run at (614,0) width 98: "This is because"
+          text run at (0,18) width 659: "declarations marked important have more weight than normal declarations given in a STYLE attribute."
+      LayoutTable {TABLE} at (0,281) size 784x176 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x174
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x148
+            LayoutTableCell {TD} at (0,87) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x148 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x36 [color=#008000]
+                LayoutText {#text} at (0,0) size 761x36
+                  text run at (0,0) width 761: "This sentence should be green, because the declaration marked important should override any other normal declaration"
+                  text run at (0,18) width 388: "for the same element, even if it occurs later in the stylesheet."
+              LayoutBlockFlow {P} at (4,56) size 762x36 [color=#008000]
+                LayoutText {#text} at (0,0) size 409x18
+                  text run at (0,0) width 409: "This sentence should also be green, even though it has an ID of "
+                LayoutInline {TT} at (0,0) size 25x15
+                  LayoutText {#text} at (408,2) size 25x15
+                    text run at (408,2) width 25: "id1"
+                LayoutText {#text} at (432,0) size 738x36
+                  text run at (432,0) width 263: ", which would ordinarily make it purple. "
+                  text run at (694,0) width 44: "This is"
+                  text run at (0,18) width 714: "because declarations marked important have more weight than normal declarations given in a STYLE attribute."
+              LayoutBlockFlow {P} at (4,108) size 762x36 [color=#008000]
+                LayoutText {#text} at (0,0) size 712x36
+                  text run at (0,0) width 615: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. "
+                  text run at (614,0) width 98: "This is because"
+                  text run at (0,18) width 659: "declarations marked important have more weight than normal declarations given in a STYLE attribute."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/display-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/display-expected.txt
new file mode 100644
index 0000000..b483dc3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/display-expected.txt
@@ -0,0 +1,132 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 816
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x816 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x816
+    LayoutBlockFlow {BODY} at (8,8) size 769x800 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x75
+        LayoutText {#text} at (0,0) size 554x75
+          text run at (0,0) width 172: ".one {display: block;}"
+          text run at (171,0) width 1: " "
+          text run at (0,15) width 180: ".two {display: inline;}"
+          text run at (179,15) width 1: " "
+          text run at (0,30) width 554: ".three {display: list-item; list-style-type: square; margin-left: 3em;}"
+          text run at (553,30) width 1: " "
+          text run at (0,45) width 266: ".four {display: none; color: red;}"
+          text run at (265,45) width 1: " "
+          text run at (0,60) width 149: "I {display: block;}"
+          text run at (148,60) width 1: " "
+      LayoutBlockFlow {P} at (0,140) size 769x18
+        LayoutText {#text} at (0,0) size 299x18
+          text run at (0,0) width 299: "This sentence should be a block-level element."
+      LayoutBlockFlow (anonymous) at (0,174) size 769x54
+        LayoutInline {P} at (0,0) size 458x18
+          LayoutText {#text} at (0,0) size 458x18
+            text run at (0,0) width 458: "This sentence should be part of an inline element, as are the next three. "
+        LayoutInline {P} at (0,0) size 748x54
+          LayoutText {#text} at (457,0) size 748x54
+            text run at (457,0) width 280: "This sentence and the next two are part of a"
+            text run at (0,18) width 148: "second inline element. "
+            text run at (147,18) width 601: "They should therefore appear, along with the sentence above, to be all one paragraph which is"
+            text run at (0,36) width 133: "four sentences long. "
+            text run at (132,36) width 256: "If this is not the case, then the keyword "
+          LayoutInline {CODE} at (0,0) size 48x15
+            LayoutText {#text} at (387,38) size 48x15
+              text run at (387,38) width 48: "inline"
+          LayoutText {#text} at (434,36) size 112x18
+            text run at (434,36) width 112: " is being ignored."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutListItem {P} at (48,244) size 721x54
+        LayoutListMarker (anonymous) at (-17,0) size 7x18: black square
+        LayoutText {#text} at (0,0) size 694x36
+          text run at (0,0) width 694: "This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list"
+          text run at (0,18) width 58: "items (if "
+        LayoutInline {CODE} at (0,0) size 118x15
+          LayoutText {#text} at (57,20) size 118x15
+            text run at (57,20) width 118: "list-style-type"
+        LayoutText {#text} at (174,18) size 720x36
+          text run at (174,18) width 369: " is supported, there will be a square for the item marker). "
+          text run at (542,18) width 178: "A 3em left margin has been"
+          text run at (0,36) width 438: "applied in order to ensure that there is space for the list-item marker."
+      LayoutBlockFlow {P} at (0,314) size 769x18
+        LayoutText {#text} at (0,0) size 467x18
+          text run at (0,0) width 467: "The next paragraph should be invisible (if it's visible, you'll see red text)."
+      LayoutBlockFlow {P} at (0,348) size 769x18
+        LayoutText {#text} at (0,0) size 252x18
+          text run at (0,0) width 252: "There should be no text after the colon:"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,382) size 769x54
+        LayoutBlockFlow (anonymous) at (0,0) size 769x18
+          LayoutText {#text} at (0,0) size 116x18
+            text run at (0,0) width 116: "The italicized text"
+        LayoutBlockFlow {I} at (0,18) size 769x18
+          LayoutText {#text} at (0,0) size 113x18
+            text run at (0,0) width 113: "in this paragraph"
+        LayoutBlockFlow (anonymous) at (0,36) size 769x18
+          LayoutText {#text} at (0,0) size 208x18
+            text run at (0,0) width 208: "should be a block-level element."
+      LayoutTable {TABLE} at (0,452) size 769x348 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x346
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x320
+            LayoutTableCell {TD} at (0,173) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x320 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18
+                LayoutText {#text} at (0,0) size 299x18
+                  text run at (0,0) width 299: "This sentence should be a block-level element."
+              LayoutBlockFlow (anonymous) at (4,38) size 747x54
+                LayoutInline {P} at (0,0) size 458x18
+                  LayoutText {#text} at (0,0) size 458x18
+                    text run at (0,0) width 458: "This sentence should be part of an inline element, as are the next three. "
+                LayoutInline {P} at (0,0) size 737x54
+                  LayoutText {#text} at (457,0) size 737x54
+                    text run at (457,0) width 280: "This sentence and the next two are part of a"
+                    text run at (0,18) width 148: "second inline element. "
+                    text run at (147,18) width 587: "They should therefore appear, along with the sentence above, to be all one paragraph which"
+                    text run at (0,36) width 148: "is four sentences long. "
+                    text run at (147,36) width 256: "If this is not the case, then the keyword "
+                  LayoutInline {CODE} at (0,0) size 47x15
+                    LayoutText {#text} at (402,38) size 47x15
+                      text run at (402,38) width 47: "inline"
+                  LayoutText {#text} at (448,36) size 113x18
+                    text run at (448,36) width 113: " is being ignored."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutListItem {P} at (52,108) size 699x54
+                LayoutListMarker (anonymous) at (-17,0) size 7x18: black square
+                LayoutText {#text} at (0,0) size 694x36
+                  text run at (0,0) width 694: "This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list"
+                  text run at (0,18) width 58: "items (if "
+                LayoutInline {CODE} at (0,0) size 118x15
+                  LayoutText {#text} at (57,20) size 118x15
+                    text run at (57,20) width 118: "list-style-type"
+                LayoutText {#text} at (174,18) size 686x36
+                  text run at (174,18) width 369: " is supported, there will be a square for the item marker). "
+                  text run at (542,18) width 144: "A 3em left margin has"
+                  text run at (0,36) width 472: "been applied in order to ensure that there is space for the list-item marker."
+              LayoutBlockFlow {P} at (4,178) size 747x18
+                LayoutText {#text} at (0,0) size 467x18
+                  text run at (0,0) width 467: "The next paragraph should be invisible (if it's visible, you'll see red text)."
+              LayoutBlockFlow {P} at (4,212) size 747x18
+                LayoutText {#text} at (0,0) size 252x18
+                  text run at (0,0) width 252: "There should be no text after the colon:"
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,246) size 747x54
+                LayoutBlockFlow (anonymous) at (0,0) size 747x18
+                  LayoutText {#text} at (0,0) size 116x18
+                    text run at (0,0) width 116: "The italicized text"
+                LayoutBlockFlow {I} at (0,18) size 747x18
+                  LayoutText {#text} at (0,0) size 113x18
+                    text run at (0,0) width 113: "in this paragraph"
+                LayoutBlockFlow (anonymous) at (0,36) size 747x18
+                  LayoutText {#text} at (0,0) size 208x18
+                    text run at (0,0) width 208: "should be a block-level element."
+layer at (8,130) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,122) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style-expected.txt
new file mode 100644
index 0000000..fcaeb27
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style-expected.txt
@@ -0,0 +1,54 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x30
+        LayoutText {#text} at (0,0) size 484x30
+          text run at (0,0) width 297: ".one {list-style: upper-alpha inside;}"
+          text run at (296,0) width 1: " "
+          text run at (0,15) width 484: ".two {list-style: url(../resources/oransqr.gif) disc outside;}"
+          text run at (483,15) width 1: " "
+      LayoutBlockFlow {UL} at (0,95) size 784x36
+        LayoutListItem {LI} at (40,0) size 744x36
+          LayoutListMarker (anonymous) at (0,0) size 19.55x18: "A"
+          LayoutText {#text} at (19,0) size 695x36
+            text run at (19,0) width 676: "The text in this item should not behave as expected; that is, it should line up with the capital-A on the left"
+            text run at (0,18) width 345: "margin, leaving no blank space beneath the capital-A."
+      LayoutBlockFlow {UL} at (0,147) size 784x37
+        LayoutListItem {LI} at (40,0) size 744x37
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,1) size 727x36
+            text run at (0,1) width 489: "The text in this item have an orange square for its bullet; failing that, a disc. "
+            text run at (488,1) width 239: "Also, the bullet should be outside the"
+            text run at (0,19) width 290: "text block, as the list has been set to 'outside'."
+      LayoutTable {TABLE} at (0,200) size 784x141 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x139
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x113
+            LayoutTableCell {TD} at (0,69) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x113 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 762x36
+                LayoutListItem {LI} at (40,0) size 722x36
+                  LayoutListMarker (anonymous) at (0,0) size 19.55x18: "A"
+                  LayoutText {#text} at (19,0) size 695x36
+                    text run at (19,0) width 676: "The text in this item should not behave as expected; that is, it should line up with the capital-A on the left"
+                    text run at (0,18) width 345: "margin, leaving no blank space beneath the capital-A."
+              LayoutBlockFlow {UL} at (4,56) size 762x37
+                LayoutListItem {LI} at (40,0) size 722x37
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,1) size 703x36
+                    text run at (0,1) width 489: "The text in this item have an orange square for its bullet; failing that, a disc. "
+                    text run at (488,1) width 215: "Also, the bullet should be outside"
+                    text run at (0,19) width 314: "the text block, as the list has been set to 'outside'."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style_image-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style_image-expected.txt
new file mode 100644
index 0000000..ed7aedd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style_image-expected.txt
@@ -0,0 +1,81 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 430x45
+          text run at (0,0) width 430: ".one {list-style-image: url(../resources/oransqr.gif);}"
+          text run at (429,0) width 1: " "
+          text run at (0,15) width 235: ".two {list-style-image: none;}"
+          text run at (234,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutBlockFlow {UL} at (0,110) size 784x57
+        LayoutListItem {LI} at (40,0) size 744x19
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,1) size 64x18
+            text run at (0,1) width 64: "This list..."
+        LayoutListItem {LI} at (40,19) size 744x19
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,1) size 116x18
+            text run at (0,1) width 116: "...should feature..."
+        LayoutListItem {LI} at (40,38) size 744x19
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,1) size 150x18
+            text run at (0,1) width 150: "...images for each item."
+      LayoutBlockFlow {UL} at (0,183) size 784x54
+        LayoutListItem {LI} at (40,0) size 744x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 64x18
+            text run at (0,0) width 64: "This list..."
+        LayoutListItem {LI} at (40,18) size 744x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 116x18
+            text run at (0,0) width 116: "...should feature..."
+        LayoutListItem {LI} at (40,36) size 744x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 238x18
+            text run at (0,0) width 238: "...standard list markers for each item."
+      LayoutTable {TABLE} at (0,253) size 300x179 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 298x177
+          LayoutTableRow {TR} at (0,0) size 298x26
+            LayoutTableCell {TD} at (0,0) size 298x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 298x151
+            LayoutTableCell {TD} at (0,88) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 286x151 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 278x57
+                LayoutListItem {LI} at (40,0) size 238x19
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,1) size 64x18
+                    text run at (0,1) width 64: "This list..."
+                LayoutListItem {LI} at (40,19) size 238x19
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,1) size 116x18
+                    text run at (0,1) width 116: "...should feature..."
+                LayoutListItem {LI} at (40,38) size 238x19
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,1) size 150x18
+                    text run at (0,1) width 150: "...images for each item."
+              LayoutBlockFlow {UL} at (4,77) size 278x54
+                LayoutListItem {LI} at (40,0) size 238x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 64x18
+                    text run at (0,0) width 64: "This list..."
+                LayoutListItem {LI} at (40,18) size 238x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 116x18
+                    text run at (0,0) width 116: "...should feature..."
+                LayoutListItem {LI} at (40,36) size 238x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 238x18
+                    text run at (0,0) width 238: "...standard list markers for each item."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style_position-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style_position-expected.txt
index f60174b..525a27f 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style_position-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,15) width 274: ".two {list-style-position: inside;}"
           text run at (273,15) width 1: " "
           text run at (0,30) width 0: " "
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,110) size 784x36
         LayoutListItem {LI} at (40,0) size 744x36
           LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
@@ -50,3 +49,5 @@
                   LayoutText {#text} at (22,0) size 674x36
                     text run at (22,0) width 652: "The text in this item should not behave as expected; that is, it should line up with the bullet on the left"
                     text run at (0,18) width 321: "margin, leaving no blank space beneath the bullet."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style_type-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style_type-expected.txt
new file mode 100644
index 0000000..f57e3831
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/list_style_type-expected.txt
@@ -0,0 +1,271 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1527
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1527 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1527
+    LayoutBlockFlow {BODY} at (8,8) size 769x1511 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x150
+        LayoutText {#text} at (0,0) size 297x150
+          text run at (0,0) width 227: ".one {list-style-type: disc;}"
+          text run at (226,0) width 1: " "
+          text run at (0,15) width 242: ".two {list-style-type: circle;}"
+          text run at (241,15) width 1: " "
+          text run at (0,30) width 258: ".three {list-style-type: square;}"
+          text run at (257,30) width 1: " "
+          text run at (0,45) width 289: ".four {list-style-type: lower-roman;}"
+          text run at (288,45) width 1: " "
+          text run at (0,60) width 289: ".five {list-style-type: upper-roman;}"
+          text run at (288,60) width 1: " "
+          text run at (0,75) width 281: ".six {list-style-type: lower-alpha;}"
+          text run at (280,75) width 1: " "
+          text run at (0,90) width 297: ".seven {list-style-type: upper-alpha;}"
+          text run at (296,90) width 1: " "
+          text run at (0,105) width 266: ".eight {list-style-type: decimal;}"
+          text run at (265,105) width 1: " "
+          text run at (0,120) width 235: ".nine {list-style-type: none;}"
+          text run at (234,120) width 1: " "
+          text run at (0,135) width 0: " "
+      LayoutBlockFlow {UL} at (0,215) size 769x54
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 64x18
+            text run at (0,0) width 64: "This list..."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 116x18
+            text run at (0,0) width 116: "...should feature..."
+        LayoutListItem {LI} at (40,36) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 137x18
+            text run at (0,0) width 137: "...discs for each item."
+      LayoutBlockFlow {UL} at (0,285) size 769x54
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+          LayoutText {#text} at (0,0) size 64x18
+            text run at (0,0) width 64: "This list..."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+          LayoutText {#text} at (0,0) size 116x18
+            text run at (0,0) width 116: "...should feature..."
+        LayoutListItem {LI} at (40,36) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+          LayoutText {#text} at (0,0) size 147x18
+            text run at (0,0) width 147: "...circles for each item."
+      LayoutBlockFlow {UL} at (0,355) size 769x54
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: black square
+          LayoutText {#text} at (0,0) size 64x18
+            text run at (0,0) width 64: "This list..."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: black square
+          LayoutText {#text} at (0,0) size 116x18
+            text run at (0,0) width 116: "...should feature..."
+        LayoutListItem {LI} at (40,36) size 729x18
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: black square
+          LayoutText {#text} at (0,0) size 153x18
+            text run at (0,0) width 153: "...squares for each item."
+      LayoutBlockFlow {OL} at (0,425) size 769x54
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-12.44,0) size 12.44x18: "i"
+          LayoutText {#text} at (0,0) size 64x18
+            text run at (0,0) width 64: "This list..."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutListMarker (anonymous) at (-16.89,0) size 16.89x18: "ii"
+          LayoutText {#text} at (0,0) size 116x18
+            text run at (0,0) width 116: "...should feature..."
+        LayoutListItem {LI} at (40,36) size 729x18
+          LayoutListMarker (anonymous) at (-21.33,0) size 21.33x18: "iii"
+          LayoutText {#text} at (0,0) size 282x18
+            text run at (0,0) width 282: "...lowercase Roman numerals for each item."
+      LayoutBlockFlow {OL} at (0,495) size 769x54
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-13.33,0) size 13.33x18: "I"
+          LayoutText {#text} at (0,0) size 64x18
+            text run at (0,0) width 64: "This list..."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutListMarker (anonymous) at (-18.66,0) size 18.66x18: "II"
+          LayoutText {#text} at (0,0) size 116x18
+            text run at (0,0) width 116: "...should feature..."
+        LayoutListItem {LI} at (40,36) size 729x18
+          LayoutListMarker (anonymous) at (-23.98,0) size 23.98x18: "III"
+          LayoutText {#text} at (0,0) size 282x18
+            text run at (0,0) width 282: "...uppercase Roman numerals for each item."
+      LayoutBlockFlow {OL} at (0,565) size 769x54
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-15.09,0) size 15.09x18: "a"
+          LayoutText {#text} at (0,0) size 64x18
+            text run at (0,0) width 64: "This list..."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutListMarker (anonymous) at (-16,0) size 16x18: "b"
+          LayoutText {#text} at (0,0) size 116x18
+            text run at (0,0) width 116: "...should feature..."
+        LayoutListItem {LI} at (40,36) size 729x18
+          LayoutListMarker (anonymous) at (-15.09,0) size 15.09x18: "c"
+          LayoutText {#text} at (0,0) size 212x18
+            text run at (0,0) width 212: "...lowercase letters for each item."
+      LayoutBlockFlow {OL} at (0,635) size 769x54
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-19.55,0) size 19.55x18: "A"
+          LayoutText {#text} at (0,0) size 64x18
+            text run at (0,0) width 64: "This list..."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutListMarker (anonymous) at (-18.67,0) size 18.67x18: "B"
+          LayoutText {#text} at (0,0) size 116x18
+            text run at (0,0) width 116: "...should feature..."
+        LayoutListItem {LI} at (40,36) size 729x18
+          LayoutListMarker (anonymous) at (-18.67,0) size 18.67x18: "C"
+          LayoutText {#text} at (0,0) size 212x18
+            text run at (0,0) width 212: "...uppercase letters for each item."
+      LayoutBlockFlow {OL} at (0,705) size 769x54
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-19.55,0) size 19.55x18: "A"
+          LayoutText {#text} at (0,0) size 160x18
+            text run at (0,0) width 160: "This list should feature..."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutListMarker (anonymous) at (-18.67,0) size 18.67x18: "B"
+          LayoutText {#text} at (0,0) size 152x18
+            text run at (0,0) width 152: "...letters for each item..."
+        LayoutListItem {LI} at (40,36) size 729x18
+          LayoutListMarker (anonymous) at (-16,0) size 16x18: "3"
+          LayoutText {#text} at (0,0) size 112x18
+            text run at (0,0) width 112: "...except this one."
+      LayoutBlockFlow {UL} at (0,775) size 769x54
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutText {#text} at (0,0) size 64x18
+            text run at (0,0) width 64: "This list..."
+        LayoutListItem {LI} at (40,18) size 729x18
+          LayoutText {#text} at (0,0) size 116x18
+            text run at (0,0) width 116: "...should feature..."
+        LayoutListItem {LI} at (40,36) size 729x18
+          LayoutText {#text} at (0,0) size 154x18
+            text run at (0,0) width 154: "...nothing for each item."
+      LayoutTable {TABLE} at (0,845) size 344x666 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 342x664
+          LayoutTableRow {TR} at (0,0) size 342x26
+            LayoutTableCell {TD} at (0,0) size 342x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 342x638
+            LayoutTableCell {TD} at (0,332) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 330x638 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 322x54
+                LayoutListItem {LI} at (40,0) size 282x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 64x18
+                    text run at (0,0) width 64: "This list..."
+                LayoutListItem {LI} at (40,18) size 282x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 116x18
+                    text run at (0,0) width 116: "...should feature..."
+                LayoutListItem {LI} at (40,36) size 282x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 137x18
+                    text run at (0,0) width 137: "...discs for each item."
+              LayoutBlockFlow {UL} at (4,74) size 322x54
+                LayoutListItem {LI} at (40,0) size 282x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                  LayoutText {#text} at (0,0) size 64x18
+                    text run at (0,0) width 64: "This list..."
+                LayoutListItem {LI} at (40,18) size 282x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                  LayoutText {#text} at (0,0) size 116x18
+                    text run at (0,0) width 116: "...should feature..."
+                LayoutListItem {LI} at (40,36) size 282x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                  LayoutText {#text} at (0,0) size 147x18
+                    text run at (0,0) width 147: "...circles for each item."
+              LayoutBlockFlow {UL} at (4,144) size 322x54
+                LayoutListItem {LI} at (40,0) size 282x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: black square
+                  LayoutText {#text} at (0,0) size 64x18
+                    text run at (0,0) width 64: "This list..."
+                LayoutListItem {LI} at (40,18) size 282x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: black square
+                  LayoutText {#text} at (0,0) size 116x18
+                    text run at (0,0) width 116: "...should feature..."
+                LayoutListItem {LI} at (40,36) size 282x18
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: black square
+                  LayoutText {#text} at (0,0) size 153x18
+                    text run at (0,0) width 153: "...squares for each item."
+              LayoutBlockFlow {OL} at (4,214) size 322x54
+                LayoutListItem {LI} at (40,0) size 282x18
+                  LayoutListMarker (anonymous) at (-12.44,0) size 12.44x18: "i"
+                  LayoutText {#text} at (0,0) size 64x18
+                    text run at (0,0) width 64: "This list..."
+                LayoutListItem {LI} at (40,18) size 282x18
+                  LayoutListMarker (anonymous) at (-16.89,0) size 16.89x18: "ii"
+                  LayoutText {#text} at (0,0) size 116x18
+                    text run at (0,0) width 116: "...should feature..."
+                LayoutListItem {LI} at (40,36) size 282x18
+                  LayoutListMarker (anonymous) at (-21.33,0) size 21.33x18: "iii"
+                  LayoutText {#text} at (0,0) size 282x18
+                    text run at (0,0) width 282: "...lowercase Roman numerals for each item."
+              LayoutBlockFlow {OL} at (4,284) size 322x54
+                LayoutListItem {LI} at (40,0) size 282x18
+                  LayoutListMarker (anonymous) at (-13.33,0) size 13.33x18: "I"
+                  LayoutText {#text} at (0,0) size 64x18
+                    text run at (0,0) width 64: "This list..."
+                LayoutListItem {LI} at (40,18) size 282x18
+                  LayoutListMarker (anonymous) at (-18.66,0) size 18.66x18: "II"
+                  LayoutText {#text} at (0,0) size 116x18
+                    text run at (0,0) width 116: "...should feature..."
+                LayoutListItem {LI} at (40,36) size 282x18
+                  LayoutListMarker (anonymous) at (-23.98,0) size 23.98x18: "III"
+                  LayoutText {#text} at (0,0) size 282x18
+                    text run at (0,0) width 282: "...uppercase Roman numerals for each item."
+              LayoutBlockFlow {OL} at (4,354) size 322x54
+                LayoutListItem {LI} at (40,0) size 282x18
+                  LayoutListMarker (anonymous) at (-15.09,0) size 15.09x18: "a"
+                  LayoutText {#text} at (0,0) size 64x18
+                    text run at (0,0) width 64: "This list..."
+                LayoutListItem {LI} at (40,18) size 282x18
+                  LayoutListMarker (anonymous) at (-16,0) size 16x18: "b"
+                  LayoutText {#text} at (0,0) size 116x18
+                    text run at (0,0) width 116: "...should feature..."
+                LayoutListItem {LI} at (40,36) size 282x18
+                  LayoutListMarker (anonymous) at (-15.09,0) size 15.09x18: "c"
+                  LayoutText {#text} at (0,0) size 212x18
+                    text run at (0,0) width 212: "...lowercase letters for each item."
+              LayoutBlockFlow {OL} at (4,424) size 322x54
+                LayoutListItem {LI} at (40,0) size 282x18
+                  LayoutListMarker (anonymous) at (-19.55,0) size 19.55x18: "A"
+                  LayoutText {#text} at (0,0) size 64x18
+                    text run at (0,0) width 64: "This list..."
+                LayoutListItem {LI} at (40,18) size 282x18
+                  LayoutListMarker (anonymous) at (-18.67,0) size 18.67x18: "B"
+                  LayoutText {#text} at (0,0) size 116x18
+                    text run at (0,0) width 116: "...should feature..."
+                LayoutListItem {LI} at (40,36) size 282x18
+                  LayoutListMarker (anonymous) at (-18.67,0) size 18.67x18: "C"
+                  LayoutText {#text} at (0,0) size 212x18
+                    text run at (0,0) width 212: "...uppercase letters for each item."
+              LayoutBlockFlow {OL} at (4,494) size 322x54
+                LayoutListItem {LI} at (40,0) size 282x18
+                  LayoutListMarker (anonymous) at (-19.55,0) size 19.55x18: "A"
+                  LayoutText {#text} at (0,0) size 160x18
+                    text run at (0,0) width 160: "This list should feature..."
+                LayoutListItem {LI} at (40,18) size 282x18
+                  LayoutListMarker (anonymous) at (-18.67,0) size 18.67x18: "B"
+                  LayoutText {#text} at (0,0) size 152x18
+                    text run at (0,0) width 152: "...letters for each item..."
+                LayoutListItem {LI} at (40,36) size 282x18
+                  LayoutListMarker (anonymous) at (-16,0) size 16x18: "3"
+                  LayoutText {#text} at (0,0) size 112x18
+                    text run at (0,0) width 112: "...except this one."
+              LayoutBlockFlow {UL} at (4,564) size 322x54
+                LayoutListItem {LI} at (40,0) size 282x18
+                  LayoutText {#text} at (0,0) size 64x18
+                    text run at (0,0) width 64: "This list..."
+                LayoutListItem {LI} at (40,18) size 282x18
+                  LayoutText {#text} at (0,0) size 116x18
+                    text run at (0,0) width 116: "...should feature..."
+                LayoutListItem {LI} at (40,36) size 282x18
+                  LayoutText {#text} at (0,0) size 154x18
+                    text run at (0,0) width 154: "...nothing for each item."
+layer at (8,205) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,197) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/white_space-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/white_space-expected.txt
new file mode 100644
index 0000000..ef8ed43
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/classification/white_space-expected.txt
@@ -0,0 +1,81 @@
+layer at (0,0) size 800x600 scrollWidth 936
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x60
+        LayoutText {#text} at (0,0) size 227x60
+          text run at (0,0) width 188: ".one {white-space: pre;}"
+          text run at (187,0) width 1: " "
+          text run at (0,15) width 211: ".two {white-space: nowrap;}"
+          text run at (210,15) width 1: " "
+          text run at (0,30) width 227: ".three {white-space: normal;}"
+          text run at (226,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 784x90
+        LayoutText {#text} at (0,0) size 576x90
+          text run at (0,0) width 0: " "
+          text run at (0,18) width 576: "This sentence should     show extra space  where there    would ordinarily         not be any."
+          text run at (575,18) width 1: " "
+          text run at (0,36) width 302: "     There should also be preservation of returns"
+          text run at (301,36) width 1: " "
+          text run at (0,54) width 100: "as this sentence"
+          text run at (99,54) width 1: " "
+          text run at (0,72) width 189: "     very clearly demonstrates."
+          text run at (188,72) width 1: " "
+      LayoutBlockFlow {P} at (0,231) size 784x18
+        LayoutText {#text} at (0,0) size 906x18
+          text run at (0,0) width 906: "This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect."
+      LayoutBlockFlow {P} at (0,265) size 784x36
+        LayoutText {#text} at (0,0) size 300x36
+          text run at (0,0) width 0: " "
+          text run at (0,18) width 300: "This sentence      should     show extra   space, "
+        LayoutInline {SPAN} at (0,0) size 160x18
+          LayoutText {#text} at (299,18) size 160x18
+            text run at (299,18) width 87: "except in the "
+            text run at (385,18) width 74: "second half"
+        LayoutText {#text} at (458,18) size 5x18
+          text run at (458,18) width 5: "."
+          text run at (462,18) width 1: " "
+      LayoutTable {TABLE} at (0,317) size 928x212 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 926x210
+          LayoutTableRow {TR} at (0,0) size 926x26
+            LayoutTableCell {TD} at (0,0) size 926x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 926x184
+            LayoutTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 914x184 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 906x90
+                LayoutText {#text} at (0,0) size 576x90
+                  text run at (0,0) width 0: " "
+                  text run at (0,18) width 576: "This sentence should     show extra space  where there    would ordinarily         not be any."
+                  text run at (575,18) width 1: " "
+                  text run at (0,36) width 302: "     There should also be preservation of returns"
+                  text run at (301,36) width 1: " "
+                  text run at (0,54) width 100: "as this sentence"
+                  text run at (99,54) width 1: " "
+                  text run at (0,72) width 189: "     very clearly demonstrates."
+                  text run at (188,72) width 1: " "
+              LayoutBlockFlow {P} at (4,110) size 906x18
+                LayoutText {#text} at (0,0) size 906x18
+                  text run at (0,0) width 906: "This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect."
+              LayoutBlockFlow {P} at (4,144) size 906x36
+                LayoutText {#text} at (0,0) size 300x36
+                  text run at (0,0) width 0: " "
+                  text run at (0,18) width 300: "This sentence      should     show extra   space, "
+                LayoutInline {SPAN} at (0,0) size 160x18
+                  LayoutText {#text} at (299,18) size 160x18
+                    text run at (299,18) width 87: "except in the "
+                    text run at (385,18) width 74: "second half"
+                LayoutText {#text} at (458,18) size 5x18
+                  text run at (458,18) width 5: "."
+                  text run at (462,18) width 1: " "
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background-expected.txt
new file mode 100644
index 0000000..04a33a4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background-expected.txt
@@ -0,0 +1,93 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 721
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x721 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x721
+    LayoutBlockFlow {BODY} at (8,8) size 769x705 [bgcolor=#008000]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x60
+        LayoutText {#text} at (0,0) size 632x60
+          text run at (0,0) width 632: "BODY {background: green url(../resources/oransqr.gif) repeat-x center top fixed;}"
+          text run at (631,0) width 1: " "
+          text run at (0,15) width 554: ".one {background: lime url(../resources/oransqr.gif) repeat-y 100% 0%;}"
+          text run at (553,15) width 1: " "
+          text run at (0,30) width 578: ".two {background: lime url(../resources/oransqr.gif) repeat-y center top;}"
+          text run at (577,30) width 1: " "
+          text run at (0,45) width 578: ".three {background: lime url(../resources/oransqr.gif) repeat-x left top;}"
+          text run at (577,45) width 1: " "
+      LayoutBlockFlow {P} at (0,125) size 769x54
+        LayoutText {#text} at (0,0) size 741x18
+          text run at (0,0) width 741: "This document should have a green background with an orange strip running across the entire top of the page, since"
+        LayoutInline {CODE} at (0,0) size 63x15
+          LayoutText {#text} at (0,20) size 63x15
+            text run at (0,20) width 63: "repeat-x"
+        LayoutText {#text} at (62,18) size 768x36
+          text run at (62,18) width 308: " indicates tiling in both directions of the x-axis. "
+          text run at (369,18) width 304: "Furthermore, the strip should be fixed in place. "
+          text run at (672,18) width 96: "I'll have to add"
+          text run at (0,36) width 502: "extra text at the end of this page to make it long enough to scroll conveniently."
+      LayoutBlockFlow {P} at (0,195) size 769x54 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 758x54
+          text run at (0,0) width 758: "This paragraph should have a lime background and an orange strip which starts at the top right and runs to the bottom."
+          text run at (0,18) width 717: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in"
+          text run at (0,36) width 183: "handling these declarations. "
+          text run at (182,36) width 311: "Hey, I didn't say the page would be pretty, did I?"
+      LayoutBlockFlow {P} at (0,265) size 769x54 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 766x54
+          text run at (0,0) width 766: "This paragraph should have a lime background and an orange strip which starts at the center top and runs to the bottom."
+          text run at (0,18) width 717: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in"
+          text run at (0,36) width 183: "handling these declarations. "
+          text run at (182,36) width 311: "Hey, I didn't say the page would be pretty, did I?"
+      LayoutBlockFlow {P} at (0,335) size 769x54 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 758x54
+          text run at (0,0) width 758: "This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top right."
+          text run at (0,18) width 717: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in"
+          text run at (0,36) width 183: "handling these declarations. "
+          text run at (182,36) width 311: "Hey, I didn't say the page would be pretty, did I?"
+      LayoutTable {TABLE} at (0,405) size 769x300 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x298
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x272
+            LayoutTableCell {TD} at (0,149) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x272 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x54
+                LayoutText {#text} at (0,0) size 741x18
+                  text run at (0,0) width 741: "This document should have a green background with an orange strip running across the entire top of the page, since"
+                LayoutInline {CODE} at (0,0) size 63x15
+                  LayoutText {#text} at (0,20) size 63x15
+                    text run at (0,20) width 63: "repeat-x"
+                LayoutText {#text} at (62,18) size 741x36
+                  text run at (62,18) width 308: " indicates tiling in both directions of the x-axis. "
+                  text run at (369,18) width 304: "Furthermore, the strip should be fixed in place. "
+                  text run at (672,18) width 69: "I'll have to"
+                  text run at (0,36) width 530: "add extra text at the end of this page to make it long enough to scroll conveniently."
+              LayoutBlockFlow {P} at (4,74) size 747x54 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 704x54
+                  text run at (0,0) width 704: "This paragraph should have a lime background and an orange strip which starts at the top right and runs to the"
+                  text run at (0,18) width 54: "bottom. "
+                  text run at (53,18) width 645: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your"
+                  text run at (0,36) width 255: "browser in handling these declarations. "
+                  text run at (254,36) width 311: "Hey, I didn't say the page would be pretty, did I?"
+              LayoutBlockFlow {P} at (4,144) size 747x54 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 713x54
+                  text run at (0,0) width 713: "This paragraph should have a lime background and an orange strip which starts at the center top and runs to the"
+                  text run at (0,18) width 54: "bottom. "
+                  text run at (53,18) width 645: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your"
+                  text run at (0,36) width 255: "browser in handling these declarations. "
+                  text run at (254,36) width 311: "Hey, I didn't say the page would be pretty, did I?"
+              LayoutBlockFlow {P} at (4,214) size 747x54 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 739x54
+                  text run at (0,0) width 720: "This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top"
+                  text run at (0,18) width 39: "right. "
+                  text run at (38,18) width 701: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser"
+                  text run at (0,36) width 199: "in handling these declarations. "
+                  text run at (198,36) width 311: "Hey, I didn't say the page would be pretty, did I?"
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_attachment-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_attachment-expected.txt
new file mode 100644
index 0000000..a3fa681
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_attachment-expected.txt
@@ -0,0 +1,185 @@
+layer at (0,0) size 800x600 scrollWidth 858 scrollHeight 1195
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x1195 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x1194.53
+    LayoutBlockFlow {BODY} at (8,8) size 784x1178.53 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x30
+        LayoutText {#text} at (0,0) size 851x30
+          text run at (0,0) width 851: "BODY {background-image: url(../resources/bg.gif); background-repeat: repeat-x; background-attachment: fixed;}"
+          text run at (850,0) width 1: " "
+          text run at (0,15) width 0: " "
+      LayoutBlockFlow {P} at (0,95) size 784x90
+        LayoutText {#text} at (0,0) size 778x90
+          text run at (0,0) width 778: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which does"
+          text run at (0,18) width 204: "NOT scroll with the document. "
+          text run at (203,18) width 563: "It should, instead, appear to be a fixed pattern past which the content scrolls, even when"
+          text run at (0,36) width 199: "the end of the page is reached. "
+          text run at (198,36) width 574: "In addition, the default Test Suite background should NOT appear, as it's been overridden"
+          text run at (0,54) width 176: "by the styles shown above. "
+          text run at (175,54) width 560: "I'll have to add a lot of extra text to the page in order to make all this something we can"
+          text run at (0,72) width 100: "actually check. "
+          text run at (99,72) width 231: "Don't worry, I'll think of something."
+      LayoutBlockFlow {P} at (0,201) size 784x18
+        LayoutText {#text} at (0,0) size 518x18
+          text run at (0,0) width 425: "In fact, why not the relevant section from the CSS1 specification? "
+          text run at (424,0) width 94: "A capital idea."
+      LayoutBlockFlow {H4} at (0,268.27) size 784x18
+        LayoutInline {A} at (0,0) size 222x18
+          LayoutText {#text} at (0,0) size 222x18
+            text run at (0,0) width 222: "5.3.5    'background-attachment'"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,307.53) size 784x90
+        LayoutInline {EM} at (0,0) size 41x18
+          LayoutText {#text} at (0,0) size 41x18
+            text run at (0,0) width 41: "Value:"
+        LayoutText {#text} at (40,0) size 84x18
+          text run at (40,0) width 84: " scroll | fixed"
+        LayoutBR {BR} at (123,14) size 1x0
+        LayoutInline {EM} at (0,0) size 45x18
+          LayoutText {#text} at (0,18) size 45x18
+            text run at (0,18) width 45: "Initial:"
+        LayoutText {#text} at (44,18) size 40x18
+          text run at (44,18) width 40: " scroll"
+        LayoutBR {BR} at (83,32) size 1x0
+        LayoutInline {EM} at (0,0) size 70x18
+          LayoutText {#text} at (0,36) size 70x18
+            text run at (0,36) width 70: "Applies to:"
+        LayoutText {#text} at (69,36) size 82x18
+          text run at (69,36) width 82: " all elements"
+        LayoutBR {BR} at (150,50) size 1x0
+        LayoutInline {EM} at (0,0) size 64x18
+          LayoutText {#text} at (0,54) size 64x18
+            text run at (0,54) width 64: "Inherited:"
+        LayoutText {#text} at (63,54) size 21x18
+          text run at (63,54) width 21: " no"
+        LayoutBR {BR} at (83,68) size 1x0
+        LayoutInline {EM} at (0,0) size 123x18
+          LayoutText {#text} at (0,72) size 123x18
+            text run at (0,72) width 123: "Percentage values:"
+        LayoutText {#text} at (122,72) size 33x18
+          text run at (122,72) width 33: " N/A"
+        LayoutBR {BR} at (154,86) size 1x0
+      LayoutBlockFlow {P} at (0,413.53) size 784x36
+        LayoutText {#text} at (0,0) size 781x36
+          text run at (0,0) width 781: "If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the canvas"
+          text run at (0,18) width 237: "or if it scrolls along with the content."
+      LayoutBlockFlow {PRE} at (0,465.53) size 784x75
+        LayoutText {#text} at (0,0) size 289x75
+          text run at (0,0) width 71: "  BODY { "
+          text run at (70,0) width 1: " "
+          text run at (0,15) width 289: "    background: red url(pendant.gif);"
+          text run at (288,15) width 1: " "
+          text run at (0,30) width 250: "    background-repeat: repeat-y;"
+          text run at (249,30) width 1: " "
+          text run at (0,45) width 258: "    background-attachment: fixed;"
+          text run at (257,45) width 1: " "
+          text run at (0,60) width 24: "  }"
+          text run at (23,60) width 1: " "
+      LayoutBlockFlow {P} at (0,556.53) size 784x54
+        LayoutInline {EM} at (0,0) size 72x18
+          LayoutText {#text} at (0,0) size 72x18
+            text run at (0,0) width 72: "CSS1 core:"
+        LayoutText {#text} at (71,0) size 778x54
+          text run at (71,0) width 683: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
+          text run at (0,18) width 778: "HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that support"
+          text run at (0,36) width 42: "'fixed'."
+      LayoutTable {TABLE} at (0,626.53) size 784x552 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x550
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x524
+            LayoutTableCell {TD} at (0,275) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x523.53 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x90
+                LayoutText {#text} at (0,0) size 760x90
+                  text run at (0,0) width 745: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which"
+                  text run at (0,18) width 237: "does NOT scroll with the document. "
+                  text run at (236,18) width 524: "It should, instead, appear to be a fixed pattern past which the content scrolls, even"
+                  text run at (0,36) width 237: "when the end of the page is reached. "
+                  text run at (236,36) width 501: "In addition, the default Test Suite background should NOT appear, as it's been"
+                  text run at (0,54) width 250: "overridden by the styles shown above. "
+                  text run at (249,54) width 510: "I'll have to add a lot of extra text to the page in order to make all this something"
+                  text run at (0,72) width 149: "we can actually check. "
+                  text run at (148,72) width 231: "Don't worry, I'll think of something."
+              LayoutBlockFlow {P} at (4,110) size 762x18
+                LayoutText {#text} at (0,0) size 518x18
+                  text run at (0,0) width 425: "In fact, why not the relevant section from the CSS1 specification? "
+                  text run at (424,0) width 94: "A capital idea."
+              LayoutBlockFlow {H4} at (4,177.27) size 762x18
+                LayoutInline {A} at (0,0) size 222x18
+                  LayoutText {#text} at (0,0) size 222x18
+                    text run at (0,0) width 222: "5.3.5    'background-attachment'"
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,216.53) size 762x90
+                LayoutInline {EM} at (0,0) size 41x18
+                  LayoutText {#text} at (0,0) size 41x18
+                    text run at (0,0) width 41: "Value:"
+                LayoutText {#text} at (40,0) size 84x18
+                  text run at (40,0) width 84: " scroll | fixed"
+                LayoutBR {BR} at (123,14) size 1x0
+                LayoutInline {EM} at (0,0) size 45x18
+                  LayoutText {#text} at (0,18) size 45x18
+                    text run at (0,18) width 45: "Initial:"
+                LayoutText {#text} at (44,18) size 40x18
+                  text run at (44,18) width 40: " scroll"
+                LayoutBR {BR} at (83,32) size 1x0
+                LayoutInline {EM} at (0,0) size 70x18
+                  LayoutText {#text} at (0,36) size 70x18
+                    text run at (0,36) width 70: "Applies to:"
+                LayoutText {#text} at (69,36) size 82x18
+                  text run at (69,36) width 82: " all elements"
+                LayoutBR {BR} at (150,50) size 1x0
+                LayoutInline {EM} at (0,0) size 64x18
+                  LayoutText {#text} at (0,54) size 64x18
+                    text run at (0,54) width 64: "Inherited:"
+                LayoutText {#text} at (63,54) size 21x18
+                  text run at (63,54) width 21: " no"
+                LayoutBR {BR} at (83,68) size 1x0
+                LayoutInline {EM} at (0,0) size 123x18
+                  LayoutText {#text} at (0,72) size 123x18
+                    text run at (0,72) width 123: "Percentage values:"
+                LayoutText {#text} at (122,72) size 33x18
+                  text run at (122,72) width 33: " N/A"
+                LayoutBR {BR} at (154,86) size 1x0
+              LayoutBlockFlow {P} at (4,322.53) size 762x36
+                LayoutText {#text} at (0,0) size 734x36
+                  text run at (0,0) width 734: "If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the"
+                  text run at (0,18) width 284: "canvas or if it scrolls along with the content."
+              LayoutBlockFlow {PRE} at (4,374.53) size 762x75
+                LayoutText {#text} at (0,0) size 289x75
+                  text run at (0,0) width 71: "  BODY { "
+                  text run at (70,0) width 1: " "
+                  text run at (0,15) width 289: "    background: red url(pendant.gif);"
+                  text run at (288,15) width 1: " "
+                  text run at (0,30) width 250: "    background-repeat: repeat-y;"
+                  text run at (249,30) width 1: " "
+                  text run at (0,45) width 258: "    background-attachment: fixed;"
+                  text run at (257,45) width 1: " "
+                  text run at (0,60) width 24: "  }"
+                  text run at (23,60) width 1: " "
+              LayoutBlockFlow {P} at (4,465.53) size 762x54
+                LayoutInline {EM} at (0,0) size 72x18
+                  LayoutText {#text} at (0,0) size 72x18
+                    text run at (0,0) width 72: "CSS1 core:"
+                LayoutText {#text} at (71,0) size 754x54
+                  text run at (71,0) width 683: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
+                  text run at (0,18) width 726: "HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that"
+                  text run at (0,36) width 94: "support 'fixed'."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,243) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,235) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,253) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,245) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,806) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,144) size 762x2 [border: (1px inset #EEEEEE)]
+layer at (25,816) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,154) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_color-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_color-expected.txt
new file mode 100644
index 0000000..2540bb6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_color-expected.txt
@@ -0,0 +1,84 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18 [bgcolor=#008000]
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x60
+        LayoutText {#text} at (0,0) size 289x60
+          text run at (0,0) width 219: "P {background-color: green;}"
+          text run at (218,0) width 1: " "
+          text run at (0,15) width 235: ".one {background-color: lime;}"
+          text run at (234,15) width 1: " "
+          text run at (0,30) width 289: ".two {background-color: transparent;}"
+          text run at (288,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 784x18 [bgcolor=#008000]
+        LayoutText {#text} at (0,0) size 282x18
+          text run at (0,0) width 282: "This element's background should be green."
+      LayoutBlockFlow {P} at (0,159) size 784x18 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 358x18
+          text run at (0,0) width 358: "This element's background should be lime (light green)."
+      LayoutBlockFlow {P} at (0,193) size 784x54 [bgcolor=#008000]
+        LayoutText {#text} at (0,0) size 663x18
+          text run at (0,0) width 663: "This element's background should be green, and the last word in this sentence should also have a green "
+        LayoutInline {SPAN} at (0,0) size 77x18
+          LayoutText {#text} at (662,0) size 77x18
+            text run at (662,0) width 77: "background"
+        LayoutText {#text} at (738,0) size 775x54
+          text run at (738,0) width 9: ". "
+          text run at (746,0) width 29: "This"
+          text run at (0,18) width 726: "is because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word"
+          text run at (0,36) width 187: "\"sentence,\" which was set to "
+        LayoutInline {CODE} at (0,0) size 87x15
+          LayoutText {#text} at (186,38) size 87x15
+            text run at (186,38) width 87: "transparent"
+        LayoutText {#text} at (272,36) size 403x18
+          text run at (272,36) width 9: ". "
+          text run at (280,36) width 395: "If the document background is visible, the browser is in error."
+      LayoutBlockFlow {P} at (0,263) size 784x18
+        LayoutText {#text} at (0,0) size 754x18
+          text run at (0,0) width 469: "This element should allow the document background to \"shine through.\" "
+          text run at (468,0) width 286: "There should be no green backgrounds here!"
+      LayoutTable {TABLE} at (0,297) size 784x192 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x190
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x164
+            LayoutTableCell {TD} at (0,95) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x18 [bgcolor=#008000]
+                LayoutText {#text} at (0,0) size 282x18
+                  text run at (0,0) width 282: "This element's background should be green."
+              LayoutBlockFlow {P} at (4,38) size 762x18 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 358x18
+                  text run at (0,0) width 358: "This element's background should be lime (light green)."
+              LayoutBlockFlow {P} at (4,72) size 762x54 [bgcolor=#008000]
+                LayoutText {#text} at (0,0) size 663x18
+                  text run at (0,0) width 663: "This element's background should be green, and the last word in this sentence should also have a green "
+                LayoutInline {SPAN} at (0,0) size 77x18
+                  LayoutText {#text} at (662,0) size 77x18
+                    text run at (662,0) width 77: "background"
+                LayoutText {#text} at (738,0) size 758x54
+                  text run at (738,0) width 5: "."
+                  text run at (0,18) width 758: "This is because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word"
+                  text run at (0,36) width 187: "\"sentence,\" which was set to "
+                LayoutInline {CODE} at (0,0) size 87x15
+                  LayoutText {#text} at (186,38) size 87x15
+                    text run at (186,38) width 87: "transparent"
+                LayoutText {#text} at (272,36) size 403x18
+                  text run at (272,36) width 9: ". "
+                  text run at (280,36) width 395: "If the document background is visible, the browser is in error."
+              LayoutBlockFlow {P} at (4,142) size 762x18
+                LayoutText {#text} at (0,0) size 754x18
+                  text run at (0,0) width 469: "This element should allow the document background to \"shine through.\" "
+                  text run at (468,0) width 286: "There should be no green backgrounds here!"
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_image-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_image-expected.txt
new file mode 100644
index 0000000..95274fa
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_image-expected.txt
@@ -0,0 +1,95 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 367x45
+          text run at (0,0) width 367: "P {background-image: url(../resources/bg.gif);}"
+          text run at (366,0) width 1: " "
+          text run at (0,15) width 235: ".one {background-image: none;}"
+          text run at (234,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutBlockFlow {P} at (0,110) size 784x36
+        LayoutText {#text} at (0,0) size 760x36
+          text run at (0,0) width 512: "This sentence should be backed by an image-- a green grid pattern, in this case. "
+          text run at (511,0) width 249: "The background image should also tile"
+          text run at (0,18) width 678: "along both axes, because no repeat direction is specified (specific tests for repeating are found elsewhere)."
+      LayoutBlockFlow {P} at (0,162) size 784x72
+        LayoutText {#text} at (0,0) size 607x18
+          text run at (0,0) width 607: "This sentence should be backed by a repeated green-grid image, as should the last three words "
+        LayoutInline {STRONG} at (0,0) size 105x18
+          LayoutInline {SPAN} at (0,0) size 105x18
+            LayoutText {#text} at (606,0) size 105x18
+              text run at (606,0) width 105: "in this sentence"
+        LayoutText {#text} at (710,0) size 757x36
+          text run at (710,0) width 9: ". "
+          text run at (718,0) width 39: "If it is"
+          text run at (0,18) width 60: "not, then "
+        LayoutInline {CODE} at (0,0) size 33x15
+          LayoutText {#text} at (59,20) size 33x15
+            text run at (59,20) width 33: "none"
+        LayoutText {#text} at (91,18) size 174x18
+          text run at (91,18) width 169: " is interpreted incorrectly. "
+          text run at (259,18) width 6: "("
+        LayoutInline {CODE} at (0,0) size 32x15
+          LayoutText {#text} at (264,20) size 32x15
+            text run at (264,20) width 32: "none"
+        LayoutText {#text} at (295,18) size 763x54
+          text run at (295,18) width 468: " means that the element has no background image, allowing the parent to"
+          text run at (0,36) width 763: "\"shine through\" by default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's image"
+          text run at (0,54) width 118: "should be visible.)"
+      LayoutBlockFlow {P} at (0,250) size 784x36
+        LayoutText {#text} at (0,0) size 774x36
+          text run at (0,0) width 774: "This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \"shine through\""
+          text run at (0,18) width 50: "instead."
+      LayoutTable {TABLE} at (0,302) size 784x212 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x210
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x184
+            LayoutTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x184 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x36
+                LayoutText {#text} at (0,0) size 760x36
+                  text run at (0,0) width 512: "This sentence should be backed by an image-- a green grid pattern, in this case. "
+                  text run at (511,0) width 249: "The background image should also tile"
+                  text run at (0,18) width 678: "along both axes, because no repeat direction is specified (specific tests for repeating are found elsewhere)."
+              LayoutBlockFlow {P} at (4,56) size 762x72
+                LayoutText {#text} at (0,0) size 607x18
+                  text run at (0,0) width 607: "This sentence should be backed by a repeated green-grid image, as should the last three words "
+                LayoutInline {STRONG} at (0,0) size 105x18
+                  LayoutInline {SPAN} at (0,0) size 105x18
+                    LayoutText {#text} at (606,0) size 105x18
+                      text run at (606,0) width 105: "in this sentence"
+                LayoutText {#text} at (710,0) size 757x36
+                  text run at (710,0) width 9: ". "
+                  text run at (718,0) width 39: "If it is"
+                  text run at (0,18) width 60: "not, then "
+                LayoutInline {CODE} at (0,0) size 33x15
+                  LayoutText {#text} at (59,20) size 33x15
+                    text run at (59,20) width 33: "none"
+                LayoutText {#text} at (91,18) size 174x18
+                  text run at (91,18) width 169: " is interpreted incorrectly. "
+                  text run at (259,18) width 6: "("
+                LayoutInline {CODE} at (0,0) size 32x15
+                  LayoutText {#text} at (264,20) size 32x15
+                    text run at (264,20) width 32: "none"
+                LayoutText {#text} at (295,18) size 747x54
+                  text run at (295,18) width 452: " means that the element has no background image, allowing the parent"
+                  text run at (0,36) width 737: "to \"shine through\" by default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's"
+                  text run at (0,54) width 161: "image should be visible.)"
+              LayoutBlockFlow {P} at (4,144) size 762x36
+                LayoutText {#text} at (0,0) size 714x36
+                  text run at (0,0) width 714: "This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \"shine"
+                  text run at (0,18) width 110: "through\" instead."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_position-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_position-expected.txt
new file mode 100644
index 0000000..1e90e84
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_position-expected.txt
@@ -0,0 +1,149 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1458
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1458 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1458
+    LayoutBlockFlow {BODY} at (8,8) size 769x1442 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x255
+        LayoutText {#text} at (0,0) size 671x255
+          text run at (0,0) width 632: "BODY {background-image: url(../resources/bg.gif); background-position: right top;"
+          text run at (631,0) width 1: " "
+          text run at (0,15) width 281: "      background-repeat: no-repeat;}"
+          text run at (280,15) width 1: " "
+          text run at (0,30) width 609: ".one {background-image: url(../resources/bg.gif); background-position: center;"
+          text run at (608,30) width 1: " "
+          text run at (0,45) width 469: "      background-repeat: no-repeat; background-color: aqua;}"
+          text run at (468,45) width 1: " "
+          text run at (0,60) width 617: ".two {background-image: url(../resources/bg.gif); background-position: 50% 50%;"
+          text run at (616,60) width 1: " "
+          text run at (0,75) width 469: "      background-repeat: no-repeat; background-color: aqua;}"
+          text run at (468,75) width 1: " "
+          text run at (0,90) width 671: ".three {background-image: url(../resources/bg.gif); background-position: bottom right;"
+          text run at (670,90) width 1: " "
+          text run at (0,105) width 484: "        background-repeat: no-repeat; background-color: aqua;}"
+          text run at (483,105) width 1: " "
+          text run at (0,120) width 640: ".four {background-image: url(../resources/bg.gif); background-position: 100% 100%;"
+          text run at (639,120) width 1: " "
+          text run at (0,135) width 476: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (475,135) width 1: " "
+          text run at (0,150) width 617: ".five {background-image: url(../resources/bg.gif); background-position: 0% 50%;"
+          text run at (616,150) width 1: " "
+          text run at (0,165) width 476: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (475,165) width 1: " "
+          text run at (0,180) width 617: ".six {background-image: url(../resources/bg.gif); background-position: 75% 25%;"
+          text run at (616,180) width 1: " "
+          text run at (0,195) width 476: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (475,195) width 1: " "
+          text run at (0,210) width 648: ".seven {background-image: url(../resources/bg.gif); background-position: 20px 20px;"
+          text run at (647,210) width 1: " "
+          text run at (0,225) width 476: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (475,225) width 1: " "
+          text run at (0,240) width 0: " "
+      LayoutBlockFlow {P} at (0,320) size 769x18
+        LayoutText {#text} at (0,0) size 514x18
+          text run at (0,0) width 514: "This document should have a single, small green image in its upper right corner."
+      LayoutBlockFlow {P} at (0,354) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 756x54
+          text run at (0,0) width 753: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be"
+          text run at (0,18) width 231: "fixed at the center of the paragraph. "
+          text run at (231,18) width 525: "The background color will make it easier to determine the edges of the paragraph,"
+          text run at (0,36) width 295: "and therefore allow you to calculate its center."
+      LayoutBlockFlow {P} at (0,424) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 756x54
+          text run at (0,0) width 753: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be"
+          text run at (0,18) width 231: "fixed at the center of the paragraph. "
+          text run at (231,18) width 525: "The background color will make it easier to determine the edges of the paragraph,"
+          text run at (0,36) width 295: "and therefore allow you to calculate its center."
+      LayoutBlockFlow {P} at (0,494) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 764x54
+          text run at (0,0) width 748: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the"
+          text run at (0,18) width 417: "image should be fixed at the lower right corner of the paragraph. "
+          text run at (416,18) width 348: "The background color will make it easier to determine"
+          text run at (0,36) width 445: "the edges of the paragraph, and therefore allow you to see its corners."
+      LayoutBlockFlow {P} at (0,564) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 764x54
+          text run at (0,0) width 748: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the"
+          text run at (0,18) width 417: "image should be fixed at the lower right corner of the paragraph. "
+          text run at (416,18) width 348: "The background color will make it easier to determine"
+          text run at (0,36) width 445: "the edges of the paragraph, and therefore allow you to see its corners."
+      LayoutBlockFlow {P} at (0,634) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 751x54
+          text run at (0,0) width 741: "This paragraph should have a single, small green image exactly at the left center; that is, the left center of the image"
+          text run at (0,18) width 323: "should be fixed at the left center of the paragraph. "
+          text run at (322,18) width 429: "The background color will make it easier to determine the edges of"
+          text run at (0,36) width 391: "the paragraph, and therefore allow you to calculate its center."
+      LayoutBlockFlow {P} at (0,704) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 762x54
+          text run at (0,0) width 762: "This paragraph should have a single, small green image positioned 75% of the way across the element, and 25% down."
+          text run at (0,18) width 758: "The background color will make it easier to determine the edges of the paragraph, which should help in determining if"
+          text run at (0,36) width 683: "all this is so, and the extra text should make the element long enough for this test to be simpler to evaluate."
+      LayoutBlockFlow {P} at (0,774) size 769x72 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 769x72
+          text run at (0,0) width 764: "This paragraph should have a single, small green image positioned 20 pixels down and to the left of the upper left-hand"
+          text run at (0,18) width 759: "corner; that is, the upper left-hand corner of the image should be 20 pixels down and to the left of the upper-left corner"
+          text run at (0,36) width 100: "of the element. "
+          text run at (99,36) width 670: "The background color will make it easier to determine the edges of the paragraph, which should assist in"
+          text run at (0,54) width 124: "evaluating this test."
+      LayoutTable {TABLE} at (0,862) size 769x580 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x578
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x552
+            LayoutTableCell {TD} at (0,289) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x552 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18
+                LayoutText {#text} at (0,0) size 514x18
+                  text run at (0,0) width 514: "This document should have a single, small green image in its upper right corner."
+              LayoutBlockFlow {P} at (4,38) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 734x54
+                  text run at (0,0) width 734: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should"
+                  text run at (0,18) width 251: "be fixed at the center of the paragraph. "
+                  text run at (250,18) width 453: "The background color will make it easier to determine the edges of the"
+                  text run at (0,36) width 367: "paragraph, and therefore allow you to calculate its center."
+              LayoutBlockFlow {P} at (4,108) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 734x54
+                  text run at (0,0) width 734: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should"
+                  text run at (0,18) width 251: "be fixed at the center of the paragraph. "
+                  text run at (250,18) width 453: "The background color will make it easier to determine the edges of the"
+                  text run at (0,36) width 367: "paragraph, and therefore allow you to calculate its center."
+              LayoutBlockFlow {P} at (4,178) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 748x54
+                  text run at (0,0) width 748: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the"
+                  text run at (0,18) width 417: "image should be fixed at the lower right corner of the paragraph. "
+                  text run at (416,18) width 280: "The background color will make it easier to"
+                  text run at (0,36) width 513: "determine the edges of the paragraph, and therefore allow you to see its corners."
+              LayoutBlockFlow {P} at (4,248) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 748x54
+                  text run at (0,0) width 748: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the"
+                  text run at (0,18) width 417: "image should be fixed at the lower right corner of the paragraph. "
+                  text run at (416,18) width 280: "The background color will make it easier to"
+                  text run at (0,36) width 513: "determine the edges of the paragraph, and therefore allow you to see its corners."
+              LayoutBlockFlow {P} at (4,318) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 741x54
+                  text run at (0,0) width 741: "This paragraph should have a single, small green image exactly at the left center; that is, the left center of the image"
+                  text run at (0,18) width 323: "should be fixed at the left center of the paragraph. "
+                  text run at (322,18) width 412: "The background color will make it easier to determine the edges"
+                  text run at (0,36) width 408: "of the paragraph, and therefore allow you to calculate its center."
+              LayoutBlockFlow {P} at (4,388) size 747x72 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 719x72
+                  text run at (0,0) width 719: "This paragraph should have a single, small green image positioned 75% of the way across the element, and 25%"
+                  text run at (0,18) width 44: "down. "
+                  text run at (43,18) width 663: "The background color will make it easier to determine the edges of the paragraph, which should help in"
+                  text run at (0,36) width 717: "determining if all this is so, and the extra text should make the element long enough for this test to be simpler to"
+                  text run at (0,54) width 58: "evaluate."
+              LayoutBlockFlow {P} at (4,476) size 747x72 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 738x72
+                  text run at (0,0) width 733: "This paragraph should have a single, small green image positioned 20 pixels down and to the left of the upper left-"
+                  text run at (0,18) width 728: "hand corner; that is, the upper left-hand corner of the image should be 20 pixels down and to the left of the upper-"
+                  text run at (0,36) width 170: "left corner of the element. "
+                  text run at (169,36) width 569: "The background color will make it easier to determine the edges of the paragraph, which"
+                  text run at (0,54) width 226: "should assist in evaluating this test."
+layer at (8,310) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,302) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_repeat-expected.txt
new file mode 100644
index 0000000..15c11b7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/background_repeat-expected.txt
@@ -0,0 +1,311 @@
+layer at (0,0) size 800x600 scrollWidth 866 scrollHeight 1838
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x1838 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x1838
+    LayoutBlockFlow {BODY} at (8,8) size 784x1822 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x225
+        LayoutText {#text} at (0,0) size 859x225
+          text run at (0,0) width 656: ".one {background-image: url(../resources/oransqr.gif); background-repeat: repeat-y;}"
+          text run at (655,0) width 1: " "
+          text run at (0,15) width 656: ".two {background-image: url(../resources/oransqr.gif); background-repeat: repeat-x;}"
+          text run at (655,15) width 1: " "
+          text run at (0,30) width 679: ".three {background-image: url(../resources/oransqr.gif); background-repeat: no-repeat;}"
+          text run at (678,30) width 1: " "
+          text run at (0,45) width 859: ".four {background-image: url(../resources/bg.gif); background-position: 50% 50%; background-repeat: repeat-y;}"
+          text run at (858,45) width 1: " "
+          text run at (0,60) width 687: ".five {background-image: url(../resources/crosshair2.gif); background-position: 50% 50%;"
+          text run at (686,60) width 1: " "
+          text run at (0,75) width 235: "       background-color: red;}"
+          text run at (234,75) width 1: " "
+          text run at (0,90) width 703: ".six {background-image: url(../resources/crosshair2.gif); background-position: center top;"
+          text run at (702,90) width 1: " "
+          text run at (0,105) width 227: "      background-color: red;}"
+          text run at (226,105) width 1: " "
+          text run at (0,120) width 703: ".seven {background-image: url(../resources/crosshair2.gif); background-position: top left;"
+          text run at (702,120) width 1: " "
+          text run at (0,135) width 242: "        background-color: red;}"
+          text run at (241,135) width 1: " "
+          text run at (0,150) width 734: ".eight {background-image: url(../resources/crosshair2.gif); background-position: bottom right;"
+          text run at (733,150) width 1: " "
+          text run at (0,165) width 242: "        background-color: red;}"
+          text run at (241,165) width 1: " "
+          text run at (0,180) width 687: ".nine {background-image: url(../resources/crosshair2.gif); background-position: 50% 50%;"
+          text run at (686,180) width 1: " "
+          text run at (0,195) width 235: "       background-color: red;}"
+          text run at (234,195) width 1: " "
+          text run at (0,210) width 0: " "
+      LayoutBlockFlow {P} at (0,290) size 784x54
+        LayoutText {#text} at (0,0) size 779x36
+          text run at (0,0) width 779: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the default"
+          text run at (0,18) width 23: "for "
+        LayoutInline {CODE} at (0,0) size 149x15
+          LayoutText {#text} at (22,20) size 149x15
+            text run at (22,20) width 149: "background-position"
+        LayoutText {#text} at (170,18) size 740x36
+          text run at (170,18) width 328: " is '0% 0%' and that property is not declared here). "
+          text run at (497,18) width 243: "This is extra text included for the sole"
+          text run at (0,36) width 264: "purpose of making the paragraph longer. "
+          text run at (263,36) width 224: "Thank you for your understanding."
+      LayoutBlockFlow {P} at (0,360) size 784x54
+        LayoutText {#text} at (0,0) size 779x36
+          text run at (0,0) width 779: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the default"
+          text run at (0,18) width 23: "for "
+        LayoutInline {CODE} at (0,0) size 149x15
+          LayoutText {#text} at (22,20) size 149x15
+            text run at (22,20) width 149: "background-position"
+        LayoutText {#text} at (170,18) size 740x36
+          text run at (170,18) width 328: " is '0% 0%' and that property is not declared here). "
+          text run at (497,18) width 243: "This is extra text included for the sole"
+          text run at (0,36) width 264: "purpose of making the paragraph longer. "
+          text run at (263,36) width 224: "Thank you for your understanding."
+      LayoutBlockFlow {P} at (0,430) size 784x54
+        LayoutText {#text} at (0,0) size 712x18
+          text run at (0,0) width 712: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for"
+        LayoutInline {CODE} at (0,0) size 149x15
+          LayoutText {#text} at (0,20) size 149x15
+            text run at (0,20) width 149: "background-position"
+        LayoutText {#text} at (148,18) size 772x36
+          text run at (148,18) width 327: " is '0% 0%' and that property is not declared here). "
+          text run at (474,18) width 298: "This is extra text included for the sole purpose"
+          text run at (0,36) width 209: "of making the paragraph longer. "
+          text run at (208,36) width 225: "Thank you for your understanding."
+      LayoutBlockFlow {P} at (0,500) size 784x72
+        LayoutText {#text} at (0,0) size 778x36
+          text run at (0,0) width 778: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin image"
+          text run at (0,18) width 221: "exactly centered in the paragraph. "
+          text run at (220,18) width 103: "This is because "
+        LayoutInline {CODE} at (0,0) size 63x15
+          LayoutText {#text} at (322,20) size 63x15
+            text run at (322,20) width 63: "repeat-y"
+        LayoutText {#text} at (384,18) size 118x18
+          text run at (384,18) width 118: " specifies tiling in "
+        LayoutInline {EM} at (0,0) size 30x18
+          LayoutText {#text} at (501,18) size 30x18
+            text run at (501,18) width 30: "both"
+        LayoutText {#text} at (530,18) size 779x36
+          text run at (530,18) width 162: " directions on the y-axis. "
+          text run at (691,18) width 88: "Note that this"
+          text run at (0,36) width 275: "test is only valid if the user agent supports "
+        LayoutInline {CODE} at (0,0) size 149x15
+          LayoutText {#text} at (274,38) size 149x15
+            text run at (274,38) width 149: "background-position"
+        LayoutText {#text} at (422,36) size 35x18
+          text run at (422,36) width 35: " (see "
+        LayoutInline {A} at (0,0) size 59x18 [color=#0000FF]
+          LayoutText {#text} at (456,36) size 59x18
+            text run at (456,36) width 59: "test 5.3.6"
+        LayoutText {#text} at (514,36) size 771x36
+          text run at (514,36) width 14: "). "
+          text run at (527,36) width 244: "I'll fill the paragraph with extra text to"
+          text run at (0,54) width 350: "make the conformance (or lack thereof) more obvious."
+      LayoutBlockFlow {P} at (0,588) size 784x90 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 768x18
+          text run at (0,0) width 670: "This paragraph should have a tiled background, with the origin image exactly centered in the paragraph. "
+          text run at (669,0) width 99: "This is because"
+        LayoutInline {CODE} at (0,0) size 133x15
+          LayoutText {#text} at (0,20) size 133x15
+            text run at (0,20) width 133: "background-repeat"
+        LayoutText {#text} at (132,18) size 118x18
+          text run at (132,18) width 118: " specifies tiling in "
+        LayoutInline {EM} at (0,0) size 18x18
+          LayoutText {#text} at (249,18) size 18x18
+            text run at (249,18) width 18: "all"
+        LayoutText {#text} at (266,18) size 765x36
+          text run at (266,18) width 372: " directions, regardless of the position of the origin image. "
+          text run at (637,18) width 128: "Note that this test is"
+          text run at (0,36) width 234: "only valid if the user agent supports "
+        LayoutInline {CODE} at (0,0) size 149x15
+          LayoutText {#text} at (233,38) size 149x15
+            text run at (233,38) width 149: "background-position"
+        LayoutText {#text} at (381,36) size 35x18
+          text run at (381,36) width 35: " (see "
+        LayoutInline {A} at (0,0) size 59x18 [color=#0000FF]
+          LayoutText {#text} at (415,36) size 59x18
+            text run at (415,36) width 59: "test 5.3.6"
+        LayoutText {#text} at (473,36) size 783x54
+          text run at (473,36) width 14: "). "
+          text run at (486,36) width 283: "I'll fill the paragraph with extra text to make"
+          text run at (0,54) width 315: "the conformance (or lack thereof) more obvious. "
+          text run at (314,54) width 469: "A background color is present, although if it is visible then the image has"
+          text run at (0,72) width 144: "not bee correctly tiled."
+      LayoutBlockFlow {P} at (0,694) size 784x54 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 781x54
+          text run at (0,0) width 781: "This sentence should have a fully tiled background which starts at its center top; that is, the background's origin should be"
+          text run at (0,18) width 283: "the exact center of the top of the paragraph. "
+          text run at (282,18) width 460: "I'll fill it with extra text to make the conformance (or lack thereof) more"
+          text run at (0,36) width 59: "obvious. "
+          text run at (58,36) width 669: "A background color is present, although if it is visible, then the image may not have been tiled correctly."
+      LayoutBlockFlow {P} at (0,764) size 784x54 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 770x54
+          text run at (0,0) width 499: "This sentence should have a fully tiled background which starts at its top left. "
+          text run at (498,0) width 228: "I'll fill it with extra text to make the"
+          text run at (0,18) width 291: "conformance (or lack thereof) more obvious. "
+          text run at (290,18) width 480: "A background color is present, although if it is visible, then the image may"
+          text run at (0,36) width 186: "not have been tiled correctly."
+      LayoutBlockFlow {P} at (0,834) size 784x72 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 778x72
+          text run at (0,0) width 778: "This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance of"
+          text run at (0,18) width 702: "the image should be anchored in the bottom right corner, with the tiled background extending out from there. "
+          text run at (701,18) width 53: "I'll fill it"
+          text run at (0,36) width 467: "with extra text to make the conformance (or lack thereof) more obvious. "
+          text run at (466,36) width 299: "A background color is present, although if it is"
+          text run at (0,54) width 366: "visible, then the image may not have been tiled correctly."
+      LayoutBlockFlow {P} at (0,922) size 784x108 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 782x108
+          text run at (0,0) width 737: "This sentence should have a fully tiled background which starts at its center and is tiled in all directions; that is, the"
+          text run at (0,18) width 414: "background's origin should be the exact center of the paragraph. "
+          text run at (413,18) width 369: "I'll fill it with extra text to make the conformance (or lack"
+          text run at (0,36) width 151: "thereof) more obvious. "
+          text run at (150,36) width 454: "In fact, a lot of extra text will be necessary to make this at all obvious. "
+          text run at (603,36) width 160: "This is true because I am"
+          text run at (0,54) width 765: "not able to increase the text size without resorting to either headings or other CSS properties, neither of which I want to"
+          text run at (0,72) width 162: "use in this circumstance. "
+          text run at (161,72) width 245: "This ought to be enough text, though. "
+          text run at (405,72) width 350: "A background color is present, although if it is visible,"
+          text run at (0,90) width 315: "then the image may not have been tiled correctly."
+      LayoutTable {TABLE} at (0,1046) size 784x776 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x774
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x748
+            LayoutTableCell {TD} at (0,387) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x748 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x54
+                LayoutText {#text} at (0,0) size 731x36
+                  text run at (0,0) width 731: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the"
+                  text run at (0,18) width 72: "default for "
+                LayoutInline {CODE} at (0,0) size 149x15
+                  LayoutText {#text} at (71,20) size 149x15
+                    text run at (71,20) width 149: "background-position"
+                LayoutText {#text} at (219,18) size 759x36
+                  text run at (219,18) width 327: " is '0% 0%' and that property is not declared here). "
+                  text run at (545,18) width 214: "This is extra text included for the"
+                  text run at (0,36) width 294: "sole purpose of making the paragraph longer. "
+                  text run at (293,36) width 224: "Thank you for your understanding."
+              LayoutBlockFlow {P} at (4,74) size 762x54
+                LayoutText {#text} at (0,0) size 731x36
+                  text run at (0,0) width 731: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the"
+                  text run at (0,18) width 72: "default for "
+                LayoutInline {CODE} at (0,0) size 149x15
+                  LayoutText {#text} at (71,20) size 149x15
+                    text run at (71,20) width 149: "background-position"
+                LayoutText {#text} at (219,18) size 759x36
+                  text run at (219,18) width 327: " is '0% 0%' and that property is not declared here). "
+                  text run at (545,18) width 214: "This is extra text included for the"
+                  text run at (0,36) width 294: "sole purpose of making the paragraph longer. "
+                  text run at (293,36) width 224: "Thank you for your understanding."
+              LayoutBlockFlow {P} at (4,144) size 762x54
+                LayoutText {#text} at (0,0) size 712x18
+                  text run at (0,0) width 712: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for"
+                LayoutInline {CODE} at (0,0) size 149x15
+                  LayoutText {#text} at (0,20) size 149x15
+                    text run at (0,20) width 149: "background-position"
+                LayoutText {#text} at (148,18) size 717x36
+                  text run at (148,18) width 327: " is '0% 0%' and that property is not declared here). "
+                  text run at (474,18) width 243: "This is extra text included for the sole"
+                  text run at (0,36) width 264: "purpose of making the paragraph longer. "
+                  text run at (263,36) width 224: "Thank you for your understanding."
+              LayoutBlockFlow {P} at (4,214) size 762x72
+                LayoutText {#text} at (0,0) size 734x36
+                  text run at (0,0) width 734: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin"
+                  text run at (0,18) width 264: "image exactly centered in the paragraph. "
+                  text run at (263,18) width 103: "This is because "
+                LayoutInline {CODE} at (0,0) size 63x15
+                  LayoutText {#text} at (365,20) size 63x15
+                    text run at (365,20) width 63: "repeat-y"
+                LayoutText {#text} at (427,18) size 118x18
+                  text run at (427,18) width 118: " specifies tiling in "
+                LayoutInline {EM} at (0,0) size 30x18
+                  LayoutText {#text} at (544,18) size 30x18
+                    text run at (544,18) width 30: "both"
+                LayoutText {#text} at (573,18) size 732x36
+                  text run at (573,18) width 159: " directions on the y-axis."
+                  text run at (0,36) width 365: "Note that this test is only valid if the user agent supports "
+                LayoutInline {CODE} at (0,0) size 149x15
+                  LayoutText {#text} at (364,38) size 149x15
+                    text run at (364,38) width 149: "background-position"
+                LayoutText {#text} at (512,36) size 35x18
+                  text run at (512,36) width 35: " (see "
+                LayoutInline {A} at (0,0) size 59x18 [color=#0000FF]
+                  LayoutText {#text} at (546,36) size 59x18
+                    text run at (546,36) width 59: "test 5.3.6"
+                LayoutText {#text} at (604,36) size 749x36
+                  text run at (604,36) width 14: "). "
+                  text run at (617,36) width 132: "I'll fill the paragraph"
+                  text run at (0,54) width 463: "with extra text to make the conformance (or lack thereof) more obvious."
+              LayoutBlockFlow {P} at (4,302) size 762x90 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 714x36
+                  text run at (0,0) width 670: "This paragraph should have a tiled background, with the origin image exactly centered in the paragraph. "
+                  text run at (669,0) width 45: "This is"
+                  text run at (0,18) width 55: "because "
+                LayoutInline {CODE} at (0,0) size 134x15
+                  LayoutText {#text} at (54,20) size 134x15
+                    text run at (54,20) width 134: "background-repeat"
+                LayoutText {#text} at (187,18) size 118x18
+                  text run at (187,18) width 118: " specifies tiling in "
+                LayoutInline {EM} at (0,0) size 18x18
+                  LayoutText {#text} at (304,18) size 18x18
+                    text run at (304,18) width 18: "all"
+                LayoutText {#text} at (321,18) size 752x36
+                  text run at (321,18) width 372: " directions, regardless of the position of the origin image. "
+                  text run at (692,18) width 60: "Note that"
+                  text run at (0,36) width 302: "this test is only valid if the user agent supports "
+                LayoutInline {CODE} at (0,0) size 149x15
+                  LayoutText {#text} at (301,38) size 149x15
+                    text run at (301,38) width 149: "background-position"
+                LayoutText {#text} at (449,36) size 35x18
+                  text run at (449,36) width 35: " (see "
+                LayoutInline {A} at (0,0) size 59x18 [color=#0000FF]
+                  LayoutText {#text} at (483,36) size 59x18
+                    text run at (483,36) width 59: "test 5.3.6"
+                LayoutText {#text} at (541,36) size 754x54
+                  text run at (541,36) width 14: "). "
+                  text run at (554,36) width 200: "I'll fill the paragraph with extra"
+                  text run at (0,54) width 398: "text to make the conformance (or lack thereof) more obvious. "
+                  text run at (397,54) width 346: "A background color is present, although if it is visible"
+                  text run at (0,72) width 268: "then the image has not bee correctly tiled."
+              LayoutBlockFlow {P} at (4,408) size 762x54 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 761x54
+                  text run at (0,0) width 761: "This sentence should have a fully tiled background which starts at its center top; that is, the background's origin should"
+                  text run at (0,18) width 302: "be the exact center of the top of the paragraph. "
+                  text run at (301,18) width 460: "I'll fill it with extra text to make the conformance (or lack thereof) more"
+                  text run at (0,36) width 59: "obvious. "
+                  text run at (58,36) width 669: "A background color is present, although if it is visible, then the image may not have been tiled correctly."
+              LayoutBlockFlow {P} at (4,478) size 762x54 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 738x54
+                  text run at (0,0) width 499: "This sentence should have a fully tiled background which starts at its top left. "
+                  text run at (498,0) width 228: "I'll fill it with extra text to make the"
+                  text run at (0,18) width 291: "conformance (or lack thereof) more obvious. "
+                  text run at (290,18) width 448: "A background color is present, although if it is visible, then the image"
+                  text run at (0,36) width 217: "may not have been tiled correctly."
+              LayoutBlockFlow {P} at (4,548) size 762x72 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 760x72
+                  text run at (0,0) width 760: "This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance"
+                  text run at (0,18) width 719: "of the image should be anchored in the bottom right corner, with the tiled background extending out from there. "
+                  text run at (718,18) width 40: "I'll fill"
+                  text run at (0,36) width 479: "it with extra text to make the conformance (or lack thereof) more obvious. "
+                  text run at (478,36) width 272: "A background color is present, although if"
+                  text run at (0,54) width 394: "it is visible, then the image may not have been tiled correctly."
+              LayoutBlockFlow {P} at (4,636) size 762x108 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 761x108
+                  text run at (0,0) width 737: "This sentence should have a fully tiled background which starts at its center and is tiled in all directions; that is, the"
+                  text run at (0,18) width 414: "background's origin should be the exact center of the paragraph. "
+                  text run at (413,18) width 338: "I'll fill it with extra text to make the conformance (or"
+                  text run at (0,36) width 181: "lack thereof) more obvious. "
+                  text run at (180,36) width 455: "In fact, a lot of extra text will be necessary to make this at all obvious. "
+                  text run at (634,36) width 127: "This is true because"
+                  text run at (0,54) width 746: "I am not able to increase the text size without resorting to either headings or other CSS properties, neither of which I"
+                  text run at (0,72) width 213: "want to use in this circumstance. "
+                  text run at (212,72) width 245: "This ought to be enough text, though. "
+                  text run at (456,72) width 299: "A background color is present, although if it is"
+                  text run at (0,90) width 366: "visible, then the image may not have been tiled correctly."
+layer at (8,280) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,272) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/color-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/color-expected.txt
new file mode 100644
index 0000000..28fa63bc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/color_and_background/color-expected.txt
@@ -0,0 +1,39 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x30
+        LayoutText {#text} at (0,0) size 157x30
+          text run at (0,0) width 157: ".one {color: green;}"
+          text run at (156,0) width 1: " "
+          text run at (0,15) width 0: " "
+      LayoutBlockFlow {P} at (0,95) size 784x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,129) size 784x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutTable {TABLE} at (0,163) size 219x88 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 217x86
+          LayoutTableRow {TR} at (0,0) size 217x26
+            LayoutTableCell {TD} at (0,0) size 217x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 217x60
+            LayoutTableCell {TD} at (0,43) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 205x60 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 197x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,38) size 197x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+layer at (8,85) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/conformance/forward_compatible_parsing-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/conformance/forward_compatible_parsing-expected.txt
new file mode 100644
index 0000000..e80136a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/conformance/forward_compatible_parsing-expected.txt
@@ -0,0 +1,550 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 4053
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x4053 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x4053
+    LayoutBlockFlow {BODY} at (8,8) size 769x4037 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x810
+        LayoutText {#text} at (0,0) size 554x810
+          text run at (0,0) width 297: "P.one {color: green; rotation: 70deg;}"
+          text run at (296,0) width 1: " "
+          text run at (0,15) width 172: "P.oneb {color: green;}"
+          text run at (171,15) width 1: " "
+          text run at (0,30) width 227: "P.oneb {color: invalidValue;}"
+          text run at (226,30) width 1: " "
+          text run at (0,45) width 266: "P.two {background-color: inherit;}"
+          text run at (265,45) width 1: " "
+          text run at (0,60) width 211: "H1 + P.three {color: blue;}"
+          text run at (210,60) width 1: " "
+          text run at (0,75) width 196: "P.four + H1 {color: red;}"
+          text run at (195,75) width 1: " "
+          text run at (0,90) width 258: "P.five {background-color: \"red\";}"
+          text run at (257,90) width 1: " "
+          text run at (0,105) width 398: "P.sixa {border-width: medium; border-style: solid;}"
+          text run at (397,105) width 1: " "
+          text run at (0,120) width 391: "P.sixb {border-width: funny; border-style: solid;}"
+          text run at (390,120) width 1: " "
+          text run at (0,135) width 383: "P.sixc {border-width: 50zu; border-style: solid;}"
+          text run at (382,135) width 1: " "
+          text run at (0,150) width 367: "P.sixd {border-width: px; border-style: solid;}"
+          text run at (366,150) width 1: " "
+          text run at (0,165) width 94: "@three-dee {"
+          text run at (93,165) width 1: " "
+          text run at (0,180) width 180: " @background-lighting {"
+          text run at (179,180) width 1: " "
+          text run at (0,195) width 133: "  azimuth: 30deg;"
+          text run at (132,195) width 1: " "
+          text run at (0,210) width 157: "  elevation: 190deg;"
+          text run at (156,210) width 1: " "
+          text run at (0,225) width 24: "  }"
+          text run at (23,225) width 1: " "
+          text run at (0,240) width 180: " P.seven { color: red }"
+          text run at (179,240) width 1: " "
+          text run at (0,255) width 16: " }"
+          text run at (15,255) width 1: " "
+          text run at (0,270) width 180: "P.eight {COLOR: GREEN;}"
+          text run at (179,270) width 1: " "
+          text run at (0,285) width 188: "OL:wait {color: maroon;}"
+          text run at (187,285) width 1: " "
+          text run at (0,300) width 266: "P.ten:first-child {color: maroon;}"
+          text run at (265,300) width 1: " "
+          text run at (0,315) width 203: "UL:lang(fr) {color: gray;}"
+          text run at (202,315) width 1: " "
+          text run at (0,330) width 242: "BLOCKQUOTE[href] {color: navy;}"
+          text run at (241,330) width 1: " "
+          text run at (0,345) width 281: "ACRONYM[href=\"foo\"] {color: purple;}"
+          text run at (280,345) width 1: " "
+          text run at (0,360) width 289: "ADDRESS[href~=\"foo\"] {color: purple;}"
+          text run at (288,360) width 1: " "
+          text run at (0,375) width 242: "SPAN[lang|=\"fr\"] {color: #c37;}"
+          text run at (241,375) width 1: " "
+          text run at (0,390) width 94: "@media tty {"
+          text run at (93,390) width 1: " "
+          text run at (0,405) width 133: " H1 {color: red;}"
+          text run at (132,405) width 1: " "
+          text run at (0,420) width 188: " P.sixteen {color: red;}"
+          text run at (187,420) width 1: " "
+          text run at (0,435) width 16: " }"
+          text run at (15,435) width 1: " "
+          text run at (0,450) width 94: "@three-dee {"
+          text run at (93,450) width 1: " "
+          text run at (0,465) width 203: " P.seventeen {color: red }"
+          text run at (202,465) width 1: " "
+          text run at (0,480) width 16: " }"
+          text run at (15,480) width 1: " "
+          text run at (0,495) width 554: "P.eighteena {text-decoration: underline overline line-through diagonal;"
+          text run at (553,495) width 1: " "
+          text run at (0,510) width 406: "            font: bold highlighted 100% sans-serif;}"
+          text run at (405,510) width 1: " "
+          text run at (0,525) width 554: "P.eighteenb {text-decoration: underline overline line-through diagonal;"
+          text run at (553,525) width 1: " "
+          text run at (0,540) width 367: "            font: bold highlighted 100% serif;}"
+          text run at (366,540) width 1: " "
+          text run at (0,555) width 375: "EM, P.nineteena ! EM, STRONG {font-size: 200%; }"
+          text run at (374,555) width 1: " "
+          text run at (0,570) width 0: " "
+          text run at (0,585) width 125: "// UL.nineteenb,"
+          text run at (124,585) width 1: " "
+          text run at (0,600) width 196: "P.nineteenb {color: red;}"
+          text run at (195,600) width 1: " "
+          text run at (0,615) width 0: " "
+          text run at (0,630) width 352: "P.twentya {rotation-code: \"}\"; color: blue;} "
+          text run at (351,630) width 1: " "
+          text run at (0,645) width 383: "P.twentyb {rotation-code: \"\\\"}\\\"\"; color: green;}"
+          text run at (382,645) width 1: " "
+          text run at (0,660) width 391: "P.twentyonea {rotation-code: '}'; color: purple;} "
+          text run at (390,660) width 1: " "
+          text run at (0,675) width 406: "P.twentyoneb {rotation-code: '\\'}\\''; color: green;}"
+          text run at (405,675) width 1: " "
+          text run at (0,690) width 102: "P.twentytwo {"
+          text run at (101,690) width 1: " "
+          text run at (0,705) width 367: " type-display: @threedee {rotation-code: '}';};"
+          text run at (366,705) width 1: " "
+          text run at (0,720) width 110: " color: green;"
+          text run at (109,720) width 1: " "
+          text run at (0,735) width 16: " }"
+          text run at (15,735) width 1: " "
+          text run at (0,750) width 274: "P.twentythree {text-indent: 0.5in;}"
+          text run at (273,750) width 1: " "
+          text run at (0,765) width 110: " color: maroon"
+          text run at (109,765) width 1: " "
+          text run at (0,780) width 203: "P.twentyfour {color: red;}"
+          text run at (202,780) width 1: " "
+          text run at (0,795) width 0: " "
+      LayoutBlockFlow {P} at (0,875) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 493x18
+          text run at (0,0) width 493: "This paragraph should be green, because only the rotation should be ignored."
+      LayoutBlockFlow {P} at (0,909) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 634x18
+          text run at (0,0) width 634: "This paragraph should be green, since error-checking should be done before calculating specificity."
+      LayoutBlockFlow {P} at (0,943) size 769x36
+        LayoutText {#text} at (0,0) size 568x18
+          text run at (0,0) width 568: "This paragraph should have a solid gray background (or a white grid), because in CSS1, "
+        LayoutInline {CODE} at (0,0) size 55x15
+          LayoutText {#text} at (567,2) size 55x15
+            text run at (567,2) width 55: "inherit"
+        LayoutText {#text} at (622,0) size 769x36
+          text run at (622,0) width 147: " is an invalid keyword,"
+          text run at (0,18) width 530: "and in CSS2, it will cause the gray background (not the white grid) to be inherited."
+      LayoutBlockFlow {P} at (0,995) size 769x18
+        LayoutText {#text} at (0,0) size 649x18
+          text run at (0,0) width 649: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+      LayoutBlockFlow {P} at (0,1029) size 769x18
+        LayoutText {#text} at (0,0) size 649x18
+          text run at (0,0) width 649: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+      LayoutBlockFlow {P} at (0,1063) size 769x18
+        LayoutText {#text} at (0,0) size 532x18
+          text run at (0,0) width 532: "This paragraph should have a white background, since keywords cannot be quoted."
+      LayoutBlockFlow {P} at (0,1097) size 769x42 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 731x36
+          text run at (3,3) width 656: "This paragraph should have a medium-width border around it (the same as the next three paragraphs). "
+          text run at (658,3) width 76: "This should"
+          text run at (3,21) width 365: "cause the user agent to use the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1155) size 769x42 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 754x36
+          text run at (3,3) width 754: "This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs),"
+          text run at (3,21) width 233: "because the border-width is invalid. "
+          text run at (235,21) width 444: "This should cause the user agent to use the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1213) size 769x60 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 754x54
+          text run at (3,3) width 754: "This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs),"
+          text run at (3,21) width 599: "because the border-width units are invalid, and therefore the border-width should be ignored. "
+          text run at (601,21) width 139: "This should cause the"
+          text run at (3,39) width 302: "user agent to use the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1289) size 769x60 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 758x54
+          text run at (3,3) width 758: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because the"
+          text run at (3,21) width 558: "border-width does not have any value to go with its pixel unit, and is therefore invalid. "
+          text run at (560,21) width 170: "This should cause the user"
+          text run at (3,39) width 271: "agent to use the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1365) size 769x18
+        LayoutText {#text} at (0,0) size 676x18
+          text run at (0,0) width 676: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+      LayoutBlockFlow {P} at (0,1399) size 769x36 [color=#008000]
+        LayoutText {#text} at (0,0) size 739x36
+          text run at (0,0) width 210: "This paragraph should be green. "
+          text run at (209,0) width 530: "CSS is case-insensitive, unless required to be case sensitive due to interaction with"
+          text run at (0,18) width 278: "other standards (e.g., font names or URLs.)"
+      LayoutBlockFlow {OL} at (0,1451) size 769x18
+        LayoutListItem {LI} at (40,0) size 729x18
+          LayoutListMarker (anonymous) at (-16,0) size 16x18: "1"
+          LayoutText {#text} at (0,0) size 635x18
+            text run at (0,0) width 635: "This ordered list item should be black, because the declaration has an invalid pseudo-class selector."
+      LayoutBlockFlow {P} at (0,1485) size 769x36
+        LayoutText {#text} at (0,0) size 765x36
+          text run at (0,0) width 765: "This paragraph should be black, because, in CSS1, :first-child is an invalid pseudo-class, and in CSS2, this paragraph is"
+          text run at (0,18) width 113: "not the first child."
+      LayoutBlockFlow {UL} at (0,1537) size 769x36
+        LayoutListItem {LI} at (40,0) size 729x36
+          LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+          LayoutText {#text} at (0,0) size 704x36
+            text run at (0,0) width 704: "This unordered list item should be black, because, according to CSS1, the selector is invalid, and according to"
+            text run at (0,18) width 232: "CSS2, the selector should not apply."
+      LayoutBlockFlow {BLOCKQUOTE} at (40,1589) size 689x36
+        LayoutText {#text} at (0,0) size 654x36
+          text run at (0,0) width 654: "This blockquote should be black, because, according to CSS1, the selector is invalid, and according to"
+          text run at (0,18) width 232: "CSS2, the selector should not apply."
+      LayoutBlockFlow {P} at (0,1641) size 769x36
+        LayoutInline {ACRONYM} at (0,0) size 761x36
+          LayoutText {#text} at (0,0) size 761x36
+            text run at (0,0) width 761: "This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+            text run at (0,18) width 110: "should not apply."
+      LayoutBlockFlow {ADDRESS} at (0,1693) size 769x36
+        LayoutText {#text} at (0,0) size 756x36
+          text run at (0,0) width 756: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+          text run at (0,18) width 110: "should not apply."
+      LayoutBlockFlow {P} at (0,1745) size 769x36
+        LayoutInline {SPAN} at (0,0) size 734x36
+          LayoutText {#text} at (0,0) size 734x36
+            text run at (0,0) width 734: "This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+            text run at (0,18) width 110: "should not apply."
+      LayoutBlockFlow {P} at (0,1797) size 769x36
+        LayoutText {#text} at (0,0) size 755x36
+          text run at (0,0) width 680: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. "
+          text run at (679,0) width 76: "However, it"
+          text run at (0,18) width 617: "is valid in CSS2, so if this is being viewed on a tty browser that supports CSS2, it should be red."
+      LayoutBlockFlow {P} at (0,1849) size 769x18
+        LayoutText {#text} at (0,0) size 676x18
+          text run at (0,0) width 676: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+      LayoutBlockFlow {P} at (0,1883) size 769x72
+        LayoutText {#text} at (0,0) size 753x18
+          text run at (0,0) width 753: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
+        LayoutInline {CODE} at (0,0) size 63x15
+          LayoutText {#text} at (0,20) size 63x15
+            text run at (0,20) width 63: "diagonal"
+        LayoutText {#text} at (62,18) size 231x18
+          text run at (62,18) width 231: " is not a valid keyword, making the "
+        LayoutInline {CODE} at (0,0) size 118x15
+          LayoutText {#text} at (292,20) size 118x15
+            text run at (292,20) width 118: "text-decoration"
+        LayoutText {#text} at (409,18) size 135x18
+          text run at (409,18) width 57: " invalid. "
+          text run at (465,18) width 79: "In addition, "
+        LayoutInline {CODE} at (0,0) size 87x15
+          LayoutText {#text} at (543,20) size 87x15
+            text run at (543,20) width 87: "highlighted"
+        LayoutText {#text} at (629,18) size 762x36
+          text run at (629,18) width 133: " is not a valid part of"
+          text run at (0,36) width 24: "the "
+        LayoutInline {CODE} at (0,0) size 32x15
+          LayoutText {#text} at (23,38) size 32x15
+            text run at (23,38) width 32: "font"
+        LayoutText {#text} at (54,36) size 733x36
+          text run at (54,36) width 184: " property, making it invalid. "
+          text run at (237,36) width 496: "Therefore, this paragraph's font should be the UA default, and match the next"
+          text run at (0,54) width 72: "paragraph. "
+          text run at (71,54) width 197: "If this is not the case, then the "
+        LayoutInline {CODE} at (0,0) size 32x15
+          LayoutText {#text} at (267,56) size 32x15
+            text run at (267,56) width 32: "font"
+        LayoutText {#text} at (298,54) size 255x18
+          text run at (298,54) width 255: " declaration is being improperly parsed."
+      LayoutBlockFlow {P} at (0,1971) size 769x72
+        LayoutText {#text} at (0,0) size 753x18
+          text run at (0,0) width 753: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
+        LayoutInline {CODE} at (0,0) size 63x15
+          LayoutText {#text} at (0,20) size 63x15
+            text run at (0,20) width 63: "diagonal"
+        LayoutText {#text} at (62,18) size 231x18
+          text run at (62,18) width 231: " is not a valid keyword, making the "
+        LayoutInline {CODE} at (0,0) size 118x15
+          LayoutText {#text} at (292,20) size 118x15
+            text run at (292,20) width 118: "text-decoration"
+        LayoutText {#text} at (409,18) size 135x18
+          text run at (409,18) width 57: " invalid. "
+          text run at (465,18) width 79: "In addition, "
+        LayoutInline {CODE} at (0,0) size 87x15
+          LayoutText {#text} at (543,20) size 87x15
+            text run at (543,20) width 87: "highlighted"
+        LayoutText {#text} at (629,18) size 762x36
+          text run at (629,18) width 133: " is not a valid part of"
+          text run at (0,36) width 24: "the "
+        LayoutInline {CODE} at (0,0) size 32x15
+          LayoutText {#text} at (23,38) size 32x15
+            text run at (23,38) width 32: "font"
+        LayoutText {#text} at (54,36) size 760x36
+          text run at (54,36) width 184: " property, making it invalid. "
+          text run at (237,36) width 523: "Therefore, this paragraph's font should be the UA default, and match the previous"
+          text run at (0,54) width 72: "paragraph. "
+          text run at (71,54) width 197: "If this is not the case, then the "
+        LayoutInline {CODE} at (0,0) size 32x15
+          LayoutText {#text} at (267,56) size 32x15
+            text run at (267,56) width 32: "font"
+        LayoutText {#text} at (298,54) size 255x18
+          text run at (298,54) width 255: " declaration is being improperly parsed."
+      LayoutBlockFlow {P} at (0,2059) size 769x54
+        LayoutText {#text} at (0,0) size 542x18
+          text run at (0,0) width 513: "The text of this paragraph should be normal size because the selector is invalid. "
+          text run at (512,0) width 30: "The "
+        LayoutInline {EM} at (0,0) size 102x18
+          LayoutText {#text} at (541,0) size 102x18
+            text run at (541,0) width 102: "emphasized text"
+        LayoutText {#text} at (642,0) size 56x18
+          text run at (642,0) width 56: " and the "
+        LayoutInline {STRONG} at (0,0) size 741x36
+          LayoutText {#text} at (697,0) size 741x36
+            text run at (697,0) width 44: "strong"
+            text run at (0,18) width 26: "text"
+        LayoutText {#text} at (25,18) size 736x36
+          text run at (25,18) width 711: " within it should also be normal size, since the entire ruleset should be skipped (since in some future version of"
+          text run at (0,36) width 603: "CSS, there could be an operator within the selector that has higher precedence than a comma)."
+      LayoutBlockFlow {P} at (0,2129) size 769x36
+        LayoutText {#text} at (0,0) size 474x18
+          text run at (0,0) width 474: "This paragraph should be black, because the line before the declaration is "
+        LayoutInline {STRONG} at (0,0) size 23x18
+          LayoutText {#text} at (473,0) size 23x18
+            text run at (473,0) width 23: "not"
+        LayoutText {#text} at (495,0) size 759x36
+          text run at (495,0) width 264: " a comment and therefore the selector for"
+          text run at (0,18) width 141: "P.nineteenb is invalid."
+      LayoutBlockFlow {P} at (0,2181) size 769x18 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 480x18
+          text run at (0,0) width 480: "This paragraph should be blue, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2215) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 488x18
+          text run at (0,0) width 488: "This paragraph should be green, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2249) size 769x18 [color=#800080]
+        LayoutText {#text} at (0,0) size 493x18
+          text run at (0,0) width 493: "This paragraph should be purple, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2283) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 488x18
+          text run at (0,0) width 488: "This paragraph should be green, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2317) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 488x18
+          text run at (0,0) width 488: "This paragraph should be green, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2351) size 769x18
+        LayoutText {#text} at (48,0) size 612x18
+          text run at (48,0) width 494: "This paragraph should be indented half an inch, but it should not be maroon. "
+          text run at (541,0) width 119: "It should be black."
+      LayoutBlockFlow {P} at (0,2385) size 769x36
+        LayoutText {#text} at (0,0) size 767x36
+          text run at (0,0) width 767: "This paragraph should be black, because the color declaration after the previous ruleset should be considered part of the"
+          text run at (0,18) width 632: "selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied."
+      LayoutTable {TABLE} at (0,2437) size 769x1600 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1598
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x1572
+            LayoutTableCell {TD} at (0,799) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x1572 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 493x18
+                  text run at (0,0) width 493: "This paragraph should be green, because only the rotation should be ignored."
+              LayoutBlockFlow {P} at (4,38) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 634x18
+                  text run at (0,0) width 634: "This paragraph should be green, since error-checking should be done before calculating specificity."
+              LayoutBlockFlow {P} at (4,72) size 747x36
+                LayoutText {#text} at (0,0) size 568x18
+                  text run at (0,0) width 568: "This paragraph should have a solid gray background (or a white grid), because in CSS1, "
+                LayoutInline {CODE} at (0,0) size 55x15
+                  LayoutText {#text} at (567,2) size 55x15
+                    text run at (567,2) width 55: "inherit"
+                LayoutText {#text} at (622,0) size 705x36
+                  text run at (622,0) width 83: " is an invalid"
+                  text run at (0,18) width 594: "keyword, and in CSS2, it will cause the gray background (not the white grid) to be inherited."
+              LayoutBlockFlow {P} at (4,124) size 747x18
+                LayoutText {#text} at (0,0) size 649x18
+                  text run at (0,0) width 649: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+              LayoutBlockFlow {P} at (4,158) size 747x18
+                LayoutText {#text} at (0,0) size 649x18
+                  text run at (0,0) width 649: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+              LayoutBlockFlow {P} at (4,192) size 747x18
+                LayoutText {#text} at (0,0) size 532x18
+                  text run at (0,0) width 532: "This paragraph should have a white background, since keywords cannot be quoted."
+              LayoutBlockFlow {P} at (4,226) size 747x42 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 731x36
+                  text run at (3,3) width 656: "This paragraph should have a medium-width border around it (the same as the next three paragraphs). "
+                  text run at (658,3) width 76: "This should"
+                  text run at (3,21) width 365: "cause the user agent to use the default value of 'medium'."
+              LayoutBlockFlow {P} at (4,284) size 747x60 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 694x54
+                  text run at (3,3) width 670: "This paragraph should have a medium-width border around it (the same as the previous and the next two"
+                  text run at (3,21) width 317: "paragraphs), because the border-width is invalid. "
+                  text run at (319,21) width 378: "This should cause the user agent to use the default value of"
+                  text run at (3,39) width 63: "'medium'."
+              LayoutBlockFlow {P} at (4,360) size 747x60 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 711x54
+                  text run at (3,3) width 670: "This paragraph should have a medium-width border around it (the same as the next and the previous two"
+                  text run at (3,21) width 683: "paragraphs), because the border-width units are invalid, and therefore the border-width should be ignored. "
+                  text run at (685,21) width 29: "This"
+                  text run at (3,39) width 411: "should cause the user agent to use the default value of 'medium'."
+              LayoutBlockFlow {P} at (4,436) size 747x60 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 734x54
+                  text run at (3,3) width 734: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because"
+                  text run at (3,21) width 582: "the border-width does not have any value to go with its pixel unit, and is therefore invalid. "
+                  text run at (584,21) width 139: "This should cause the"
+                  text run at (3,39) width 302: "user agent to use the default value of 'medium'."
+              LayoutBlockFlow {P} at (4,512) size 747x18
+                LayoutText {#text} at (0,0) size 676x18
+                  text run at (0,0) width 676: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+              LayoutBlockFlow {P} at (4,546) size 747x36 [color=#008000]
+                LayoutText {#text} at (0,0) size 739x36
+                  text run at (0,0) width 210: "This paragraph should be green. "
+                  text run at (209,0) width 530: "CSS is case-insensitive, unless required to be case sensitive due to interaction with"
+                  text run at (0,18) width 278: "other standards (e.g., font names or URLs.)"
+              LayoutBlockFlow {OL} at (4,598) size 747x18
+                LayoutListItem {LI} at (40,0) size 707x18
+                  LayoutListMarker (anonymous) at (-16,0) size 16x18: "1"
+                  LayoutText {#text} at (0,0) size 635x18
+                    text run at (0,0) width 635: "This ordered list item should be black, because the declaration has an invalid pseudo-class selector."
+              LayoutBlockFlow {P} at (4,632) size 747x36
+                LayoutText {#text} at (0,0) size 683x36
+                  text run at (0,0) width 683: "This paragraph should be black, because, in CSS1, :first-child is an invalid pseudo-class, and in CSS2, this"
+                  text run at (0,18) width 196: "paragraph is not the first child."
+              LayoutBlockFlow {UL} at (4,684) size 747x36
+                LayoutListItem {LI} at (40,0) size 707x36
+                  LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                  LayoutText {#text} at (0,0) size 704x36
+                    text run at (0,0) width 704: "This unordered list item should be black, because, according to CSS1, the selector is invalid, and according to"
+                    text run at (0,18) width 232: "CSS2, the selector should not apply."
+              LayoutBlockFlow {BLOCKQUOTE} at (44,736) size 667x36
+                LayoutText {#text} at (0,0) size 654x36
+                  text run at (0,0) width 654: "This blockquote should be black, because, according to CSS1, the selector is invalid, and according to"
+                  text run at (0,18) width 232: "CSS2, the selector should not apply."
+              LayoutBlockFlow {P} at (4,788) size 747x36
+                LayoutInline {ACRONYM} at (0,0) size 707x36
+                  LayoutText {#text} at (0,0) size 707x36
+                    text run at (0,0) width 707: "This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the"
+                    text run at (0,18) width 164: "selector should not apply."
+              LayoutBlockFlow {ADDRESS} at (4,840) size 747x36
+                LayoutText {#text} at (0,0) size 701x36
+                  text run at (0,0) width 701: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the"
+                  text run at (0,18) width 165: "selector should not apply."
+              LayoutBlockFlow {P} at (4,892) size 747x36
+                LayoutInline {SPAN} at (0,0) size 734x36
+                  LayoutText {#text} at (0,0) size 734x36
+                    text run at (0,0) width 734: "This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+                    text run at (0,18) width 110: "should not apply."
+              LayoutBlockFlow {P} at (4,944) size 747x36
+                LayoutText {#text} at (0,0) size 742x36
+                  text run at (0,0) width 680: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. "
+                  text run at (679,0) width 63: "However,"
+                  text run at (0,18) width 630: "it is valid in CSS2, so if this is being viewed on a tty browser that supports CSS2, it should be red."
+              LayoutBlockFlow {P} at (4,996) size 747x18
+                LayoutText {#text} at (0,0) size 676x18
+                  text run at (0,0) width 676: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+              LayoutBlockFlow {P} at (4,1030) size 747x72
+                LayoutText {#text} at (0,0) size 699x36
+                  text run at (0,0) width 699: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold),"
+                  text run at (0,18) width 55: "because "
+                LayoutInline {CODE} at (0,0) size 64x15
+                  LayoutText {#text} at (54,20) size 64x15
+                    text run at (54,20) width 64: "diagonal"
+                LayoutText {#text} at (117,18) size 230x18
+                  text run at (117,18) width 230: " is not a valid keyword, making the "
+                LayoutInline {CODE} at (0,0) size 118x15
+                  LayoutText {#text} at (346,20) size 118x15
+                    text run at (346,20) width 118: "text-decoration"
+                LayoutText {#text} at (463,18) size 135x18
+                  text run at (463,18) width 58: " invalid. "
+                  text run at (520,18) width 78: "In addition, "
+                LayoutInline {CODE} at (0,0) size 87x15
+                  LayoutText {#text} at (597,20) size 87x15
+                    text run at (597,20) width 87: "highlighted"
+                LayoutText {#text} at (683,18) size 735x36
+                  text run at (683,18) width 52: " is not a"
+                  text run at (0,36) width 106: "valid part of the "
+                LayoutInline {CODE} at (0,0) size 32x15
+                  LayoutText {#text} at (105,38) size 32x15
+                    text run at (105,38) width 32: "font"
+                LayoutText {#text} at (136,36) size 717x36
+                  text run at (136,36) width 184: " property, making it invalid. "
+                  text run at (319,36) width 398: "Therefore, this paragraph's font should be the UA default, and"
+                  text run at (0,54) width 171: "match the next paragraph. "
+                  text run at (170,54) width 196: "If this is not the case, then the "
+                LayoutInline {CODE} at (0,0) size 32x15
+                  LayoutText {#text} at (365,56) size 32x15
+                    text run at (365,56) width 32: "font"
+                LayoutText {#text} at (396,54) size 255x18
+                  text run at (396,54) width 255: " declaration is being improperly parsed."
+              LayoutBlockFlow {P} at (4,1118) size 747x72
+                LayoutText {#text} at (0,0) size 699x36
+                  text run at (0,0) width 699: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold),"
+                  text run at (0,18) width 55: "because "
+                LayoutInline {CODE} at (0,0) size 64x15
+                  LayoutText {#text} at (54,20) size 64x15
+                    text run at (54,20) width 64: "diagonal"
+                LayoutText {#text} at (117,18) size 230x18
+                  text run at (117,18) width 230: " is not a valid keyword, making the "
+                LayoutInline {CODE} at (0,0) size 118x15
+                  LayoutText {#text} at (346,20) size 118x15
+                    text run at (346,20) width 118: "text-decoration"
+                LayoutText {#text} at (463,18) size 135x18
+                  text run at (463,18) width 58: " invalid. "
+                  text run at (520,18) width 78: "In addition, "
+                LayoutInline {CODE} at (0,0) size 87x15
+                  LayoutText {#text} at (597,20) size 87x15
+                    text run at (597,20) width 87: "highlighted"
+                LayoutText {#text} at (683,18) size 735x36
+                  text run at (683,18) width 52: " is not a"
+                  text run at (0,36) width 106: "valid part of the "
+                LayoutInline {CODE} at (0,0) size 32x15
+                  LayoutText {#text} at (105,38) size 32x15
+                    text run at (105,38) width 32: "font"
+                LayoutText {#text} at (136,36) size 717x36
+                  text run at (136,36) width 184: " property, making it invalid. "
+                  text run at (319,36) width 398: "Therefore, this paragraph's font should be the UA default, and"
+                  text run at (0,54) width 198: "match the previous paragraph. "
+                  text run at (197,54) width 196: "If this is not the case, then the "
+                LayoutInline {CODE} at (0,0) size 32x15
+                  LayoutText {#text} at (392,56) size 32x15
+                    text run at (392,56) width 32: "font"
+                LayoutText {#text} at (423,54) size 256x18
+                  text run at (423,54) width 256: " declaration is being improperly parsed."
+              LayoutBlockFlow {P} at (4,1206) size 747x54
+                LayoutText {#text} at (0,0) size 542x18
+                  text run at (0,0) width 513: "The text of this paragraph should be normal size because the selector is invalid. "
+                  text run at (512,0) width 30: "The "
+                LayoutInline {EM} at (0,0) size 102x18
+                  LayoutText {#text} at (541,0) size 102x18
+                    text run at (541,0) width 102: "emphasized text"
+                LayoutText {#text} at (642,0) size 56x18
+                  text run at (642,0) width 56: " and the "
+                LayoutInline {STRONG} at (0,0) size 741x36
+                  LayoutText {#text} at (697,0) size 741x36
+                    text run at (697,0) width 44: "strong"
+                    text run at (0,18) width 26: "text"
+                LayoutText {#text} at (25,18) size 736x36
+                  text run at (25,18) width 711: " within it should also be normal size, since the entire ruleset should be skipped (since in some future version of"
+                  text run at (0,36) width 603: "CSS, there could be an operator within the selector that has higher precedence than a comma)."
+              LayoutBlockFlow {P} at (4,1276) size 747x36
+                LayoutText {#text} at (0,0) size 474x18
+                  text run at (0,0) width 474: "This paragraph should be black, because the line before the declaration is "
+                LayoutInline {STRONG} at (0,0) size 23x18
+                  LayoutText {#text} at (473,0) size 23x18
+                    text run at (473,0) width 23: "not"
+                LayoutText {#text} at (495,0) size 737x36
+                  text run at (495,0) width 242: " a comment and therefore the selector"
+                  text run at (0,18) width 164: "for P.nineteenb is invalid."
+              LayoutBlockFlow {P} at (4,1328) size 747x18 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 480x18
+                  text run at (0,0) width 480: "This paragraph should be blue, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1362) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 488x18
+                  text run at (0,0) width 488: "This paragraph should be green, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1396) size 747x18 [color=#800080]
+                LayoutText {#text} at (0,0) size 493x18
+                  text run at (0,0) width 493: "This paragraph should be purple, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1430) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 488x18
+                  text run at (0,0) width 488: "This paragraph should be green, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1464) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 488x18
+                  text run at (0,0) width 488: "This paragraph should be green, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1498) size 747x18
+                LayoutText {#text} at (48,0) size 612x18
+                  text run at (48,0) width 494: "This paragraph should be indented half an inch, but it should not be maroon. "
+                  text run at (541,0) width 119: "It should be black."
+              LayoutBlockFlow {P} at (4,1532) size 747x36
+                LayoutText {#text} at (0,0) size 743x36
+                  text run at (0,0) width 743: "This paragraph should be black, because the color declaration after the previous ruleset should be considered part of"
+                  text run at (0,18) width 656: "the selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied."
+layer at (8,865) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,857) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font-expected.txt
new file mode 100644
index 0000000..1267e44
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font-expected.txt
@@ -0,0 +1,230 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 4227
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x4227 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x4227.33
+    LayoutBlockFlow {BODY} at (8,8) size 769x4211.33 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x14
+        LayoutText {#text} at (0,0) size 272x14
+          text run at (0,0) width 272: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,26) size 769x168
+        LayoutText {#text} at (0,0) size 411x168
+          text run at (0,0) width 166: "BODY {font-size: 12px;}"
+          text run at (165,0) width 1: " "
+          text run at (0,14) width 332: ".one {font: italic small-caps 13pt Helvetica;}"
+          text run at (331,14) width 1: " "
+          text run at (0,28) width 209: ".two {font: 150%/150% serif;}"
+          text run at (208,28) width 1: " "
+          text run at (0,42) width 260: ".three {font: 150%/150% sans-serif;}"
+          text run at (259,42) width 1: " "
+          text run at (0,56) width 238: ".four {font: small/200% cursive;}"
+          text run at (237,56) width 1: " "
+          text run at (0,70) width 411: ".five {font: italic small-caps 900 150%/150% sans-serif;}"
+          text run at (410,70) width 1: " "
+          text run at (0,84) width 404: ".six {font: italic small-caps 100 150%/300% sans-serif;}"
+          text run at (403,84) width 1: " "
+          text run at (0,98) width 404: ".seven {font: italic small-caps 900 150%/2em monospace;}"
+          text run at (403,98) width 1: " "
+          text run at (0,112) width 411: ".eight {font: italic small-caps 500 150%/1in sans-serif;}"
+          text run at (410,112) width 1: " "
+          text run at (0,126) width 389: ".nine {font: oblique normal 700 18px/200% sans-serif;}"
+          text run at (388,126) width 1: " "
+          text run at (0,140) width 310: ".ten {font: normal 400 80%/2.5 sans-serif;}"
+          text run at (309,140) width 1: " "
+          text run at (0,154) width 274: "SPAN.color {background-color: silver;}"
+          text run at (273,154) width 1: " "
+      LayoutBlockFlow {P} at (0,220) size 769x14
+        LayoutText {#text} at (0,0) size 720x14
+          text run at (0,0) width 431: "This element is unstyled, and should inherit a font-size of 12px from the BODY element. "
+          text run at (430,0) width 290: "This is the \"base font size\" referred to in the following tests."
+      LayoutBlockFlow {P} at (0,251.33) size 769x20
+        LayoutText {#text} at (0,0) size 494x20
+          text run at (0,0) width 494: "This element should be 13pt. Helvetica which is in small-cap italics."
+      LayoutBlockFlow {P} at (0,289.33) size 769x81
+        LayoutText {#text} at (0,2) size 764x76
+          text run at (0,2) width 278: "This element should be in a serif font. "
+          text run at (277,2) width 475: "Its font-size should be 150% the base font size, and its line-height"
+          text run at (0,29) width 418: "should 150% of that value (18px and 27px, respectively). "
+          text run at (417,29) width 347: "Extra text is included for the purposes of testing"
+          text run at (0,56) width 152: "this more effectively."
+      LayoutBlockFlow {P} at (0,388.33) size 769x81
+        LayoutText {#text} at (0,3) size 761x75
+          text run at (0,3) width 349: "This element should be in a sans-serif font. "
+          text run at (348,3) width 413: "Its font-size should be 150% the base font size, and"
+          text run at (0,30) width 569: "its line-height should 150% of that value (18px and 27px, respectively). "
+          text run at (568,30) width 193: "Extra text is included for"
+          text run at (0,57) width 350: "the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,487.33) size 769x78
+        LayoutText {#text} at (0,2) size 756x47
+          text run at (0,2) width 608: "This element should be in a cursive font, 'small' in size, with a line-height 200% the height of the text's actual size. "
+          text run at (607,2) width 149: "For example, if the font-size"
+          text run at (0,28) width 32: "value "
+        LayoutInline {CODE} at (0,0) size 31x12
+          LayoutText {#text} at (31,33) size 31x12
+            text run at (31,33) width 31: "small"
+        LayoutText {#text} at (61,28) size 760x47
+          text run at (61,28) width 313: " is calculated at 10px, then the line-height should be 20px. "
+          text run at (373,28) width 271: "The actual value of the font-size is UA-dependent. "
+          text run at (643,28) width 117: "Extra text is included"
+          text run at (0,54) width 244: "for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,583.33) size 769x108
+        LayoutText {#text} at (0,3) size 750x102
+          text run at (0,3) width 729: "This element should be in a sans-serif font, italicized and small caps, with a weight of 900. "
+          text run at (728,3) width 22: "Its"
+          text run at (0,30) width 748: "font-size should be 150% the base font size, and its line-height should be 150% of that value"
+          text run at (0,57) width 243: "(18px and 27px, respectively). "
+          text run at (242,57) width 480: "Extra text is included for the purposes of testing this more"
+          text run at (0,84) width 92: "effectively."
+      LayoutBlockFlow {P} at (0,709.33) size 769x162
+        LayoutText {#text} at (0,16) size 765x129
+          text run at (0,16) width 699: "This element should be in a sans-serif font, italicized and small caps, with a weight of 100. "
+          text run at (698,16) width 67: "Its font-"
+          text run at (0,70) width 761: "size should be 150% the base font size, and its line-height should be 300% of that value (18px and"
+          text run at (0,124) width 153: "54px, respectively). "
+          text run at (152,124) width 547: "Extra text is included for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,889.33) size 769x144
+        LayoutText {#text} at (0,7) size 733x129
+          text run at (0,7) width 733: "This element should be in a monospace font, italicized and small caps, with a weight of"
+          text run at (0,43) width 54: "900. "
+          text run at (54,43) width 672: "Its font-size should be 150% the base font size, and its line-height should be"
+          text run at (0,79) width 605: "2em, or twice the element's font size (18px and 36px, respectively). "
+          text run at (604,79) width 111: "Extra text is"
+          text run at (0,115) width 488: "included for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,1051.33) size 769x288
+        LayoutText {#text} at (0,37) size 741x213
+          text run at (0,37) width 719: "This element should be in a sans-serif font, italicized and small caps, with a weight of 500. "
+          text run at (718,37) width 23: "Its"
+          text run at (0,133) width 691: "font-size should be 150% the base font size, or 18px, and its line-height should be 1in. "
+          text run at (690,133) width 48: "Extra"
+          text run at (0,229) width 523: "text is included for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,1357.33) size 769x144
+        LayoutText {#text} at (0,7) size 753x129
+          text run at (0,7) width 753: "This element should be in a sans-serif font, oblique and not small-caps, with a weight of"
+          text run at (0,43) width 41: "700. "
+          text run at (40,43) width 666: "Its font-size should be 18 pixels, and its line-height should be 36px (200% this"
+          text run at (0,79) width 177: "element's font size). "
+          text run at (176,79) width 501: "Extra text is included for the purposes of testing this more"
+          text run at (0,115) width 92: "effectively."
+      LayoutBlockFlow {P} at (0,1519.33) size 769x46
+        LayoutText {#text} at (0,6) size 742x33
+          text run at (0,6) width 276: "This element should be in a sans-serif font, with a weight of 400. "
+          text run at (275,6) width 417: "Its font-size should be 80% of 12px, or 9.6px, and its line-height shoud be 2.5 times that, or 24px. "
+          text run at (691,6) width 51: "Extra text is"
+          text run at (0,29) width 239: "included for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,1583.33) size 769x216
+        LayoutInline {SPAN} at (0,0) size 765x183 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,16) size 765x183
+            text run at (0,16) width 699: "This element should be in a sans-serif font, italicized and small caps, with a weight of 100. "
+            text run at (698,16) width 67: "Its font-"
+            text run at (0,70) width 761: "size should be 150% the base font size, and its line-height should be 300% of that value (18px and"
+            text run at (0,124) width 753: "54px, respectively). The text should have a silver background. The background color has been set"
+            text run at (0,178) width 678: "on an inline element and should therefore only cover the text, not the interline spacing."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,1817.33) size 769x2394 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x2392
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x2366
+            LayoutTableCell {TD} at (0,1196) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x2366.33 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x36
+                LayoutText {#text} at (0,0) size 746x36
+                  text run at (0,0) width 575: "This element is unstyled, and should inherit a font-size of 12px from the BODY element. "
+                  text run at (574,0) width 172: "This is the \"base font size\""
+                  text run at (0,18) width 210: "referred to in the following tests."
+              LayoutBlockFlow {P} at (4,57.33) size 747x20
+                LayoutText {#text} at (0,0) size 494x20
+                  text run at (0,0) width 494: "This element should be 13pt. Helvetica which is in small-cap italics."
+              LayoutBlockFlow {P} at (4,101.33) size 747x144
+                LayoutText {#text} at (0,4) size 729x136
+                  text run at (0,4) width 370: "This element should be in a serif font. "
+                  text run at (369,4) width 360: "Its font-size should be 150% the base"
+                  text run at (0,40) width 688: "font size, and its line-height should 150% of that value (18px and 27px,"
+                  text run at (0,76) width 136: "respectively). "
+                  text run at (135,76) width 559: "Extra text is included for the purposes of testing this more"
+                  text run at (0,112) width 107: "effectively."
+              LayoutBlockFlow {P} at (4,269.33) size 747x144
+                LayoutText {#text} at (0,4) size 741x136
+                  text run at (0,4) width 465: "This element should be in a sans-serif font. "
+                  text run at (464,4) width 234: "Its font-size should be"
+                  text run at (0,40) width 741: "150% the base font size, and its line-height should 150% of that value"
+                  text run at (0,76) width 327: "(18px and 27px, respectively). "
+                  text run at (326,76) width 403: "Extra text is included for the purposes"
+                  text run at (0,112) width 321: "of testing this more effectively."
+              LayoutBlockFlow {P} at (4,437.33) size 747x78
+                LayoutText {#text} at (0,2) size 737x47
+                  text run at (0,2) width 608: "This element should be in a cursive font, 'small' in size, with a line-height 200% the height of the text's actual size. "
+                  text run at (607,2) width 130: "For example, if the font-"
+                  text run at (0,28) width 54: "size value "
+                LayoutInline {CODE} at (0,0) size 31x12
+                  LayoutText {#text} at (53,33) size 31x12
+                    text run at (53,33) width 31: "small"
+                LayoutText {#text} at (83,28) size 733x47
+                  text run at (83,28) width 313: " is calculated at 10px, then the line-height should be 20px. "
+                  text run at (395,28) width 271: "The actual value of the font-size is UA-dependent. "
+                  text run at (665,28) width 68: "Extra text is"
+                  text run at (0,54) width 293: "included for the purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,539.33) size 747x180
+                LayoutText {#text} at (0,4) size 730x172
+                  text run at (0,4) width 722: "This element should be in a sans-serif font, italicized and small caps,"
+                  text run at (0,40) width 228: "with a weight of 900. "
+                  text run at (227,40) width 503: "Its font-size should be 150% the base font size,"
+                  text run at (0,76) width 679: "and its line-height should be 150% of that value (18px and 27px,"
+                  text run at (0,112) width 150: "respectively). "
+                  text run at (149,112) width 571: "Extra text is included for the purposes of testing this"
+                  text run at (0,148) width 178: "more effectively."
+              LayoutBlockFlow {P} at (4,743.33) size 747x288
+                LayoutText {#text} at (0,22) size 739x244
+                  text run at (0,22) width 739: "This element should be in a sans-serif font, italicized and small caps, with"
+                  text run at (0,94) width 173: "a weight of 100. "
+                  text run at (172,94) width 559: "Its font-size should be 150% the base font size, and its"
+                  text run at (0,166) width 722: "line-height should be 300% of that value (18px and 54px, respectively)."
+                  text run at (0,238) width 717: "Extra text is included for the purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,1055.33) size 747x195
+                LayoutText {#text} at (0,8) size 733x179
+                  text run at (0,8) width 700: "This element should be in a monospace font, italicized and small caps, with a"
+                  text run at (0,47) width 150: "weight of 900. "
+                  text run at (149,47) width 584: "Its font-size should be 150% the base font size, and its line-"
+                  text run at (0,86) width 658: "height should be 2em, or twice the element's font size (18px and 36px,"
+                  text run at (0,125) width 136: "respectively). "
+                  text run at (135,125) width 542: "Extra text is included for the purposes of testing this more"
+                  text run at (0,164) width 105: "effectively."
+              LayoutBlockFlow {P} at (4,1274.33) size 747x384
+                LayoutText {#text} at (0,34) size 726x316
+                  text run at (0,34) width 711: "This element should be in a sans-serif font, italicized and small caps,"
+                  text run at (0,130) width 227: "with a weight of 500. "
+                  text run at (226,130) width 500: "Its font-size should be 150% the base font size,"
+                  text run at (0,226) width 438: "or 18px, and its line-height should be 1in. "
+                  text run at (437,226) width 272: "Extra text is included for"
+                  text run at (0,322) width 476: "the purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,1682.33) size 747x144
+                LayoutText {#text} at (0,7) size 731x129
+                  text run at (0,7) width 731: "This element should be in a sans-serif font, oblique and not small-caps, with a weight"
+                  text run at (0,43) width 63: "of 700. "
+                  text run at (62,43) width 666: "Its font-size should be 18 pixels, and its line-height should be 36px (200% this"
+                  text run at (0,79) width 177: "element's font size). "
+                  text run at (176,79) width 501: "Extra text is included for the purposes of testing this more"
+                  text run at (0,115) width 92: "effectively."
+              LayoutBlockFlow {P} at (4,1844.33) size 747x62
+                LayoutText {#text} at (0,8) size 728x46
+                  text run at (0,8) width 368: "This element should be in a sans-serif font, with a weight of 400. "
+                  text run at (367,8) width 361: "Its font-size should be 80% of 12px, or 9.6px, and its line-height"
+                  text run at (0,39) width 190: "shoud be 2.5 times that, or 24px. "
+                  text run at (189,39) width 390: "Extra text is included for the purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,1930.33) size 747x432
+                LayoutInline {SPAN} at (0,0) size 739x388 [bgcolor=#C0C0C0]
+                  LayoutText {#text} at (0,22) size 739x388
+                    text run at (0,22) width 739: "This element should be in a sans-serif font, italicized and small caps, with"
+                    text run at (0,94) width 173: "a weight of 100. "
+                    text run at (172,94) width 559: "Its font-size should be 150% the base font size, and its"
+                    text run at (0,166) width 722: "line-height should be 300% of that value (18px and 54px, respectively)."
+                    text run at (0,238) width 700: "The text should have a silver background. The background color has"
+                    text run at (0,310) width 718: "been set on an inline element and should therefore only cover the text,"
+                    text run at (0,382) width 253: "not the interline spacing."
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,214) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,206) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_family-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_family-expected.txt
new file mode 100644
index 0000000..0cb9245c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_family-expected.txt
@@ -0,0 +1,140 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1313
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1313 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1313
+    LayoutBlockFlow {BODY} at (8,8) size 769x1297 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x135
+        LayoutText {#text} at (0,0) size 305x135
+          text run at (0,0) width 211: "DIV.a {font-family: serif;}"
+          text run at (210,0) width 1: " "
+          text run at (0,15) width 242: "DIV.b {font-family: monospace;}"
+          text run at (241,15) width 1: " "
+          text run at (0,30) width 203: ".one {font-family: serif;}"
+          text run at (202,30) width 1: " "
+          text run at (0,45) width 242: ".two {font-family: sans-serif;}"
+          text run at (241,45) width 1: " "
+          text run at (0,60) width 235: ".three {font-family: cursive;}"
+          text run at (234,60) width 1: " "
+          text run at (0,75) width 227: ".four {font-family: fantasy;}"
+          text run at (226,75) width 1: " "
+          text run at (0,90) width 242: ".five {font-family: monospace;}"
+          text run at (241,90) width 1: " "
+          text run at (0,105) width 305: ".six {font-family: sans-serif,cursive;}"
+          text run at (304,105) width 1: " "
+          text run at (0,120) width 297: ".seven {font-family: monospace,serif;}"
+          text run at (296,120) width 1: " "
+      LayoutBlockFlow {DIV} at (0,200) size 769x199
+        LayoutBlockFlow {P} at (0,0) size 769x18
+          LayoutText {#text} at (0,0) size 653x18
+            text run at (0,0) width 653: "This sentence is normal for the first division, which is the next five sentences; it should be a serif font."
+        LayoutBlockFlow {P} at (0,34) size 769x18
+          LayoutText {#text} at (0,0) size 248x18
+            text run at (0,0) width 248: "This sentence should be in a serif font."
+        LayoutBlockFlow {P} at (0,68) size 769x18
+          LayoutText {#text} at (0,0) size 314x18
+            text run at (0,0) width 314: "This sentence should be in a sans-serif font."
+        LayoutBlockFlow {P} at (0,102) size 769x25
+          LayoutText {#text} at (0,0) size 266x25
+            text run at (0,0) width 266: "This sentence should be in a cursive font."
+        LayoutBlockFlow {P} at (0,143) size 769x25
+          LayoutText {#text} at (0,0) size 296x25
+            text run at (0,0) width 296: "This sentence should be in a fantasy font."
+        LayoutBlockFlow {P} at (0,184) size 769x15
+          LayoutText {#text} at (0,0) size 344x15
+            text run at (0,0) width 344: "This sentence should be in a monospace font."
+      LayoutBlockFlow {P} at (0,430) size 769x18
+        LayoutText {#text} at (0,0) size 400x18
+          text run at (0,0) width 400: "This sentence should be in a sans-serif font, not cursive."
+      LayoutBlockFlow {P} at (0,464) size 769x18
+        LayoutText {#text} at (0,0) size 529x18
+          text run at (0,0) width 529: "This sentence should be in a monospace font, not serif."
+      LayoutBlockFlow {DIV} at (0,513) size 769x211
+        LayoutBlockFlow {P} at (0,0) size 769x30
+          LayoutText {#text} at (0,0) size 749x30
+            text run at (0,0) width 749: "This sentence is normal for the first division, which is the next five sentences; it should be a"
+            text run at (0,15) width 118: "monospace font."
+        LayoutBlockFlow {P} at (0,46) size 769x18
+          LayoutText {#text} at (0,0) size 248x18
+            text run at (0,0) width 248: "This sentence should be in a serif font."
+        LayoutBlockFlow {P} at (0,80) size 769x18
+          LayoutText {#text} at (0,0) size 314x18
+            text run at (0,0) width 314: "This sentence should be in a sans-serif font."
+        LayoutBlockFlow {P} at (0,114) size 769x25
+          LayoutText {#text} at (0,0) size 266x25
+            text run at (0,0) width 266: "This sentence should be in a cursive font."
+        LayoutBlockFlow {P} at (0,155) size 769x25
+          LayoutText {#text} at (0,0) size 296x25
+            text run at (0,0) width 296: "This sentence should be in a fantasy font."
+        LayoutBlockFlow {P} at (0,196) size 769x15
+          LayoutText {#text} at (0,0) size 344x15
+            text run at (0,0) width 344: "This sentence should be in a monospace font."
+      LayoutTable {TABLE} at (0,737) size 769x560 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x558
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x532
+            LayoutTableCell {TD} at (0,279) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x532 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (4,4) size 747x199
+                LayoutBlockFlow {P} at (0,0) size 747x18
+                  LayoutText {#text} at (0,0) size 653x18
+                    text run at (0,0) width 653: "This sentence is normal for the first division, which is the next five sentences; it should be a serif font."
+                LayoutBlockFlow {P} at (0,34) size 747x18
+                  LayoutText {#text} at (0,0) size 248x18
+                    text run at (0,0) width 248: "This sentence should be in a serif font."
+                LayoutBlockFlow {P} at (0,68) size 747x18
+                  LayoutText {#text} at (0,0) size 314x18
+                    text run at (0,0) width 314: "This sentence should be in a sans-serif font."
+                LayoutBlockFlow {P} at (0,102) size 747x25
+                  LayoutText {#text} at (0,0) size 266x25
+                    text run at (0,0) width 266: "This sentence should be in a cursive font."
+                LayoutBlockFlow {P} at (0,143) size 747x25
+                  LayoutText {#text} at (0,0) size 296x25
+                    text run at (0,0) width 296: "This sentence should be in a fantasy font."
+                LayoutBlockFlow {P} at (0,184) size 747x15
+                  LayoutText {#text} at (0,0) size 344x15
+                    text run at (0,0) width 344: "This sentence should be in a monospace font."
+              LayoutBlockFlow {P} at (4,234) size 747x18
+                LayoutText {#text} at (0,0) size 400x18
+                  text run at (0,0) width 400: "This sentence should be in a sans-serif font, not cursive."
+              LayoutBlockFlow {P} at (4,268) size 747x18
+                LayoutText {#text} at (0,0) size 529x18
+                  text run at (0,0) width 529: "This sentence should be in a monospace font, not serif."
+              LayoutBlockFlow {DIV} at (4,317) size 747x211
+                LayoutBlockFlow {P} at (0,0) size 747x30
+                  LayoutText {#text} at (0,0) size 734x30
+                    text run at (0,0) width 734: "This sentence is normal for the first division, which is the next five sentences; it should be"
+                    text run at (0,15) width 133: "a monospace font."
+                LayoutBlockFlow {P} at (0,46) size 747x18
+                  LayoutText {#text} at (0,0) size 248x18
+                    text run at (0,0) width 248: "This sentence should be in a serif font."
+                LayoutBlockFlow {P} at (0,80) size 747x18
+                  LayoutText {#text} at (0,0) size 314x18
+                    text run at (0,0) width 314: "This sentence should be in a sans-serif font."
+                LayoutBlockFlow {P} at (0,114) size 747x25
+                  LayoutText {#text} at (0,0) size 266x25
+                    text run at (0,0) width 266: "This sentence should be in a cursive font."
+                LayoutBlockFlow {P} at (0,155) size 747x25
+                  LayoutText {#text} at (0,0) size 296x25
+                    text run at (0,0) width 296: "This sentence should be in a fantasy font."
+                LayoutBlockFlow {P} at (0,196) size 747x15
+                  LayoutText {#text} at (0,0) size 344x15
+                    text run at (0,0) width 344: "This sentence should be in a monospace font."
+layer at (8,190) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,420) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,412) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,506) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,498) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (25,988) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,216) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1074) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,302) size 747x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_size-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_size-expected.txt
new file mode 100644
index 0000000..f8d7d2b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_size-expected.txt
@@ -0,0 +1,258 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2811
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2811 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2811.27
+    LayoutBlockFlow {BODY} at (8,8) size 769x2795.27 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x300
+        LayoutText {#text} at (0,0) size 219x300
+          text run at (0,0) width 196: ".one {font-size: medium;}"
+          text run at (195,0) width 1: " "
+          text run at (0,15) width 196: ".two {font-size: larger;}"
+          text run at (195,15) width 1: " "
+          text run at (0,30) width 219: ".three {font-size: smaller;}"
+          text run at (218,30) width 1: " "
+          text run at (0,45) width 219: ".four {font-size: xx-small;}"
+          text run at (218,45) width 1: " "
+          text run at (0,60) width 211: ".five {font-size: x-small;}"
+          text run at (210,60) width 1: " "
+          text run at (0,75) width 188: ".six {font-size: small;}"
+          text run at (187,75) width 1: " "
+          text run at (0,90) width 203: ".seven {font-size: large;}"
+          text run at (202,90) width 1: " "
+          text run at (0,105) width 219: ".eight {font-size: x-large;}"
+          text run at (218,105) width 1: " "
+          text run at (0,120) width 219: ".nine {font-size: xx-large;}"
+          text run at (218,120) width 1: " "
+          text run at (0,135) width 172: ".a {font-size: 0.5in;}"
+          text run at (171,135) width 1: " "
+          text run at (0,150) width 157: ".b {font-size: 1cm;}"
+          text run at (156,150) width 1: " "
+          text run at (0,165) width 164: ".c {font-size: 10mm;}"
+          text run at (163,165) width 1: " "
+          text run at (0,180) width 164: ".d {font-size: 18pt;}"
+          text run at (163,180) width 1: " "
+          text run at (0,195) width 172: ".e {font-size: 1.5pc;}"
+          text run at (171,195) width 1: " "
+          text run at (0,210) width 157: ".f {font-size: 2em;}"
+          text run at (156,210) width 1: " "
+          text run at (0,225) width 157: ".g {font-size: 3ex;}"
+          text run at (156,225) width 1: " "
+          text run at (0,240) width 164: ".h {font-size: 25px;}"
+          text run at (163,240) width 1: " "
+          text run at (0,255) width 164: ".i {font-size: 200%;}"
+          text run at (163,255) width 1: " "
+          text run at (0,270) width 180: ".j {font-size: -0.5in;}"
+          text run at (179,270) width 1: " "
+          text run at (0,285) width 0: " "
+      LayoutBlockFlow {P} at (0,365) size 769x18
+        LayoutText {#text} at (0,0) size 707x18
+          text run at (0,0) width 707: "This paragraph element is unstyled, so the size of the font in this element is the default size for this user agent."
+      LayoutBlockFlow {P} at (0,399) size 769x18
+        LayoutText {#text} at (0,0) size 190x18
+          text run at (0,0) width 190: "This sentence has been set to "
+        LayoutInline {CODE} at (0,0) size 48x15
+          LayoutText {#text} at (189,2) size 48x15
+            text run at (189,2) width 48: "medium"
+        LayoutText {#text} at (236,0) size 368x18
+          text run at (236,0) width 368: ", which may or may not be the same size as unstyled text."
+      LayoutBlockFlow {P} at (0,436.19) size 769x22
+        LayoutText {#text} at (0,0) size 380x22
+          text run at (0,0) width 380: "This sentence should be larger than unstyled text."
+      LayoutBlockFlow {P} at (0,477.38) size 769x15
+        LayoutText {#text} at (0,0) size 272x15
+          text run at (0,0) width 272: "This sentence should be smaller than unstyled text."
+      LayoutBlockFlow {P} at (0,505.70) size 769x18
+        LayoutText {#text} at (0,6) size 286x10
+          text run at (0,6) width 286: "This sentence should be very small, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 54x18
+          LayoutText {#text} at (285,0) size 54x18
+            text run at (285,0) width 54: "medium"
+        LayoutText {#text} at (338,6) size 3x10
+          text run at (338,6) width 3: "."
+      LayoutBlockFlow {P} at (0,533.70) size 769x18
+        LayoutText {#text} at (0,4) size 324x13
+          text run at (0,4) width 324: "This sentence should be rather small, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 53x18
+          LayoutText {#text} at (323,0) size 53x18
+            text run at (323,0) width 53: "medium"
+        LayoutText {#text} at (375,4) size 4x13
+          text run at (375,4) width 4: "."
+      LayoutBlockFlow {P} at (0,564.70) size 769x18
+        LayoutText {#text} at (0,2) size 387x15
+          text run at (0,2) width 387: "This sentence should be small, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 54x18
+          LayoutText {#text} at (386,0) size 54x18
+            text run at (386,0) width 54: "medium"
+        LayoutText {#text} at (439,2) size 4x15
+          text run at (439,2) width 4: "."
+      LayoutBlockFlow {P} at (0,600.70) size 769x22
+        LayoutText {#text} at (0,0) size 533x22
+          text run at (0,0) width 533: "This sentence should be large, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 53x18
+          LayoutText {#text} at (532,3) size 53x18
+            text run at (532,3) width 53: "medium"
+        LayoutText {#text} at (584,0) size 5x22
+          text run at (584,0) width 5: "."
+      LayoutBlockFlow {P} at (0,646.70) size 769x56
+        LayoutText {#text} at (0,0) size 766x28
+          text run at (0,0) width 766: "This sentence should be rather large, but the last word in the sentence should be"
+        LayoutInline {SPAN} at (0,0) size 53x18
+          LayoutText {#text} at (0,36) size 53x18
+            text run at (0,36) width 53: "medium"
+        LayoutText {#text} at (52,28) size 7x28
+          text run at (52,28) width 7: "."
+      LayoutBlockFlow {P} at (0,734.70) size 769x74
+        LayoutText {#text} at (0,0) size 754x74
+          text run at (0,0) width 754: "This sentence should be very large, but the last word in the"
+          text run at (0,37) width 250: "sentence should be "
+        LayoutInline {SPAN} at (0,0) size 54x18
+          LayoutText {#text} at (249,52) size 54x18
+            text run at (249,52) width 54: "medium"
+        LayoutText {#text} at (302,37) size 9x37
+          text run at (302,37) width 9: "."
+      LayoutBlockFlow {P} at (0,856.70) size 769x110
+        LayoutText {#text} at (0,0) size 699x110
+          text run at (0,0) width 699: "This sentence should be half an inch"
+          text run at (0,55) width 74: "tall."
+      LayoutBlockFlow {P} at (0,1014.70) size 769x43
+        LayoutText {#text} at (0,0) size 663x43
+          text run at (0,0) width 663: "This sentence should be one centimeter tall."
+      LayoutBlockFlow {P} at (0,1095.48) size 769x43
+        LayoutText {#text} at (0,0) size 667x43
+          text run at (0,0) width 667: "This sentence should be ten millimeters tall."
+      LayoutBlockFlow {P} at (0,1176.27) size 769x28
+        LayoutText {#text} at (0,0) size 425x28
+          text run at (0,0) width 425: "This sentence should be eighteen points tall."
+      LayoutBlockFlow {P} at (0,1228.27) size 769x28
+        LayoutText {#text} at (0,0) size 494x28
+          text run at (0,0) width 494: "This sentence should be one and one half picas tall."
+      LayoutBlockFlow {P} at (0,1288.27) size 769x37
+        LayoutText {#text} at (0,0) size 467x37
+          text run at (0,0) width 467: "This sentence should be two em tall."
+      LayoutBlockFlow {P} at (0,1357.27) size 769x24
+        LayoutText {#text} at (0,0) size 319x24
+          text run at (0,0) width 319: "This sentence should be three ex tall."
+      LayoutBlockFlow {P} at (0,1406.27) size 769x29
+        LayoutText {#text} at (0,0) size 471x29
+          text run at (0,0) width 471: "This sentence should be twenty-five pixels tall."
+      LayoutBlockFlow {P} at (0,1467.27) size 769x37
+        LayoutText {#text} at (0,0) size 549x37
+          text run at (0,0) width 549: "This sentence should be twice normal size."
+      LayoutBlockFlow {P} at (0,1536.27) size 769x18
+        LayoutText {#text} at (0,0) size 686x18
+          text run at (0,0) width 686: "This sentence should be normal size, since no negative values are allowed and therefore should be ignored."
+      LayoutTable {TABLE} at (0,1570.27) size 769x1225 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1223
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x1197
+            LayoutTableCell {TD} at (0,611) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x1197.27 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18
+                LayoutText {#text} at (0,0) size 707x18
+                  text run at (0,0) width 707: "This paragraph element is unstyled, so the size of the font in this element is the default size for this user agent."
+              LayoutBlockFlow {P} at (4,38) size 747x18
+                LayoutText {#text} at (0,0) size 190x18
+                  text run at (0,0) width 190: "This sentence has been set to "
+                LayoutInline {CODE} at (0,0) size 48x15
+                  LayoutText {#text} at (189,2) size 48x15
+                    text run at (189,2) width 48: "medium"
+                LayoutText {#text} at (236,0) size 368x18
+                  text run at (236,0) width 368: ", which may or may not be the same size as unstyled text."
+              LayoutBlockFlow {P} at (4,75.19) size 747x22
+                LayoutText {#text} at (0,0) size 380x22
+                  text run at (0,0) width 380: "This sentence should be larger than unstyled text."
+              LayoutBlockFlow {P} at (4,116.38) size 747x15
+                LayoutText {#text} at (0,0) size 272x15
+                  text run at (0,0) width 272: "This sentence should be smaller than unstyled text."
+              LayoutBlockFlow {P} at (4,144.70) size 747x18
+                LayoutText {#text} at (0,6) size 286x10
+                  text run at (0,6) width 286: "This sentence should be very small, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 54x18
+                  LayoutText {#text} at (285,0) size 54x18
+                    text run at (285,0) width 54: "medium"
+                LayoutText {#text} at (338,6) size 3x10
+                  text run at (338,6) width 3: "."
+              LayoutBlockFlow {P} at (4,172.70) size 747x18
+                LayoutText {#text} at (0,4) size 324x13
+                  text run at (0,4) width 324: "This sentence should be rather small, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 53x18
+                  LayoutText {#text} at (323,0) size 53x18
+                    text run at (323,0) width 53: "medium"
+                LayoutText {#text} at (375,4) size 4x13
+                  text run at (375,4) width 4: "."
+              LayoutBlockFlow {P} at (4,203.70) size 747x18
+                LayoutText {#text} at (0,2) size 387x15
+                  text run at (0,2) width 387: "This sentence should be small, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 54x18
+                  LayoutText {#text} at (386,0) size 54x18
+                    text run at (386,0) width 54: "medium"
+                LayoutText {#text} at (439,2) size 4x15
+                  text run at (439,2) width 4: "."
+              LayoutBlockFlow {P} at (4,239.70) size 747x22
+                LayoutText {#text} at (0,0) size 533x22
+                  text run at (0,0) width 533: "This sentence should be large, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 53x18
+                  LayoutText {#text} at (532,3) size 53x18
+                    text run at (532,3) width 53: "medium"
+                LayoutText {#text} at (584,0) size 5x22
+                  text run at (584,0) width 5: "."
+              LayoutBlockFlow {P} at (4,285.70) size 747x56
+                LayoutText {#text} at (0,0) size 737x56
+                  text run at (0,0) width 737: "This sentence should be rather large, but the last word in the sentence should"
+                  text run at (0,28) width 29: "be "
+                LayoutInline {SPAN} at (0,0) size 54x18
+                  LayoutText {#text} at (28,36) size 54x18
+                    text run at (28,36) width 54: "medium"
+                LayoutText {#text} at (81,28) size 7x28
+                  text run at (81,28) width 7: "."
+              LayoutBlockFlow {P} at (4,373.70) size 747x74
+                LayoutText {#text} at (0,0) size 706x74
+                  text run at (0,0) width 706: "This sentence should be very large, but the last word in"
+                  text run at (0,37) width 297: "the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 54x18
+                  LayoutText {#text} at (296,52) size 54x18
+                    text run at (296,52) width 54: "medium"
+                LayoutText {#text} at (349,37) size 9x37
+                  text run at (349,37) width 9: "."
+              LayoutBlockFlow {P} at (4,495.70) size 747x110
+                LayoutText {#text} at (0,0) size 699x110
+                  text run at (0,0) width 699: "This sentence should be half an inch"
+                  text run at (0,55) width 74: "tall."
+              LayoutBlockFlow {P} at (4,653.70) size 747x43
+                LayoutText {#text} at (0,0) size 663x43
+                  text run at (0,0) width 663: "This sentence should be one centimeter tall."
+              LayoutBlockFlow {P} at (4,734.48) size 747x43
+                LayoutText {#text} at (0,0) size 667x43
+                  text run at (0,0) width 667: "This sentence should be ten millimeters tall."
+              LayoutBlockFlow {P} at (4,815.27) size 747x28
+                LayoutText {#text} at (0,0) size 425x28
+                  text run at (0,0) width 425: "This sentence should be eighteen points tall."
+              LayoutBlockFlow {P} at (4,867.27) size 747x28
+                LayoutText {#text} at (0,0) size 494x28
+                  text run at (0,0) width 494: "This sentence should be one and one half picas tall."
+              LayoutBlockFlow {P} at (4,927.27) size 747x37
+                LayoutText {#text} at (0,0) size 467x37
+                  text run at (0,0) width 467: "This sentence should be two em tall."
+              LayoutBlockFlow {P} at (4,996.27) size 747x24
+                LayoutText {#text} at (0,0) size 319x24
+                  text run at (0,0) width 319: "This sentence should be three ex tall."
+              LayoutBlockFlow {P} at (4,1045.27) size 747x29
+                LayoutText {#text} at (0,0) size 471x29
+                  text run at (0,0) width 471: "This sentence should be twenty-five pixels tall."
+              LayoutBlockFlow {P} at (4,1106.27) size 747x37
+                LayoutText {#text} at (0,0) size 549x37
+                  text run at (0,0) width 549: "This sentence should be twice normal size."
+              LayoutBlockFlow {P} at (4,1175.27) size 747x18
+                LayoutText {#text} at (0,0) size 686x18
+                  text run at (0,0) width 686: "This sentence should be normal size, since no negative values are allowed and therefore should be ignored."
+layer at (8,355) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,347) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_style-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_style-expected.txt
new file mode 100644
index 0000000..c5cd1ea5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_style-expected.txt
@@ -0,0 +1,63 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x60
+        LayoutText {#text} at (0,0) size 242x60
+          text run at (0,0) width 203: ".one {font-style: italic;}"
+          text run at (202,0) width 1: " "
+          text run at (0,15) width 211: ".two {font-style: oblique;}"
+          text run at (210,15) width 1: " "
+          text run at (0,30) width 242: ".three, I {font-style: normal;}"
+          text run at (241,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 784x18
+        LayoutText {#text} at (0,0) size 510x18
+          text run at (0,0) width 510: "This paragraph should be in italics, but the last word of the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 46x18
+          LayoutText {#text} at (509,0) size 46x18
+            text run at (509,0) width 46: "normal"
+        LayoutText {#text} at (554,0) size 5x18
+          text run at (554,0) width 5: "."
+      LayoutBlockFlow {P} at (0,159) size 784x18
+        LayoutText {#text} at (0,0) size 222x18
+          text run at (0,0) width 222: "This paragraph should be oblique."
+      LayoutBlockFlow {P} at (0,193) size 784x18
+        LayoutInline {I} at (0,0) size 216x18
+          LayoutText {#text} at (0,0) size 216x18
+            text run at (0,0) width 216: "This paragraph should be normal."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,227) size 581x122 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 579x120
+          LayoutTableRow {TR} at (0,0) size 579x26
+            LayoutTableCell {TD} at (0,0) size 579x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 579x94
+            LayoutTableCell {TD} at (0,60) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 567x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 559x18
+                LayoutText {#text} at (0,0) size 510x18
+                  text run at (0,0) width 510: "This paragraph should be in italics, but the last word of the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 46x18
+                  LayoutText {#text} at (509,0) size 46x18
+                    text run at (509,0) width 46: "normal"
+                LayoutText {#text} at (554,0) size 5x18
+                  text run at (554,0) width 5: "."
+              LayoutBlockFlow {P} at (4,38) size 559x18
+                LayoutText {#text} at (0,0) size 222x18
+                  text run at (0,0) width 222: "This paragraph should be oblique."
+              LayoutBlockFlow {P} at (4,72) size 559x18
+                LayoutInline {I} at (0,0) size 216x18
+                  LayoutText {#text} at (0,0) size 216x18
+                    text run at (0,0) width 216: "This paragraph should be normal."
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt
new file mode 100644
index 0000000..948bd6c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt
@@ -0,0 +1,51 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x45
+        LayoutText {#text} at (0,0) size 250x45
+          text run at (0,0) width 250: ".one {font-variant: small-caps;}"
+          text run at (249,0) width 1: " "
+          text run at (0,15) width 219: ".two {font-variant: normal;}"
+          text run at (218,15) width 1: " "
+          text run at (0,30) width 0: " "
+      LayoutBlockFlow {P} at (0,110) size 784x18
+        LayoutText {#text} at (0,0) size 267x18
+          text run at (0,0) width 267: "This Paragraph should be in Small Caps."
+      LayoutBlockFlow {P} at (0,144) size 784x18
+        LayoutText {#text} at (0,0) size 570x18
+          text run at (0,0) width 570: "This Paragraph should be in Small Caps, but the Last Word in the Sentence should be "
+        LayoutInline {SPAN} at (0,0) size 49x18
+          LayoutText {#text} at (569,0) size 49x18
+            text run at (569,0) width 49: "Normal"
+        LayoutText {#text} at (617,0) size 5x18
+          text run at (617,0) width 5: "."
+      LayoutTable {TABLE} at (0,178) size 644x88 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 642x86
+          LayoutTableRow {TR} at (0,0) size 642x26
+            LayoutTableCell {TD} at (0,0) size 642x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 642x60
+            LayoutTableCell {TD} at (0,43) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 630x60 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 622x18
+                LayoutText {#text} at (0,0) size 267x18
+                  text run at (0,0) width 267: "This Paragraph should be in Small Caps."
+              LayoutBlockFlow {P} at (4,38) size 622x18
+                LayoutText {#text} at (0,0) size 570x18
+                  text run at (0,0) width 570: "This Paragraph should be in Small Caps, but the Last Word in the Sentence should be "
+                LayoutInline {SPAN} at (0,0) size 49x18
+                  LayoutText {#text} at (569,0) size 49x18
+                    text run at (569,0) width 49: "Normal"
+                LayoutText {#text} at (617,0) size 5x18
+                  text run at (617,0) width 5: "."
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_weight-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_weight-expected.txt
new file mode 100644
index 0000000..d35ca88
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/font_properties/font_weight-expected.txt
@@ -0,0 +1,125 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1046
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1046 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1045.80
+    LayoutBlockFlow {BODY} at (8,8) size 769x1029.80 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x165
+        LayoutText {#text} at (0,0) size 235x165
+          text run at (0,0) width 196: ".one {font-weight: bold;}"
+          text run at (195,0) width 1: " "
+          text run at (0,15) width 211: ".two {font-weight: bolder;}"
+          text run at (210,15) width 1: " "
+          text run at (0,30) width 235: ".three {font-weight: lighter;}"
+          text run at (234,30) width 1: " "
+          text run at (0,45) width 196: ".four {font-weight: 100;}"
+          text run at (195,45) width 1: " "
+          text run at (0,60) width 196: ".five {font-weight: 300;}"
+          text run at (195,60) width 1: " "
+          text run at (0,75) width 188: ".six {font-weight: 500;}"
+          text run at (187,75) width 1: " "
+          text run at (0,90) width 203: ".seven {font-weight: 700;}"
+          text run at (202,90) width 1: " "
+          text run at (0,105) width 203: ".eight {font-weight: 900;}"
+          text run at (202,105) width 1: " "
+          text run at (0,120) width 219: ".nine {font-weight: normal;}"
+          text run at (218,120) width 1: " "
+          text run at (0,135) width 196: "B {font-weight: lighter;}"
+          text run at (195,135) width 1: " "
+          text run at (0,150) width 0: " "
+      LayoutBlockFlow {P} at (0,230) size 769x18
+        LayoutText {#text} at (0,0) size 200x18
+          text run at (0,0) width 200: "This sentence should be bold."
+      LayoutBlockFlow {P} at (0,264) size 769x18
+        LayoutText {#text} at (0,0) size 303x18
+          text run at (0,0) width 303: "This sentence should be bolder than normal."
+      LayoutBlockFlow {H4} at (0,303.27) size 769x18
+        LayoutText {#text} at (0,0) size 133x18
+          text run at (0,0) width 133: "This is a heading-4."
+      LayoutBlockFlow {H4} at (0,342.53) size 769x18
+        LayoutText {#text} at (0,0) size 181x18
+          text run at (0,0) width 181: "This is a bolder heading-4."
+      LayoutBlockFlow {P} at (0,381.80) size 769x18
+        LayoutInline {B} at (0,0) size 361x18
+          LayoutText {#text} at (0,0) size 361x18
+            text run at (0,0) width 361: "This sentence should be normal (boldface made lighter)."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,415.80) size 769x18
+        LayoutText {#text} at (0,0) size 233x18
+          text run at (0,0) width 233: "This sentence should be weight 100."
+      LayoutBlockFlow {P} at (0,449.80) size 769x18
+        LayoutText {#text} at (0,0) size 233x18
+          text run at (0,0) width 233: "This sentence should be weight 300."
+      LayoutBlockFlow {P} at (0,483.80) size 769x18
+        LayoutText {#text} at (0,0) size 233x18
+          text run at (0,0) width 233: "This sentence should be weight 500."
+      LayoutBlockFlow {P} at (0,517.80) size 769x18
+        LayoutText {#text} at (0,0) size 243x18
+          text run at (0,0) width 243: "This sentence should be weight 700."
+      LayoutBlockFlow {P} at (0,551.80) size 769x18
+        LayoutText {#text} at (0,0) size 243x18
+          text run at (0,0) width 243: "This sentence should be weight 900."
+      LayoutBlockFlow {P} at (0,585.80) size 769x18
+        LayoutText {#text} at (0,0) size 498x18
+          text run at (0,0) width 498: "This sentence should be bold, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 46x18
+          LayoutText {#text} at (497,0) size 46x18
+            text run at (497,0) width 46: "normal"
+        LayoutText {#text} at (542,0) size 5x18
+          text run at (542,0) width 5: "."
+      LayoutTable {TABLE} at (0,619.80) size 569x410 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 567x408
+          LayoutTableRow {TR} at (0,0) size 567x26
+            LayoutTableCell {TD} at (0,0) size 567x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 567x382
+            LayoutTableCell {TD} at (0,204) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 555x381.80 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 547x18
+                LayoutText {#text} at (0,0) size 200x18
+                  text run at (0,0) width 200: "This sentence should be bold."
+              LayoutBlockFlow {P} at (4,38) size 547x18
+                LayoutText {#text} at (0,0) size 303x18
+                  text run at (0,0) width 303: "This sentence should be bolder than normal."
+              LayoutBlockFlow {H4} at (4,77.27) size 547x18
+                LayoutText {#text} at (0,0) size 133x18
+                  text run at (0,0) width 133: "This is a heading-4."
+              LayoutBlockFlow {H4} at (4,116.53) size 547x18
+                LayoutText {#text} at (0,0) size 181x18
+                  text run at (0,0) width 181: "This is a bolder heading-4."
+              LayoutBlockFlow {P} at (4,155.80) size 547x18
+                LayoutInline {B} at (0,0) size 361x18
+                  LayoutText {#text} at (0,0) size 361x18
+                    text run at (0,0) width 361: "This sentence should be normal (boldface made lighter)."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,189.80) size 547x18
+                LayoutText {#text} at (0,0) size 233x18
+                  text run at (0,0) width 233: "This sentence should be weight 100."
+              LayoutBlockFlow {P} at (4,223.80) size 547x18
+                LayoutText {#text} at (0,0) size 233x18
+                  text run at (0,0) width 233: "This sentence should be weight 300."
+              LayoutBlockFlow {P} at (4,257.80) size 547x18
+                LayoutText {#text} at (0,0) size 233x18
+                  text run at (0,0) width 233: "This sentence should be weight 500."
+              LayoutBlockFlow {P} at (4,291.80) size 547x18
+                LayoutText {#text} at (0,0) size 243x18
+                  text run at (0,0) width 243: "This sentence should be weight 700."
+              LayoutBlockFlow {P} at (4,325.80) size 547x18
+                LayoutText {#text} at (0,0) size 243x18
+                  text run at (0,0) width 243: "This sentence should be weight 900."
+              LayoutBlockFlow {P} at (4,359.80) size 547x18
+                LayoutText {#text} at (0,0) size 498x18
+                  text run at (0,0) width 498: "This sentence should be bold, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 46x18
+                  LayoutText {#text} at (497,0) size 46x18
+                    text run at (497,0) width 46: "normal"
+                LayoutText {#text} at (542,0) size 5x18
+                  text run at (542,0) width 5: "."
+layer at (8,220) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,212) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/canvas-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/canvas-expected.txt
new file mode 100644
index 0000000..af8806a5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/canvas-expected.txt
@@ -0,0 +1,42 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (25,25) size 750x550 [bgcolor=#008000]
+      LayoutBlockFlow {P} at (0,0) size 750x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 750x30
+        LayoutText {#text} at (0,0) size 539x30
+          text run at (0,0) width 235: "HTML {background-color: aqua;}"
+          text run at (234,0) width 1: " "
+          text run at (0,15) width 539: "BODY {background-color: green; background-image: none; margin: 25px;}"
+          text run at (538,15) width 1: " "
+      LayoutBlockFlow {P} at (0,95) size 750x54
+        LayoutText {#text} at (0,0) size 747x54
+          text run at (0,0) width 392: "The body of this document should have a green background. "
+          text run at (391,0) width 316: "It also has a margin of 25 pixels, so the light blue"
+          text run at (0,18) width 434: "background set for the HTML element should surround the BODY. "
+          text run at (433,18) width 314: "If the BODY content is significantly shorter than"
+          text run at (0,36) width 528: "the browser's window height, then the bottom border may be larger than 25 pixels."
+      LayoutTable {TABLE} at (0,165) size 750x90 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 748x88
+          LayoutTableRow {TR} at (0,0) size 748x26
+            LayoutTableCell {TD} at (0,0) size 748x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 748x62
+            LayoutTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 736x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 728x54
+                LayoutText {#text} at (0,0) size 715x54
+                  text run at (0,0) width 392: "The body of this document should have a green background. "
+                  text run at (391,0) width 316: "It also has a margin of 25 pixels, so the light blue"
+                  text run at (0,18) width 434: "background set for the HTML element should surround the BODY. "
+                  text run at (433,18) width 282: "If the BODY content is significantly shorter"
+                  text run at (0,36) width 559: "than the browser's window height, then the bottom border may be larger than 25 pixels."
+layer at (25,102) size 750x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,77) size 750x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/floating_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/floating_elements-expected.txt
new file mode 100644
index 0000000..552b60d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/floating_elements-expected.txt
@@ -0,0 +1,755 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 6353
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x6353 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x6353
+    LayoutBlockFlow {BODY} at (8,8) size 769x6337 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x135
+        LayoutText {#text} at (0,0) size 469x135
+          text run at (0,0) width 266: "HR.minor {clear: both; width: 5%;}"
+          text run at (265,0) width 1: " "
+          text run at (0,15) width 391: "HR.major {clear: both; width: 75%; margin: 1.5em;}"
+          text run at (390,15) width 1: " "
+          text run at (0,30) width 469: "DIV {border: 5px solid purple; padding: 0; margin: 0.125em;}"
+          text run at (468,30) width 1: " "
+          text run at (0,45) width 422: "P.left, P.right {width: 10em; padding: 1em; margin: 0;"
+          text run at (421,45) width 1: " "
+          text run at (0,60) width 414: "   border: 1px solid lime; background-color: silver;}"
+          text run at (413,60) width 1: " "
+          text run at (0,75) width 445: "IMG.left, IMG.right {margin: 0; border: 3px solid black;}"
+          text run at (444,75) width 1: " "
+          text run at (0,90) width 157: ".left {float: left;}"
+          text run at (156,90) width 1: " "
+          text run at (0,105) width 172: ".right {float: right;}"
+          text run at (171,105) width 1: " "
+          text run at (0,120) width 0: " "
+      LayoutBlockFlow {P} at (0,200) size 769x54
+        LayoutText {#text} at (0,0) size 762x54
+          text run at (0,0) width 694: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. "
+          text run at (693,0) width 69: "Other than"
+          text run at (0,18) width 728: "the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the"
+          text run at (0,36) width 39: "floats."
+      LayoutBlockFlow {DIV} at (2,304) size 765x100 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 134x54
+            text run at (17,17) width 134: "This is a left-floating"
+            text run at (17,35) width 115: "paragraph (first in"
+            text run at (17,53) width 52: "source)."
+        LayoutBlockFlow (floating) {P} at (566,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 143x54
+            text run at (17,17) width 143: "This is a right-floating"
+            text run at (17,35) width 135: "paragraph (second in"
+            text run at (17,53) width 52: "source)."
+        LayoutText {#text} at (199,5) size 362x90
+          text run at (199,5) width 178: "This is text within the DIV. "
+          text run at (376,5) width 185: "The floating elements within"
+          text run at (199,23) width 336: "this DIV should not go beyond the left or right inner"
+          text run at (199,41) width 342: "edge of this DIV, which means that the borders of the"
+          text run at (199,59) width 328: "floating elements should not overlap the top or side"
+          text run at (199,77) width 124: "borders of the DIV."
+      LayoutBlockFlow {DIV} at (2,422) size 765x64 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (20,5) size 739x54
+          text run at (20,5) width 178: "This is text within the DIV. "
+          text run at (197,5) width 547: "The floating images within this DIV should not go beyond the left or right inner edge"
+          text run at (20,23) width 721: "of this DIV, which means that the borders of the floating images should not overlap the top or side borders of the"
+          text run at (5,41) width 31: "DIV."
+      LayoutBlockFlow {DIV} at (2,536) size 442x226 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 127x36
+            text run at (17,17) width 127: "This is the first left-"
+            text run at (17,35) width 121: "floating paragraph."
+        LayoutBlockFlow (floating) {P} at (199,5) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 146x36
+            text run at (17,17) width 146: "This is the second left-"
+            text run at (17,35) width 121: "floating paragraph."
+        LayoutBlockFlow (floating) {P} at (5,75) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 132x36
+            text run at (17,17) width 132: "This is the third left-"
+            text run at (17,35) width 121: "floating paragraph."
+        LayoutText {#text} at (393,5) size 432x216
+          text run at (393,5) width 44: "This is"
+          text run at (393,23) width 24: "text"
+          text run at (393,41) width 41: "within"
+          text run at (393,59) width 20: "the"
+          text run at (199,77) width 35: "DIV. "
+          text run at (233,77) width 184: "The floating elements within"
+          text run at (199,95) width 222: "this DIV should not go beyond the"
+          text run at (199,113) width 223: "left or right inner edge of this DIV,"
+          text run at (199,131) width 229: "which means that the borders of the"
+          text run at (5,149) width 421: "floating elements should not overlap the top or side borders of the"
+          text run at (5,167) width 110: "DIV in any way. "
+          text run at (114,167) width 303: "In addition, they should not overlap each other."
+          text run at (5,185) width 432: "The first two should be side by side, whereas the third should be on"
+          text run at (5,203) width 97: "the next \"line.\""
+      LayoutBlockFlow {DIV} at (2,780) size 360x208 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (317,5) size 344x198
+          text run at (317,5) width 29: "This"
+          text run at (317,23) width 11: "is"
+          text run at (161,41) width 131: "text within the DIV. "
+          text run at (291,41) width 26: "The"
+          text run at (161,59) width 171: "floating images within this"
+          text run at (5,77) width 343: "DIV should not go beyond the left or right inner edge"
+          text run at (5,95) width 308: "of this DIV, which means that the borders of the"
+          text run at (5,113) width 317: "floating images should not overlap the top or side"
+          text run at (5,131) width 203: "borders of the DIV in any way. "
+          text run at (207,131) width 106: "In addition, they"
+          text run at (5,149) width 197: "should not overlap each other. "
+          text run at (201,149) width 148: "The first two should be"
+          text run at (5,167) width 335: "side by side, whereas the third should be on the next"
+          text run at (5,185) width 42: "\"line.\""
+      LayoutBlockFlow {DIV} at (2,1038) size 314x350 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 134x54
+            text run at (17,17) width 134: "This is a left-floating"
+            text run at (17,35) width 115: "paragraph (first in"
+            text run at (17,53) width 52: "source)."
+        LayoutBlockFlow (floating) {P} at (115,93) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 143x54
+            text run at (17,17) width 143: "This is a right-floating"
+            text run at (17,35) width 135: "paragraph (second in"
+            text run at (17,53) width 52: "source)."
+        LayoutText {#text} at (199,5) size 301x340
+          text run at (199,5) width 72: "This is text"
+          text run at (199,23) width 99: "within the DIV."
+          text run at (199,41) width 78: "The floating"
+          text run at (199,59) width 102: "elements within"
+          text run at (5,93) width 103: "this DIV should"
+          text run at (5,111) width 92: "not go beyond"
+          text run at (5,129) width 97: "the left or right"
+          text run at (5,147) width 85: "inner edge of"
+          text run at (5,165) width 101: "this DIV, which"
+          text run at (5,183) width 300: "means that the borders of the floating elements"
+          text run at (5,201) width 284: "should not overlap the top or side borders of"
+          text run at (5,219) width 134: "the DIV in any way. "
+          text run at (138,219) width 153: "In addition, they should"
+          text run at (5,237) width 292: "not overlap each other in any way, nor should"
+          text run at (5,255) width 301: "the floated elements be overwritten by the DIV"
+          text run at (5,273) width 32: "text. "
+          text run at (36,273) width 254: "In addition, the floated elements should"
+          text run at (5,291) width 299: "not be side-by-side, but instead the first should"
+          text run at (5,309) width 279: "be floated left, and the second floated to the"
+          text run at (5,327) width 130: "right below the first."
+      LayoutBlockFlow {DIV} at (2,1406) size 410x226 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (261,5) size 396x216
+          text run at (261,5) width 140: "This is text within the"
+          text run at (261,23) width 35: "DIV. "
+          text run at (295,23) width 79: "The floating"
+          text run at (5,41) width 118: "images within this"
+          text run at (5,59) width 120: "DIV should not go"
+          text run at (5,77) width 386: "beyond the left or right inner edge of this DIV, which means"
+          text run at (5,95) width 390: "that the borders of the floating images should not overlap the"
+          text run at (5,113) width 274: "top or side borders of the DIV in any way. "
+          text run at (279,113) width 106: "In addition, they"
+          text run at (5,131) width 362: "should not overlap each other in any way, nor should the"
+          text run at (5,149) width 314: "floated elements be overwritten by the DIV text. "
+          text run at (318,149) width 74: "In addition,"
+          text run at (5,167) width 391: "the floated images should not be side-by-side, but instead the"
+          text run at (5,185) width 389: "first should be floated left, and the second floated to the right"
+          text run at (5,203) width 96: "below the first."
+      LayoutBlockFlow {DIV} at (2,1682) size 765x118 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (566,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 143x54
+            text run at (17,17) width 143: "This is a right-floating"
+            text run at (17,35) width 115: "paragraph (first in"
+            text run at (17,53) width 52: "source)."
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 135x54
+            text run at (17,17) width 134: "This is a left-floating"
+            text run at (17,35) width 135: "paragraph (second in"
+            text run at (17,53) width 52: "source)."
+        LayoutText {#text} at (199,5) size 556x108
+          text run at (199,5) width 178: "This is text within the DIV. "
+          text run at (376,5) width 185: "The floating elements within"
+          text run at (199,23) width 355: "this DIV should not go beyond the top side of this DIV,"
+          text run at (199,41) width 343: "which means that the borders of the floating elements"
+          text run at (199,59) width 356: "should not overlap the top or side borders of the DIV in"
+          text run at (199,77) width 61: "any way. "
+          text run at (259,77) width 271: "In addition, the top of the left-floating box"
+          text run at (5,95) width 372: "should not be higher than the top of the right-floating box."
+      LayoutBlockFlow {DIV} at (2,1818) size 765x64 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (20,5) size 733x54
+          text run at (20,5) width 178: "This is text within the DIV. "
+          text run at (197,5) width 532: "The floating images within this DIV should not go beyond the top side of this DIV,"
+          text run at (20,23) width 718: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in any"
+          text run at (5,41) width 34: "way. "
+          text run at (38,41) width 677: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image."
+      LayoutBlockFlow {DIV} at (2,1932) size 765x136 [border: (5px solid #800080)]
+        LayoutText {#text} at (199,5) size 186x18
+          text run at (199,5) width 178: "This is text within the DIV. "
+          text run at (376,5) width 9: "*"
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 134x54
+            text run at (17,17) width 134: "This is a left-floating"
+            text run at (17,35) width 115: "paragraph (first in"
+            text run at (17,53) width 52: "source)."
+        LayoutText {#text} at (384,5) size 551x36
+          text run at (384,5) width 366: " The floating elements within this DIV should not go any"
+          text run at (199,23) width 487: "higher than the line-box containing the inline content which precedes them. "
+          text run at (685,23) width 13: "* "
+        LayoutBlockFlow (floating) {P} at (566,41) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 143x54
+            text run at (17,17) width 143: "This is a right-floating"
+            text run at (17,35) width 135: "paragraph (second in"
+            text run at (17,53) width 52: "source)."
+        LayoutText {#text} at (697,23) size 722x108
+          text run at (697,23) width 30: "This"
+          text run at (199,41) width 351: "means that the top side of each float can be, at most, as"
+          text run at (199,59) width 359: "high as the top edge of the inline element containing the"
+          text run at (199,77) width 336: "content just before the floating elements occur in the"
+          text run at (5,95) width 50: "source. "
+          text run at (54,95) width 494: "In order to mark these points clearly, an asterisk has been inserted just before"
+          text run at (5,113) width 136: "each floated element."
+      LayoutBlockFlow {DIV} at (2,2086) size 765x82 [border: (5px solid #800080)]
+        LayoutText {#text} at (20,5) size 186x18
+          text run at (20,5) width 178: "This is text within the DIV. "
+          text run at (197,5) width 9: "*"
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (205,5) size 697x36
+          text run at (205,5) width 512: " The floating images within this DIV should not go any higher than the line-box"
+          text run at (20,23) width 330: "containing the inline content which precedes them. "
+          text run at (349,23) width 13: "* "
+        LayoutImage (floating) {IMG} at (745,23) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (361,23) size 723x54
+          text run at (361,23) width 367: "This means that the top side of each float can be, at most,"
+          text run at (5,41) width 705: "as high as the top edge of the inline element containing the content just before the floating images occur in the"
+          text run at (5,59) width 50: "source. "
+          text run at (54,59) width 622: "In order to mark these points clearly, an asterisk has been inserted just before each floated image."
+      LayoutBlockFlow {DIV} at (2,2218) size 765x262 [border: (5px solid #800080)]
+        LayoutText {#text} at (199,5) size 186x18
+          text run at (199,5) width 178: "This is text within the DIV. "
+          text run at (376,5) width 9: "*"
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 134x54
+            text run at (17,17) width 134: "This is a left-floating"
+            text run at (17,35) width 115: "paragraph (first in"
+            text run at (17,53) width 52: "source)."
+        LayoutText {#text} at (384,5) size 551x36
+          text run at (384,5) width 366: " The floating elements within this DIV should not go any"
+          text run at (199,23) width 487: "higher than the line-box containing the inline content which precedes them. "
+          text run at (685,23) width 13: "* "
+        LayoutBlockFlow (floating) {P} at (566,41) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 143x54
+            text run at (17,17) width 143: "This is a right-floating"
+            text run at (17,35) width 135: "paragraph (second in"
+            text run at (17,53) width 52: "source)."
+        LayoutText {#text} at (697,23) size 528x36
+          text run at (697,23) width 30: "This"
+          text run at (199,41) width 288: "means that the top side of each float can be,*"
+        LayoutBlockFlow (floating) {P} at (199,59) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 134x54
+            text run at (17,17) width 134: "This is a left-floating"
+            text run at (17,35) width 120: "paragraph (third in"
+            text run at (17,53) width 52: "source)."
+        LayoutText {#text} at (486,41) size 276x108
+          text run at (486,41) width 72: " at most, as"
+          text run at (393,59) width 169: "high as the top edge of the"
+          text run at (393,77) width 163: "inline element containing"
+          text run at (393,95) width 167: "the content just before the"
+          text run at (393,113) width 166: "floating elements occur in"
+          text run at (587,131) width 74: "the source. "
+          text run at (660,131) width 9: "*"
+        LayoutBlockFlow (floating) {P} at (393,131) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 134x54
+            text run at (17,17) width 134: "This is a left-floating"
+            text run at (17,35) width 129: "paragraph (fourth in"
+            text run at (17,53) width 52: "source)."
+        LayoutText {#text} at (668,131) size 746x126
+          text run at (668,131) width 72: " In order to"
+          text run at (587,149) width 164: "mark these points clearly,"
+          text run at (587,167) width 128: "an asterisk has been"
+          text run at (587,185) width 156: "inserted just before each"
+          text run at (587,203) width 107: "floated element. "
+          text run at (693,203) width 50: "If a line"
+          text run at (5,221) width 739: "has room for a floated element, then the element should float so that its top is aligned with the top of the line-box in"
+          text run at (5,239) width 177: "which the asterisk appears. "
+          text run at (181,239) width 411: "Otherwise, its top should align with the top of the next line-box."
+      LayoutBlockFlow {DIV} at (2,2498) size 765x118 [border: (5px solid #800080)]
+        LayoutText {#text} at (20,5) size 186x18
+          text run at (20,5) width 178: "This is text within the DIV. "
+          text run at (197,5) width 9: "*"
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (205,5) size 682x36
+          text run at (205,5) width 512: " The floating images within this DIV should not go any higher than the line-box"
+          text run at (35,23) width 330: "containing the inline content which precedes them. "
+          text run at (364,23) width 13: "* "
+        LayoutImage (floating) {IMG} at (745,23) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (376,23) size 325x18
+          text run at (376,23) width 317: "This means that the top side of each float can be, "
+          text run at (692,23) width 9: "*"
+        LayoutImage (floating) {IMG} at (20,23) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (700,23) size 719x54
+          text run at (700,23) width 16: " at"
+          text run at (35,41) width 704: "most, as high as the top edge of the inline element containing the content just before the floating images occur"
+          text run at (20,59) width 90: "in the source. "
+          text run at (109,59) width 9: "*"
+        LayoutImage (floating) {IMG} at (5,59) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (117,59) size 754x54
+          text run at (117,59) width 630: " In order to mark these points clearly, an asterisk has been inserted just before each floated image. "
+          text run at (746,59) width 12: "If"
+          text run at (20,77) width 739: "a line has room for a floated image, then the image should float so that its top is aligned with the top of the line-box"
+          text run at (5,95) width 193: "in which the asterisk appears. "
+          text run at (197,95) width 411: "Otherwise, its top should align with the top of the next line-box."
+      LayoutBlockFlow {DIV} at (2,2666) size 490x298 [border: (5px solid #800080)]
+        LayoutText {#text} at (199,5) size 56x18
+          text run at (199,5) width 56: "This is *"
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 134x54
+            text run at (17,17) width 134: "This is a left-floating"
+            text run at (17,35) width 115: "paragraph (first in"
+            text run at (17,53) width 52: "source)."
+        LayoutText {#text} at (254,5) size 13x18
+          text run at (254,5) width 13: " *"
+        LayoutBlockFlow (floating) {P} at (291,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 143x54
+            text run at (17,17) width 143: "This is a right-floating"
+            text run at (17,35) width 135: "paragraph (second in"
+            text run at (17,53) width 52: "source)."
+        LayoutText {#text} at (199,23) size 479x270
+          text run at (199,23) width 69: "text within"
+          text run at (199,41) width 54: "the DIV."
+          text run at (199,59) width 85: "Under CSS1,"
+          text run at (199,77) width 45: "the left"
+          text run at (5,95) width 468: "floating element should be placed in the upper left corner of the DIV, and"
+          text run at (5,113) width 465: "the purple border of the DIV should abut the green border of the floating"
+          text run at (5,131) width 59: "element. "
+          text run at (63,131) width 421: "Similarly, the right floating element should be placed in the upper"
+          text run at (5,149) width 467: "right corner of the DIV, and the purple border of the DIV should abut the"
+          text run at (5,167) width 466: "green border of the floating element. The text of the DIV element should"
+          text run at (5,185) width 433: "flow between and under the two floating elements. The two asterisk"
+          text run at (5,203) width 477: "characters mark the insertion points of the floating elements. It is expected"
+          text run at (5,221) width 477: "that, under future specifications, it may be acceptable for the top of floated"
+          text run at (5,239) width 475: "elements to align with the top of the line-box following the insertion point"
+          text run at (5,257) width 449: "of the floated element to avoid floating elements appearing before text"
+          text run at (5,275) width 269: "which precedes it in the source document."
+      LayoutBlockFlow {DIV} at (2,2982) size 490x226 [border: (5px solid #800080)]
+        LayoutText {#text} at (20,5) size 56x18
+          text run at (20,5) width 56: "This is *"
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (75,5) size 13x18
+          text run at (75,5) width 13: " *"
+        LayoutImage (floating) {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (87,5) size 472x216
+          text run at (87,5) width 135: " text within the DIV. "
+          text run at (221,5) width 231: "Under CSS1, the left floating image"
+          text run at (20,23) width 429: "should be placed in the upper left corner of the DIV, and the purple"
+          text run at (5,41) width 443: "border of the DIV should abut the green border of the floating image."
+          text run at (5,59) width 443: "Similarly, the right floating image should be placed in the upper right"
+          text run at (5,77) width 472: "corner of the DIV, and the purple border of the DIV should abut the green"
+          text run at (5,95) width 447: "border of the floating image. The text of the DIV element should flow"
+          text run at (5,113) width 451: "between and under the two floating image. The two asterisk characters"
+          text run at (5,131) width 305: "mark the insertion points of the floating image. "
+          text run at (309,131) width 159: "It is expected that, under"
+          text run at (5,149) width 465: "future specifications, it may be acceptable for the top of floated elements"
+          text run at (5,167) width 455: "to align with the top of the line-box following the insertion point of the"
+          text run at (5,185) width 451: "floated element to avoid floating elements appearing before text which"
+          text run at (5,203) width 226: "precedes it in the source document."
+      LayoutTable {TABLE} at (0,3258) size 769x3079 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x3077
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x3051
+            LayoutTableCell {TD} at (0,1538) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x3051 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x54
+                LayoutText {#text} at (0,0) size 736x54
+                  text run at (0,0) width 694: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. "
+                  text run at (693,0) width 38: "Other"
+                  text run at (0,18) width 736: "than the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of"
+                  text run at (0,36) width 63: "the floats."
+              LayoutBlockFlow {DIV} at (6,108) size 743x100 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 134x54
+                    text run at (17,17) width 134: "This is a left-floating"
+                    text run at (17,35) width 115: "paragraph (first in"
+                    text run at (17,53) width 52: "source)."
+                LayoutBlockFlow (floating) {P} at (544,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 143x54
+                    text run at (17,17) width 143: "This is a right-floating"
+                    text run at (17,35) width 135: "paragraph (second in"
+                    text run at (17,53) width 52: "source)."
+                LayoutText {#text} at (199,5) size 344x90
+                  text run at (199,5) width 178: "This is text within the DIV. "
+                  text run at (376,5) width 140: "The floating elements"
+                  text run at (199,23) width 344: "within this DIV should not go beyond the left or right"
+                  text run at (199,41) width 338: "inner edge of this DIV, which means that the borders"
+                  text run at (199,59) width 340: "of the floating elements should not overlap the top or"
+                  text run at (199,77) width 153: "side borders of the DIV."
+              LayoutBlockFlow {DIV} at (6,226) size 743x64 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (20,5) size 704x54
+                  text run at (20,5) width 178: "This is text within the DIV. "
+                  text run at (197,5) width 512: "The floating images within this DIV should not go beyond the left or right inner"
+                  text run at (20,23) width 662: "edge of this DIV, which means that the borders of the floating images should not overlap the top or side"
+                  text run at (5,41) width 124: "borders of the DIV."
+              LayoutBlockFlow {DIV} at (6,340) size 442x226 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 127x36
+                    text run at (17,17) width 127: "This is the first left-"
+                    text run at (17,35) width 121: "floating paragraph."
+                LayoutBlockFlow (floating) {P} at (199,5) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 146x36
+                    text run at (17,17) width 146: "This is the second left-"
+                    text run at (17,35) width 121: "floating paragraph."
+                LayoutBlockFlow (floating) {P} at (5,75) size 194x70 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 132x36
+                    text run at (17,17) width 132: "This is the third left-"
+                    text run at (17,35) width 121: "floating paragraph."
+                LayoutText {#text} at (393,5) size 432x216
+                  text run at (393,5) width 44: "This is"
+                  text run at (393,23) width 24: "text"
+                  text run at (393,41) width 41: "within"
+                  text run at (393,59) width 20: "the"
+                  text run at (199,77) width 35: "DIV. "
+                  text run at (233,77) width 184: "The floating elements within"
+                  text run at (199,95) width 222: "this DIV should not go beyond the"
+                  text run at (199,113) width 223: "left or right inner edge of this DIV,"
+                  text run at (199,131) width 229: "which means that the borders of the"
+                  text run at (5,149) width 421: "floating elements should not overlap the top or side borders of the"
+                  text run at (5,167) width 110: "DIV in any way. "
+                  text run at (114,167) width 303: "In addition, they should not overlap each other."
+                  text run at (5,185) width 432: "The first two should be side by side, whereas the third should be on"
+                  text run at (5,203) width 97: "the next \"line.\""
+              LayoutBlockFlow {DIV} at (6,584) size 360x208 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (317,5) size 344x198
+                  text run at (317,5) width 29: "This"
+                  text run at (317,23) width 11: "is"
+                  text run at (161,41) width 131: "text within the DIV. "
+                  text run at (291,41) width 26: "The"
+                  text run at (161,59) width 171: "floating images within this"
+                  text run at (5,77) width 343: "DIV should not go beyond the left or right inner edge"
+                  text run at (5,95) width 308: "of this DIV, which means that the borders of the"
+                  text run at (5,113) width 317: "floating images should not overlap the top or side"
+                  text run at (5,131) width 203: "borders of the DIV in any way. "
+                  text run at (207,131) width 106: "In addition, they"
+                  text run at (5,149) width 197: "should not overlap each other. "
+                  text run at (201,149) width 148: "The first two should be"
+                  text run at (5,167) width 335: "side by side, whereas the third should be on the next"
+                  text run at (5,185) width 42: "\"line.\""
+              LayoutBlockFlow {DIV} at (6,842) size 314x350 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 134x54
+                    text run at (17,17) width 134: "This is a left-floating"
+                    text run at (17,35) width 115: "paragraph (first in"
+                    text run at (17,53) width 52: "source)."
+                LayoutBlockFlow (floating) {P} at (115,93) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 143x54
+                    text run at (17,17) width 143: "This is a right-floating"
+                    text run at (17,35) width 135: "paragraph (second in"
+                    text run at (17,53) width 52: "source)."
+                LayoutText {#text} at (199,5) size 301x340
+                  text run at (199,5) width 72: "This is text"
+                  text run at (199,23) width 99: "within the DIV."
+                  text run at (199,41) width 78: "The floating"
+                  text run at (199,59) width 102: "elements within"
+                  text run at (5,93) width 103: "this DIV should"
+                  text run at (5,111) width 92: "not go beyond"
+                  text run at (5,129) width 97: "the left or right"
+                  text run at (5,147) width 85: "inner edge of"
+                  text run at (5,165) width 101: "this DIV, which"
+                  text run at (5,183) width 300: "means that the borders of the floating elements"
+                  text run at (5,201) width 284: "should not overlap the top or side borders of"
+                  text run at (5,219) width 134: "the DIV in any way. "
+                  text run at (138,219) width 153: "In addition, they should"
+                  text run at (5,237) width 292: "not overlap each other in any way, nor should"
+                  text run at (5,255) width 301: "the floated elements be overwritten by the DIV"
+                  text run at (5,273) width 32: "text. "
+                  text run at (36,273) width 254: "In addition, the floated elements should"
+                  text run at (5,291) width 299: "not be side-by-side, but instead the first should"
+                  text run at (5,309) width 279: "be floated left, and the second floated to the"
+                  text run at (5,327) width 130: "right below the first."
+              LayoutBlockFlow {DIV} at (6,1210) size 410x226 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (261,5) size 396x216
+                  text run at (261,5) width 140: "This is text within the"
+                  text run at (261,23) width 35: "DIV. "
+                  text run at (295,23) width 79: "The floating"
+                  text run at (5,41) width 118: "images within this"
+                  text run at (5,59) width 120: "DIV should not go"
+                  text run at (5,77) width 386: "beyond the left or right inner edge of this DIV, which means"
+                  text run at (5,95) width 390: "that the borders of the floating images should not overlap the"
+                  text run at (5,113) width 274: "top or side borders of the DIV in any way. "
+                  text run at (279,113) width 106: "In addition, they"
+                  text run at (5,131) width 362: "should not overlap each other in any way, nor should the"
+                  text run at (5,149) width 314: "floated elements be overwritten by the DIV text. "
+                  text run at (318,149) width 74: "In addition,"
+                  text run at (5,167) width 391: "the floated images should not be side-by-side, but instead the"
+                  text run at (5,185) width 389: "first should be floated left, and the second floated to the right"
+                  text run at (5,203) width 96: "below the first."
+              LayoutBlockFlow {DIV} at (6,1486) size 743x118 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (544,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 143x54
+                    text run at (17,17) width 143: "This is a right-floating"
+                    text run at (17,35) width 115: "paragraph (first in"
+                    text run at (17,53) width 52: "source)."
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 135x54
+                    text run at (17,17) width 134: "This is a left-floating"
+                    text run at (17,35) width 135: "paragraph (second in"
+                    text run at (17,53) width 52: "source)."
+                LayoutText {#text} at (199,5) size 539x108
+                  text run at (199,5) width 178: "This is text within the DIV. "
+                  text run at (376,5) width 140: "The floating elements"
+                  text run at (199,23) width 338: "within this DIV should not go beyond the top side of"
+                  text run at (199,41) width 343: "this DIV, which means that the borders of the floating"
+                  text run at (199,59) width 345: "elements should not overlap the top or side borders of"
+                  text run at (199,77) width 134: "the DIV in any way. "
+                  text run at (332,77) width 194: "In addition, the top of the left-"
+                  text run at (5,95) width 453: "floating box should not be higher than the top of the right-floating box."
+              LayoutBlockFlow {DIV} at (6,1622) size 743x82 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (20,5) size 691x72
+                  text run at (20,5) width 178: "This is text within the DIV. "
+                  text run at (197,5) width 497: "The floating images within this DIV should not go beyond the top side of this"
+                  text run at (20,23) width 676: "DIV, which means that the borders of the floating images should not overlap the top or side borders of the"
+                  text run at (5,41) width 110: "DIV in any way. "
+                  text run at (114,41) width 581: "In addition, the top of the left-floating image should not be higher than the top of the right-"
+                  text run at (5,59) width 96: "floating image."
+              LayoutBlockFlow {DIV} at (6,1754) size 743x136 [border: (5px solid #800080)]
+                LayoutText {#text} at (199,5) size 186x18
+                  text run at (199,5) width 178: "This is text within the DIV. "
+                  text run at (376,5) width 9: "*"
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 134x54
+                    text run at (17,17) width 134: "This is a left-floating"
+                    text run at (17,35) width 115: "paragraph (first in"
+                    text run at (17,53) width 52: "source)."
+                LayoutText {#text} at (384,5) size 524x36
+                  text run at (384,5) width 339: " The floating elements within this DIV should not go"
+                  text run at (199,23) width 515: "any higher than the line-box containing the inline content which precedes them. "
+                  text run at (713,23) width 9: "*"
+                LayoutBlockFlow (floating) {P} at (544,41) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 143x54
+                    text run at (17,17) width 143: "This is a right-floating"
+                    text run at (17,35) width 135: "paragraph (second in"
+                    text run at (17,53) width 52: "source)."
+                LayoutText {#text} at (199,41) size 523x90
+                  text run at (199,41) width 327: "This means that the top side of each float can be, at"
+                  text run at (199,59) width 321: "most, as high as the top edge of the inline element"
+                  text run at (199,77) width 291: "containing the content just before the floating"
+                  text run at (5,95) width 191: "elements occur in the source. "
+                  text run at (195,95) width 333: "In order to mark these points clearly, an asterisk has"
+                  text run at (5,113) width 297: "been inserted just before each floated element."
+              LayoutBlockFlow {DIV} at (6,1908) size 743x82 [border: (5px solid #800080)]
+                LayoutText {#text} at (20,5) size 186x18
+                  text run at (20,5) width 178: "This is text within the DIV. "
+                  text run at (197,5) width 9: "*"
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (205,5) size 697x36
+                  text run at (205,5) width 512: " The floating images within this DIV should not go any higher than the line-box"
+                  text run at (20,23) width 330: "containing the inline content which precedes them. "
+                  text run at (349,23) width 13: "* "
+                LayoutImage (floating) {IMG} at (723,23) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (361,23) size 711x54
+                  text run at (361,23) width 328: "This means that the top side of each float can be, at"
+                  text run at (5,41) width 704: "most, as high as the top edge of the inline element containing the content just before the floating images occur"
+                  text run at (5,59) width 90: "in the source. "
+                  text run at (94,59) width 622: "In order to mark these points clearly, an asterisk has been inserted just before each floated image."
+              LayoutBlockFlow {DIV} at (6,2040) size 743x226 [border: (5px solid #800080)]
+                LayoutText {#text} at (199,5) size 186x18
+                  text run at (199,5) width 178: "This is text within the DIV. "
+                  text run at (376,5) width 9: "*"
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 134x54
+                    text run at (17,17) width 134: "This is a left-floating"
+                    text run at (17,35) width 115: "paragraph (first in"
+                    text run at (17,53) width 52: "source)."
+                LayoutText {#text} at (384,5) size 524x36
+                  text run at (384,5) width 339: " The floating elements within this DIV should not go"
+                  text run at (199,23) width 515: "any higher than the line-box containing the inline content which precedes them. "
+                  text run at (713,23) width 9: "*"
+                LayoutBlockFlow (floating) {P} at (544,41) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 143x54
+                    text run at (17,17) width 143: "This is a right-floating"
+                    text run at (17,35) width 135: "paragraph (second in"
+                    text run at (17,53) width 52: "source)."
+                LayoutText {#text} at (199,41) size 320x18
+                  text run at (199,41) width 320: "This means that the top side of each float can be,*"
+                LayoutBlockFlow (floating) {P} at (199,59) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 134x54
+                    text run at (17,17) width 134: "This is a left-floating"
+                    text run at (17,35) width 120: "paragraph (third in"
+                    text run at (17,53) width 52: "source)."
+                LayoutText {#text} at (518,41) size 252x108
+                  text run at (518,41) width 16: " at"
+                  text run at (393,59) width 151: "most, as high as the top"
+                  text run at (393,77) width 112: "edge of the inline"
+                  text run at (393,95) width 146: "element containing the"
+                  text run at (393,113) width 143: "content just before the"
+                  text run at (393,131) width 244: "floating elements occur in the source. "
+                  text run at (636,131) width 9: "*"
+                LayoutBlockFlow (floating) {P} at (5,149) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 134x54
+                    text run at (17,17) width 134: "This is a left-floating"
+                    text run at (17,35) width 129: "paragraph (fourth in"
+                    text run at (17,53) width 52: "source)."
+                LayoutText {#text} at (644,131) size 519x90
+                  text run at (644,131) width 72: " In order to"
+                  text run at (199,149) width 503: "mark these points clearly, an asterisk has been inserted just before each floated"
+                  text run at (199,167) width 59: "element. "
+                  text run at (257,167) width 461: "If a line has room for a floated element, then the element should float so"
+                  text run at (199,185) width 505: "that its top is aligned with the top of the line-box in which the asterisk appears."
+                  text run at (199,203) width 411: "Otherwise, its top should align with the top of the next line-box."
+              LayoutBlockFlow {DIV} at (6,2287) size 743x118 [border: (5px solid #800080)]
+                LayoutText {#text} at (20,5) size 186x18
+                  text run at (20,5) width 178: "This is text within the DIV. "
+                  text run at (197,5) width 9: "*"
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (205,5) size 682x36
+                  text run at (205,5) width 512: " The floating images within this DIV should not go any higher than the line-box"
+                  text run at (35,23) width 330: "containing the inline content which precedes them. "
+                  text run at (364,23) width 13: "* "
+                LayoutImage (floating) {IMG} at (723,23) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (376,23) size 325x18
+                  text run at (376,23) width 317: "This means that the top side of each float can be, "
+                  text run at (692,23) width 9: "*"
+                LayoutImage (floating) {IMG} at (20,23) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (700,23) size 696x54
+                  text run at (700,23) width 16: " at"
+                  text run at (35,41) width 665: "most, as high as the top edge of the inline element containing the content just before the floating images"
+                  text run at (20,59) width 130: "occur in the source. "
+                  text run at (149,59) width 9: "*"
+                LayoutImage (floating) {IMG} at (5,59) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (157,59) size 731x54
+                  text run at (157,59) width 579: " In order to mark these points clearly, an asterisk has been inserted just before each floated"
+                  text run at (20,77) width 48: "image. "
+                  text run at (67,77) width 655: "If a line has room for a floated image, then the image should float so that its top is aligned with the top"
+                  text run at (5,95) width 292: "of the line-box in which the asterisk appears. "
+                  text run at (296,95) width 411: "Otherwise, its top should align with the top of the next line-box."
+              LayoutBlockFlow {DIV} at (6,2455) size 490x298 [border: (5px solid #800080)]
+                LayoutText {#text} at (199,5) size 56x18
+                  text run at (199,5) width 56: "This is *"
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 134x54
+                    text run at (17,17) width 134: "This is a left-floating"
+                    text run at (17,35) width 115: "paragraph (first in"
+                    text run at (17,53) width 52: "source)."
+                LayoutText {#text} at (254,5) size 13x18
+                  text run at (254,5) width 13: " *"
+                LayoutBlockFlow (floating) {P} at (291,5) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 143x54
+                    text run at (17,17) width 143: "This is a right-floating"
+                    text run at (17,35) width 135: "paragraph (second in"
+                    text run at (17,53) width 52: "source)."
+                LayoutText {#text} at (199,23) size 479x270
+                  text run at (199,23) width 69: "text within"
+                  text run at (199,41) width 54: "the DIV."
+                  text run at (199,59) width 85: "Under CSS1,"
+                  text run at (199,77) width 45: "the left"
+                  text run at (5,95) width 468: "floating element should be placed in the upper left corner of the DIV, and"
+                  text run at (5,113) width 465: "the purple border of the DIV should abut the green border of the floating"
+                  text run at (5,131) width 59: "element. "
+                  text run at (63,131) width 421: "Similarly, the right floating element should be placed in the upper"
+                  text run at (5,149) width 467: "right corner of the DIV, and the purple border of the DIV should abut the"
+                  text run at (5,167) width 466: "green border of the floating element. The text of the DIV element should"
+                  text run at (5,185) width 433: "flow between and under the two floating elements. The two asterisk"
+                  text run at (5,203) width 477: "characters mark the insertion points of the floating elements. It is expected"
+                  text run at (5,221) width 477: "that, under future specifications, it may be acceptable for the top of floated"
+                  text run at (5,239) width 475: "elements to align with the top of the line-box following the insertion point"
+                  text run at (5,257) width 449: "of the floated element to avoid floating elements appearing before text"
+                  text run at (5,275) width 269: "which precedes it in the source document."
+              LayoutBlockFlow {DIV} at (6,2771) size 490x226 [border: (5px solid #800080)]
+                LayoutText {#text} at (20,5) size 56x18
+                  text run at (20,5) width 56: "This is *"
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (75,5) size 13x18
+                  text run at (75,5) width 13: " *"
+                LayoutImage (floating) {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (87,5) size 472x216
+                  text run at (87,5) width 135: " text within the DIV. "
+                  text run at (221,5) width 231: "Under CSS1, the left floating image"
+                  text run at (20,23) width 429: "should be placed in the upper left corner of the DIV, and the purple"
+                  text run at (5,41) width 443: "border of the DIV should abut the green border of the floating image."
+                  text run at (5,59) width 443: "Similarly, the right floating image should be placed in the upper right"
+                  text run at (5,77) width 472: "corner of the DIV, and the purple border of the DIV should abut the green"
+                  text run at (5,95) width 447: "border of the floating image. The text of the DIV element should flow"
+                  text run at (5,113) width 451: "between and under the two floating image. The two asterisk characters"
+                  text run at (5,131) width 305: "mark the insertion points of the floating image. "
+                  text run at (309,131) width 159: "It is expected that, under"
+                  text run at (5,149) width 465: "future specifications, it may be acceptable for the top of floated elements"
+                  text run at (5,167) width 455: "to align with the top of the line-box following the insertion point of the"
+                  text run at (5,185) width 451: "floated element to avoid floating elements appearing before text which"
+                  text run at (5,203) width 226: "precedes it in the source document."
+layer at (8,190) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,182) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (32,286) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,278) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,420) size 41x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,412) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,518) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,510) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,778) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,770) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1020) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1012) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1404) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1396) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1664) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1656) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1816) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1808) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1914) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1906) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2084) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2076) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2200) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2192) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2496) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2488) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2648) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2640) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2980) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2972) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,3240) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,3232) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (49,3375) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,82) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,3509) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,216) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,3607) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,314) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,3867) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,574) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,4109) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,816) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4493) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1200) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,4753) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1460) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4905) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1612) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5021) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1728) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5191) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1898) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5307) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2014) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5570) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2277) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5722) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2429) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,6054) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2761) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,6314) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,3021) size 562.25x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/height_of_lines-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/height_of_lines-expected.txt
new file mode 100644
index 0000000..89394bd2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/height_of_lines-expected.txt
@@ -0,0 +1,133 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2299
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2299 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2299
+    LayoutBlockFlow {BODY} at (8,8) size 769x2283 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x270
+        LayoutText {#text} at (0,0) size 523x270
+          text run at (0,0) width 336: "P.one {font-size: 14px; line-height: 20px;}"
+          text run at (335,0) width 1: " "
+          text run at (0,15) width 297: "IMG.onea {vertical-align: text-bottom;"
+          text run at (296,15) width 1: " "
+          text run at (0,30) width 266: "     width: 200px; height: 200px;}"
+          text run at (265,30) width 1: " "
+          text run at (0,45) width 508: "IMG.oneb {vertical-align: text-top; width: 200px; height: 200px;}"
+          text run at (507,45) width 1: " "
+          text run at (0,60) width 0: " "
+          text run at (0,75) width 336: "P.two {font-size: 14px; line-height: 20px;}"
+          text run at (335,75) width 1: " "
+          text run at (0,90) width 523: "IMG.twoa {vertical-align: text-bottom; width: 100px; height: 100px;"
+          text run at (522,90) width 1: " "
+          text run at (0,105) width 305: "     padding: 5px; border-style: solid;"
+          text run at (304,105) width 1: " "
+          text run at (0,120) width 305: "     border-width: 10px; margin: 15px;}"
+          text run at (304,120) width 1: " "
+          text run at (0,135) width 274: "IMG.twob {vertical-align: text-top;"
+          text run at (273,135) width 1: " "
+          text run at (0,150) width 297: "          width: 100px; height: 100px;"
+          text run at (296,150) width 1: " "
+          text run at (0,165) width 305: "     padding: 5px; border-style: solid;"
+          text run at (304,165) width 1: " "
+          text run at (0,180) width 305: "     border-width: 10px; margin: 15px;}"
+          text run at (304,180) width 1: " "
+          text run at (0,195) width 0: " "
+          text run at (0,210) width 469: "IMG.twoc {vertical-align: middle; width: 50px; height: 50px;"
+          text run at (468,210) width 1: " "
+          text run at (0,225) width 305: "     padding: 5px; border-style: solid;"
+          text run at (304,225) width 1: " "
+          text run at (0,240) width 313: "     border-width: 10px; margin: -10px;}"
+          text run at (312,240) width 1: " "
+          text run at (0,255) width 0: " "
+      LayoutBlockFlow {P} at (0,333) size 769x443
+        LayoutText {#text} at (0,1) size 768x239
+          text run at (0,1) width 413: "This paragraph should have a font size of 14px and a line height of 20px. "
+          text run at (412,1) width 345: "This means that the lines of text within it should be separated"
+          text run at (0,21) width 367: "by six pixels, three of which are part of the line-box of each line. "
+          text run at (366,21) width 402: "Any images within the paragraph should increase the height of the line-"
+          text run at (0,223) width 265: "box so that they fit within the line box, such as "
+        LayoutImage {IMG} at (264.41,40) size 200x200
+        LayoutText {#text} at (464,223) size 28x17
+          text run at (464,223) width 28: " and "
+        LayoutImage {IMG} at (491.61,223) size 200x200
+        LayoutText {#text} at (691,223) size 769x218
+          text run at (691,223) width 8: ". "
+          text run at (698,223) width 39: "This is"
+          text run at (0,424) width 769: "additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-top aligned."
+      LayoutBlockFlow {P} at (0,790) size 769x483
+        LayoutText {#text} at (0,1) size 758x199
+          text run at (0,1) width 413: "This paragraph should have a font size of 14px and a line height of 20px. "
+          text run at (412,1) width 345: "This means that the lines of text within it should be separated"
+          text run at (0,21) width 78: "by six pixels. "
+          text run at (77,21) width 681: "Any images within the paragraph should increase the height of the line-box so that they fit, including their padding (5px),"
+          text run at (0,183) width 351: "border (10px) and margins (15px) within the line box, such as "
+        LayoutImage {IMG} at (365.45,55) size 130x130 [border: (10px solid #000000)]
+        LayoutText {#text} at (510,183) size 28x17
+          text run at (510,183) width 28: " and "
+        LayoutImage {IMG} at (552.66,198) size 130x130 [border: (10px solid #000000)]
+        LayoutText {#text} at (697,183) size 769x257
+          text run at (697,183) width 8: ". "
+          text run at (704,183) width 39: "This is"
+          text run at (0,344) width 769: "additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-top aligned."
+          text run at (0,364) width 734: "It is the outer edge of the margin that should be text-bottom and text-top aligned in this paragraph, so for the first image the bottom"
+          text run at (0,384) width 753: "border of the image should begin 15px above the bottom of the text, and for the second image the top border should begin 15px below"
+          text run at (0,423) width 103: "the top of the text "
+        LayoutImage {IMG} at (92.25,393) size 80x80 [border: (10px solid #000000)]
+        LayoutText {#text} at (162,423) size 737x58
+          text run at (162,423) width 8: ". "
+          text run at (169,423) width 568: "The last image in this paragraph has -10px margins set on it, so that should pull the text in toward the"
+          text run at (0,464) width 374: "image in the vertical direction, and also in the horizontal direction."
+      LayoutTable {TABLE} at (0,1287) size 769x996 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x994
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x968
+            LayoutTableCell {TD} at (0,497) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x968 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x463
+                LayoutText {#text} at (0,1) size 720x239
+                  text run at (0,1) width 413: "This paragraph should have a font size of 14px and a line height of 20px. "
+                  text run at (412,1) width 288: "This means that the lines of text within it should be"
+                  text run at (0,21) width 423: "separated by six pixels, three of which are part of the line-box of each line. "
+                  text run at (422,21) width 298: "Any images within the paragraph should increase the"
+                  text run at (0,223) width 365: "height of the line-box so that they fit within the line box, such as "
+                LayoutImage {IMG} at (364.33,40) size 200x200
+                LayoutText {#text} at (564,223) size 28x17
+                  text run at (564,223) width 28: " and "
+                LayoutImage {IMG} at (0,243) size 200x200
+                LayoutText {#text} at (200,243) size 733x218
+                  text run at (200,243) width 7: ". "
+                  text run at (207,243) width 526: "This is additional text to make sure that there is enough room left below the image so that this"
+                  text run at (0,444) width 281: "line does not hit the image that is text-top aligned."
+              LayoutBlockFlow {P} at (4,481) size 747x483
+                LayoutText {#text} at (0,1) size 729x199
+                  text run at (0,1) width 413: "This paragraph should have a font size of 14px and a line height of 20px. "
+                  text run at (412,1) width 288: "This means that the lines of text within it should be"
+                  text run at (0,21) width 135: "separated by six pixels. "
+                  text run at (134,21) width 595: "Any images within the paragraph should increase the height of the line-box so that they fit, including their"
+                  text run at (0,183) width 437: "padding (5px), border (10px) and margins (15px) within the line box, such as "
+                LayoutImage {IMG} at (451.38,55) size 130x130 [border: (10px solid #000000)]
+                LayoutText {#text} at (596,183) size 28x17
+                  text run at (596,183) width 28: " and "
+                LayoutImage {IMG} at (15,218) size 130x130 [border: (10px solid #000000)]
+                LayoutText {#text} at (160,203) size 747x237
+                  text run at (160,203) width 7: ". "
+                  text run at (167,203) width 580: "This is additional text to make sure that there is enough room left below the image so that this line does"
+                  text run at (0,364) width 231: "not hit the image that is text-top aligned. "
+                  text run at (230,364) width 488: "It is the outer edge of the margin that should be text-bottom and text-top aligned in this"
+                  text run at (0,384) width 735: "paragraph, so for the first image the bottom border of the image should begin 15px above the bottom of the text, and for the second"
+                  text run at (0,423) width 367: "image the top border should begin 15px below the top of the text "
+                LayoutImage {IMG} at (356.64,393) size 80x80 [border: (10px solid #000000)]
+                LayoutText {#text} at (426,423) size 740x58
+                  text run at (426,423) width 8: ". "
+                  text run at (433,423) width 307: "The last image in this paragraph has -10px margins set"
+                  text run at (0,464) width 635: "on it, so that should pull the text in toward the image in the vertical direction, and also in the horizontal direction."
+layer at (8,325) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,317) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/inline_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/inline_elements-expected.txt
new file mode 100644
index 0000000..c3e467e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/inline_elements-expected.txt
@@ -0,0 +1,97 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 780
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x779 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x779.33
+    LayoutBlockFlow {BODY} at (8,8) size 769x763.33 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x105
+        LayoutText {#text} at (0,0) size 547x105
+          text run at (0,0) width 203: "P.one {line-height: 200%;}"
+          text run at (202,0) width 1: " "
+          text run at (0,15) width 539: "SPAN.two {border-style: solid; border-width: 10px; border-color: red;"
+          text run at (538,15) width 1: " "
+          text run at (0,30) width 297: "          padding: 2pt; margin: 30pt;}"
+          text run at (296,30) width 1: " "
+          text run at (0,45) width 352: "P.three {font-size: 10pt; line-height: 12pt;}"
+          text run at (351,45) width 1: " "
+          text run at (0,60) width 547: "SPAN.four {border-style: solid; border-width: 12px; border-color: red;"
+          text run at (546,60) width 1: " "
+          text run at (0,75) width 188: "          padding: 2pt;}"
+          text run at (187,75) width 1: " "
+          text run at (0,90) width 0: " "
+      LayoutBlockFlow {P} at (0,170) size 769x192
+        LayoutText {#text} at (0,7) size 191x18
+          text run at (0,7) width 191: "This is a paragraph that has a "
+        LayoutInline {SPAN} at (0,0) size 765x172 [border: (10px solid #FF0000)]
+          LayoutText {#text} at (242,7) size 765x146
+            text run at (242,7) width 512: "very long span in it, and the span has a 10px red border separated from the span"
+            text run at (0,39) width 190: "by 2pt, and a margin of 30pt. "
+            text run at (189,39) width 572: "The padding and border should be present on all sides of the span (although vertical lines"
+            text run at (0,71) width 547: "should appear only at the beginning and the end of the whole span, not on each line). "
+            text run at (546,71) width 211: "The padding, border, and margin"
+            text run at (0,103) width 395: "should all be noticeable at the beginning and end of the span. "
+            text run at (395,103) width 370: "However, the line height should not be changed by any of"
+            text run at (0,135) width 597: "them, so the margin should be unnoticeable and the border should overlap text on other lines."
+        LayoutText {#text} at (648,135) size 759x50
+          text run at (648,135) width 5: " "
+          text run at (652,135) width 107: "The line spacing"
+          text run at (0,167) width 358: "in the whole paragraph should be 200% of the font size."
+      LayoutBlockFlow {P} at (0,378) size 769x64
+        LayoutText {#text} at (0,0) size 159x15
+          text run at (0,0) width 159: "This is a paragraph that has a "
+        LayoutInline {SPAN} at (0,0) size 755x93 [border: (12px solid #FF0000)]
+          LayoutText {#text} at (172,0) size 755x63
+            text run at (172,0) width 548: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
+            text run at (0,16) width 755: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the padding"
+            text run at (0,32) width 237: "and border should not effect the line height. "
+            text run at (236,32) width 517: "The span's border should have vertical lines only at the beginning and end of the whole span, not"
+            text run at (0,48) width 68: "on each line."
+        LayoutText {#text} at (81,48) size 411x15
+          text run at (81,48) width 5: " "
+          text run at (85,48) width 407: "The line spacing in the whole paragraph should be 12pt, with font-size 10pt."
+      LayoutTable {TABLE} at (0,455.33) size 769x308 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x306
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x280
+            LayoutTableCell {TD} at (0,153) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x280 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x192
+                LayoutText {#text} at (0,7) size 191x18
+                  text run at (0,7) width 191: "This is a paragraph that has a "
+                LayoutInline {SPAN} at (0,0) size 725x204 [border: (10px solid #FF0000)]
+                  LayoutText {#text} at (242,7) size 725x178
+                    text run at (242,7) width 478: "very long span in it, and the span has a 10px red border separated from the"
+                    text run at (0,39) width 223: "span by 2pt, and a margin of 30pt. "
+                    text run at (222,39) width 486: "The padding and border should be present on all sides of the span (although"
+                    text run at (0,71) width 634: "vertical lines should appear only at the beginning and the end of the whole span, not on each line). "
+                    text run at (633,71) width 85: "The padding,"
+                    text run at (0,103) width 521: "border, and margin should all be noticeable at the beginning and end of the span. "
+                    text run at (520,103) width 205: "However, the line height should"
+                    text run at (0,135) width 724: "not be changed by any of them, so the margin should be unnoticeable and the border should overlap text on other"
+                    text run at (0,167) width 35: "lines."
+                LayoutText {#text} at (86,167) size 472x18
+                  text run at (86,167) width 5: " "
+                  text run at (90,167) width 468: "The line spacing in the whole paragraph should be 200% of the font size."
+              LayoutBlockFlow {P} at (4,212) size 747x64
+                LayoutText {#text} at (0,0) size 159x15
+                  text run at (0,0) width 159: "This is a paragraph that has a "
+                LayoutInline {SPAN} at (0,0) size 720x93 [border: (12px solid #FF0000)]
+                  LayoutText {#text} at (172,0) size 720x63
+                    text run at (172,0) width 548: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
+                    text run at (0,16) width 708: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the"
+                    text run at (0,32) width 283: "padding and border should not effect the line height. "
+                    text run at (282,32) width 430: "The span's border should have vertical lines only at the beginning and end of the"
+                    text run at (0,48) width 156: "whole span, not on each line."
+                LayoutText {#text} at (169,48) size 410x15
+                  text run at (169,48) width 4: " "
+                  text run at (172,48) width 407: "The line spacing in the whole paragraph should be 12pt, with font-size 10pt."
+layer at (8,160) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/replaced_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/replaced_elements-expected.txt
new file mode 100644
index 0000000..8d72bab
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/replaced_elements-expected.txt
@@ -0,0 +1,88 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2339
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2339 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2339
+    LayoutBlockFlow {BODY} at (8,8) size 769x2323 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x120
+        LayoutText {#text} at (0,0) size 492x120
+          text run at (0,0) width 203: "IMG.one {display: inline;}"
+          text run at (202,0) width 1: " "
+          text run at (0,15) width 196: "IMG.two {display: block;}"
+          text run at (195,15) width 1: " "
+          text run at (0,30) width 203: "IMG.three {display: block;"
+          text run at (202,30) width 1: " "
+          text run at (0,45) width 492: "           margin-right: auto; margin-left: auto; width: auto;}"
+          text run at (491,45) width 1: " "
+          text run at (0,60) width 196: "IMG.four {display: block;"
+          text run at (195,60) width 1: " "
+          text run at (0,75) width 476: "          margin-right: auto; margin-left: auto; width: 50%;}"
+          text run at (475,75) width 1: " "
+          text run at (0,90) width 196: "IMG.five {display: block;"
+          text run at (195,90) width 1: " "
+          text run at (0,105) width 453: "          margin-right: 0; margin-left: auto; width: 50%;}"
+          text run at (452,105) width 1: " "
+      LayoutBlockFlow {P} at (0,185) size 769x19
+        LayoutImage {IMG} at (0,0) size 15x15
+        LayoutText {#text} at (15,1) size 442x18
+          text run at (15,1) width 442: "The image at the beginning of this sentence should be a 15px square."
+      LayoutImage {IMG} at (0,220) size 15x15
+      LayoutBlockFlow {P} at (0,251) size 769x18
+        LayoutText {#text} at (0,0) size 498x18
+          text run at (0,0) width 498: "The above image should be a 15px square with the same left edge as this text."
+      LayoutImage {IMG} at (377,285) size 15x15
+      LayoutBlockFlow {P} at (0,316) size 769x18
+        LayoutText {#text} at (0,0) size 406x18
+          text run at (0,0) width 406: "The above image should be a 15px square aligned at the center."
+      LayoutImage {IMG} at (192.25,350) size 384.50x384.50
+      LayoutBlockFlow {P} at (0,750.50) size 769x36
+        LayoutText {#text} at (0,0) size 738x36
+          text run at (0,0) width 738: "The above image should be a square resized so its width is 50% of the its parent element, and centered horizontally"
+          text run at (0,18) width 172: "within the parent element: "
+          text run at (171,18) width 404: "the document body in the first half, and the table in the second."
+      LayoutImage {IMG} at (384.50,802.50) size 384.50x384.50
+      LayoutBlockFlow {P} at (0,1203) size 769x36
+        LayoutText {#text} at (0,0) size 750x36
+          text run at (0,0) width 750: "The above image should be a square resized so its width is 50% of its parent element, and aligned at the right edge of"
+          text run at (0,18) width 127: "the parent element: "
+          text run at (126,18) width 404: "the document body in the first half, and the table in the second."
+      LayoutTable {TABLE} at (0,1255) size 769x1068 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1066
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x1040
+            LayoutTableCell {TD} at (0,533) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x1040 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x19
+                LayoutImage {IMG} at (0,0) size 15x15
+                LayoutText {#text} at (15,1) size 442x18
+                  text run at (15,1) width 442: "The image at the beginning of this sentence should be a 15px square."
+              LayoutImage {IMG} at (4,39) size 15x15
+              LayoutBlockFlow {P} at (4,70) size 747x18
+                LayoutText {#text} at (0,0) size 498x18
+                  text run at (0,0) width 498: "The above image should be a 15px square with the same left edge as this text."
+              LayoutImage {IMG} at (370,104) size 15x15
+              LayoutBlockFlow {P} at (4,135) size 747x18
+                LayoutText {#text} at (0,0) size 406x18
+                  text run at (0,0) width 406: "The above image should be a 15px square aligned at the center."
+              LayoutImage {IMG} at (190.75,169) size 373.50x373.50
+              LayoutBlockFlow {P} at (4,558.50) size 747x36
+                LayoutText {#text} at (0,0) size 738x36
+                  text run at (0,0) width 738: "The above image should be a square resized so its width is 50% of the its parent element, and centered horizontally"
+                  text run at (0,18) width 172: "within the parent element: "
+                  text run at (171,18) width 404: "the document body in the first half, and the table in the second."
+              LayoutImage {IMG} at (377.50,610.50) size 373.50x373.50
+              LayoutBlockFlow {P} at (4,1000) size 747x36
+                LayoutText {#text} at (0,0) size 733x36
+                  text run at (0,0) width 733: "The above image should be a square resized so its width is 50% of its parent element, and aligned at the right edge"
+                  text run at (0,18) width 144: "of the parent element: "
+                  text run at (143,18) width 404: "the document body in the first half, and the table in the second."
+layer at (8,175) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,167) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/vertical_formatting-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/vertical_formatting-expected.txt
new file mode 100644
index 0000000..2f2bbda
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/formatting_model/vertical_formatting-expected.txt
@@ -0,0 +1,173 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2487
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2487 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2486.78
+    LayoutBlockFlow {BODY} at (8,8) size 769x2470.78 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x300
+        LayoutText {#text} at (0,0) size 484x300
+          text run at (0,0) width 359: "P.one {margin-bottom: 2cm; padding-bottom: 0;}"
+          text run at (358,0) width 1: " "
+          text run at (0,15) width 313: "P.two {margin-top: 2cm; padding-top: 0;}"
+          text run at (312,15) width 1: " "
+          text run at (0,30) width 313: "P.three {margin-top: 0; padding-top: 0;}"
+          text run at (312,30) width 1: " "
+          text run at (0,45) width 336: "P.four {margin-top: -1cm; margin-bottom: 0;"
+          text run at (335,45) width 1: " "
+          text run at (0,60) width 336: "        padding-top: 0; padding-bottom: 0;}"
+          text run at (335,60) width 1: " "
+          text run at (0,75) width 359: "DIV.five {margin-top: 1cm; margin-bottom: 1cm;"
+          text run at (358,75) width 1: " "
+          text run at (0,90) width 367: "          padding-top: 1cm; padding-bottom: 0;}"
+          text run at (366,90) width 1: " "
+          text run at (0,105) width 336: "P.six {margin-top: 1cm; margin-bottom: 1cm;"
+          text run at (335,105) width 1: " "
+          text run at (0,120) width 328: "       padding-top: 0; padding-bottom: 0;}"
+          text run at (327,120) width 1: " "
+          text run at (0,135) width 328: "P.seven {margin-top: 1cm; padding-top: 0;}"
+          text run at (327,135) width 1: " "
+          text run at (0,150) width 398: "P.eight {margin-bottom: -1cm; padding-bottom: 2cm;}"
+          text run at (397,150) width 1: " "
+          text run at (0,165) width 336: "P.nine {margin-top: -1cm; padding-top: 1cm;"
+          text run at (335,165) width 1: " "
+          text run at (0,180) width 367: "        padding-bottom: 0; margin-bottom: 1cm;}"
+          text run at (366,180) width 1: " "
+          text run at (0,195) width 297: "P.ten {margin-top: 1cm;padding-top: 0;"
+          text run at (296,195) width 1: " "
+          text run at (0,210) width 242: "       float: left;width: 50%;}"
+          text run at (241,210) width 1: " "
+          text run at (0,225) width 437: "P.eleven {margin-top: 1cm; padding-top: 0; clear: none;}"
+          text run at (436,225) width 1: " "
+          text run at (0,240) width 484: "P.twelve {margin-bottom: 0; padding-bottom: 1cm; clear: both;}"
+          text run at (483,240) width 1: " "
+          text run at (0,255) width 352: "P.thirteen {margin-top: 0; padding-top: 1cm;}"
+          text run at (351,255) width 1: " "
+          text run at (0,270) width 157: "TABLE {clear: both;}"
+          text run at (156,270) width 1: " "
+          text run at (0,285) width 0: " "
+      LayoutBlockFlow {P} at (0,365) size 769x36
+        LayoutText {#text} at (0,0) size 769x36
+          text run at (0,0) width 769: "There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins should"
+          text run at (0,18) width 262: "collapse to the maximum of the margins."
+      LayoutBlockFlow {P} at (0,476.58) size 769x18
+        LayoutText {#text} at (0,0) size 168x18
+          text run at (0,0) width 168: "This is another paragraph."
+      LayoutBlockFlow {P} at (0,510.58) size 769x18
+        LayoutText {#text} at (0,0) size 503x18
+          text run at (0,0) width 503: "There should be a two-centimeter margin between this paragraph and the next."
+      LayoutBlockFlow {P} at (0,604.16) size 769x18
+        LayoutText {#text} at (0,0) size 168x18
+          text run at (0,0) width 168: "This is another paragraph."
+      LayoutBlockFlow {P} at (0,638.16) size 769x36
+        LayoutText {#text} at (0,0) size 731x36
+          text run at (0,0) width 731: "There should be a one-centimeter margin between this paragraph and the next, because when there is one negative"
+          text run at (0,18) width 474: "margin, the two margins should be added (the minus sign should be kept)."
+      LayoutBlockFlow {P} at (0,711.95) size 769x18
+        LayoutText {#text} at (0,0) size 168x18
+          text run at (0,0) width 168: "This is another paragraph."
+      LayoutBlockFlow {DIV} at (0,767.73) size 769x129.56
+        LayoutBlockFlow {P} at (0,75.56) size 769x54
+          LayoutText {#text} at (0,0) size 750x54
+            text run at (0,0) width 750: "There should be three centimeters between this text and the text above, but only one centimeter between this text and"
+            text run at (0,18) width 718: "the text below, because vertical margins of nested elements should collapse only if there is no border or padding"
+            text run at (0,36) width 137: "between the margins."
+      LayoutBlockFlow {P} at (0,935.08) size 769x18
+        LayoutText {#text} at (0,0) size 112x18
+          text run at (0,0) width 112: "This is more text."
+      LayoutBlockFlow {P} at (0,969.08) size 769x111.58
+        LayoutText {#text} at (0,0) size 738x36
+          text run at (0,0) width 738: "There should be two centimeters between this paragraph and the one below, because negative margins collapse to a"
+          text run at (0,18) width 467: "negative margin with the largest absolute value of the margins collapsed."
+      LayoutBlockFlow {P} at (0,1042.88) size 769x73.78
+        LayoutText {#text} at (0,38) size 754x36
+          text run at (0,38) width 754: "This is a paragraph, which I should make very long so that you can easily see how much space there is between it and"
+          text run at (0,56) width 208: "the one below it and to the right."
+      LayoutBlockFlow (floating) {P} at (0,1192.22) size 384.50x54
+        LayoutText {#text} at (0,0) size 362x54
+          text run at (0,0) width 362: "There should be two centimeters between this paragraph"
+          text run at (0,18) width 346: "and the one above it, since margins do not collapse on"
+          text run at (0,36) width 114: "floating elements."
+      LayoutBlockFlow {P} at (0,1154.44) size 769x54
+        LayoutText {#text} at (384,0) size 382x54
+          text run at (384,0) width 382: "There should be one centimeter between this paragraph and"
+          text run at (384,18) width 364: "the (non-floating) one above it, since the float should not"
+          text run at (384,36) width 185: "effect the paragraph spacing."
+      LayoutBlockFlow {P} at (0,1262.22) size 769x73.78
+        LayoutText {#text} at (0,0) size 760x36
+          text run at (0,0) width 562: "There should be two centimeters of padding between this paragraph and the one below. "
+          text run at (561,0) width 199: "Padding does not collapse, and"
+          text run at (0,18) width 239: "there is 1cm of padding on each side."
+      LayoutBlockFlow {P} at (0,1336) size 769x55.78
+        LayoutText {#text} at (0,38) size 171x18
+          text run at (0,38) width 171: "This is the next paragraph."
+      LayoutTable {TABLE} at (0,1407.78) size 769x1063 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1061
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x1035
+            LayoutTableCell {TD} at (0,530) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x1034.78 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x36
+                LayoutText {#text} at (0,0) size 722x36
+                  text run at (0,0) width 722: "There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins"
+                  text run at (0,18) width 309: "should collapse to the maximum of the margins."
+              LayoutBlockFlow {P} at (4,115.58) size 747x18
+                LayoutText {#text} at (0,0) size 168x18
+                  text run at (0,0) width 168: "This is another paragraph."
+              LayoutBlockFlow {P} at (4,149.58) size 747x18
+                LayoutText {#text} at (0,0) size 503x18
+                  text run at (0,0) width 503: "There should be a two-centimeter margin between this paragraph and the next."
+              LayoutBlockFlow {P} at (4,243.16) size 747x18
+                LayoutText {#text} at (0,0) size 168x18
+                  text run at (0,0) width 168: "This is another paragraph."
+              LayoutBlockFlow {P} at (4,277.16) size 747x36
+                LayoutText {#text} at (0,0) size 731x36
+                  text run at (0,0) width 731: "There should be a one-centimeter margin between this paragraph and the next, because when there is one negative"
+                  text run at (0,18) width 474: "margin, the two margins should be added (the minus sign should be kept)."
+              LayoutBlockFlow {P} at (4,350.95) size 747x18
+                LayoutText {#text} at (0,0) size 168x18
+                  text run at (0,0) width 168: "This is another paragraph."
+              LayoutBlockFlow {DIV} at (4,406.73) size 747x129.56
+                LayoutBlockFlow {P} at (0,75.56) size 747x54
+                  LayoutText {#text} at (0,0) size 745x54
+                    text run at (0,0) width 722: "There should be three centimeters between this text and the text above, but only one centimeter between this text"
+                    text run at (0,18) width 745: "and the text below, because vertical margins of nested elements should collapse only if there is no border or padding"
+                    text run at (0,36) width 137: "between the margins."
+              LayoutBlockFlow {P} at (4,574.08) size 747x18
+                LayoutText {#text} at (0,0) size 112x18
+                  text run at (0,0) width 112: "This is more text."
+              LayoutBlockFlow {P} at (4,608.08) size 747x111.58
+                LayoutText {#text} at (0,0) size 738x36
+                  text run at (0,0) width 738: "There should be two centimeters between this paragraph and the one below, because negative margins collapse to a"
+                  text run at (0,18) width 467: "negative margin with the largest absolute value of the margins collapsed."
+              LayoutBlockFlow {P} at (4,681.88) size 747x73.78
+                LayoutText {#text} at (0,38) size 727x36
+                  text run at (0,38) width 727: "This is a paragraph, which I should make very long so that you can easily see how much space there is between it"
+                  text run at (0,56) width 236: "and the one below it and to the right."
+              LayoutBlockFlow (floating) {P} at (4,831.22) size 373.50x54
+                LayoutText {#text} at (0,0) size 362x54
+                  text run at (0,0) width 362: "There should be two centimeters between this paragraph"
+                  text run at (0,18) width 346: "and the one above it, since margins do not collapse on"
+                  text run at (0,36) width 114: "floating elements."
+              LayoutBlockFlow {P} at (4,793.44) size 747x54
+                LayoutText {#text} at (373,0) size 366x54
+                  text run at (373,0) width 355: "There should be one centimeter between this paragraph"
+                  text run at (373,18) width 366: "and the (non-floating) one above it, since the float should"
+                  text run at (373,36) width 210: "not effect the paragraph spacing."
+              LayoutBlockFlow {P} at (4,901.22) size 747x73.78
+                LayoutText {#text} at (0,0) size 733x36
+                  text run at (0,0) width 562: "There should be two centimeters of padding between this paragraph and the one below. "
+                  text run at (561,0) width 172: "Padding does not collapse,"
+                  text run at (0,18) width 266: "and there is 1cm of padding on each side."
+              LayoutBlockFlow {P} at (4,975) size 747x55.78
+                LayoutText {#text} at (0,38) size 171x18
+                  text run at (0,38) width 171: "This is the next paragraph."
+layer at (8,355) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,347) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/anchor-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/anchor-expected.txt
new file mode 100644
index 0000000..f05bc76
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/anchor-expected.txt
@@ -0,0 +1,163 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 683
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x683 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x683
+    LayoutBlockFlow {BODY} at (8,8) size 769x667 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x90
+        LayoutText {#text} at (0,0) size 196x90
+          text run at (0,0) width 133: "A {color: green;}"
+          text run at (132,0) width 1: " "
+          text run at (0,15) width 180: "A:link {color: purple;}"
+          text run at (179,15) width 1: " "
+          text run at (0,30) width 188: "A:visited {color: lime;}"
+          text run at (187,30) width 1: " "
+          text run at (0,45) width 196: "A:active {color: maroon;}"
+          text run at (195,45) width 1: " "
+          text run at (0,60) width 172: "#one {color: #006600;}"
+          text run at (171,60) width 1: " "
+          text run at (0,75) width 0: " "
+      LayoutBlockFlow {P} at (0,155) size 769x18
+        LayoutText {#text} at (0,0) size 508x18
+          text run at (0,0) width 508: "The following anchors should appear as described; none of them should be red."
+      LayoutBlockFlow {UL} at (0,189) size 769x144
+        LayoutListItem {LI} at (40,0) size 729x108
+          LayoutBlockFlow (anonymous) at (0,0) size 729x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 583x18
+              text run at (0,0) width 583: "Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):"
+          LayoutBlockFlow {UL} at (0,18) size 729x90
+            LayoutListItem {LI} at (40,0) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutInline {A} at (0,0) size 110x18 [color=#800080]
+                LayoutText {#text} at (0,0) size 110x18
+                  text run at (0,0) width 110: "W3C Web server"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,18) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutInline {A} at (0,0) size 112x18 [color=#800080]
+                LayoutText {#text} at (0,0) size 112x18
+                  text run at (0,0) width 112: "NIST Web server"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,36) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutInline {A} at (0,0) size 125x18 [color=#800080]
+                LayoutText {#text} at (0,0) size 125x18
+                  text run at (0,0) width 125: "CWRU Web server"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,54) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutInline {A} at (0,0) size 47x18 [color=#800080]
+                LayoutText {#text} at (0,0) size 47x18
+                  text run at (0,0) width 47: "Yahoo!"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,72) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutInline {A} at (0,0) size 58x18 [color=#800080]
+                LayoutText {#text} at (0,0) size 58x18
+                  text run at (0,0) width 58: "Erewhon"
+              LayoutText {#text} at (57,0) size 225x18
+                text run at (57,0) width 225: " (don't click on it, it goes nowhere)"
+        LayoutListItem {LI} at (40,108) size 729x36
+          LayoutBlockFlow (anonymous) at (0,0) size 729x18
+            LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+            LayoutText {#text} at (0,0) size 208x18
+              text run at (0,0) width 208: "Dark green in any circumstance:"
+          LayoutBlockFlow {UL} at (0,18) size 729x18
+            LayoutListItem {LI} at (40,0) size 689x18
+              LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+              LayoutInline {A} at (0,0) size 125x18 [color=#006600]
+                LayoutText {#text} at (0,0) size 125x18
+                  text run at (0,0) width 125: "CWRU Web server"
+              LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,349) size 769x36
+        LayoutText {#text} at (0,0) size 120x18
+          text run at (0,0) width 120: "The quoted word \""
+        LayoutInline {A} at (0,0) size 45x18 [color=#008000]
+          LayoutText {#text} at (119,0) size 45x18
+            text run at (119,0) width 45: "anchor"
+        LayoutText {#text} at (163,0) size 739x36
+          text run at (163,0) width 381: "\" should be green, NOT purple, since it's part of an anchor. "
+          text run at (543,0) width 196: "It's a named anchor, and styles"
+          text run at (0,18) width 356: "declared for the A tag are applied to them under CSS1. "
+          text run at (355,18) width 330: "It also should NOT turn orange when clicked upon."
+      LayoutTable {TABLE} at (0,401) size 769x266 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x264
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x238
+            LayoutTableCell {TD} at (0,132) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x238 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18
+                LayoutText {#text} at (0,0) size 508x18
+                  text run at (0,0) width 508: "The following anchors should appear as described; none of them should be red."
+              LayoutBlockFlow {UL} at (4,38) size 747x144
+                LayoutListItem {LI} at (40,0) size 707x108
+                  LayoutBlockFlow (anonymous) at (0,0) size 707x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 583x18
+                      text run at (0,0) width 583: "Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):"
+                  LayoutBlockFlow {UL} at (0,18) size 707x90
+                    LayoutListItem {LI} at (40,0) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutInline {A} at (0,0) size 110x18 [color=#800080]
+                        LayoutText {#text} at (0,0) size 110x18
+                          text run at (0,0) width 110: "W3C Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,18) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutInline {A} at (0,0) size 112x18 [color=#800080]
+                        LayoutText {#text} at (0,0) size 112x18
+                          text run at (0,0) width 112: "NIST Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,36) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutInline {A} at (0,0) size 125x18 [color=#800080]
+                        LayoutText {#text} at (0,0) size 125x18
+                          text run at (0,0) width 125: "CWRU Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,54) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutInline {A} at (0,0) size 47x18 [color=#800080]
+                        LayoutText {#text} at (0,0) size 47x18
+                          text run at (0,0) width 47: "Yahoo!"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,72) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutInline {A} at (0,0) size 58x18 [color=#800080]
+                        LayoutText {#text} at (0,0) size 58x18
+                          text run at (0,0) width 58: "Erewhon"
+                      LayoutText {#text} at (57,0) size 225x18
+                        text run at (57,0) width 225: " (don't click on it, it goes nowhere)"
+                LayoutListItem {LI} at (40,108) size 707x36
+                  LayoutBlockFlow (anonymous) at (0,0) size 707x18
+                    LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
+                    LayoutText {#text} at (0,0) size 208x18
+                      text run at (0,0) width 208: "Dark green in any circumstance:"
+                  LayoutBlockFlow {UL} at (0,18) size 707x18
+                    LayoutListItem {LI} at (40,0) size 667x18
+                      LayoutListMarker (anonymous) at (-17,0) size 7x18: white bullet
+                      LayoutInline {A} at (0,0) size 125x18 [color=#006600]
+                        LayoutText {#text} at (0,0) size 125x18
+                          text run at (0,0) width 125: "CWRU Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,198) size 747x36
+                LayoutText {#text} at (0,0) size 120x18
+                  text run at (0,0) width 120: "The quoted word \""
+                LayoutInline {A} at (0,0) size 45x18 [color=#008000]
+                  LayoutText {#text} at (119,0) size 45x18
+                    text run at (119,0) width 45: "anchor"
+                LayoutText {#text} at (163,0) size 739x36
+                  text run at (163,0) width 381: "\" should be green, NOT purple, since it's part of an anchor. "
+                  text run at (543,0) width 196: "It's a named anchor, and styles"
+                  text run at (0,18) width 356: "declared for the A tag are applied to them under CSS1. "
+                  text run at (355,18) width 330: "It also should NOT turn orange when clicked upon."
+layer at (8,145) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/firstletter-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/firstletter-expected.txt
new file mode 100644
index 0000000..a1c8a34
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/firstletter-expected.txt
@@ -0,0 +1,94 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 711
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x711 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x711
+    LayoutBlockFlow {BODY} at (8,8) size 769x695 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 10x18 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 10x18
+            text run at (0,0) width 10: "T"
+        LayoutTextFragment {#text} at (9,0) size 354x18
+          text run at (9,0) width 354: "he style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x60
+        LayoutText {#text} at (0,0) size 305x60
+          text run at (0,0) width 242: "P:first-letter {color: maroon;}"
+          text run at (241,0) width 1: " "
+          text run at (0,15) width 281: ".two:first-letter {font-size: 200%;}"
+          text run at (280,15) width 1: " "
+          text run at (0,30) width 305: "P.three:first-letter {font-size: 350%;}"
+          text run at (304,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 769x54
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 10x18 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 10x18
+            text run at (0,0) width 10: "T"
+        LayoutTextFragment {#text} at (9,0) size 766x54
+          text run at (9,0) width 444: "he first letter of this paragraph, and only that one, should be maroon. "
+          text run at (452,0) width 304: "If this precise combination does not occur, then"
+          text run at (0,18) width 216: "the user agent has failed this test. "
+          text run at (215,18) width 551: "Remember that in order to ensure a complete test, the paragraph must be displayed on"
+          text run at (0,36) width 124: "more than one line."
+      LayoutBlockFlow {P} at (0,195) size 769x73
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 20x37 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 20x37
+            text run at (0,0) width 20: "T"
+        LayoutTextFragment {#text} at (19,15) size 751x58
+          text run at (19,15) width 625: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
+          text run at (643,15) width 88: "If this precise"
+          text run at (0,37) width 433: "combination does not occur, then the user agent has failed this test. "
+          text run at (432,37) width 319: "Remember that in order to ensure a complete test,"
+          text run at (0,55) width 355: "the paragraph must be displayed on more than one line."
+      LayoutBlockFlow {P} at (0,284) size 769x100
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 76x64 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 76x64
+            text run at (0,0) width 76: "\"W"
+        LayoutTextFragment {#text} at (75,36) size 754x64
+          text run at (75,36) width 325: "e should check for quotation support,\" it was said. "
+          text run at (399,36) width 338: "The first two characters in this paragraph-- a double-"
+          text run at (0,64) width 628: "quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
+          text run at (627,64) width 127: "Note that this is not"
+          text run at (0,82) width 289: "required under CSS1, but it is recommended."
+      LayoutTable {TABLE} at (0,400) size 769x295 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x293
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x267
+            LayoutTableCell {TD} at (0,146) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x267 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x54
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 10x18 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 10x18
+                    text run at (0,0) width 10: "T"
+                LayoutTextFragment {#text} at (9,0) size 725x54
+                  text run at (9,0) width 444: "he first letter of this paragraph, and only that one, should be maroon. "
+                  text run at (452,0) width 273: "If this precise combination does not occur,"
+                  text run at (0,18) width 248: "then the user agent has failed this test. "
+                  text run at (247,18) width 465: "Remember that in order to ensure a complete test, the paragraph must be"
+                  text run at (0,36) width 209: "displayed on more than one line."
+              LayoutBlockFlow {P} at (4,74) size 747x73
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 20x37 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 20x37
+                    text run at (0,0) width 20: "T"
+                LayoutTextFragment {#text} at (19,15) size 731x58
+                  text run at (19,15) width 625: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
+                  text run at (643,15) width 88: "If this precise"
+                  text run at (0,37) width 433: "combination does not occur, then the user agent has failed this test. "
+                  text run at (432,37) width 289: "Remember that in order to ensure a complete"
+                  text run at (0,55) width 385: "test, the paragraph must be displayed on more than one line."
+              LayoutBlockFlow {P} at (4,163) size 747x100
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 76x64 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 76x64
+                    text run at (0,0) width 76: "\"W"
+                LayoutTextFragment {#text} at (75,36) size 737x64
+                  text run at (75,36) width 325: "e should check for quotation support,\" it was said. "
+                  text run at (399,36) width 338: "The first two characters in this paragraph-- a double-"
+                  text run at (0,64) width 628: "quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
+                  text run at (627,64) width 102: "Note that this is"
+                  text run at (0,82) width 314: "not required under CSS1, but it is recommended."
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/firstline-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/firstline-expected.txt
new file mode 100644
index 0000000..16c84f1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/firstline-expected.txt
@@ -0,0 +1,84 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 655
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x655 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x655
+    LayoutBlockFlow {BODY} at (8,8) size 769x639 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x60
+        LayoutText {#text} at (0,0) size 352x60
+          text run at (0,0) width 219: "P:first-line {color: green;}"
+          text run at (218,0) width 1: " "
+          text run at (0,15) width 266: ".two:first-line {font-size: 200%;}"
+          text run at (265,15) width 1: " "
+          text run at (0,30) width 352: ".three:first-line {font-variant: small-caps;}"
+          text run at (351,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 769x54
+        LayoutText {#text} at (0,0) size 757x54
+          text run at (0,0) width 431: "The first line of this paragraph, and only that one, should be green. "
+          text run at (430,0) width 327: "If this precise combination does not occur, then the"
+          text run at (0,18) width 193: "user agent has failed this test. "
+          text run at (192,18) width 550: "Remember that in order to ensure a complete test, the paragraph must be displayed on"
+          text run at (0,36) width 124: "more than one line."
+      LayoutBlockFlow {P} at (0,195) size 769x73
+        LayoutText {#text} at (0,0) size 766x73
+          text run at (0,0) width 766: "The first line of this paragraph, and only that one, should be"
+          text run at (0,37) width 221: "a larger font size as well as green. "
+          text run at (220,37) width 520: "If this precise combination does not occur, then the user agent has failed this test."
+          text run at (0,55) width 678: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
+      LayoutBlockFlow {P} at (0,284) size 769x72
+        LayoutText {#text} at (0,0) size 750x54
+          text run at (0,0) width 599: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
+          text run at (598,0) width 152: "Thus, if the first line is"
+          text run at (0,18) width 717: "not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test"
+          text run at (0,36) width 235: "(although the problem might be that "
+        LayoutInline {CODE} at (0,0) size 79x15
+          LayoutText {#text} at (234,38) size 79x15
+            text run at (234,38) width 79: "small-caps"
+        LayoutText {#text} at (312,36) size 754x36
+          text run at (312,36) width 230: " is not supported by your browser). "
+          text run at (541,36) width 213: "This is extra text included for the"
+          text run at (0,54) width 480: "purposes of making the paragraph long enough to have more than one line."
+      LayoutTable {TABLE} at (0,372) size 769x267 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x265
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x239
+            LayoutTableCell {TD} at (0,132) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x239 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x54
+                LayoutText {#text} at (0,0) size 746x54
+                  text run at (0,0) width 431: "The first line of this paragraph, and only that one, should be green. "
+                  text run at (430,0) width 304: "If this precise combination does not occur, then"
+                  text run at (0,18) width 216: "the user agent has failed this test. "
+                  text run at (215,18) width 531: "Remember that in order to ensure a complete test, the paragraph must be displayed"
+                  text run at (0,36) width 144: "on more than one line."
+              LayoutBlockFlow {P} at (4,74) size 747x73
+                LayoutText {#text} at (0,0) size 729x73
+                  text run at (0,0) width 727: "The first line of this paragraph, and only that one, should"
+                  text run at (0,37) width 240: "be a larger font size as well as green. "
+                  text run at (239,37) width 490: "If this precise combination does not occur, then the user agent has failed this"
+                  text run at (0,55) width 31: "test. "
+                  text run at (30,55) width 678: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
+              LayoutBlockFlow {P} at (4,163) size 747x72
+                LayoutText {#text} at (0,0) size 737x54
+                  text run at (0,0) width 599: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
+                  text run at (598,0) width 139: "Thus, if the first line"
+                  text run at (0,18) width 731: "is not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test"
+                  text run at (0,36) width 235: "(although the problem might be that "
+                LayoutInline {CODE} at (0,0) size 79x15
+                  LayoutText {#text} at (234,38) size 79x15
+                    text run at (234,38) width 79: "small-caps"
+                LayoutText {#text} at (312,36) size 730x36
+                  text run at (312,36) width 230: " is not supported by your browser). "
+                  text run at (541,36) width 189: "This is extra text included for"
+                  text run at (0,54) width 503: "the purposes of making the paragraph long enough to have more than one line."
+layer at (8,115) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt
new file mode 100644
index 0000000..6e070d9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -0,0 +1,106 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1030
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1030 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1030
+    LayoutBlockFlow {BODY} at (8,8) size 769x1014 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 10x18 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 10x18
+            text run at (0,0) width 10: "T"
+        LayoutTextFragment {#text} at (9,0) size 354x18
+          text run at (9,0) width 354: "he style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x105
+        LayoutText {#text} at (0,0) size 359x105
+          text run at (0,0) width 219: "P:first-line {color: green;}"
+          text run at (218,0) width 1: " "
+          text run at (0,15) width 242: "P:first-letter {color: maroon;}"
+          text run at (241,15) width 1: " "
+          text run at (0,30) width 266: ".two:first-line {font-size: 200%;}"
+          text run at (265,30) width 1: " "
+          text run at (0,45) width 281: ".two:first-letter {font-size: 350%;}"
+          text run at (280,45) width 1: " "
+          text run at (0,60) width 305: "P.three:first-letter {font-size: 350%;}"
+          text run at (304,60) width 1: " "
+          text run at (0,75) width 359: "P.three:first-line {font-variant: small-caps;}"
+          text run at (358,75) width 1: " "
+          text run at (0,90) width 0: " "
+      LayoutBlockFlow {P} at (0,170) size 769x54
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 10x18 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 10x18
+            text run at (0,0) width 10: "T"
+        LayoutTextFragment {#text} at (9,0) size 743x54
+          text run at (9,0) width 734: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be"
+          text run at (0,18) width 44: "green. "
+          text run at (43,18) width 524: "If this precise combination does not occur, then the user agent has failed this test. "
+          text run at (566,18) width 170: "Remember that in order to"
+          text run at (0,36) width 505: "ensure a complete test, the paragraph must be displayed on more than one line."
+      LayoutBlockFlow {P} at (0,240) size 769x183
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 69x129 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 69x129
+            text run at (0,0) width 69: "T"
+        LayoutTextFragment {#text} at (68,72) size 766x111
+          text run at (68,72) width 633: "he first letter of this paragraph, and only that one,"
+          text run at (0,129) width 753: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line"
+          text run at (0,147) width 304: "should be 200% bigger than normal and green. "
+          text run at (303,147) width 463: "If this precise combination does not occur, then the user agent has failed"
+          text run at (0,165) width 58: "this test. "
+          text run at (57,165) width 678: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
+      LayoutBlockFlow {P} at (0,439) size 769x118
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 76x64 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 76x64
+            text run at (0,0) width 76: "\"W"
+        LayoutTextFragment {#text} at (75,36) size 761x82
+          text run at (75,36) width 331: "e should check for quotation support,\" it was said. "
+          text run at (405,36) width 356: "The first two characters in this paragraph-- a double-"
+          text run at (0,64) width 696: "quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red). "
+          text run at (695,64) width 60: "Note that"
+          text run at (0,82) width 707: "the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it is"
+          text run at (0,100) width 99: "recommended. "
+          text run at (98,100) width 462: "In addition, the entire first line should be in a small-caps font and green."
+      LayoutTable {TABLE} at (0,573) size 769x441 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x439
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x413
+            LayoutTableCell {TD} at (0,219) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x413 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x54
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 10x18 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 10x18
+                    text run at (0,0) width 10: "T"
+                LayoutTextFragment {#text} at (9,0) size 743x54
+                  text run at (9,0) width 734: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be"
+                  text run at (0,18) width 44: "green. "
+                  text run at (43,18) width 524: "If this precise combination does not occur, then the user agent has failed this test. "
+                  text run at (566,18) width 170: "Remember that in order to"
+                  text run at (0,36) width 505: "ensure a complete test, the paragraph must be displayed on more than one line."
+              LayoutBlockFlow {P} at (4,74) size 747x201
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 69x129 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 69x129
+                    text run at (0,0) width 69: "T"
+                LayoutTextFragment {#text} at (68,72) size 742x129
+                  text run at (68,72) width 633: "he first letter of this paragraph, and only that one,"
+                  text run at (0,129) width 725: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first"
+                  text run at (0,147) width 332: "line should be 200% bigger than normal and green. "
+                  text run at (331,147) width 397: "If this precise combination does not occur, then the user agent"
+                  text run at (0,165) width 124: "has failed this test. "
+                  text run at (123,165) width 619: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than"
+                  text run at (0,183) width 56: "one line."
+              LayoutBlockFlow {P} at (4,291) size 747x118
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 76x64 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 76x64
+                    text run at (0,0) width 76: "\"W"
+                LayoutTextFragment {#text} at (75,36) size 743x82
+                  text run at (75,36) width 331: "e should check for quotation support,\" it was said. "
+                  text run at (405,36) width 302: "The first two characters in this paragraph-- a"
+                  text run at (0,64) width 741: "double-quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red)."
+                  text run at (0,82) width 743: "Note that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but"
+                  text run at (0,100) width 127: "it is recommended. "
+                  text run at (126,100) width 461: "In addition, the entire first line should be in a small-caps font and green."
+layer at (8,160) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,152) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/pseudo_elements_in_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/pseudo_elements_in_selectors-expected.txt
new file mode 100644
index 0000000..304a115
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/pseudo/pseudo_elements_in_selectors-expected.txt
@@ -0,0 +1,78 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 385x18
+          text run at (0,0) width 385: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x60
+        LayoutText {#text} at (0,0) size 258x60
+          text run at (0,0) width 258: "P:first-line {font-weight: bold;}"
+          text run at (257,0) width 1: " "
+          text run at (0,15) width 250: "P.two:first-line {color: green;}"
+          text run at (249,15) width 1: " "
+          text run at (0,30) width 250: "P:first-line.three {color: red;}"
+          text run at (249,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 784x36
+        LayoutText {#text} at (0,0) size 730x36
+          text run at (0,0) width 344: "The first line of this sentence should be boldfaced. "
+          text run at (343,0) width 387: "This test is included simply to establish a baseline for the"
+          text run at (0,18) width 655: "following tests, since if this test fails, then the rest of the tests on this page are expected to fail as well."
+      LayoutBlockFlow {P} at (0,177) size 784x36
+        LayoutText {#text} at (0,0) size 765x36
+          text run at (0,0) width 562: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
+          text run at (561,0) width 204: "If this is not the case, then the"
+          text run at (0,18) width 578: "user agent may have failed to properly parse the selector, or it may simply not support the "
+        LayoutInline {TT} at (0,0) size 87x15
+          LayoutText {#text} at (577,20) size 87x15
+            text run at (577,20) width 87: ":first-line"
+        LayoutText {#text} at (663,18) size 110x18
+          text run at (663,18) width 110: " pseudo-element."
+      LayoutBlockFlow {P} at (0,229) size 784x72
+        LayoutText {#text} at (0,0) size 783x72
+          text run at (0,0) width 344: "The first line of this sentence should be boldfaced. "
+          text run at (343,0) width 422: "If it is red, then the user agent has violated the specification in"
+          text run at (0,18) width 440: "allowing pseudo-elements at a point other than the end of a selector. "
+          text run at (439,18) width 344: "If neither is the case, then the user agent has correctly"
+          text run at (0,36) width 766: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have"
+          text run at (0,54) width 91: "failed the test."
+      LayoutTable {TABLE} at (0,317) size 784x230 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x228
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x202
+            LayoutTableCell {TD} at (0,114) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x202 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x36
+                LayoutText {#text} at (0,0) size 730x36
+                  text run at (0,0) width 344: "The first line of this sentence should be boldfaced. "
+                  text run at (343,0) width 387: "This test is included simply to establish a baseline for the"
+                  text run at (0,18) width 655: "following tests, since if this test fails, then the rest of the tests on this page are expected to fail as well."
+              LayoutBlockFlow {P} at (4,56) size 762x54
+                LayoutText {#text} at (0,0) size 739x36
+                  text run at (0,0) width 562: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
+                  text run at (561,0) width 178: "If this is not the case, then"
+                  text run at (0,18) width 602: "the user agent may have failed to properly parse the selector, or it may simply not support the "
+                LayoutInline {TT} at (0,0) size 87x15
+                  LayoutText {#text} at (601,20) size 87x15
+                    text run at (601,20) width 87: ":first-line"
+                LayoutText {#text} at (687,18) size 742x36
+                  text run at (687,18) width 55: " pseudo-"
+                  text run at (0,36) width 55: "element."
+              LayoutBlockFlow {P} at (4,126) size 762x72
+                LayoutText {#text} at (0,0) size 748x72
+                  text run at (0,0) width 344: "The first line of this sentence should be boldfaced. "
+                  text run at (343,0) width 405: "If it is red, then the user agent has violated the specification"
+                  text run at (0,18) width 456: "in allowing pseudo-elements at a point other than the end of a selector. "
+                  text run at (455,18) width 284: "If neither is the case, then the user agent has"
+                  text run at (0,36) width 703: "correctly ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be"
+                  text run at (0,54) width 215: "considered to have failed the test."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/letter_spacing-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/letter_spacing-expected.txt
new file mode 100644
index 0000000..5c45e6b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/letter_spacing-expected.txt
@@ -0,0 +1,140 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1378
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1378 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1378
+    LayoutBlockFlow {BODY} at (8,8) size 769x1362 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x165
+        LayoutText {#text} at (0,0) size 258x165
+          text run at (0,0) width 227: ".one {letter-spacing: 0.3in;}"
+          text run at (226,0) width 1: " "
+          text run at (0,15) width 227: ".two {letter-spacing: 0.5cm;}"
+          text run at (226,15) width 1: " "
+          text run at (0,30) width 227: ".three {letter-spacing: 5mm;}"
+          text run at (226,30) width 1: " "
+          text run at (0,45) width 219: ".four {letter-spacing: 3pt;}"
+          text run at (218,45) width 1: " "
+          text run at (0,60) width 242: ".five {letter-spacing: 0.25pc;}"
+          text run at (241,60) width 1: " "
+          text run at (0,75) width 211: ".six {letter-spacing: 1em;}"
+          text run at (210,75) width 1: " "
+          text run at (0,90) width 227: ".seven {letter-spacing: 1ex;}"
+          text run at (226,90) width 1: " "
+          text run at (0,105) width 227: ".eight {letter-spacing: 5px;}"
+          text run at (226,105) width 1: " "
+          text run at (0,120) width 242: ".nine {letter-spacing: normal;}"
+          text run at (241,120) width 1: " "
+          text run at (0,135) width 219: ".ten {letter-spacing: 300%;}"
+          text run at (218,135) width 1: " "
+          text run at (0,150) width 258: ".eleven {letter-spacing: -0.1em;}"
+          text run at (257,150) width 1: " "
+      LayoutBlockFlow {P} at (0,230) size 769x72
+        LayoutText {#text} at (0,0) size 712x72
+          text run at (0,0) width 692: "This letters in this"
+          text run at (0,18) width 712: "sentence should have"
+          text run at (0,36) width 676: "extra space between"
+          text run at (0,54) width 180: "them."
+      LayoutBlockFlow {P} at (0,318) size 769x54
+        LayoutText {#text} at (0,0) size 723x54
+          text run at (0,0) width 723: "This letters in this sentence"
+          text run at (0,18) width 588: "should have extra space"
+          text run at (0,36) width 339: "between them."
+      LayoutBlockFlow {P} at (0,388) size 769x54
+        LayoutText {#text} at (0,0) size 723x54
+          text run at (0,0) width 723: "This letters in this sentence"
+          text run at (0,18) width 588: "should have extra space"
+          text run at (0,36) width 339: "between them."
+      LayoutBlockFlow {P} at (0,458) size 769x18
+        LayoutText {#text} at (0,0) size 696x18
+          text run at (0,0) width 696: "This letters in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,492) size 769x18
+        LayoutText {#text} at (0,0) size 696x18
+          text run at (0,0) width 696: "This letters in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,526) size 769x54
+        LayoutText {#text} at (0,0) size 706x54
+          text run at (0,0) width 639: "This letters in this sentence"
+          text run at (0,18) width 706: "should have extra space between"
+          text run at (0,36) width 116: "them."
+      LayoutBlockFlow {P} at (0,596) size 769x36
+        LayoutText {#text} at (0,0) size 712x36
+          text run at (0,0) width 712: "This letters in this sentence should have extra space"
+          text run at (0,18) width 187: "between them."
+      LayoutBlockFlow {P} at (0,648) size 769x36
+        LayoutText {#text} at (0,0) size 763x36
+          text run at (0,0) width 763: "This letters in this sentence should have extra space between them,"
+          text run at (0,18) width 440: "but the last few words in the sentence "
+        LayoutInline {SPAN} at (0,0) size 184x18
+          LayoutText {#text} at (439,18) size 184x18
+            text run at (439,18) width 184: "should show normal spacing"
+        LayoutText {#text} at (622,18) size 10x18
+          text run at (622,18) width 10: "."
+      LayoutBlockFlow {P} at (0,700) size 769x36
+        LayoutText {#text} at (0,0) size 746x36
+          text run at (0,0) width 746: "This letters in this sentence should have normal space between them, since percentage values are not allowed on this"
+          text run at (0,18) width 58: "property."
+      LayoutBlockFlow {P} at (0,752) size 769x18
+        LayoutText {#text} at (0,0) size 580x18
+          text run at (0,0) width 580: "This letters in this sentence should have reduced space between them, since negative values are allowed on this property."
+      LayoutTable {TABLE} at (0,786) size 769x576 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x574
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x548
+            LayoutTableCell {TD} at (0,287) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x548 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x72
+                LayoutText {#text} at (0,0) size 712x72
+                  text run at (0,0) width 692: "This letters in this"
+                  text run at (0,18) width 712: "sentence should have"
+                  text run at (0,36) width 676: "extra space between"
+                  text run at (0,54) width 180: "them."
+              LayoutBlockFlow {P} at (4,92) size 747x54
+                LayoutText {#text} at (0,0) size 723x54
+                  text run at (0,0) width 723: "This letters in this sentence"
+                  text run at (0,18) width 588: "should have extra space"
+                  text run at (0,36) width 339: "between them."
+              LayoutBlockFlow {P} at (4,162) size 747x54
+                LayoutText {#text} at (0,0) size 723x54
+                  text run at (0,0) width 723: "This letters in this sentence"
+                  text run at (0,18) width 588: "should have extra space"
+                  text run at (0,36) width 339: "between them."
+              LayoutBlockFlow {P} at (4,232) size 747x18
+                LayoutText {#text} at (0,0) size 696x18
+                  text run at (0,0) width 696: "This letters in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,266) size 747x18
+                LayoutText {#text} at (0,0) size 696x18
+                  text run at (0,0) width 696: "This letters in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,300) size 747x54
+                LayoutText {#text} at (0,0) size 706x54
+                  text run at (0,0) width 639: "This letters in this sentence"
+                  text run at (0,18) width 706: "should have extra space between"
+                  text run at (0,36) width 116: "them."
+              LayoutBlockFlow {P} at (4,370) size 747x36
+                LayoutText {#text} at (0,0) size 712x36
+                  text run at (0,0) width 712: "This letters in this sentence should have extra space"
+                  text run at (0,18) width 187: "between them."
+              LayoutBlockFlow {P} at (4,422) size 747x36
+                LayoutText {#text} at (0,0) size 693x36
+                  text run at (0,0) width 693: "This letters in this sentence should have extra space between"
+                  text run at (0,18) width 510: "them, but the last few words in the sentence "
+                LayoutInline {SPAN} at (0,0) size 183x18
+                  LayoutText {#text} at (509,18) size 183x18
+                    text run at (509,18) width 183: "should show normal spacing"
+                LayoutText {#text} at (692,18) size 9x18
+                  text run at (692,18) width 9: "."
+              LayoutBlockFlow {P} at (4,474) size 747x36
+                LayoutText {#text} at (0,0) size 746x36
+                  text run at (0,0) width 746: "This letters in this sentence should have normal space between them, since percentage values are not allowed on this"
+                  text run at (0,18) width 58: "property."
+              LayoutBlockFlow {P} at (4,526) size 747x18
+                LayoutText {#text} at (0,0) size 580x18
+                  text run at (0,0) width 580: "This letters in this sentence should have reduced space between them, since negative values are allowed on this property."
+layer at (8,220) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,212) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/line_height-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/line_height-expected.txt
new file mode 100644
index 0000000..c935cad9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/line_height-expected.txt
@@ -0,0 +1,182 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2619
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2619 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2619
+    LayoutBlockFlow {BODY} at (8,8) size 769x2603 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x210
+        LayoutText {#text} at (0,0) size 391x210
+          text run at (0,0) width 336: ".one {line-height: 0.5in; font-size: 12px;}"
+          text run at (335,0) width 1: " "
+          text run at (0,15) width 320: ".two {line-height: 2cm; font-size: 12px;}"
+          text run at (319,15) width 1: " "
+          text run at (0,30) width 344: ".three {line-height: 20mm; font-size: 12px;}"
+          text run at (343,30) width 1: " "
+          text run at (0,45) width 336: ".four {line-height: 24pt; font-size: 12px;}"
+          text run at (335,45) width 1: " "
+          text run at (0,60) width 328: ".five {line-height: 2pc; font-size: 12px;}"
+          text run at (327,60) width 1: " "
+          text run at (0,75) width 320: ".six {line-height: 2em; font-size: 12px;}"
+          text run at (319,75) width 1: " "
+          text run at (0,90) width 336: ".seven {line-height: 3ex; font-size: 12px;}"
+          text run at (335,90) width 1: " "
+          text run at (0,105) width 344: ".eight {line-height: 200%; font-size: 12px;}"
+          text run at (343,105) width 1: " "
+          text run at (0,120) width 313: ".nine {line-height: 2; font-size: 12px;}"
+          text run at (312,120) width 1: " "
+          text run at (0,135) width 328: ".ten {line-height: 50px; font-size: 12px;}"
+          text run at (327,135) width 1: " "
+          text run at (0,150) width 352: ".eleven {line-height: -1em; font-size: 12px;}"
+          text run at (351,150) width 1: " "
+          text run at (0,165) width 391: "TABLE .ten {line-height: normal; font-size: 12px;}"
+          text run at (390,165) width 1: " "
+          text run at (0,180) width 242: "DIV {background-color: silver;}"
+          text run at (241,180) width 1: " "
+          text run at (0,195) width 297: "SPAN.color {background-color: silver;}"
+          text run at (296,195) width 1: " "
+      LayoutBlockFlow {P} at (0,271) size 769x48
+        LayoutText {#text} at (0,17) size 519x14
+          text run at (0,17) width 519: "This sentence should have a line-height of half an inch, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,331) size 769x75
+        LayoutText {#text} at (0,30) size 538x14
+          text run at (0,30) width 538: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,418) size 769x75
+        LayoutText {#text} at (0,30) size 552x14
+          text run at (0,30) width 552: "This sentence should have a line-height of twenty millimeters, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,505) size 769x32
+        LayoutText {#text} at (0,9) size 551x14
+          text run at (0,9) width 551: "This sentence should have a line-height of twenty-four points, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,549) size 769x32
+        LayoutText {#text} at (0,9) size 508x14
+          text run at (0,9) width 508: "This sentence should have a line-height of two picas, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,593) size 769x24
+        LayoutText {#text} at (0,5) size 498x14
+          text run at (0,5) width 498: "This sentence should have a line-height of two em, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,629) size 769x16
+        LayoutText {#text} at (0,1) size 500x14
+          text run at (0,1) width 500: "This sentence should have a line-height of three ex, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,657) size 769x24
+        LayoutText {#text} at (0,5) size 550x14
+          text run at (0,5) width 550: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {DIV} at (0,693) size 769x168 [bgcolor=#C0C0C0]
+        LayoutBlockFlow (anonymous) at (0,0) size 769x24
+          LayoutText {#text} at (0,5) size 604x14
+            text run at (0,5) width 604: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+        LayoutBlockFlow {P} at (0,48) size 769x72
+          LayoutText {#text} at (0,-2) size 754x76
+            text run at (0,-2) width 742: "This sentence should have a line-height of twice the DIV's font size, or 28px;"
+            text run at (0,22) width 754: "this should not cause extra spacing between the lines, since the line-height and"
+            text run at (0,46) width 360: "font-size should have the same value."
+        LayoutBlockFlow (anonymous) at (0,144) size 769x24
+          LayoutText {#text} at (0,5) size 618x14
+            text run at (0,5) width 618: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,873) size 769x24
+        LayoutText {#text} at (0,5) size 550x14
+          text run at (0,5) width 550: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {DIV} at (0,909) size 769x240 [bgcolor=#C0C0C0]
+        LayoutBlockFlow (anonymous) at (0,0) size 769x24
+          LayoutText {#text} at (0,5) size 604x14
+            text run at (0,5) width 604: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+        LayoutBlockFlow {P} at (0,48) size 769x144
+          LayoutText {#text} at (0,10) size 742x124
+            text run at (0,10) width 742: "This sentence should have a line-height of twice the font size, which is 200%"
+            text run at (0,58) width 734: "normal thanks to an inline style; this should cause extra spacing between the"
+            text run at (0,106) width 647: "lines, as the font-size will be 28px and the line-height will be 56px."
+        LayoutBlockFlow (anonymous) at (0,216) size 769x24
+          LayoutText {#text} at (0,5) size 618x14
+            text run at (0,5) width 618: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,1161) size 769x100
+        LayoutText {#text} at (0,18) size 760x64
+          text run at (0,18) width 604: "This paragraph should have a line-height of 50 pixels in the first section, which should cause extra spacing between the lines. "
+          text run at (603,18) width 157: "In the second section (within the"
+          text run at (0,68) width 186: "table) its line-height should be normal."
+      LayoutBlockFlow {P} at (0,1273) size 769x14
+        LayoutText {#text} at (0,0) size 517x14
+          text run at (0,0) width 517: "This sentence should have a normal line-height, because negative values are not permitted for this property."
+      LayoutBlockFlow {P} at (0,1299) size 769x150
+        LayoutInline {SPAN} at (0,0) size 759x89 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,30) size 759x89
+            text run at (0,30) width 759: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines. The text has a background color of silver, but"
+            text run at (0,105) width 693: "no padding or border. The background color has been set on an inline element and should therefore only cover the text, not the interline spacing."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,1461) size 769x1142 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1140
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x1114
+            LayoutTableCell {TD} at (0,570) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x1114 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x48
+                LayoutText {#text} at (0,17) size 519x14
+                  text run at (0,17) width 519: "This sentence should have a line-height of half an inch, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,64) size 747x75
+                LayoutText {#text} at (0,30) size 538x14
+                  text run at (0,30) width 538: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,151) size 747x75
+                LayoutText {#text} at (0,30) size 552x14
+                  text run at (0,30) width 552: "This sentence should have a line-height of twenty millimeters, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,238) size 747x32
+                LayoutText {#text} at (0,9) size 551x14
+                  text run at (0,9) width 551: "This sentence should have a line-height of twenty-four points, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,282) size 747x32
+                LayoutText {#text} at (0,9) size 508x14
+                  text run at (0,9) width 508: "This sentence should have a line-height of two picas, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,326) size 747x24
+                LayoutText {#text} at (0,5) size 498x14
+                  text run at (0,5) width 498: "This sentence should have a line-height of two em, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,362) size 747x16
+                LayoutText {#text} at (0,1) size 500x14
+                  text run at (0,1) width 500: "This sentence should have a line-height of three ex, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,390) size 747x24
+                LayoutText {#text} at (0,5) size 550x14
+                  text run at (0,5) width 550: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {DIV} at (4,426) size 747x168 [bgcolor=#C0C0C0]
+                LayoutBlockFlow (anonymous) at (0,0) size 747x24
+                  LayoutText {#text} at (0,5) size 604x14
+                    text run at (0,5) width 604: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+                LayoutBlockFlow {P} at (0,48) size 747x72
+                  LayoutText {#text} at (0,-2) size 742x76
+                    text run at (0,-2) width 742: "This sentence should have a line-height of twice the DIV's font size, or 28px;"
+                    text run at (0,22) width 714: "this should not cause extra spacing between the lines, since the line-height"
+                    text run at (0,46) width 401: "and font-size should have the same value."
+                LayoutBlockFlow (anonymous) at (0,144) size 747x24
+                  LayoutText {#text} at (0,5) size 618x14
+                    text run at (0,5) width 618: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,606) size 747x24
+                LayoutText {#text} at (0,5) size 550x14
+                  text run at (0,5) width 550: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {DIV} at (4,642) size 747x240 [bgcolor=#C0C0C0]
+                LayoutBlockFlow (anonymous) at (0,0) size 747x24
+                  LayoutText {#text} at (0,5) size 604x14
+                    text run at (0,5) width 604: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+                LayoutBlockFlow {P} at (0,48) size 747x144
+                  LayoutText {#text} at (0,10) size 742x124
+                    text run at (0,10) width 742: "This sentence should have a line-height of twice the font size, which is 200%"
+                    text run at (0,58) width 734: "normal thanks to an inline style; this should cause extra spacing between the"
+                    text run at (0,106) width 647: "lines, as the font-size will be 28px and the line-height will be 56px."
+                LayoutBlockFlow (anonymous) at (0,216) size 747x24
+                  LayoutText {#text} at (0,5) size 618x14
+                    text run at (0,5) width 618: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,894) size 747x28
+                LayoutText {#text} at (0,0) size 743x28
+                  text run at (0,0) width 604: "This paragraph should have a line-height of 50 pixels in the first section, which should cause extra spacing between the lines. "
+                  text run at (603,0) width 140: "In the second section (within"
+                  text run at (0,14) width 204: "the table) its line-height should be normal."
+              LayoutBlockFlow {P} at (4,934) size 747x14
+                LayoutText {#text} at (0,0) size 517x14
+                  text run at (0,0) width 517: "This sentence should have a normal line-height, because negative values are not permitted for this property."
+              LayoutBlockFlow {P} at (4,960) size 747x150
+                LayoutInline {SPAN} at (0,0) size 741x89 [bgcolor=#C0C0C0]
+                  LayoutText {#text} at (0,30) size 741x89
+                    text run at (0,30) width 741: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines. The text has a background color of silver,"
+                    text run at (0,105) width 712: "but no padding or border. The background color has been set on an inline element and should therefore only cover the text, not the interline spacing."
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,265) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,257) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_align-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_align-expected.txt
new file mode 100644
index 0000000..a834fc8f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_align-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x75
+        LayoutText {#text} at (0,0) size 219x75
+          text run at (0,0) width 188: ".one {text-align: left;}"
+          text run at (187,0) width 1: " "
+          text run at (0,15) width 196: ".two {text-align: right;}"
+          text run at (195,15) width 1: " "
+          text run at (0,30) width 219: ".three {text-align: center;}"
+          text run at (218,30) width 1: " "
+          text run at (0,45) width 219: ".four {text-align: justify;}"
+          text run at (218,45) width 1: " "
+          text run at (0,60) width 0: " "
+      LayoutBlockFlow {P} at (0,140) size 784x18
+        LayoutText {#text} at (0,0) size 240x18
+          text run at (0,0) width 240: "This sentence should be left-justified."
+      LayoutBlockFlow {P} at (0,174) size 784x18
+        LayoutText {#text} at (535,0) size 249x18
+          text run at (535,0) width 249: "This sentence should be right-justified."
+      LayoutBlockFlow {P} at (0,208) size 784x18
+        LayoutText {#text} at (284,0) size 216x18
+          text run at (284,0) width 216: "This sentence should be centered."
+      LayoutBlockFlow {P} at (0,242) size 784x54
+        LayoutText {#text} at (0,0) size 784x54
+          text run at (0,0) width 784: "This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no"
+          text run at (0,18) width 784: "matter how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in Western"
+          text run at (0,36) width 68: "languages."
+      LayoutTable {TABLE} at (0,312) size 784x192 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x190
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x164
+            LayoutTableCell {TD} at (0,95) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x18
+                LayoutText {#text} at (0,0) size 240x18
+                  text run at (0,0) width 240: "This sentence should be left-justified."
+              LayoutBlockFlow {P} at (4,38) size 762x18
+                LayoutText {#text} at (513,0) size 249x18
+                  text run at (513,0) width 249: "This sentence should be right-justified."
+              LayoutBlockFlow {P} at (4,72) size 762x18
+                LayoutText {#text} at (273,0) size 216x18
+                  text run at (273,0) width 216: "This sentence should be centered."
+              LayoutBlockFlow {P} at (4,106) size 762x54
+                LayoutText {#text} at (0,0) size 762x54
+                  text run at (0,0) width 762: "This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no"
+                  text run at (0,18) width 762: "matter how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in"
+                  text run at (0,36) width 124: "Western languages."
+layer at (8,130) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,122) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_decoration-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_decoration-expected.txt
new file mode 100644
index 0000000..2aa3124e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_decoration-expected.txt
@@ -0,0 +1,200 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1151
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1151 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1151
+    LayoutBlockFlow {BODY} at (8,8) size 769x1135 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x120
+        LayoutText {#text} at (0,0) size 453x120
+          text run at (0,0) width 266: ".one {text-decoration: underline;}"
+          text run at (265,0) width 1: " "
+          text run at (0,15) width 258: ".two {text-decoration: overline;}"
+          text run at (257,15) width 1: " "
+          text run at (0,30) width 305: ".three {text-decoration: line-through;}"
+          text run at (304,30) width 1: " "
+          text run at (0,45) width 242: ".four {text-decoration: blink;}"
+          text run at (241,45) width 1: " "
+          text run at (0,60) width 242: "B.five {text-decoration: none;}"
+          text run at (241,60) width 1: " "
+          text run at (0,75) width 336: ".six {text-decoration: underline overline;}"
+          text run at (335,75) width 1: " "
+          text run at (0,90) width 453: ".seven {text-decoration: underline overline line-through;}"
+          text run at (452,90) width 1: " "
+          text run at (0,105) width 0: " "
+      LayoutBlockFlow {P} at (0,185) size 769x18
+        LayoutText {#text} at (0,0) size 230x18
+          text run at (0,0) width 230: "This sentence should be underlined."
+      LayoutBlockFlow {P} at (0,219) size 769x18
+        LayoutText {#text} at (0,0) size 222x18
+          text run at (0,0) width 222: "This sentence should be overlined."
+      LayoutBlockFlow {P} at (0,253) size 769x18
+        LayoutText {#text} at (0,0) size 344x18
+          text run at (0,0) width 344: "This sentence should have stricken text (linethrough)."
+      LayoutBlockFlow {P} at (0,287) size 769x18
+        LayoutText {#text} at (0,0) size 602x18
+          text run at (0,0) width 215: "This element should be blinking. "
+          text run at (214,0) width 388: "(It is not required, however, that UAs support this behavior.)"
+      LayoutBlockFlow {P} at (0,321) size 769x36
+        LayoutText {#text} at (0,0) size 520x18
+          text run at (0,0) width 298: "The text in this element should be underlined. "
+          text run at (297,0) width 223: "The boldfaced text in this element "
+        LayoutInline {B} at (0,0) size 176x18
+          LayoutText {#text} at (519,0) size 176x18
+            text run at (519,0) width 176: "should also be underlined"
+        LayoutText {#text} at (694,0) size 746x36
+          text run at (694,0) width 9: ". "
+          text run at (702,0) width 44: "This is"
+          text run at (0,18) width 731: "because the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own."
+      LayoutBlockFlow {P} at (0,373) size 769x18
+        LayoutText {#text} at (0,0) size 322x18
+          text run at (0,0) width 322: "This sentence should be underlined and overlined."
+      LayoutBlockFlow {P} at (0,407) size 769x18
+        LayoutText {#text} at (0,0) size 384x18
+          text run at (0,0) width 384: "This sentence should be underlined, overlined, and stricken."
+      LayoutBlockFlow {P} at (0,441) size 769x0
+      LayoutBlockFlow {P} at (0,441) size 769x36
+        LayoutText {#text} at (0,0) size 741x36
+          text run at (0,0) width 741: "There should be nothing visible between this sentence and the one above (there is an empty paragraph element with"
+          text run at (0,18) width 99: "class of seven)."
+      LayoutBlockFlow {P} at (0,493) size 769x55
+        LayoutText {#text} at (0,0) size 647x18
+          text run at (0,0) width 647: "Text decorations only apply to the text of an element, so the image at the end of this sentence should "
+        LayoutInline {EM} at (0,0) size 21x18
+          LayoutText {#text} at (646,0) size 21x18
+            text run at (646,0) width 21: "not"
+        LayoutText {#text} at (666,0) size 93x18
+          text run at (666,0) width 93: " be overlined: "
+        LayoutImage {IMG} at (0,18) size 15x15
+        LayoutText {#text} at (15,19) size 766x36
+          text run at (15,19) width 8: ". "
+          text run at (23,19) width 743: "The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans' child"
+          text run at (0,37) width 61: "elements."
+      LayoutBlockFlow {P} at (0,564) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 107x18
+          text run at (0,0) width 107: "The underlining "
+        LayoutInline {SPAN} at (0,0) size 100x18 [color=#0000FF]
+          LayoutText {#text} at (106,0) size 100x18
+            text run at (106,0) width 100: "in this sentence"
+        LayoutText {#text} at (205,0) size 238x18
+          text run at (205,0) width 238: " should be green, no matter what the "
+        LayoutInline {SPAN} at (0,0) size 112x18 [color=#000000]
+          LayoutText {#text} at (442,0) size 112x18
+            text run at (442,0) width 112: "text color may be"
+        LayoutText {#text} at (553,0) size 5x18
+          text run at (553,0) width 5: "."
+      LayoutBlockFlow {P} at (0,598) size 769x36
+        LayoutText {#text} at (0,0) size 113x18
+          text run at (0,0) width 113: "The colors of the "
+        LayoutInline {SPAN} at (0,0) size 75x18 [color=#800080]
+          LayoutText {#text} at (112,0) size 75x18
+            text run at (112,0) width 75: "underlining"
+        LayoutText {#text} at (186,0) size 22x18
+          text run at (186,0) width 22: " in "
+        LayoutInline {SPAN} at (0,0) size 83x18 [color=#0000FF]
+          LayoutText {#text} at (207,0) size 83x18
+            text run at (207,0) width 83: "this sentence"
+        LayoutText {#text} at (289,0) size 70x18
+          text run at (289,0) width 70: " should be "
+        LayoutInline {SPAN} at (0,0) size 215x18 [color=#808080]
+          LayoutText {#text} at (359,0) size 215x18
+            text run at (359,0) width 215: "the same as that of the parent text"
+        LayoutText {#text} at (573,0) size 755x36
+          text run at (573,0) width 182: " (that is, the first word in the"
+          text run at (0,18) width 216: "sentence, which should be black)."
+      LayoutTable {TABLE} at (0,650) size 769x485 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x483
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x457
+            LayoutTableCell {TD} at (0,241) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x457 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18
+                LayoutText {#text} at (0,0) size 230x18
+                  text run at (0,0) width 230: "This sentence should be underlined."
+              LayoutBlockFlow {P} at (4,38) size 747x18
+                LayoutText {#text} at (0,0) size 222x18
+                  text run at (0,0) width 222: "This sentence should be overlined."
+              LayoutBlockFlow {P} at (4,72) size 747x18
+                LayoutText {#text} at (0,0) size 344x18
+                  text run at (0,0) width 344: "This sentence should have stricken text (linethrough)."
+              LayoutBlockFlow {P} at (4,106) size 747x18
+                LayoutText {#text} at (0,0) size 602x18
+                  text run at (0,0) width 215: "This element should be blinking. "
+                  text run at (214,0) width 388: "(It is not required, however, that UAs support this behavior.)"
+              LayoutBlockFlow {P} at (4,140) size 747x36
+                LayoutText {#text} at (0,0) size 520x18
+                  text run at (0,0) width 298: "The text in this element should be underlined. "
+                  text run at (297,0) width 223: "The boldfaced text in this element "
+                LayoutInline {B} at (0,0) size 176x18
+                  LayoutText {#text} at (519,0) size 176x18
+                    text run at (519,0) width 176: "should also be underlined"
+                LayoutText {#text} at (694,0) size 746x36
+                  text run at (694,0) width 9: ". "
+                  text run at (702,0) width 44: "This is"
+                  text run at (0,18) width 731: "because the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own."
+              LayoutBlockFlow {P} at (4,192) size 747x18
+                LayoutText {#text} at (0,0) size 322x18
+                  text run at (0,0) width 322: "This sentence should be underlined and overlined."
+              LayoutBlockFlow {P} at (4,226) size 747x18
+                LayoutText {#text} at (0,0) size 384x18
+                  text run at (0,0) width 384: "This sentence should be underlined, overlined, and stricken."
+              LayoutBlockFlow {P} at (4,260) size 747x0
+              LayoutBlockFlow {P} at (4,260) size 747x36
+                LayoutText {#text} at (0,0) size 741x36
+                  text run at (0,0) width 741: "There should be nothing visible between this sentence and the one above (there is an empty paragraph element with"
+                  text run at (0,18) width 99: "class of seven)."
+              LayoutBlockFlow {P} at (4,312) size 747x55
+                LayoutText {#text} at (0,0) size 647x18
+                  text run at (0,0) width 647: "Text decorations only apply to the text of an element, so the image at the end of this sentence should "
+                LayoutInline {EM} at (0,0) size 21x18
+                  LayoutText {#text} at (646,0) size 21x18
+                    text run at (646,0) width 21: "not"
+                LayoutText {#text} at (666,0) size 686x37
+                  text run at (666,0) width 20: " be"
+                  text run at (0,19) width 69: "overlined: "
+                LayoutImage {IMG} at (68.86,18) size 15x15
+                LayoutText {#text} at (83,19) size 686x36
+                  text run at (83,19) width 9: ". "
+                  text run at (91,19) width 595: "The underline of the parent element should hold true beneath the image, however, since text-"
+                  text run at (0,37) width 214: "decoration 'spans' child elements."
+              LayoutBlockFlow {P} at (4,383) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 107x18
+                  text run at (0,0) width 107: "The underlining "
+                LayoutInline {SPAN} at (0,0) size 100x18 [color=#0000FF]
+                  LayoutText {#text} at (106,0) size 100x18
+                    text run at (106,0) width 100: "in this sentence"
+                LayoutText {#text} at (205,0) size 238x18
+                  text run at (205,0) width 238: " should be green, no matter what the "
+                LayoutInline {SPAN} at (0,0) size 112x18 [color=#000000]
+                  LayoutText {#text} at (442,0) size 112x18
+                    text run at (442,0) width 112: "text color may be"
+                LayoutText {#text} at (553,0) size 5x18
+                  text run at (553,0) width 5: "."
+              LayoutBlockFlow {P} at (4,417) size 747x36
+                LayoutText {#text} at (0,0) size 113x18
+                  text run at (0,0) width 113: "The colors of the "
+                LayoutInline {SPAN} at (0,0) size 75x18 [color=#800080]
+                  LayoutText {#text} at (112,0) size 75x18
+                    text run at (112,0) width 75: "underlining"
+                LayoutText {#text} at (186,0) size 22x18
+                  text run at (186,0) width 22: " in "
+                LayoutInline {SPAN} at (0,0) size 83x18 [color=#0000FF]
+                  LayoutText {#text} at (207,0) size 83x18
+                    text run at (207,0) width 83: "this sentence"
+                LayoutText {#text} at (289,0) size 70x18
+                  text run at (289,0) width 70: " should be "
+                LayoutInline {SPAN} at (0,0) size 215x18 [color=#808080]
+                  LayoutText {#text} at (359,0) size 215x18
+                    text run at (359,0) width 215: "the same as that of the parent text"
+                LayoutText {#text} at (573,0) size 732x36
+                  text run at (573,0) width 159: " (that is, the first word in"
+                  text run at (0,18) width 240: "the sentence, which should be black)."
+layer at (8,175) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,167) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_indent-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_indent-expected.txt
new file mode 100644
index 0000000..10b7a9e3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_indent-expected.txt
@@ -0,0 +1,137 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1246
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1246 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1246
+    LayoutBlockFlow {BODY} at (8,8) size 769x1230 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x165
+        LayoutText {#text} at (0,0) size 375x165
+          text run at (0,0) width 344: ".one {text-indent: 0.5in; background: aqua;}"
+          text run at (343,0) width 1: " "
+          text run at (0,15) width 328: ".two {text-indent: 2cm; background: aqua;}"
+          text run at (327,15) width 1: " "
+          text run at (0,30) width 352: ".three {text-indent: 20mm; background: aqua;}"
+          text run at (351,30) width 1: " "
+          text run at (0,45) width 344: ".four {text-indent: 24pt; background: aqua;}"
+          text run at (343,45) width 1: " "
+          text run at (0,60) width 336: ".five {text-indent: 2pc; background: aqua;}"
+          text run at (335,60) width 1: " "
+          text run at (0,75) width 328: ".six {text-indent: 2em; background: aqua;}"
+          text run at (327,75) width 1: " "
+          text run at (0,90) width 344: ".seven {text-indent: 2ex; background: aqua;}"
+          text run at (343,90) width 1: " "
+          text run at (0,105) width 344: ".eight {text-indent: 50%; background: aqua;}"
+          text run at (343,105) width 1: " "
+          text run at (0,120) width 344: ".nine {text-indent: 25px; background: aqua;}"
+          text run at (343,120) width 1: " "
+          text run at (0,135) width 375: "blockquote {text-indent: 50%; background: aqua;}"
+          text run at (374,135) width 1: " "
+          text run at (0,150) width 0: " "
+      LayoutBlockFlow {P} at (0,230) size 769x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,0) size 394x18
+          text run at (48,0) width 394: "The first line of this sentence should be indented half an inch."
+      LayoutBlockFlow {P} at (0,264) size 769x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (75,0) size 421x18
+          text run at (75,0) width 421: "The first line of this sentence should be indented two centimeters."
+      LayoutBlockFlow {P} at (0,298) size 769x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (75,0) size 440x18
+          text run at (75,0) width 440: "The first line of this sentence should be indented twenty millimeters."
+      LayoutBlockFlow {P} at (0,332) size 769x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (32,0) size 437x18
+          text run at (32,0) width 437: "The first line of this sentence should be indented twenty-four points."
+      LayoutBlockFlow {P} at (0,366) size 769x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (32,0) size 380x18
+          text run at (32,0) width 380: "The first line of this sentence should be indented two picas."
+      LayoutBlockFlow {P} at (0,400) size 769x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (32,0) size 366x18
+          text run at (32,0) width 366: "The first line of this sentence should be indented two em."
+      LayoutBlockFlow {P} at (0,434) size 769x18 [bgcolor=#00FFFF]
+        LayoutText {#text} at (14,0) size 362x18
+          text run at (14,0) width 362: "The first line of this sentence should be indented two ex."
+      LayoutBlockFlow {P} at (0,468) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (384,0) size 751x36
+          text run at (384,0) width 367: "The first line of this sentence should be indented halfway"
+          text run at (0,18) width 567: "across the page, but the rest of it should be flush with the normal left margin of the page."
+      LayoutBlockFlow {P} at (0,520) size 769x36 [bgcolor=#00FFFF]
+        LayoutText {#text} at (25,0) size 739x36
+          text run at (25,0) width 714: "The first line of this sentence should be indented 25 pixels, but the rest of it should be flush with the normal left"
+          text run at (0,18) width 125: "margin of the page."
+      LayoutBlockFlow {P} at (0,572) size 769x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,0) size 425x18
+          text run at (48,0) width 425: "Only the first line of this sentence should be indented half an inch,"
+        LayoutBR {BR} at (472,14) size 1x0
+        LayoutText {#text} at (0,18) size 266x18
+          text run at (0,18) width 266: "no matter where the lines might start, and"
+        LayoutBR {BR} at (265,32) size 1x0
+        LayoutInline {EM} at (0,0) size 201x18
+          LayoutText {#text} at (0,36) size 201x18
+            text run at (0,36) width 201: "regardless of any other markup"
+        LayoutText {#text} at (200,36) size 149x18
+          text run at (200,36) width 149: " which may be present."
+      LayoutBlockFlow {BLOCKQUOTE} at (40,642) size 689x54 [bgcolor=#00FFFF]
+        LayoutText {#text} at (384,0) size 651x54
+          text run at (384,0) width 228: "In the first half of the test page, this"
+          text run at (0,18) width 651: "BLOCKQUOTE element should have a text indent equal to 50% of the BODY element's width, since"
+          text run at (0,36) width 512: "BLOCKQUOTE is a child of BODY; in the second half, it is a child of TABLE."
+      LayoutTable {TABLE} at (0,712) size 769x518 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x516
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x490
+            LayoutTableCell {TD} at (0,258) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x490 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,0) size 394x18
+                  text run at (48,0) width 394: "The first line of this sentence should be indented half an inch."
+              LayoutBlockFlow {P} at (4,38) size 747x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (75,0) size 421x18
+                  text run at (75,0) width 421: "The first line of this sentence should be indented two centimeters."
+              LayoutBlockFlow {P} at (4,72) size 747x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (75,0) size 440x18
+                  text run at (75,0) width 440: "The first line of this sentence should be indented twenty millimeters."
+              LayoutBlockFlow {P} at (4,106) size 747x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (32,0) size 437x18
+                  text run at (32,0) width 437: "The first line of this sentence should be indented twenty-four points."
+              LayoutBlockFlow {P} at (4,140) size 747x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (32,0) size 380x18
+                  text run at (32,0) width 380: "The first line of this sentence should be indented two picas."
+              LayoutBlockFlow {P} at (4,174) size 747x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (32,0) size 366x18
+                  text run at (32,0) width 366: "The first line of this sentence should be indented two em."
+              LayoutBlockFlow {P} at (4,208) size 747x18 [bgcolor=#00FFFF]
+                LayoutText {#text} at (14,0) size 362x18
+                  text run at (14,0) width 362: "The first line of this sentence should be indented two ex."
+              LayoutBlockFlow {P} at (4,242) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (373,0) size 740x36
+                  text run at (373,0) width 367: "The first line of this sentence should be indented halfway"
+                  text run at (0,18) width 567: "across the page, but the rest of it should be flush with the normal left margin of the page."
+              LayoutBlockFlow {P} at (4,294) size 747x36 [bgcolor=#00FFFF]
+                LayoutText {#text} at (25,0) size 739x36
+                  text run at (25,0) width 714: "The first line of this sentence should be indented 25 pixels, but the rest of it should be flush with the normal left"
+                  text run at (0,18) width 125: "margin of the page."
+              LayoutBlockFlow {P} at (4,346) size 747x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,0) size 425x18
+                  text run at (48,0) width 425: "Only the first line of this sentence should be indented half an inch,"
+                LayoutBR {BR} at (472,14) size 1x0
+                LayoutText {#text} at (0,18) size 266x18
+                  text run at (0,18) width 266: "no matter where the lines might start, and"
+                LayoutBR {BR} at (265,32) size 1x0
+                LayoutInline {EM} at (0,0) size 201x18
+                  LayoutText {#text} at (0,36) size 201x18
+                    text run at (0,36) width 201: "regardless of any other markup"
+                LayoutText {#text} at (200,36) size 149x18
+                  text run at (200,36) width 149: " which may be present."
+              LayoutBlockFlow {BLOCKQUOTE} at (44,416) size 667x54 [bgcolor=#00FFFF]
+                LayoutText {#text} at (373,0) size 651x54
+                  text run at (373,0) width 228: "In the first half of the test page, this"
+                  text run at (0,18) width 651: "BLOCKQUOTE element should have a text indent equal to 50% of the BODY element's width, since"
+                  text run at (0,36) width 512: "BLOCKQUOTE is a child of BODY; in the second half, it is a child of TABLE."
+layer at (8,220) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,212) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_transform-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_transform-expected.txt
new file mode 100644
index 0000000..66a45ea2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/text_transform-expected.txt
@@ -0,0 +1,107 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 732
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x732 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x732
+    LayoutBlockFlow {BODY} at (8,8) size 769x716 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x75
+        LayoutText {#text} at (0,0) size 266x75
+          text run at (0,0) width 219: ".ttn {text-transform: none;}"
+          text run at (218,0) width 1: " "
+          text run at (0,15) width 266: ".cap {text-transform: capitalize;}"
+          text run at (265,15) width 1: " "
+          text run at (0,30) width 258: ".upp {text-transform: uppercase;}"
+          text run at (257,30) width 1: " "
+          text run at (0,45) width 258: ".low {text-transform: lowercase;}"
+          text run at (257,45) width 1: " "
+          text run at (0,60) width 0: " "
+      LayoutBlockFlow {P} at (0,140) size 769x36
+        LayoutText {#text} at (0,0) size 732x36
+          text run at (0,0) width 732: "This page tests the 'text-transform' property of CSS1. This paragraph has no text transformation and should appear"
+          text run at (0,18) width 50: "normal."
+      LayoutBlockFlow {P} at (0,192) size 769x54
+        LayoutText {#text} at (0,0) size 758x54
+          text run at (0,0) width 758: "This Paragraph Is Capitalized And The First Letter In Each Word Should Therefore Appear In Uppercase. Words That"
+          text run at (0,18) width 727: "Are In Uppercase In The Source (E.G. USA) Should Remain So. There Should Be A Capital Letter After A Non-"
+          text run at (0,36) width 544: "Breaking Space (&Nbsp;). Both Those Characters Appear In The Previous Sentence."
+      LayoutBlockFlow {P} at (0,262) size 769x36
+        LayoutText {#text} at (0,0) size 743x36
+          text run at (0,0) width 743: "Words with inline elements inside them should only capitalize the first letter of the word. Therefore, the last word in"
+          text run at (0,18) width 336: "this sentence should have one, and only one, capital "
+        LayoutInline {SPAN} at (0,0) size 39x18
+          LayoutText {#text} at (335,18) size 18x18
+            text run at (335,18) width 18: "Le"
+          LayoutInline {SPAN} at (0,0) size 10x18
+            LayoutText {#text} at (352,18) size 10x18
+              text run at (352,18) width 10: "tt"
+          LayoutText {#text} at (361,18) size 13x18
+            text run at (361,18) width 13: "er"
+        LayoutText {#text} at (373,18) size 5x18
+          text run at (373,18) width 5: "."
+      LayoutBlockFlow {P} at (0,314) size 769x54
+        LayoutText {#text} at (0,0) size 704x36
+          text run at (0,0) width 704: "THIS PARAGRAPH IS UPPERCASED AND SMALL CHARACTERS IN THE SOURCE (E.G. A AND \x{C5})"
+          text run at (0,18) width 351: "SHOULD THEREFORE APPEAR IN UPPERCASE. "
+          text run at (350,18) width 278: "IN THE LAST SENTENCE, HOWEVER, "
+        LayoutInline {SPAN} at (0,0) size 753x36
+          LayoutText {#text} at (628,18) size 753x36
+            text run at (628,18) width 125: "the last eight words"
+            text run at (0,36) width 155: "should not be uppercase"
+        LayoutText {#text} at (154,36) size 5x18
+          text run at (154,36) width 5: "."
+      LayoutBlockFlow {P} at (0,384) size 769x18
+        LayoutText {#text} at (0,0) size 741x18
+          text run at (0,0) width 741: "this paragraph is lowercased and capital characters in the source (e.g. a and \x{E5}) should therefore appear in lowercase."
+      LayoutTable {TABLE} at (0,418) size 769x298 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x296
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x270
+            LayoutTableCell {TD} at (0,148) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x270 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x36
+                LayoutText {#text} at (0,0) size 732x36
+                  text run at (0,0) width 732: "This page tests the 'text-transform' property of CSS1. This paragraph has no text transformation and should appear"
+                  text run at (0,18) width 50: "normal."
+              LayoutBlockFlow {P} at (4,56) size 747x54
+                LayoutText {#text} at (0,0) size 724x54
+                  text run at (0,0) width 724: "This Paragraph Is Capitalized And The First Letter In Each Word Should Therefore Appear In Uppercase. Words"
+                  text run at (0,18) width 723: "That Are In Uppercase In The Source (E.G. USA) Should Remain So. There Should Be A Capital Letter After A"
+                  text run at (0,36) width 577: "Non-Breaking Space (&Nbsp;). Both Those Characters Appear In The Previous Sentence."
+              LayoutBlockFlow {P} at (4,126) size 747x36
+                LayoutText {#text} at (0,0) size 743x36
+                  text run at (0,0) width 743: "Words with inline elements inside them should only capitalize the first letter of the word. Therefore, the last word in"
+                  text run at (0,18) width 336: "this sentence should have one, and only one, capital "
+                LayoutInline {SPAN} at (0,0) size 39x18
+                  LayoutText {#text} at (335,18) size 18x18
+                    text run at (335,18) width 18: "Le"
+                  LayoutInline {SPAN} at (0,0) size 10x18
+                    LayoutText {#text} at (352,18) size 10x18
+                      text run at (352,18) width 10: "tt"
+                  LayoutText {#text} at (361,18) size 13x18
+                    text run at (361,18) width 13: "er"
+                LayoutText {#text} at (373,18) size 5x18
+                  text run at (373,18) width 5: "."
+              LayoutBlockFlow {P} at (4,178) size 747x54
+                LayoutText {#text} at (0,0) size 704x36
+                  text run at (0,0) width 704: "THIS PARAGRAPH IS UPPERCASED AND SMALL CHARACTERS IN THE SOURCE (E.G. A AND \x{C5})"
+                  text run at (0,18) width 351: "SHOULD THEREFORE APPEAR IN UPPERCASE. "
+                  text run at (350,18) width 278: "IN THE LAST SENTENCE, HOWEVER, "
+                LayoutInline {SPAN} at (0,0) size 710x36
+                  LayoutText {#text} at (628,18) size 710x36
+                    text run at (628,18) width 82: "the last eight"
+                    text run at (0,36) width 198: "words should not be uppercase"
+                LayoutText {#text} at (197,36) size 5x18
+                  text run at (197,36) width 5: "."
+              LayoutBlockFlow {P} at (4,248) size 747x18
+                LayoutText {#text} at (0,0) size 741x18
+                  text run at (0,0) width 741: "this paragraph is lowercased and capital characters in the source (e.g. a and \x{E5}) should therefore appear in lowercase."
+layer at (8,130) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,122) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/vertical_align-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/vertical_align-expected.txt
new file mode 100644
index 0000000..21e4a624
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/vertical_align-expected.txt
@@ -0,0 +1,723 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 4423
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x4423 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x4423.31
+    LayoutBlockFlow {BODY} at (8,8) size 769x4407.31 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x270
+        LayoutText {#text} at (0,0) size 500x270
+          text run at (0,0) width 157: "P {font-size: 12pt;}"
+          text run at (156,0) width 1: " "
+          text run at (0,15) width 211: ".one {vertical-align: sub;}"
+          text run at (210,15) width 1: " "
+          text run at (0,30) width 227: ".two {vertical-align: super;}"
+          text run at (226,30) width 1: " "
+          text run at (0,45) width 359: ".three {vertical-align: top; font-size: 12pt;}"
+          text run at (358,45) width 1: " "
+          text run at (0,60) width 391: ".four {vertical-align: text-top; font-size: 12pt;}"
+          text run at (390,60) width 1: " "
+          text run at (0,75) width 375: ".five {vertical-align: middle; font-size: 12pt;}"
+          text run at (374,75) width 1: " "
+          text run at (0,90) width 367: ".six {vertical-align: bottom; font-size: 12pt;}"
+          text run at (366,90) width 1: " "
+          text run at (0,105) width 422: ".seven {vertical-align: text-bottom; font-size: 12pt;}"
+          text run at (421,105) width 1: " "
+          text run at (0,120) width 398: ".eight {vertical-align: baseline; font-size: 12pt;}"
+          text run at (397,120) width 1: " "
+          text run at (0,135) width 500: ".nine {vertical-align: 50%; font-size: 12px; line-height: 16px;}"
+          text run at (499,135) width 1: " "
+          text run at (0,150) width 0: " "
+          text run at (0,165) width 219: "P.example {font-size: 14pt;}"
+          text run at (218,165) width 1: " "
+          text run at (0,180) width 172: "BIG {font-size: 16pt;}"
+          text run at (171,180) width 1: " "
+          text run at (0,195) width 188: "SMALL {font-size: 12pt;}"
+          text run at (187,195) width 1: " "
+          text run at (0,210) width 297: ".ttopalign {vertical-align: text-top;}"
+          text run at (296,210) width 1: " "
+          text run at (0,225) width 250: ".topalign {vertical-align: top;}"
+          text run at (249,225) width 1: " "
+          text run at (0,240) width 274: ".midalign {vertical-align: middle;}"
+          text run at (273,240) width 1: " "
+          text run at (0,255) width 0: " "
+      LayoutBlockFlow {P} at (0,335) size 769x76
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 128x18
+          LayoutText {#text} at (15,40) size 128x18
+            text run at (15,40) width 128: "The first four words"
+        LayoutText {#text} at (142,36) size 766x40
+          text run at (142,36) width 292: " in this sentence should be subscript-aligned. "
+          text run at (433,36) width 333: "The font size of the superscripted text should not be"
+          text run at (0,58) width 262: "different from that of the parent element."
+      LayoutBlockFlow {P} at (0,427) size 769x72
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 128x18
+          LayoutText {#text} at (15,30) size 128x18
+            text run at (15,30) width 128: "The first four words"
+        LayoutText {#text} at (142,36) size 766x36
+          text run at (142,36) width 304: " in this sentence should be superscript-aligned. "
+          text run at (445,36) width 321: "The font size of the subscripted text should not be"
+          text run at (0,54) width 262: "different from that of the parent element."
+      LayoutBlockFlow {P} at (0,515) size 769x72
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 128x18
+          LayoutText {#text} at (15,0) size 128x18
+            text run at (15,0) width 128: "The first four words"
+        LayoutText {#text} at (142,36) size 728x36
+          text run at (142,36) width 586: " in this sentence should be top-aligned, which will align their tops with the top of the tallest"
+          text run at (0,54) width 328: "element in the line (probably the orange rectangle)."
+      LayoutBlockFlow {P} at (0,603) size 769x132
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,36) size 4x18
+          text run at (15,36) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 755x111
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 128x18
+            LayoutText {#text} at (19,21) size 128x18
+              text run at (19,21) width 128: "The first four words"
+          LayoutText {#text} at (146,21) size 755x111
+            text run at (146,21) width 558: " in this sentence should be text-top-aligned,"
+            text run at (0,58) width 755: "which should align their tops with the top of the tallest text"
+            text run at (0,95) width 136: "in the line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,751) size 769x68
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,15) size 755x53
+          text run at (15,15) width 740: " The image at the beginning of this sentence should be middle-aligned, which should align its middle with the point"
+          text run at (0,50) width 317: "defined as the text baseline plus half the x-height."
+      LayoutBlockFlow {P} at (0,835) size 769x124
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,15) size 4x18
+          text run at (15,15) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 733x124
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 128x18
+            LayoutText {#text} at (19,32) size 128x18
+              text run at (19,32) width 128: "The first four words"
+          LayoutText {#text} at (146,0) size 733x124
+            text run at (146,0) width 548: " in this sentence should be 12pt in size and"
+            text run at (0,50) width 733: "bottom-aligned, which should align their bottom with the"
+            text run at (0,87) width 518: "bottom of the lowest element in the line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,975) size 769x161
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,15) size 4x18
+          text run at (15,15) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 751x161
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 297x18
+            LayoutText {#text} at (19,19) size 297x18
+              text run at (19,19) width 297: "The first eight words (\"eight\" has a descender)"
+          LayoutText {#text} at (315,0) size 751x161
+            text run at (315,0) width 436: " in this sentence should be 12pt in"
+            text run at (0,50) width 693: "size and text-bottom-aligned, which should align their"
+            text run at (0,87) width 671: "bottom with the bottom of the lowest text (including"
+            text run at (0,124) width 295: "descenders) in the line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,1152) size 769x132
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,36) size 4x18
+          text run at (15,36) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 761x111
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 128x18
+            LayoutText {#text} at (19,36) size 128x18
+              text run at (19,36) width 128: "The first four words"
+          LayoutText {#text} at (146,21) size 761x111
+            text run at (146,21) width 548: " in this sentence should be 12pt in size and"
+            text run at (0,58) width 761: "baseline-aligned, which should align their baseline with the"
+            text run at (0,95) width 523: "baseline of the rest of the text in the line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,1300) size 769x72
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 96x14
+          LayoutText {#text} at (15,31) size 96x14
+            text run at (15,31) width 96: "The first four words"
+        LayoutText {#text} at (110,36) size 763x36
+          text run at (110,36) width 653: " in this sentence should have a font-size of 12px and a line-height of 16px; they are also 50%-aligned,"
+          text run at (0,54) width 385: "which should raise them 8px relative to the natural baseline."
+      LayoutBlockFlow {P} at (0,1388) size 769x36
+        LayoutText {#text} at (0,0) size 759x36
+          text run at (0,0) width 759: "In the following paragraph, all images should be aligned with the top of the 14-point text, which is identical to the first"
+          text run at (0,18) width 676: "section of text, whereas any size text should be aligned with the text baseline (which is the default value)."
+      LayoutBlockFlow {P} at (0,1442.66) size 769x324
+        LayoutText {#text} at (0,25) size 118x22
+          text run at (0,25) width 118: "This paragraph "
+        LayoutImage {IMG} at (117.09,25) size 9x30
+        LayoutText {#text} at (126,25) size 5x22
+          text run at (126,25) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 416x54
+          LayoutText {#text} at (130,0) size 416x54
+            text run at (130,0) width 416: "contains many images"
+        LayoutText {#text} at (545,25) size 6x22
+          text run at (545,25) width 6: " "
+        LayoutImage {IMG} at (550.05,25) size 15x50
+        LayoutText {#text} at (565,25) size 5x22
+          text run at (565,25) width 5: " "
+        LayoutInline {BIG} at (0,0) size 156x24
+          LayoutText {#text} at (569,23) size 156x24
+            text run at (569,23) width 156: "of varying heights"
+        LayoutText {#text} at (724,25) size 6x22
+          text run at (724,25) width 6: " "
+        LayoutImage {IMG} at (729.56,25) size 3x10
+        LayoutText {#text} at (732,25) size 6x22
+          text run at (732,25) width 6: " "
+        LayoutInline {SMALL} at (0,0) size 761x115
+          LayoutText {#text} at (737,28) size 761x115
+            text run at (737,28) width 24: "and"
+            text run at (0,125) width 43: "widths"
+        LayoutText {#text} at (42,122) size 6x22
+          text run at (42,122) width 6: " "
+        LayoutImage {IMG} at (47.33,122) size 6x20
+        LayoutText {#text} at (53,122) size 99x22
+          text run at (53,122) width 99: " all of which "
+        LayoutImage {IMG} at (151.78,122) size 19.50x65
+        LayoutText {#text} at (171,122) size 5x22
+          text run at (171,122) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 265x43
+          LayoutText {#text} at (175,105) size 265x43
+            text run at (175,105) width 265: "should be aligned"
+        LayoutText {#text} at (439,122) size 5x22
+          text run at (439,122) width 5: " "
+        LayoutImage {IMG} at (443.92,122) size 10.50x35
+        LayoutText {#text} at (454,122) size 120x22
+          text run at (454,122) width 120: " with the top of "
+        LayoutImage {IMG} at (573.09,122) size 9x30
+        LayoutText {#text} at (582,122) size 5x22
+          text run at (582,122) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 700x144
+          LayoutText {#text} at (586,114) size 21x32
+            text run at (586,114) width 21: "a "
+          LayoutInline {SPAN} at (0,0) size 700x194
+            LayoutText {#text} at (606,75) size 700x194
+              text run at (606,75) width 94: "14-"
+              text run at (0,187) width 144: "point"
+          LayoutText {#text} at (143,226) size 146x32
+            text run at (143,226) width 146: " text element"
+        LayoutText {#text} at (288,234) size 6x22
+          text run at (288,234) width 6: " "
+        LayoutImage {IMG} at (293.14,234) size 15x50
+        LayoutText {#text} at (308,234) size 5x22
+          text run at (308,234) width 5: " "
+        LayoutInline {SMALL} at (0,0) size 195x18
+          LayoutText {#text} at (312,237) size 195x18
+            text run at (312,237) width 195: "regardless of the line in which"
+        LayoutText {#text} at (506,234) size 5x22
+          text run at (506,234) width 5: " "
+        LayoutImage {IMG} at (510.72,234) size 4.50x15
+        LayoutText {#text} at (515,234) size 5x22
+          text run at (515,234) width 5: " "
+        LayoutInline {BIG} at (0,0) size 160x24
+          LayoutText {#text} at (519,232) size 160x24
+            text run at (519,232) width 160: "the images appear."
+        LayoutText {#text} at (678,234) size 5x22
+          text run at (678,234) width 5: " "
+        LayoutImage {IMG} at (682.67,234) size 27x90
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,1785.31) size 769x36
+        LayoutText {#text} at (0,0) size 765x36
+          text run at (0,0) width 765: "In the following paragraph, all images should be aligned with the middle of the default text, whereas any text should be"
+          text run at (0,18) width 371: "aligned with the text baseline (which is the default value)."
+      LayoutBlockFlow {P} at (0,1837.31) size 769x230
+        LayoutText {#text} at (0,22) size 101x18
+          text run at (0,22) width 101: "This paragraph "
+        LayoutImage {IMG} at (100.41,17) size 9x30
+        LayoutText {#text} at (109,22) size 5x18
+          text run at (109,22) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 356x46
+          LayoutText {#text} at (113,0) size 356x46
+            text run at (113,0) width 356: "contains many images"
+        LayoutText {#text} at (468,22) size 5x18
+          text run at (468,22) width 5: " "
+        LayoutImage {IMG} at (472.88,7) size 15x50
+        LayoutText {#text} at (487,22) size 126x18
+          text run at (487,22) width 126: " of varying heights "
+        LayoutImage {IMG} at (612.30,27) size 3x10
+        LayoutText {#text} at (615,22) size 5x18
+          text run at (615,22) width 5: " "
+        LayoutInline {SMALL} at (0,0) size 71x18
+          LayoutText {#text} at (619,22) size 71x18
+            text run at (619,22) width 71: "and widths"
+        LayoutText {#text} at (689,22) size 5x18
+          text run at (689,22) width 5: " "
+        LayoutImage {IMG} at (693.06,22) size 6x20
+        LayoutText {#text} at (699,22) size 737x93
+          text run at (699,22) width 38: " all of"
+          text run at (0,97) width 44: "which "
+        LayoutImage {IMG} at (43.09,75) size 19.50x65
+        LayoutText {#text} at (62,97) size 122x18
+          text run at (62,97) width 122: " should be aligned "
+        LayoutImage {IMG} at (183.45,90) size 10.50x35
+        LayoutText {#text} at (193,97) size 5x18
+          text run at (193,97) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 237x37
+          LayoutText {#text} at (197,82) size 237x37
+            text run at (197,82) width 237: "with the middle of"
+        LayoutText {#text} at (433,97) size 5x18
+          text run at (433,97) width 5: " "
+        LayoutImage {IMG} at (437.47,82) size 15x50
+        LayoutText {#text} at (452,97) size 5x18
+          text run at (452,97) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 719x106
+          LayoutText {#text} at (456,89) size 18x28
+            text run at (456,89) width 18: "a "
+          LayoutInline {SPAN} at (0,0) size 204x69
+            LayoutText {#text} at (473,57) size 204x69
+              text run at (473,57) width 204: "14-point"
+          LayoutText {#text} at (676,89) size 719x106
+            text run at (676,89) width 43: " text"
+            text run at (0,167) width 76: "element"
+        LayoutText {#text} at (75,175) size 5x18
+          text run at (75,175) width 5: " "
+        LayoutImage {IMG} at (79.95,160) size 15x50
+        LayoutText {#text} at (94,175) size 5x18
+          text run at (94,175) width 5: " "
+        LayoutInline {SMALL} at (0,0) size 195x18
+          LayoutText {#text} at (98,175) size 195x18
+            text run at (98,175) width 195: "regardless of the line in which"
+        LayoutText {#text} at (292,175) size 5x18
+          text run at (292,175) width 5: " "
+        LayoutImage {IMG} at (296.22,178) size 4.50x15
+        LayoutText {#text} at (300,175) size 5x18
+          text run at (300,175) width 5: " "
+        LayoutInline {BIG} at (0,0) size 159x24
+          LayoutText {#text} at (304,170) size 159x24
+            text run at (304,170) width 159: "the images appear."
+        LayoutText {#text} at (462,175) size 5x18
+          text run at (462,175) width 5: " "
+        LayoutImage {IMG} at (466.86,140) size 27x90
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,2083.31) size 769x36
+        LayoutText {#text} at (0,0) size 750x36
+          text run at (0,0) width 750: "In the following paragraph, all elements should be aligned with the top of the tallest element on the line, whether that"
+          text run at (0,18) width 178: "element is an image or not. "
+          text run at (177,18) width 563: "Each fragment of text has been SPANned appropriately in order to cause this to happen."
+      LayoutBlockFlow {P} at (0,2135.31) size 769x201
+        LayoutInline {SPAN} at (0,0) size 97x18
+          LayoutText {#text} at (0,0) size 97x18
+            text run at (0,0) width 97: "This paragraph"
+        LayoutText {#text} at (96,0) size 5x18
+          text run at (96,0) width 5: " "
+        LayoutImage {IMG} at (100.41,0) size 3x10
+        LayoutText {#text} at (103,0) size 5x18
+          text run at (103,0) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 356x46
+          LayoutText {#text} at (107,0) size 356x46
+            text run at (107,0) width 356: "contains many images"
+        LayoutText {#text} at (462,0) size 5x18
+          text run at (462,0) width 5: " "
+        LayoutImage {IMG} at (466.88,0) size 3x10
+        LayoutText {#text} at (469,0) size 5x18
+          text run at (469,0) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 90x18
+          LayoutText {#text} at (473,0) size 90x18
+            text run at (473,0) width 90: "and some text"
+        LayoutText {#text} at (562,0) size 5x18
+          text run at (562,0) width 5: " "
+        LayoutImage {IMG} at (566.73,0) size 3x10
+        LayoutText {#text} at (569,0) size 5x18
+          text run at (569,0) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 118x18
+          LayoutText {#text} at (573,0) size 118x18
+            text run at (573,0) width 118: "of varying heights"
+        LayoutText {#text} at (690,0) size 5x18
+          text run at (690,0) width 5: " "
+        LayoutImage {IMG} at (694.16,0) size 3x10
+        LayoutText {#text} at (697,0) size 5x18
+          text run at (697,0) width 5: " "
+        LayoutInline {BIG} at (0,0) size 732x70
+          LayoutText {#text} at (701,0) size 732x70
+            text run at (701,0) width 31: "and"
+            text run at (0,46) width 57: "widths"
+        LayoutText {#text} at (56,46) size 5x18
+          text run at (56,46) width 5: " "
+        LayoutImage {IMG} at (60.88,46) size 6x20
+        LayoutText {#text} at (66,46) size 5x18
+          text run at (66,46) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 78x18
+          LayoutText {#text} at (70,46) size 78x18
+            text run at (70,46) width 78: "all of which"
+        LayoutText {#text} at (147,46) size 5x18
+          text run at (147,46) width 5: " "
+        LayoutImage {IMG} at (151.30,46) size 19.50x65
+        LayoutText {#text} at (170,46) size 5x18
+          text run at (170,46) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 114x18
+          LayoutText {#text} at (174,46) size 114x18
+            text run at (174,46) width 114: "should be aligned"
+        LayoutText {#text} at (287,46) size 5x18
+          text run at (287,46) width 5: " "
+        LayoutImage {IMG} at (291.66,46) size 10.50x35
+        LayoutText {#text} at (302,46) size 5x18
+          text run at (302,46) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 188x37
+          LayoutText {#text} at (306,46) size 188x37
+            text run at (306,46) width 188: "with the top of"
+        LayoutText {#text} at (493,46) size 5x18
+          text run at (493,46) width 5: " "
+        LayoutImage {IMG} at (497.69,46) size 15x50
+        LayoutText {#text} at (512,46) size 5x18
+          text run at (512,46) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 134x18
+          LayoutText {#text} at (516,46) size 134x18
+            text run at (516,46) width 134: "the tallest element in"
+        LayoutText {#text} at (649,46) size 5x18
+          text run at (649,46) width 5: " "
+        LayoutImage {IMG} at (653.53,46) size 4.50x15
+        LayoutText {#text} at (658,46) size 5x18
+          text run at (658,46) width 5: " "
+        LayoutInline {BIG} at (0,0) size 751x89
+          LayoutText {#text} at (662,46) size 751x89
+            text run at (662,46) width 89: "whichever"
+            text run at (0,111) width 211: "line the elements appear."
+        LayoutText {#text} at (210,111) size 5x18
+          text run at (210,111) width 5: " "
+        LayoutImage {IMG} at (214.84,111) size 27x90
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,2352.31) size 769x2055 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x2053
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x2027
+            LayoutTableCell {TD} at (0,1026) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x2027.31 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x76
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 128x18
+                  LayoutText {#text} at (15,40) size 128x18
+                    text run at (15,40) width 128: "The first four words"
+                LayoutText {#text} at (142,36) size 746x40
+                  text run at (142,36) width 292: " in this sentence should be subscript-aligned. "
+                  text run at (433,36) width 313: "The font size of the superscripted text should not"
+                  text run at (0,58) width 281: "be different from that of the parent element."
+              LayoutBlockFlow {P} at (4,96) size 747x72
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 128x18
+                  LayoutText {#text} at (15,30) size 128x18
+                    text run at (15,30) width 128: "The first four words"
+                LayoutText {#text} at (142,36) size 746x36
+                  text run at (142,36) width 304: " in this sentence should be superscript-aligned. "
+                  text run at (445,36) width 301: "The font size of the subscripted text should not"
+                  text run at (0,54) width 281: "be different from that of the parent element."
+              LayoutBlockFlow {P} at (4,184) size 747x72
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 128x18
+                  LayoutText {#text} at (15,0) size 128x18
+                    text run at (15,0) width 128: "The first four words"
+                LayoutText {#text} at (142,36) size 728x36
+                  text run at (142,36) width 586: " in this sentence should be top-aligned, which will align their tops with the top of the tallest"
+                  text run at (0,54) width 328: "element in the line (probably the orange rectangle)."
+              LayoutBlockFlow {P} at (4,272) size 747x132
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,36) size 4x18
+                  text run at (15,36) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 704x111
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 128x18
+                    LayoutText {#text} at (19,21) size 128x18
+                      text run at (19,21) width 128: "The first four words"
+                  LayoutText {#text} at (146,21) size 704x111
+                    text run at (146,21) width 558: " in this sentence should be text-top-aligned,"
+                    text run at (0,58) width 699: "which should align their tops with the top of the tallest"
+                    text run at (0,95) width 192: "text in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,420) size 747x68
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,15) size 718x53
+                  text run at (15,15) width 703: " The image at the beginning of this sentence should be middle-aligned, which should align its middle with the"
+                  text run at (0,50) width 354: "point defined as the text baseline plus half the x-height."
+              LayoutBlockFlow {P} at (4,504) size 747x124
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,15) size 4x18
+                  text run at (15,15) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 733x124
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 128x18
+                    LayoutText {#text} at (19,32) size 128x18
+                      text run at (19,32) width 128: "The first four words"
+                  LayoutText {#text} at (146,0) size 733x124
+                    text run at (146,0) width 548: " in this sentence should be 12pt in size and"
+                    text run at (0,50) width 733: "bottom-aligned, which should align their bottom with the"
+                    text run at (0,87) width 518: "bottom of the lowest element in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,644) size 747x161
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,15) size 4x18
+                  text run at (15,15) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 726x161
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 297x18
+                    LayoutText {#text} at (19,19) size 297x18
+                      text run at (19,19) width 297: "The first eight words (\"eight\" has a descender)"
+                  LayoutText {#text} at (315,0) size 726x161
+                    text run at (315,0) width 403: " in this sentence should be 12pt"
+                    text run at (0,50) width 726: "in size and text-bottom-aligned, which should align their"
+                    text run at (0,87) width 671: "bottom with the bottom of the lowest text (including"
+                    text run at (0,124) width 295: "descenders) in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,821) size 747x132
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,36) size 4x18
+                  text run at (15,36) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 714x111
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 128x18
+                    LayoutText {#text} at (19,36) size 128x18
+                      text run at (19,36) width 128: "The first four words"
+                  LayoutText {#text} at (146,21) size 714x111
+                    text run at (146,21) width 548: " in this sentence should be 12pt in size and"
+                    text run at (0,58) width 714: "baseline-aligned, which should align their baseline with"
+                    text run at (0,95) width 570: "the baseline of the rest of the text in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,969) size 747x72
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 96x14
+                  LayoutText {#text} at (15,31) size 96x14
+                    text run at (15,31) width 96: "The first four words"
+                LayoutText {#text} at (110,36) size 712x36
+                  text run at (110,36) width 602: " in this sentence should have a font-size of 12px and a line-height of 16px; they are also 50%-"
+                  text run at (0,54) width 440: "aligned, which should raise them 8px relative to the natural baseline."
+              LayoutBlockFlow {P} at (4,1057) size 747x36
+                LayoutText {#text} at (0,0) size 730x36
+                  text run at (0,0) width 730: "In the following paragraph, all images should be aligned with the top of the 14-point text, which is identical to the"
+                  text run at (0,18) width 705: "first section of text, whereas any size text should be aligned with the text baseline (which is the default value)."
+              LayoutBlockFlow {P} at (4,1111.66) size 747x324
+                LayoutText {#text} at (0,25) size 118x22
+                  text run at (0,25) width 118: "This paragraph "
+                LayoutImage {IMG} at (117.09,25) size 9x30
+                LayoutText {#text} at (126,25) size 5x22
+                  text run at (126,25) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 416x54
+                  LayoutText {#text} at (130,0) size 416x54
+                    text run at (130,0) width 416: "contains many images"
+                LayoutText {#text} at (545,25) size 6x22
+                  text run at (545,25) width 6: " "
+                LayoutImage {IMG} at (550.05,25) size 15x50
+                LayoutText {#text} at (565,25) size 5x22
+                  text run at (565,25) width 5: " "
+                LayoutInline {BIG} at (0,0) size 156x24
+                  LayoutText {#text} at (569,23) size 156x24
+                    text run at (569,23) width 156: "of varying heights"
+                LayoutText {#text} at (724,25) size 6x22
+                  text run at (724,25) width 6: " "
+                LayoutImage {IMG} at (729.56,25) size 3x10
+                LayoutText {#text} at (0,0) size 0x0
+                LayoutInline {SMALL} at (0,0) size 70x18
+                  LayoutText {#text} at (0,125) size 70x18
+                    text run at (0,125) width 70: "and widths"
+                LayoutText {#text} at (69,122) size 6x22
+                  text run at (69,122) width 6: " "
+                LayoutImage {IMG} at (74.42,122) size 6x20
+                LayoutText {#text} at (80,122) size 99x22
+                  text run at (80,122) width 99: " all of which "
+                LayoutImage {IMG} at (178.88,122) size 19.50x65
+                LayoutText {#text} at (198,122) size 6x22
+                  text run at (198,122) width 6: " "
+                LayoutInline {SPAN} at (0,0) size 264x43
+                  LayoutText {#text} at (203,105) size 264x43
+                    text run at (203,105) width 264: "should be aligned"
+                LayoutText {#text} at (466,122) size 6x22
+                  text run at (466,122) width 6: " "
+                LayoutImage {IMG} at (471.02,122) size 10.50x35
+                LayoutText {#text} at (481,122) size 120x22
+                  text run at (481,122) width 120: " with the top of "
+                LayoutImage {IMG} at (600.19,122) size 9x30
+                LayoutText {#text} at (609,122) size 5x22
+                  text run at (609,122) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 727x144
+                  LayoutText {#text} at (613,114) size 21x32
+                    text run at (613,114) width 21: "a "
+                  LayoutInline {SPAN} at (0,0) size 727x194
+                    LayoutText {#text} at (633,75) size 727x194
+                      text run at (633,75) width 94: "14-"
+                      text run at (0,187) width 144: "point"
+                  LayoutText {#text} at (143,226) size 146x32
+                    text run at (143,226) width 146: " text element"
+                LayoutText {#text} at (288,234) size 6x22
+                  text run at (288,234) width 6: " "
+                LayoutImage {IMG} at (293.14,234) size 15x50
+                LayoutText {#text} at (308,234) size 5x22
+                  text run at (308,234) width 5: " "
+                LayoutInline {SMALL} at (0,0) size 195x18
+                  LayoutText {#text} at (312,237) size 195x18
+                    text run at (312,237) width 195: "regardless of the line in which"
+                LayoutText {#text} at (506,234) size 5x22
+                  text run at (506,234) width 5: " "
+                LayoutImage {IMG} at (510.72,234) size 4.50x15
+                LayoutText {#text} at (515,234) size 5x22
+                  text run at (515,234) width 5: " "
+                LayoutInline {BIG} at (0,0) size 160x24
+                  LayoutText {#text} at (519,232) size 160x24
+                    text run at (519,232) width 160: "the images appear."
+                LayoutText {#text} at (678,234) size 5x22
+                  text run at (678,234) width 5: " "
+                LayoutImage {IMG} at (682.67,234) size 27x90
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,1454.31) size 747x36
+                LayoutText {#text} at (0,0) size 746x36
+                  text run at (0,0) width 746: "In the following paragraph, all images should be aligned with the middle of the default text, whereas any text should"
+                  text run at (0,18) width 390: "be aligned with the text baseline (which is the default value)."
+              LayoutBlockFlow {P} at (4,1506.31) size 747x230
+                LayoutText {#text} at (0,22) size 101x18
+                  text run at (0,22) width 101: "This paragraph "
+                LayoutImage {IMG} at (100.41,17) size 9x30
+                LayoutText {#text} at (109,22) size 5x18
+                  text run at (109,22) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 356x46
+                  LayoutText {#text} at (113,0) size 356x46
+                    text run at (113,0) width 356: "contains many images"
+                LayoutText {#text} at (468,22) size 5x18
+                  text run at (468,22) width 5: " "
+                LayoutImage {IMG} at (472.88,7) size 15x50
+                LayoutText {#text} at (487,22) size 126x18
+                  text run at (487,22) width 126: " of varying heights "
+                LayoutImage {IMG} at (612.30,27) size 3x10
+                LayoutText {#text} at (615,22) size 5x18
+                  text run at (615,22) width 5: " "
+                LayoutInline {SMALL} at (0,0) size 71x18
+                  LayoutText {#text} at (619,22) size 71x18
+                    text run at (619,22) width 71: "and widths"
+                LayoutText {#text} at (689,22) size 5x18
+                  text run at (689,22) width 5: " "
+                LayoutImage {IMG} at (693.06,22) size 6x20
+                LayoutText {#text} at (699,22) size 737x93
+                  text run at (699,22) width 38: " all of"
+                  text run at (0,97) width 44: "which "
+                LayoutImage {IMG} at (43.09,75) size 19.50x65
+                LayoutText {#text} at (62,97) size 122x18
+                  text run at (62,97) width 122: " should be aligned "
+                LayoutImage {IMG} at (183.45,90) size 10.50x35
+                LayoutText {#text} at (193,97) size 5x18
+                  text run at (193,97) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 237x37
+                  LayoutText {#text} at (197,82) size 237x37
+                    text run at (197,82) width 237: "with the middle of"
+                LayoutText {#text} at (433,97) size 5x18
+                  text run at (433,97) width 5: " "
+                LayoutImage {IMG} at (437.47,82) size 15x50
+                LayoutText {#text} at (452,97) size 5x18
+                  text run at (452,97) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 719x106
+                  LayoutText {#text} at (456,89) size 18x28
+                    text run at (456,89) width 18: "a "
+                  LayoutInline {SPAN} at (0,0) size 204x69
+                    LayoutText {#text} at (473,57) size 204x69
+                      text run at (473,57) width 204: "14-point"
+                  LayoutText {#text} at (676,89) size 719x106
+                    text run at (676,89) width 43: " text"
+                    text run at (0,167) width 76: "element"
+                LayoutText {#text} at (75,175) size 5x18
+                  text run at (75,175) width 5: " "
+                LayoutImage {IMG} at (79.95,160) size 15x50
+                LayoutText {#text} at (94,175) size 5x18
+                  text run at (94,175) width 5: " "
+                LayoutInline {SMALL} at (0,0) size 195x18
+                  LayoutText {#text} at (98,175) size 195x18
+                    text run at (98,175) width 195: "regardless of the line in which"
+                LayoutText {#text} at (292,175) size 5x18
+                  text run at (292,175) width 5: " "
+                LayoutImage {IMG} at (296.22,178) size 4.50x15
+                LayoutText {#text} at (300,175) size 5x18
+                  text run at (300,175) width 5: " "
+                LayoutInline {BIG} at (0,0) size 159x24
+                  LayoutText {#text} at (304,170) size 159x24
+                    text run at (304,170) width 159: "the images appear."
+                LayoutText {#text} at (462,175) size 5x18
+                  text run at (462,175) width 5: " "
+                LayoutImage {IMG} at (466.86,140) size 27x90
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,1752.31) size 747x54
+                LayoutText {#text} at (0,0) size 723x54
+                  text run at (0,0) width 723: "In the following paragraph, all elements should be aligned with the top of the tallest element on the line, whether"
+                  text run at (0,18) width 206: "that element is an image or not. "
+                  text run at (205,18) width 509: "Each fragment of text has been SPANned appropriately in order to cause this to"
+                  text run at (0,36) width 51: "happen."
+              LayoutBlockFlow {P} at (4,1822.31) size 747x201
+                LayoutInline {SPAN} at (0,0) size 97x18
+                  LayoutText {#text} at (0,0) size 97x18
+                    text run at (0,0) width 97: "This paragraph"
+                LayoutText {#text} at (96,0) size 5x18
+                  text run at (96,0) width 5: " "
+                LayoutImage {IMG} at (100.41,0) size 3x10
+                LayoutText {#text} at (103,0) size 5x18
+                  text run at (103,0) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 356x46
+                  LayoutText {#text} at (107,0) size 356x46
+                    text run at (107,0) width 356: "contains many images"
+                LayoutText {#text} at (462,0) size 5x18
+                  text run at (462,0) width 5: " "
+                LayoutImage {IMG} at (466.88,0) size 3x10
+                LayoutText {#text} at (469,0) size 5x18
+                  text run at (469,0) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 90x18
+                  LayoutText {#text} at (473,0) size 90x18
+                    text run at (473,0) width 90: "and some text"
+                LayoutText {#text} at (562,0) size 5x18
+                  text run at (562,0) width 5: " "
+                LayoutImage {IMG} at (566.73,0) size 3x10
+                LayoutText {#text} at (569,0) size 5x18
+                  text run at (569,0) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 118x18
+                  LayoutText {#text} at (573,0) size 118x18
+                    text run at (573,0) width 118: "of varying heights"
+                LayoutText {#text} at (690,0) size 5x18
+                  text run at (690,0) width 5: " "
+                LayoutImage {IMG} at (694.16,0) size 3x10
+                LayoutText {#text} at (697,0) size 5x18
+                  text run at (697,0) width 5: " "
+                LayoutInline {BIG} at (0,0) size 732x70
+                  LayoutText {#text} at (701,0) size 732x70
+                    text run at (701,0) width 31: "and"
+                    text run at (0,46) width 57: "widths"
+                LayoutText {#text} at (56,46) size 5x18
+                  text run at (56,46) width 5: " "
+                LayoutImage {IMG} at (60.88,46) size 6x20
+                LayoutText {#text} at (66,46) size 5x18
+                  text run at (66,46) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 78x18
+                  LayoutText {#text} at (70,46) size 78x18
+                    text run at (70,46) width 78: "all of which"
+                LayoutText {#text} at (147,46) size 5x18
+                  text run at (147,46) width 5: " "
+                LayoutImage {IMG} at (151.30,46) size 19.50x65
+                LayoutText {#text} at (170,46) size 5x18
+                  text run at (170,46) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 114x18
+                  LayoutText {#text} at (174,46) size 114x18
+                    text run at (174,46) width 114: "should be aligned"
+                LayoutText {#text} at (287,46) size 5x18
+                  text run at (287,46) width 5: " "
+                LayoutImage {IMG} at (291.66,46) size 10.50x35
+                LayoutText {#text} at (302,46) size 5x18
+                  text run at (302,46) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 188x37
+                  LayoutText {#text} at (306,46) size 188x37
+                    text run at (306,46) width 188: "with the top of"
+                LayoutText {#text} at (493,46) size 5x18
+                  text run at (493,46) width 5: " "
+                LayoutImage {IMG} at (497.69,46) size 15x50
+                LayoutText {#text} at (512,46) size 5x18
+                  text run at (512,46) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 134x18
+                  LayoutText {#text} at (516,46) size 134x18
+                    text run at (516,46) width 134: "the tallest element in"
+                LayoutText {#text} at (649,46) size 5x18
+                  text run at (649,46) width 5: " "
+                LayoutImage {IMG} at (653.53,46) size 4.50x15
+                LayoutText {#text} at (0,0) size 0x0
+                LayoutInline {BIG} at (0,0) size 305x24
+                  LayoutText {#text} at (0,111) size 305x24
+                    text run at (0,111) width 305: "whichever line the elements appear."
+                LayoutText {#text} at (305,111) size 4x18
+                  text run at (305,111) width 4: " "
+                LayoutImage {IMG} at (309,111) size 27x90
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,325) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,317) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/word_spacing-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/word_spacing-expected.txt
new file mode 100644
index 0000000..30114dc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/text_properties/word_spacing-expected.txt
@@ -0,0 +1,118 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 997
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x997 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x997
+    LayoutBlockFlow {BODY} at (8,8) size 769x981 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x180
+        LayoutText {#text} at (0,0) size 242x180
+          text run at (0,0) width 211: ".one {word-spacing: 0.3in;}"
+          text run at (210,0) width 1: " "
+          text run at (0,15) width 211: ".two {word-spacing: 0.5cm;}"
+          text run at (210,15) width 1: " "
+          text run at (0,30) width 211: ".three {word-spacing: 5mm;}"
+          text run at (210,30) width 1: " "
+          text run at (0,45) width 203: ".four {word-spacing: 3pt;}"
+          text run at (202,45) width 1: " "
+          text run at (0,60) width 227: ".five {word-spacing: 0.25pc;}"
+          text run at (226,60) width 1: " "
+          text run at (0,75) width 196: ".six {word-spacing: 1em;}"
+          text run at (195,75) width 1: " "
+          text run at (0,90) width 211: ".seven {word-spacing: 1ex;}"
+          text run at (210,90) width 1: " "
+          text run at (0,105) width 211: ".eight {word-spacing: 5px;}"
+          text run at (210,105) width 1: " "
+          text run at (0,120) width 227: ".nine {word-spacing: normal;}"
+          text run at (226,120) width 1: " "
+          text run at (0,135) width 203: ".ten {word-spacing: 300%;}"
+          text run at (202,135) width 1: " "
+          text run at (0,150) width 242: ".eleven {word-spacing: -0.2em;}"
+          text run at (241,150) width 1: " "
+          text run at (0,165) width 0: " "
+      LayoutBlockFlow {P} at (0,245) size 769x18
+        LayoutText {#text} at (0,0) size 716x18
+          text run at (0,0) width 716: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,279) size 769x18
+        LayoutText {#text} at (0,0) size 617x18
+          text run at (0,0) width 617: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,313) size 769x18
+        LayoutText {#text} at (0,0) size 617x18
+          text run at (0,0) width 617: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,347) size 769x18
+        LayoutText {#text} at (0,0) size 468x18
+          text run at (0,0) width 468: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,381) size 769x18
+        LayoutText {#text} at (0,0) size 468x18
+          text run at (0,0) width 468: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,415) size 769x18
+        LayoutText {#text} at (0,0) size 588x18
+          text run at (0,0) width 588: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,449) size 769x18
+        LayoutText {#text} at (0,0) size 500x18
+          text run at (0,0) width 500: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,483) size 769x36
+        LayoutText {#text} at (0,0) size 763x18
+          text run at (0,0) width 763: "This words in this sentence should have extra space between them, but the last few words in the sentence"
+        LayoutInline {SPAN} at (0,0) size 180x18
+          LayoutText {#text} at (0,18) size 180x18
+            text run at (0,18) width 180: "should have normal spacing"
+        LayoutText {#text} at (179,18) size 5x18
+          text run at (179,18) width 5: "."
+      LayoutBlockFlow {P} at (0,535) size 769x18
+        LayoutText {#text} at (0,0) size 679x18
+          text run at (0,0) width 679: "This sentence should have normal word-spacing, since percentage values are not allowed on this property."
+      LayoutBlockFlow {P} at (0,569) size 769x18
+        LayoutText {#text} at (0,0) size 716x18
+          text run at (0,0) width 716: "This words in this sentence should have reduced space between them, since negative values are allowed on this property."
+      LayoutTable {TABLE} at (0,603) size 769x378 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x376
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x350
+            LayoutTableCell {TD} at (0,188) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x350 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18
+                LayoutText {#text} at (0,0) size 716x18
+                  text run at (0,0) width 716: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,38) size 747x18
+                LayoutText {#text} at (0,0) size 617x18
+                  text run at (0,0) width 617: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,72) size 747x18
+                LayoutText {#text} at (0,0) size 617x18
+                  text run at (0,0) width 617: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,106) size 747x18
+                LayoutText {#text} at (0,0) size 468x18
+                  text run at (0,0) width 468: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,140) size 747x18
+                LayoutText {#text} at (0,0) size 468x18
+                  text run at (0,0) width 468: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,174) size 747x18
+                LayoutText {#text} at (0,0) size 588x18
+                  text run at (0,0) width 588: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,208) size 747x18
+                LayoutText {#text} at (0,0) size 500x18
+                  text run at (0,0) width 500: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,242) size 747x36
+                LayoutText {#text} at (0,0) size 699x36
+                  text run at (0,0) width 699: "This words in this sentence should have extra space between them, but the last few words in the"
+                  text run at (0,18) width 65: "sentence "
+                LayoutInline {SPAN} at (0,0) size 180x18
+                  LayoutText {#text} at (64,18) size 180x18
+                    text run at (64,18) width 180: "should have normal spacing"
+                LayoutText {#text} at (243,18) size 5x18
+                  text run at (243,18) width 5: "."
+              LayoutBlockFlow {P} at (4,294) size 747x18
+                LayoutText {#text} at (0,0) size 679x18
+                  text run at (0,0) width 679: "This sentence should have normal word-spacing, since percentage values are not allowed on this property."
+              LayoutBlockFlow {P} at (4,328) size 747x18
+                LayoutText {#text} at (0,0) size 716x18
+                  text run at (0,0) width 716: "This words in this sentence should have reduced space between them, since negative values are allowed on this property."
+layer at (8,235) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,227) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/color_units-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/color_units-expected.txt
new file mode 100644
index 0000000..9265bd19
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/color_units-expected.txt
@@ -0,0 +1,240 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1717
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1717 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1717
+    LayoutBlockFlow {BODY} at (8,8) size 769x1701 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x180
+        LayoutText {#text} at (0,0) size 281x180
+          text run at (0,0) width 157: "BODY {color: black;}"
+          text run at (156,0) width 1: " "
+          text run at (0,15) width 149: ".one {color: #080;}"
+          text run at (148,15) width 1: " "
+          text run at (0,30) width 172: ".two {color: #008000;}"
+          text run at (171,30) width 1: " "
+          text run at (0,45) width 227: ".three {color: rgb(0,128,0);}"
+          text run at (226,45) width 1: " "
+          text run at (0,60) width 235: ".four {color: rgb(0%,50%,0%);}"
+          text run at (234,60) width 1: " "
+          text run at (0,75) width 281: ".five {color: rgb(0.0%,50.0%,0.0%);}"
+          text run at (280,75) width 1: " "
+          text run at (0,90) width 157: ".six {color: green;}"
+          text run at (156,90) width 1: " "
+          text run at (0,105) width 227: ".seven {color: invalidValue;}"
+          text run at (226,105) width 1: " "
+          text run at (0,120) width 250: ".eight {color: rgb(0,128,1280);}"
+          text run at (249,120) width 1: " "
+          text run at (0,135) width 235: ".nine {color: rgb(0,128,255);}"
+          text run at (234,135) width 1: " "
+          text run at (0,150) width 258: ".ten {color: rgb(50%,-500%,60%);}"
+          text run at (257,150) width 1: " "
+          text run at (0,165) width 258: ".eleven {color: rgb(50%,0%,60%);}"
+          text run at (257,165) width 1: " "
+      LayoutBlockFlow {P} at (0,245) size 769x18
+        LayoutText {#text} at (0,0) size 196x18
+          text run at (0,0) width 196: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,279) size 769x18 [color=#008800]
+        LayoutText {#text} at (0,0) size 518x18
+          text run at (0,0) width 518: "This sentence should be green, although slightly different from those that follow."
+      LayoutBlockFlow {P} at (0,313) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,347) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,381) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,415) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,449) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 197x18
+          text run at (0,0) width 197: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,483) size 769x18
+        LayoutText {#text} at (0,0) size 415x18
+          text run at (0,0) width 415: "This sentence should be black, because the value given for class "
+        LayoutInline {CODE} at (0,0) size 47x15
+          LayoutText {#text} at (414,2) size 47x15
+            text run at (414,2) width 47: ".seven"
+        LayoutText {#text} at (460,0) size 68x18
+          text run at (460,0) width 68: " is invalid."
+      LayoutBlockFlow {P} at (0,517) size 769x36 [color=#0080FF]
+        LayoutText {#text} at (0,0) size 737x36
+          text run at (0,0) width 737: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next"
+          text run at (0,18) width 68: "paragraph."
+      LayoutBlockFlow {P} at (0,569) size 769x36 [color=#0080FF]
+        LayoutText {#text} at (0,0) size 765x36
+          text run at (0,0) width 765: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the previous"
+          text run at (0,18) width 68: "paragraph."
+      LayoutBlockFlow {P} at (0,621) size 769x36 [color=#800099]
+        LayoutText {#text} at (0,0) size 709x36
+          text run at (0,0) width 709: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next"
+          text run at (0,18) width 68: "paragraph."
+      LayoutBlockFlow {P} at (0,673) size 769x36 [color=#800099]
+        LayoutText {#text} at (0,0) size 737x36
+          text run at (0,0) width 737: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous"
+          text run at (0,18) width 68: "paragraph."
+      LayoutBlockFlow {P} at (0,725) size 769x18
+        LayoutText {#text} at (0,0) size 196x18
+          text run at (0,0) width 196: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,759) size 769x18 [color=#008800]
+        LayoutText {#text} at (0,0) size 407x18
+          text run at (0,0) width 407: "This sentence should be a slightly different green, and used the "
+        LayoutInline {TT} at (0,0) size 40x15
+          LayoutText {#text} at (406,2) size 40x15
+            text run at (406,2) width 40: "style"
+        LayoutText {#text} at (445,0) size 63x18
+          text run at (445,0) width 63: " attribute."
+      LayoutBlockFlow {P} at (0,793) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 285x18
+          text run at (0,0) width 285: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x15
+          LayoutText {#text} at (284,2) size 40x15
+            text run at (284,2) width 40: "style"
+        LayoutText {#text} at (323,0) size 63x18
+          text run at (323,0) width 63: " attribute."
+      LayoutBlockFlow {P} at (0,827) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 285x18
+          text run at (0,0) width 285: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x15
+          LayoutText {#text} at (284,2) size 40x15
+            text run at (284,2) width 40: "style"
+        LayoutText {#text} at (323,0) size 63x18
+          text run at (323,0) width 63: " attribute."
+      LayoutBlockFlow {P} at (0,861) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 285x18
+          text run at (0,0) width 285: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x15
+          LayoutText {#text} at (284,2) size 40x15
+            text run at (284,2) width 40: "style"
+        LayoutText {#text} at (323,0) size 63x18
+          text run at (323,0) width 63: " attribute."
+      LayoutBlockFlow {P} at (0,895) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 285x18
+          text run at (0,0) width 285: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x15
+          LayoutText {#text} at (284,2) size 40x15
+            text run at (284,2) width 40: "style"
+        LayoutText {#text} at (323,0) size 63x18
+          text run at (323,0) width 63: " attribute."
+      LayoutBlockFlow {P} at (0,929) size 769x18 [color=#008000]
+        LayoutText {#text} at (0,0) size 285x18
+          text run at (0,0) width 285: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x15
+          LayoutText {#text} at (284,2) size 40x15
+            text run at (284,2) width 40: "style"
+        LayoutText {#text} at (323,0) size 63x18
+          text run at (323,0) width 63: " attribute."
+      LayoutTable {TABLE} at (0,963) size 769x738 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x736
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x710
+            LayoutTableCell {TD} at (0,368) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x710 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x18
+                LayoutText {#text} at (0,0) size 196x18
+                  text run at (0,0) width 196: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,38) size 747x18 [color=#008800]
+                LayoutText {#text} at (0,0) size 518x18
+                  text run at (0,0) width 518: "This sentence should be green, although slightly different from those that follow."
+              LayoutBlockFlow {P} at (4,72) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,106) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,140) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,174) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,208) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 197x18
+                  text run at (0,0) width 197: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,242) size 747x18
+                LayoutText {#text} at (0,0) size 415x18
+                  text run at (0,0) width 415: "This sentence should be black, because the value given for class "
+                LayoutInline {CODE} at (0,0) size 47x15
+                  LayoutText {#text} at (414,2) size 47x15
+                    text run at (414,2) width 47: ".seven"
+                LayoutText {#text} at (460,0) size 68x18
+                  text run at (460,0) width 68: " is invalid."
+              LayoutBlockFlow {P} at (4,276) size 747x36 [color=#0080FF]
+                LayoutText {#text} at (0,0) size 737x36
+                  text run at (0,0) width 737: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next"
+                  text run at (0,18) width 68: "paragraph."
+              LayoutBlockFlow {P} at (4,328) size 747x36 [color=#0080FF]
+                LayoutText {#text} at (0,0) size 705x36
+                  text run at (0,0) width 705: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the"
+                  text run at (0,18) width 128: "previous paragraph."
+              LayoutBlockFlow {P} at (4,380) size 747x36 [color=#800099]
+                LayoutText {#text} at (0,0) size 709x36
+                  text run at (0,0) width 709: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next"
+                  text run at (0,18) width 68: "paragraph."
+              LayoutBlockFlow {P} at (4,432) size 747x36 [color=#800099]
+                LayoutText {#text} at (0,0) size 737x36
+                  text run at (0,0) width 737: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous"
+                  text run at (0,18) width 68: "paragraph."
+              LayoutBlockFlow {P} at (4,484) size 747x18
+                LayoutText {#text} at (0,0) size 196x18
+                  text run at (0,0) width 196: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,518) size 747x18 [color=#008800]
+                LayoutText {#text} at (0,0) size 407x18
+                  text run at (0,0) width 407: "This sentence should be a slightly different green, and used the "
+                LayoutInline {TT} at (0,0) size 40x15
+                  LayoutText {#text} at (406,2) size 40x15
+                    text run at (406,2) width 40: "style"
+                LayoutText {#text} at (445,0) size 63x18
+                  text run at (445,0) width 63: " attribute."
+              LayoutBlockFlow {P} at (4,552) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 285x18
+                  text run at (0,0) width 285: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x15
+                  LayoutText {#text} at (284,2) size 40x15
+                    text run at (284,2) width 40: "style"
+                LayoutText {#text} at (323,0) size 63x18
+                  text run at (323,0) width 63: " attribute."
+              LayoutBlockFlow {P} at (4,586) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 285x18
+                  text run at (0,0) width 285: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x15
+                  LayoutText {#text} at (284,2) size 40x15
+                    text run at (284,2) width 40: "style"
+                LayoutText {#text} at (323,0) size 63x18
+                  text run at (323,0) width 63: " attribute."
+              LayoutBlockFlow {P} at (4,620) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 285x18
+                  text run at (0,0) width 285: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x15
+                  LayoutText {#text} at (284,2) size 40x15
+                    text run at (284,2) width 40: "style"
+                LayoutText {#text} at (323,0) size 63x18
+                  text run at (323,0) width 63: " attribute."
+              LayoutBlockFlow {P} at (4,654) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 285x18
+                  text run at (0,0) width 285: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x15
+                  LayoutText {#text} at (284,2) size 40x15
+                    text run at (284,2) width 40: "style"
+                LayoutText {#text} at (323,0) size 63x18
+                  text run at (323,0) width 63: " attribute."
+              LayoutBlockFlow {P} at (4,688) size 747x18 [color=#008000]
+                LayoutText {#text} at (0,0) size 285x18
+                  text run at (0,0) width 285: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x15
+                  LayoutText {#text} at (284,2) size 40x15
+                    text run at (284,2) width 40: "style"
+                LayoutText {#text} at (323,0) size 63x18
+                  text run at (323,0) width 63: " attribute."
+layer at (8,235) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,227) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/length_units-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/length_units-expected.txt
new file mode 100644
index 0000000..78e7cec5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/length_units-expected.txt
@@ -0,0 +1,173 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1592
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1592 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1592
+    LayoutBlockFlow {BODY} at (8,8) size 769x1576 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 769x165
+        LayoutText {#text} at (0,0) size 609x165
+          text run at (0,0) width 180: ".zero {margin-left: 0;}"
+          text run at (179,0) width 1: " "
+          text run at (0,15) width 188: ".one {margin-left: 3em;}"
+          text run at (187,15) width 1: " "
+          text run at (0,30) width 188: ".two {margin-left: 3ex;}"
+          text run at (187,30) width 1: " "
+          text run at (0,45) width 211: ".three {margin-left: 36px;}"
+          text run at (210,45) width 1: " "
+          text run at (0,60) width 211: ".four {margin-left: 0.5in;}"
+          text run at (210,60) width 1: " "
+          text run at (0,75) width 219: ".five {margin-left: 1.27cm;}"
+          text run at (218,75) width 1: " "
+          text run at (0,90) width 211: ".six {margin-left: 12.7mm;}"
+          text run at (210,90) width 1: " "
+          text run at (0,105) width 211: ".seven {margin-left: 36pt;}"
+          text run at (210,105) width 1: " "
+          text run at (0,120) width 203: ".eight {margin-left: 3pc;}"
+          text run at (202,120) width 1: " "
+          text run at (0,135) width 203: ".nine {margin-left: +3pc;}"
+          text run at (202,135) width 1: " "
+          text run at (0,150) width 609: ".ten {font-size: 40px; border-left: 1ex solid purple; background-color: aqua;}"
+          text run at (608,150) width 1: " "
+      LayoutBlockFlow {P} at (0,230) size 769x36
+        LayoutText {#text} at (0,0) size 737x36
+          text run at (0,0) width 737: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer)"
+          text run at (0,18) width 397: "edges should therefore be appropriately shifted to the right of "
+        LayoutInline {EM} at (0,0) size 24x18
+          LayoutText {#text} at (396,18) size 24x18
+            text run at (396,18) width 24: "this"
+        LayoutText {#text} at (419,18) size 142x18
+          text run at (419,18) width 142: " paragraph's left edge."
+      LayoutBlockFlow {P} at (48,282) size 721x18
+        LayoutText {#text} at (0,0) size 316x18
+          text run at (0,0) width 316: "This paragraph should have a left margin of 3em."
+      LayoutBlockFlow {P} at (21.53,316) size 747.47x18
+        LayoutText {#text} at (0,0) size 312x18
+          text run at (0,0) width 312: "This paragraph should have a left margin of 3ex."
+      LayoutBlockFlow {P} at (36,350) size 733x18
+        LayoutText {#text} at (0,0) size 347x18
+          text run at (0,0) width 347: "This paragraph should have a left margin of 36 pixels."
+      LayoutBlockFlow {P} at (48,384) size 721x18
+        LayoutText {#text} at (0,0) size 364x18
+          text run at (0,0) width 364: "This paragraph should have a left margin of half an inch."
+      LayoutBlockFlow {P} at (48,418) size 721x18
+        LayoutText {#text} at (0,0) size 336x18
+          text run at (0,0) width 336: "This paragraph should have a left margin of 1.27cm."
+      LayoutBlockFlow {P} at (48,452) size 721x18
+        LayoutText {#text} at (0,0) size 341x18
+          text run at (0,0) width 341: "This paragraph should have a left margin of 12.7mm."
+      LayoutBlockFlow {P} at (48,486) size 721x18
+        LayoutText {#text} at (0,0) size 348x18
+          text run at (0,0) width 348: "This paragraph should have a left margin of 36 points."
+      LayoutBlockFlow {P} at (48,520) size 721x18
+        LayoutText {#text} at (0,0) size 333x18
+          text run at (0,0) width 333: "This paragraph should have a left margin of 3 picas."
+      LayoutBlockFlow {P} at (48,554) size 721x18
+        LayoutText {#text} at (0,0) size 603x18
+          text run at (0,0) width 603: "This paragraph should have a left margin of 3 picas (the plus sign should make no difference)."
+      LayoutBlockFlow {P} at (0,612) size 769x230 [bgcolor=#00FFFF] [border: none (17.94px solid #800080)]
+        LayoutText {#text} at (17,0) size 310x46
+          text run at (17,0) width 310: "This element has a "
+        LayoutInline {CODE} at (0,0) size 217x46
+          LayoutText {#text} at (326,0) size 217x46
+            text run at (326,0) width 217: "font-size"
+        LayoutText {#text} at (542,0) size 55x46
+          text run at (542,0) width 55: " of "
+        LayoutInline {CODE} at (0,0) size 97x46
+          LayoutText {#text} at (596,0) size 97x46
+            text run at (596,0) width 97: "40px"
+        LayoutText {#text} at (692,0) size 743x92
+          text run at (692,0) width 68: " and"
+          text run at (17,46) width 29: "a "
+        LayoutInline {CODE} at (0,0) size 265x46
+          LayoutText {#text} at (45,46) size 265x46
+            text run at (45,46) width 265: "border-left"
+        LayoutText {#text} at (309,46) size 55x46
+          text run at (309,46) width 55: " of "
+        LayoutInline {CODE} at (0,0) size 385x46
+          LayoutText {#text} at (363,46) size 385x46
+            text run at (363,46) width 385: "1ex solid purple"
+        LayoutText {#text} at (747,46) size 741x184
+          text run at (747,46) width 11: "."
+          text run at (17,92) width 673: "This should make the left border the same"
+          text run at (17,138) width 710: "number of pixels as the lower-case 'x' in this"
+          text run at (17,184) width 611: "element's font, as well as solid purple."
+      LayoutTable {TABLE} at (0,882) size 769x694 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x692
+          LayoutTableRow {TR} at (0,0) size 767x26
+            LayoutTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 767x666
+            LayoutTableCell {TD} at (0,346) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 755x666 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x36
+                LayoutText {#text} at (0,0) size 737x36
+                  text run at (0,0) width 737: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer)"
+                  text run at (0,18) width 397: "edges should therefore be appropriately shifted to the right of "
+                LayoutInline {EM} at (0,0) size 24x18
+                  LayoutText {#text} at (396,18) size 24x18
+                    text run at (396,18) width 24: "this"
+                LayoutText {#text} at (419,18) size 142x18
+                  text run at (419,18) width 142: " paragraph's left edge."
+              LayoutBlockFlow {P} at (52,56) size 699x18
+                LayoutText {#text} at (0,0) size 316x18
+                  text run at (0,0) width 316: "This paragraph should have a left margin of 3em."
+              LayoutBlockFlow {P} at (25.53,90) size 725.47x18
+                LayoutText {#text} at (0,0) size 312x18
+                  text run at (0,0) width 312: "This paragraph should have a left margin of 3ex."
+              LayoutBlockFlow {P} at (40,124) size 711x18
+                LayoutText {#text} at (0,0) size 347x18
+                  text run at (0,0) width 347: "This paragraph should have a left margin of 36 pixels."
+              LayoutBlockFlow {P} at (52,158) size 699x18
+                LayoutText {#text} at (0,0) size 364x18
+                  text run at (0,0) width 364: "This paragraph should have a left margin of half an inch."
+              LayoutBlockFlow {P} at (52,192) size 699x18
+                LayoutText {#text} at (0,0) size 336x18
+                  text run at (0,0) width 336: "This paragraph should have a left margin of 1.27cm."
+              LayoutBlockFlow {P} at (52,226) size 699x18
+                LayoutText {#text} at (0,0) size 341x18
+                  text run at (0,0) width 341: "This paragraph should have a left margin of 12.7mm."
+              LayoutBlockFlow {P} at (52,260) size 699x18
+                LayoutText {#text} at (0,0) size 348x18
+                  text run at (0,0) width 348: "This paragraph should have a left margin of 36 points."
+              LayoutBlockFlow {P} at (52,294) size 699x18
+                LayoutText {#text} at (0,0) size 333x18
+                  text run at (0,0) width 333: "This paragraph should have a left margin of 3 picas."
+              LayoutBlockFlow {P} at (52,328) size 699x18
+                LayoutText {#text} at (0,0) size 603x18
+                  text run at (0,0) width 603: "This paragraph should have a left margin of 3 picas (the plus sign should make no difference)."
+              LayoutBlockFlow {P} at (4,386) size 747x276 [bgcolor=#00FFFF] [border: none (17.94px solid #800080)]
+                LayoutText {#text} at (17,0) size 310x46
+                  text run at (17,0) width 310: "This element has a "
+                LayoutInline {CODE} at (0,0) size 217x46
+                  LayoutText {#text} at (326,0) size 217x46
+                    text run at (326,0) width 217: "font-size"
+                LayoutText {#text} at (542,0) size 55x46
+                  text run at (542,0) width 55: " of "
+                LayoutInline {CODE} at (0,0) size 97x46
+                  LayoutText {#text} at (596,0) size 97x46
+                    text run at (596,0) width 97: "40px"
+                LayoutText {#text} at (17,46) size 97x46
+                  text run at (17,46) width 97: "and a "
+                LayoutInline {CODE} at (0,0) size 265x46
+                  LayoutText {#text} at (113,46) size 265x46
+                    text run at (113,46) width 265: "border-left"
+                LayoutText {#text} at (377,46) size 54x46
+                  text run at (377,46) width 54: " of "
+                LayoutInline {CODE} at (0,0) size 630x92
+                  LayoutText {#text} at (430,46) size 630x92
+                    text run at (430,46) width 217: "1ex solid"
+                    text run at (17,92) width 145: "purple"
+                LayoutText {#text} at (161,92) size 708x184
+                  text run at (161,92) width 21: ". "
+                  text run at (181,92) width 522: "This should make the left border"
+                  text run at (17,138) width 708: "the same number of pixels as the lower-case"
+                  text run at (17,184) width 642: "'x' in this element's font, as well as solid"
+                  text run at (17,230) width 114: "purple."
+layer at (8,220) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,212) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/percentage_units-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/percentage_units-expected.txt
new file mode 100644
index 0000000..582540ac
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/percentage_units-expected.txt
@@ -0,0 +1,67 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x75
+        LayoutText {#text} at (0,0) size 492x75
+          text run at (0,0) width 219: ".zero { background: yellow }"
+          text run at (218,0) width 1: " "
+          text run at (0,15) width 492: ".one { margin-left: 25%; margin-right: 25%; background: white }"
+          text run at (491,15) width 1: " "
+          text run at (0,30) width 484: ".two { margin-left: 50%; margin-right: 0%; background: white }"
+          text run at (483,30) width 1: " "
+          text run at (0,45) width 203: ".three {margin-left: 25%;}"
+          text run at (202,45) width 1: " "
+          text run at (0,60) width 0: " "
+      LayoutBlockFlow {DIV} at (0,140) size 784x124 [bgcolor=#FFFF00]
+        LayoutBlockFlow {DIV} at (196,0) size 392x54 [bgcolor=#FFFFFF]
+          LayoutBlockFlow {P} at (0,0) size 392x54
+            LayoutText {#text} at (0,0) size 332x54
+              text run at (0,0) width 332: "This paragraph should be centered within its yellow"
+              text run at (0,18) width 330: "containing block and its width should be half of the"
+              text run at (0,36) width 112: "containing block."
+        LayoutBlockFlow {DIV} at (392,70) size 392x54 [bgcolor=#FFFFFF]
+          LayoutBlockFlow {P} at (0,0) size 392x54
+            LayoutText {#text} at (0,0) size 361x54
+              text run at (0,0) width 361: "This paragraph should be right-aligned within its yellow"
+              text run at (0,18) width 330: "containing block and its width should be half of the"
+              text run at (0,36) width 112: "containing block."
+      LayoutBlockFlow {P} at (196,280) size 588x36
+        LayoutText {#text} at (0,0) size 560x36
+          text run at (0,0) width 560: "This paragraph should have a left margin of 25% the width of its parent element, which"
+          text run at (0,18) width 366: "should require some extra text in order to test effectively."
+      LayoutTable {TABLE} at (0,332) size 784x212 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x210
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x184
+            LayoutTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x184 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (4,4) size 762x124 [bgcolor=#FFFF00]
+                LayoutBlockFlow {DIV} at (190.50,0) size 381x54 [bgcolor=#FFFFFF]
+                  LayoutBlockFlow {P} at (0,0) size 381x54
+                    LayoutText {#text} at (0,0) size 332x54
+                      text run at (0,0) width 332: "This paragraph should be centered within its yellow"
+                      text run at (0,18) width 330: "containing block and its width should be half of the"
+                      text run at (0,36) width 112: "containing block."
+                LayoutBlockFlow {DIV} at (381,70) size 381x54 [bgcolor=#FFFFFF]
+                  LayoutBlockFlow {P} at (0,0) size 381x54
+                    LayoutText {#text} at (0,0) size 361x54
+                      text run at (0,0) width 361: "This paragraph should be right-aligned within its yellow"
+                      text run at (0,18) width 330: "containing block and its width should be half of the"
+                      text run at (0,36) width 112: "containing block."
+              LayoutBlockFlow {P} at (194.50,144) size 571.50x36
+                LayoutText {#text} at (0,0) size 560x36
+                  text run at (0,0) width 560: "This paragraph should have a left margin of 25% the width of its parent element, which"
+                  text run at (0,18) width 366: "should require some extra text in order to test effectively."
+layer at (8,130) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,122) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/urls-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/urls-expected.txt
new file mode 100644
index 0000000..24cd269c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/units/urls-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x18
+        LayoutText {#text} at (0,0) size 363x18
+          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,34) size 784x60
+        LayoutText {#text} at (0,0) size 632x60
+          text run at (0,0) width 632: "<LINK rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"../resources/bg.gif\">"
+          text run at (631,0) width 1: " "
+          text run at (0,15) width 289: "@import url(../resources/sec642.css);"
+          text run at (288,15) width 1: " "
+          text run at (0,30) width 344: "BODY {background: url(../resources/bg.gif);}"
+          text run at (343,30) width 1: " "
+          text run at (0,45) width 0: " "
+      LayoutBlockFlow {P} at (0,125) size 784x18
+        LayoutText {#text} at (0,0) size 393x18
+          text run at (0,0) width 393: "This page should have a green grid pattern as its background."
+      LayoutBlockFlow {P} at (0,159) size 784x54 [bgcolor=#FFFFFF]
+        LayoutText {#text} at (0,0) size 784x54
+          text run at (0,0) width 627: "This paragraph should have a white background, but NO image should appear in the background. "
+          text run at (626,0) width 153: "If an image, in this case"
+          text run at (0,18) width 784: "a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
+          text run at (0,36) width 277: "document's URL, not the stylesheet's URL."
+      LayoutBlockFlow {P} at (0,229) size 784x54 [bgcolor=#FFFFFF]
+        LayoutText {#text} at (0,0) size 784x54
+          text run at (0,0) width 627: "This paragraph should have a white background, but NO image should appear in the background. "
+          text run at (626,0) width 153: "If an image, in this case"
+          text run at (0,18) width 784: "a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
+          text run at (0,36) width 277: "document's URL, not the stylesheet's URL."
+      LayoutTable {TABLE} at (0,299) size 784x194 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x192
+          LayoutTableRow {TR} at (0,0) size 782x26
+            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 161x18
+                LayoutText {#text} at (4,4) size 161x18
+                  text run at (4,4) width 161: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,26) size 782x166
+            LayoutTableCell {TD} at (0,96) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x18
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,26) size 770x166 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x18
+                LayoutText {#text} at (0,0) size 393x18
+                  text run at (0,0) width 393: "This page should have a green grid pattern as its background."
+              LayoutBlockFlow {P} at (4,38) size 762x54 [bgcolor=#FFFFFF]
+                LayoutText {#text} at (0,0) size 748x54
+                  text run at (0,0) width 627: "This paragraph should have a white background, but NO image should appear in the background. "
+                  text run at (626,0) width 122: "If an image, in this"
+                  text run at (0,18) width 722: "case a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in"
+                  text run at (0,36) width 370: "relation to the document's URL, not the stylesheet's URL."
+              LayoutBlockFlow {P} at (4,108) size 762x54 [bgcolor=#FFFFFF]
+                LayoutText {#text} at (0,0) size 748x54
+                  text run at (0,0) width 627: "This paragraph should have a white background, but NO image should appear in the background. "
+                  text run at (626,0) width 122: "If an image, in this"
+                  text run at (0,18) width 722: "case a red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in"
+                  text run at (0,36) width 370: "relation to the document's URL, not the stylesheet's URL."
+layer at (8,115) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt
index 4fb9ec5..db0ef72 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 615.39x18
         LayoutText {#text} at (0,0) size 616x18
           text run at (0,0) width 616: "crbug.com/303728: Header Line is absolute positioned so should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 615.39x2 [border: (1px inset #EEEEEE)]
+layer at (8,26) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 615.39x2 [border: (1px inset #EEEEEE)]
 layer at (8,763) size 611x36
   LayoutBlockFlow (positioned) {DIV} at (8,763) size 610.98x36
     LayoutBlockFlow {DIV} at (0,8) size 610.98x28
-      LayoutBlockFlow {HR} at (0,0) size 610.98x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 610.98x18
         LayoutText {#text} at (0,0) size 611x18
           text run at (0,0) width 611: "crbug.com/303728: Footer Line is absolute positioned so should not be repeated on every page."
+layer at (8,771) size 611x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 610.98x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
index 304d01d..82e5fef5 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 680.27x18
         LayoutText {#text} at (0,0) size 681x18
           text run at (0,0) width 681: "crbug.com/303728: Fixed-position header Line is statically positioned and will be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 680.27x2 [border: (1px inset #EEEEEE)]
+layer at (8,42) size 680x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 680.27x2 [border: (1px inset #EEEEEE)]
 layer at (8,2567) size 624x36 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (8,2567) size 624.30x36
     LayoutBlockFlow {DIV} at (0,8) size 624.30x28
-      LayoutBlockFlow {HR} at (0,0) size 624.30x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 624.30x18
         LayoutText {#text} at (0,0) size 625x18
           text run at (0,0) width 625: "crbug.com/303728: Footer Line is statically positioned and should not be repeated on every page."
+layer at (8,2575) size 624x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 624.30x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
index bc63ccbc..3b4d477 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
@@ -11,7 +11,8 @@
         LayoutText {#text} at (0,0) size 472x36
           text run at (0,0) width 472: "crbug.com/303728: Header Line should be repeated on every page except"
           text run at (0,18) width 384: "where it's clipped by the absolute element on pages 3 and 4."
-      LayoutBlockFlow {HR} at (0,44) size 500x2 [border: (1px inset #EEEEEE)]
+layer at (5,49) size 500x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,44) size 500x2 [border: (1px inset #EEEEEE)]
 layer at (0,1000) size 600x2000 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,1000) size 600x2000 [bgcolor=#000000]
     LayoutText zI: 2 {#text} at (0,0) size 58x18
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt
index b413d1a0..b0a67f2 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 523.84x18
         LayoutText {#text} at (0,0) size 524x18
           text run at (0,0) width 524: "crbug.com/303728: Fixed-position header Line should be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 523.84x2 [border: (1px inset #EEEEEE)]
+layer at (8,26) size 524x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 523.84x2 [border: (1px inset #EEEEEE)]
 layer at (8,763) size 426x36
   LayoutBlockFlow (positioned) {DIV} at (8,763) size 425.66x36
     LayoutBlockFlow {DIV} at (0,8) size 425.66x28
-      LayoutBlockFlow {HR} at (0,0) size 425.66x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 425.66x18
         LayoutText {#text} at (0,0) size 426x18
           text run at (0,0) width 426: "crbug.com/303728: Footer Line should be repeated on every page."
+layer at (8,771) size 426x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 425.66x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
index e3b4936f..2edc783 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
@@ -233,13 +233,15 @@
       LayoutBlockFlow (anonymous) at (0,0) size 454.52x18
         LayoutText {#text} at (0,0) size 455x18
           text run at (0,0) width 455: "crbug.com/303728: Header Line should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 454.52x2 [border: (1px inset #EEEEEE)]
+layer at (8,42) size 455x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 454.52x2 [border: (1px inset #EEEEEE)]
 layer at (8,2567) size 1030x0
   LayoutBlockFlow {DIV} at (0,2551) size 1030x0
 layer at (8,2531) size 450x36 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (0,-36) size 450.09x36
     LayoutBlockFlow {DIV} at (0,8) size 450.09x28
-      LayoutBlockFlow {HR} at (0,0) size 450.09x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 450.09x18
         LayoutText {#text} at (0,0) size 451x18
           text run at (0,0) width 451: "crbug.com/303728: Footer Line should not be repeated on every page."
+layer at (8,2539) size 450x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 450.09x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
index b9d011f..3ae204b 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
@@ -231,11 +231,13 @@
       LayoutBlockFlow (anonymous) at (0,0) size 2000x18
         LayoutText {#text} at (0,0) size 706x18
           text run at (0,0) width 706: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
-      LayoutBlockFlow {HR} at (0,26) size 2000x2 [border: (1px inset #EEEEEE)]
+layer at (13,31) size 2000x2 backgroundClip at (13,31) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,26) size 2000x2 [border: (1px inset #EEEEEE)]
 layer at (8,753) size 2010x46 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) {DIV} at (8,753) size 2010x46 [border: (5px solid #000000)]
     LayoutBlockFlow {DIV} at (5,13) size 2000x28
-      LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,10) size 2000x18
         LayoutText {#text} at (0,0) size 706x18
           text run at (0,0) width 706: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
+layer at (13,766) size 2000x2 backgroundClip at (13,766) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/comments-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/basic/comments-expected.txt
index cbf5929e..28983be 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/comments-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/comments-expected.txt
@@ -37,7 +37,6 @@
           text run at (0,208) width 176: ".eight {color: green;}"
           text run at (176,208) width 0: " "
           text run at (0,224) width 0: " "
-      LayoutBlockFlow {HR} at (0,289) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,307) size 769x20 [color=#008000]
         LayoutText {#text} at (0,0) size 184x19
           text run at (0,0) width 184: "This sentence should be green."
@@ -98,3 +97,5 @@
               LayoutBlockFlow {P} at (4,256) size 184x20 [color=#008000]
                 LayoutText {#text} at (0,0) size 184x19
                   text run at (0,0) width 184: "This sentence should be green."
+layer at (8,297) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,289) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/containment-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/basic/containment-expected.txt
index eb66870..ec868c63 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/containment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/containment-expected.txt
@@ -28,7 +28,6 @@
           text run at (168,128) width 0: " "
           text run at (0,144) width 24: "-->"
           text run at (24,144) width 0: " "
-      LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,227) size 769x20
         LayoutText {#text} at (0,0) size 383x19
           text run at (0,0) width 383: "This sentence should be underlined due to the linked style sheet "
@@ -207,3 +206,5 @@
               LayoutBlockFlow {P} at (4,340) size 747x20 [color=#008000]
                 LayoutText {#text} at (0,0) size 193x19
                   text run at (0,0) width 193: "This paragraph should be green."
+layer at (8,217) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.txt
index 9c3635c..3f3e59a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/contextual_selectors-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 224: "EM, UL LI LI {color: green;}"
           text run at (224,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x20 [color=#000080]
         LayoutText {#text} at (0,0) size 591x19
           text run at (0,0) width 591: "This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table."
@@ -80,3 +79,5 @@
                       LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
                       LayoutText {#text} at (0,0) size 128x19
                         text run at (0,0) width 128: "This should be green."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/grouping-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/basic/grouping-expected.txt
index 03debe2a..a83001a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/grouping-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/grouping-expected.txt
@@ -11,7 +11,6 @@
           text run at (0,0) width 272: ".one, .two, .three {color: green;}"
           text run at (272,0) width 0: " "
           text run at (0,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x20 [color=#008000]
         LayoutText {#text} at (0,0) size 184x19
           text run at (0,0) width 184: "This sentence should be green."
@@ -42,3 +41,5 @@
               LayoutBlockFlow {P} at (4,76) size 184x20 [color=#008000]
                 LayoutText {#text} at (0,0) size 184x19
                   text run at (0,0) width 184: "This sentence should be green."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/id_as_selector-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/basic/id_as_selector-expected.txt
index 199d3e2..c5af05d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/id_as_selector-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/id_as_selector-expected.txt
@@ -23,7 +23,6 @@
           text run at (0,96) width 240: "P#five, P#five2 {color: blue;}"
           text run at (240,96) width 0: " "
           text run at (0,112) width 240: "P#six, P#six2 {color: purple;}"
-      LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,195) size 769x20 [color=#008000]
         LayoutText {#text} at (0,0) size 184x19
           text run at (0,0) width 184: "This sentence should be green."
@@ -90,3 +89,5 @@
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
                   LayoutText {#text} at (0,0) size 226x19
                     text run at (0,0) width 226: "This sentence should NOT be purple."
+layer at (8,185) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.txt
index 5547bbdf..317647e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/basic/inheritance-expected.txt
@@ -22,7 +22,6 @@
           text run at (152,80) width 0: " "
           text run at (0,96) width 184: ".three {color: purple;}"
           text run at (184,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {H3} at (0,181.72) size 784x24 [color=#0000FF]
         LayoutText {#text} at (0,0) size 221x22
           text run at (0,0) width 221: "This sentence should show "
@@ -187,3 +186,5 @@
                     text run at (334,0) width 164: "this part (which is spanned)"
                 LayoutText {#text} at (498,0) size 4x19
                   text run at (498,0) width 4: "."
+layer at (8,169) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border-expected.txt
index 2ce84a5..a10a4aea 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border-expected.txt
@@ -26,7 +26,6 @@
           text run at (168,112) width 0: " "
           text run at (0,128) width 232: "TD {border: 2px solid green;}"
           text run at (232,128) width 0: " "
-      LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,211) size 769x40
         LayoutText {#text} at (0,0) size 758x39
           text run at (0,0) width 597: "Note that all table cells on this page should have a two-pixel solid green border along all four sides. "
@@ -181,3 +180,5 @@
               LayoutBlockFlow {P} at (5,540) size 743x20
                 LayoutText {#text} at (0,0) size 163x19
                   text run at (0,0) width 163: "This is an unstyled element."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.txt
index b80219f..a25c8da 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom-expected.txt
@@ -16,7 +16,6 @@
           text run at (344,32) width 0: " "
           text run at (0,48) width 288: "TD {border-bottom: green 2px solid;}"
           text run at (288,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x40
         LayoutText {#text} at (0,0) size 745x39
           text run at (0,0) width 629: "Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. "
@@ -161,3 +160,5 @@
                       text run at (89,20) width 51: "beneath"
                   LayoutText {#text} at (140,20) size 365x19
                     text run at (140,20) width 365: " the nested list (below the line \"...nested within the list item.\")."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.txt
index 1abb22c..0e68cf7a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 320: ".two {border-bottom: purple thin solid;}"
           text run at (320,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 627x19
           text run at (0,0) width 627: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
@@ -58,3 +57,5 @@
                   text run at (405,20) width 328: ", which should have a thin solid purple bottom border. "
                   text run at (732,20) width 24: "The"
                   text run at (0,40) width 375: "line-height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width-expected.txt
index 10688b7..9eadb20 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (440,64) width 0: " "
           text run at (0,80) width 272: ".five {border-bottom-width: 25px;}"
           text run at (272,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 145x19
           text run at (0,0) width 145: "(These will only work if "
@@ -101,3 +100,5 @@
               LayoutBlockFlow {P} at (4,327) size 659x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 193x19
                   text run at (0,0) width 193: "This element has a class of zero."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.txt
index 160bbfe8..65b10a0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_bottom_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (432,16) width 0: " "
           text run at (0,32) width 280: ".three {border-bottom-width: 25px;}"
           text run at (280,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x88 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
         LayoutText {#text} at (3,3) size 163x19
           text run at (3,3) width 163: "This element has a class of "
@@ -82,3 +81,5 @@
                       text run at (136,46) width 40: "three"
                 LayoutText {#text} at (176,43) size 570x19
                   text run at (176,43) width 570: ", which should have no bottom border width or visible border because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color-expected.txt
index e9902b7..c93704a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color-expected.txt
@@ -14,7 +14,6 @@
           text run at (568,16) width 0: " "
           text run at (0,32) width 728: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
           text run at (728,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x26 [border: (3px solid #800080)]
         LayoutText {#text} at (3,3) size 337x19
           text run at (3,3) width 337: "This element should have a purple border surrounding it."
@@ -47,3 +46,5 @@
                 LayoutText {#text} at (3,3) size 723x39
                   text run at (3,3) width 723: "This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on the"
                   text run at (3,23) width 211: "bottom, and yellow on the left side."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.txt
index ba3958e..fc1a040b9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_color_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (568,16) width 0: " "
           text run at (0,32) width 728: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
           text run at (728,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 638x19
           text run at (0,0) width 638: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
@@ -73,3 +72,5 @@
                   text run at (0,40) width 520: "second cases, and a purple-green-blue-yellow medium-width solid border in the third. "
                   text run at (520,40) width 218: "The line-height of the parent element"
                   text run at (0,60) width 216: "should not change at all, on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.txt
index cba446a..054adaa 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 256: ".two {border: 10px olive inset;}"
           text run at (256,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 638x19
           text run at (0,0) width 638: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
@@ -58,3 +57,5 @@
                   text run at (374,20) width 317: ", which should result in a 10-pixel inset olive border. "
                   text run at (690,20) width 54: "The line-"
                   text run at (0,40) width 349: "height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.txt
index 64d430f9..a1397d64 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left-expected.txt
@@ -22,7 +22,6 @@
           text run at (328,80) width 0: " "
           text run at (0,96) width 272: "TD {border-left: green 2px solid;}"
           text run at (272,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (20,179) size 749x40
         LayoutText {#text} at (0,0) size 749x39
           text run at (0,0) width 604: "Note that all table cells on this page should have a two-pixel solid green border along their left sides. "
@@ -161,3 +160,5 @@
                     text run at (661,0) width 23: "The"
                     text run at (3,20) width 702: "first item's border should travel the entire height the nested list (to end near the baseline of the line \"...nested within the"
                     text run at (3,40) width 444: "list item.\"), even though the nested list does not have any border styles set."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.txt
index 4ca11a5d..b66f762 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_inline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 304: ".two {border-left: purple thin solid;}"
           text run at (304,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (20,131) size 764x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 723x19
           text run at (0,0) width 723: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with classes of "
@@ -58,3 +57,5 @@
                   text run at (493,20) width 228: ", which should have a thin solid purple"
                   text run at (0,40) width 71: "left border. "
                   text run at (70,40) width 403: "The line-height of the parent element should not change on any line."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width-expected.txt
index 7e755df..263ecab 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (424,64) width 0: " "
           text run at (0,80) width 256: ".five {border-left-width: 25px;}"
           text run at (256,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 145x19
           text run at (0,0) width 145: "(These will only work if "
@@ -97,3 +96,5 @@
                     text run at (485,3) width 96: "border-style"
                 LayoutText {#text} at (581,0) size 53x19
                   text run at (581,0) width 53: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.txt
index 7751986..2f3ebbd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_left_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (416,16) width 0: " "
           text run at (0,32) width 264: ".three {border-left-width: 25px;}"
           text run at (264,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x66 [border: (3px solid #000000) (25px solid #000000)]
         LayoutText {#text} at (25,3) size 163x19
           text run at (25,3) width 163: "This element has a class of "
@@ -93,3 +92,5 @@
                 LayoutText {#text} at (244,43) size 711x39
                   text run at (244,43) width 492: ", which should have no left border width or visible border because no border style"
                   text run at (25,63) width 49: "was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.txt
index 3721dfa..772d0de 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 312: ".two {border-right: purple thin solid;}"
           text run at (312,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 764x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 731x19
           text run at (0,0) width 731: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with classes of "
@@ -59,3 +58,5 @@
                   text run at (501,20) width 228: ", which should have a thin solid purple"
                   text run at (0,40) width 79: "right border. "
                   text run at (78,40) width 403: "The line-height of the parent element should not change on any line."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.txt
index 1285d58..e66e7f3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_inline-expected.txt
@@ -22,7 +22,6 @@
           text run at (336,80) width 0: " "
           text run at (0,96) width 280: "TD {border-right: green 2px solid;}"
           text run at (280,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,179) size 749x40
         LayoutText {#text} at (0,0) size 728x39
           text run at (0,0) width 612: "Note that all table cells on this page should have a two-pixel solid green border along their right sides. "
@@ -165,3 +164,5 @@
                     text run at (0,40) width 448: "list item.\"), even though the nested list does not have any border styles set. "
                     text run at (448,40) width 250: "The borders should line up together at the"
                     text run at (0,60) width 503: "right edge of the document's body, as each list element has a default width of 100%."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width-expected.txt
index 0dbeea1..975e79f4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (432,64) width 0: " "
           text run at (0,80) width 272: ".five {border-right-width: 100px;}"
           text run at (272,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 145x19
           text run at (0,0) width 145: "(These will only work if "
@@ -97,3 +96,5 @@
                     text run at (493,3) width 96: "border-style"
                 LayoutText {#text} at (589,0) size 53x19
                   text run at (589,0) width 53: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.txt
index ed495d2..400c80bf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_right_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (424,16) width 0: " "
           text run at (0,32) width 272: ".three {border-right-width: 25px;}"
           text run at (272,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x66 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
         LayoutText {#text} at (3,3) size 163x19
           text run at (3,3) width 163: "This element has a class of "
@@ -93,3 +92,5 @@
                 LayoutText {#text} at (235,43) size 732x39
                   text run at (235,43) width 500: ", which should have no right border width or visible border because no border style"
                   text run at (3,63) width 49: "was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style-expected.txt
index 02c0b28..ee8fe41 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style-expected.txt
@@ -32,7 +32,6 @@
           text run at (368,160) width 0: " "
           text run at (0,176) width 552: ".eleven {border-style: none; border-color: red; border-width: thick;}"
           text run at (552,176) width 0: " "
-      LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,259) size 769x30 [border: (5px dotted #000000)]
         LayoutText {#text} at (5,5) size 452x19
           text run at (5,5) width 452: "This paragraph should have a thick black dotted border all the way around."
@@ -119,3 +118,5 @@
               LayoutBlockFlow {P} at (4,504) size 747x20
                 LayoutText {#text} at (0,0) size 265x19
                   text run at (0,0) width 265: "This paragraph should have no border at all."
+layer at (8,249) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.txt
index 7147b37..1edbe6a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_style_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (544,16) width 0: " "
           text run at (0,32) width 568: ".three {border-style: none; border-color: purple; border-width: thick;}"
           text run at (568,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 627x19
           text run at (0,0) width 627: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
@@ -69,3 +68,5 @@
                   text run at (710,20) width 44: ", which"
                   text run at (0,40) width 193: "should result in no border at all. "
                   text run at (193,40) width 406: "The line-height of the parent element should not change, on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.txt
index ee370b3..14b69b4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top-expected.txt
@@ -16,7 +16,6 @@
           text run at (320,32) width 0: " "
           text run at (0,48) width 264: "TD {border-top: green 2px solid;}"
           text run at (264,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x40
         LayoutText {#text} at (0,0) size 767x39
           text run at (0,0) width 606: "Note that all table cells on this page should have a two-pixel solid green border along their top sides. "
@@ -149,3 +148,5 @@
                   LayoutListMarker (anonymous) at (-18,3) size 7x19: bullet
                   LayoutText {#text} at (0,3) size 455x19
                     text run at (0,3) width 455: "Each list item in this list should have a medium-width black border at its top."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.txt
index 5e5caa13..c4cf7b2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 296: ".two {border-top: purple thin solid;}"
           text run at (296,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 627x19
           text run at (0,0) width 627: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
@@ -58,3 +57,5 @@
                   text run at (382,20) width 305: ", which should have a thin solid purple top border. "
                   text run at (686,20) width 54: "The line-"
                   text run at (0,40) width 349: "height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width-expected.txt
index 51d495f..9ee9b57 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (416,64) width 0: " "
           text run at (0,80) width 248: ".five {border-top-width: 25px;}"
           text run at (248,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 145x19
           text run at (0,0) width 145: "(These will only work if "
@@ -95,3 +94,5 @@
                     text run at (502,3) width 96: "border-style"
                 LayoutText {#text} at (598,0) size 53x19
                   text run at (598,0) width 53: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.txt
index c1e794c4..beb54d6f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_top_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (408,16) width 0: " "
           text run at (0,32) width 256: ".three {border-top-width: 25px;}"
           text run at (256,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x88 [border: (25px solid #000000) (3px solid #000000)]
         LayoutText {#text} at (3,25) size 163x19
           text run at (3,25) width 163: "This element has a class of "
@@ -83,3 +82,5 @@
                       text run at (102,68) width 40: "three"
                 LayoutText {#text} at (142,65) size 547x19
                   text run at (142,65) width 547: ", which should have no top border width or visible border because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width-expected.txt
index 55b4643..bb0a020 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width-expected.txt
@@ -20,7 +20,6 @@
           text run at (384,64) width 0: " "
           text run at (0,80) width 216: ".five {border-width: 25px;}"
           text run at (216,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 145x19
           text run at (0,0) width 145: "(These will only work if "
@@ -95,3 +94,5 @@
                     text run at (471,3) width 96: "border-style"
                 LayoutText {#text} at (567,0) size 53x19
                   text run at (567,0) width 53: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.txt
index d2d8d093..5be22b3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/border_width_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (376,16) width 0: " "
           text run at (0,32) width 224: ".three {border-width: 25px;}"
           text run at (224,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x110 [border: (25px solid #000000)]
         LayoutText {#text} at (25,25) size 163x19
           text run at (25,25) width 163: "This element has a class of "
@@ -83,3 +82,5 @@
                 LayoutText {#text} at (619,45) size 712x39
                   text run at (619,45) width 118: ", which should have"
                   text run at (25,65) width 298: "no border width because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear-expected.txt
index d3f8034..e20d83b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear-expected.txt
@@ -16,7 +16,6 @@
           text run at (168,32) width 0: " "
           text run at (0,48) width 160: ".four {clear: none;}"
           text run at (160,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutImage (floating) {IMG} at (0,123) size 15x50
       LayoutBlockFlow {P} at (0,131) size 769x20
         LayoutText {#text} at (18,0) size 562x19
@@ -89,3 +88,5 @@
                   text run at (18,0) width 372: "This paragraph should be between both tall orange rectangles."
               LayoutBlockFlow (anonymous) at (4,394) size 628x20
                 LayoutBR {BR} at (18,0) size 0x19
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.txt
index c56f748..44659029 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/clear_float-expected.txt
@@ -24,7 +24,6 @@
           text run at (0,112) width 480: "             color: black; background: yellow; clear: none;}"
           text run at (480,112) width 0: " "
           text run at (0,128) width 0: " "
-      LayoutBlockFlow {HR} at (0,190) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (floating) {DIV} at (0,200) size 192x125.38 [color=#FFFFFF] [bgcolor=#008000]
         LayoutBlockFlow {H1} at (8,8) size 176x23
           LayoutText {#text} at (0,0) size 81x22
@@ -157,3 +156,5 @@
                     text run at (0,0) width 298: "The top of the yellow rectangle (to which this"
                     text run at (0,20) width 298: "paragraph belongs) should be vertically aligned"
                     text run at (0,40) width 208: "with the top of the green rectangle."
+layer at (8,198) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,190) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.txt
index 5f710be..84cd1d5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 160: ".two {float: right;}"
           text run at (160,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutImage (floating) {IMG} at (0,107) size 15x50
       LayoutBlockFlow {P} at (0,115) size 784x40
         LayoutText {#text} at (15,0) size 761x39
@@ -22,7 +21,6 @@
           text run at (15,20) width 162: "has been floated to the left."
       LayoutBlockFlow (anonymous) at (0,171) size 784x20
         LayoutBR {BR} at (0,0) size 0x19
-      LayoutBlockFlow {HR} at (0,199) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutImage (floating) {IMG} at (769,209) size 15x50
       LayoutBlockFlow {P} at (0,217) size 784x40
         LayoutText {#text} at (0,0) size 769x39
@@ -49,10 +47,15 @@
                   text run at (15,20) width 201: "which has been floated to the left."
               LayoutBlockFlow (anonymous) at (4,60) size 762x20
                 LayoutBR {BR} at (0,0) size 0x19
-              LayoutBlockFlow {HR} at (4,88) size 762x2 [border: (1px inset #EEEEEE)]
               LayoutImage (floating) {IMG} at (751,98) size 15x50
               LayoutBlockFlow {P} at (4,106) size 762x40
                 LayoutText {#text} at (0,0) size 730x39
                   text run at (0,0) width 574: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
                   text run at (573,0) width 157: "In this case, it is the image"
                   text run at (0,20) width 209: "which has been floated to the right."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,207) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,199) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,398) size 762x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,88) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.txt
index c1291c6..c0dfb24 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.txt
@@ -32,7 +32,6 @@
           text run at (0,176) width 200: "TABLE {margin: 20px 0px;}"
           text run at (200,176) width 0: " "
           text run at (0,192) width 0: " "
-      LayoutBlockFlow {HR} at (0,254) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,264) size 769x40
         LayoutText {#text} at (0,0) size 769x39
           text run at (0,0) width 769: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this page"
@@ -157,6 +156,8 @@
                         LayoutBlockFlow {IMG} at (0,0) size 100x1
                       LayoutTableCell {TD} at (600,10) size 20x1 [bgcolor=#000000] [r=0 c=14 rs=1 cs=1]
                         LayoutBlockFlow {IMG} at (0,0) size 20x1
+layer at (8,262) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,254) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (8,442) size 20x1
   LayoutBlockFlow {SPAN} at (0,0) size 20x1
     LayoutInline {SPAN} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_margin-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_margin-expected.txt
index 516982e..1f25473c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_margin-expected.txt
@@ -25,7 +25,6 @@
           text run at (0,112) width 400: "#img5 {margin-right: -30px; margin-bottom: -30px;}"
           text run at (400,112) width 0: " "
           text run at (0,128) width 0: " "
-      LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (30,215) size 729x92 [bgcolor=#FFFFFF]
         LayoutText {#text} at (0,0) size 719x91
           text run at (0,0) width 719: "This paragraph should have a white background which extends to the edges of the element's"
@@ -160,3 +159,5 @@
                   text run at (0,92) width 381: "which extends to the edges of the element's box. "
                   text run at (381,92) width 325: "There is no padding set on this paragraph"
                   text run at (0,115) width 95: "whatsoever."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.txt
index 0e3a047..75d8b39 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_on_text_elements-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,60) width 708: "border or margins on this and the previous element, so the text of the two elements should be very close to each other."
       LayoutBlockFlow (anonymous) at (0,80) size 769x20
         LayoutBR {BR} at (0,0) size 0x19
-      LayoutBlockFlow {HR} at (0,108) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,118) size 769x100
         LayoutBlockFlow (floating) {P} at (0,0) size 769x80 [bgcolor=#FFFF00]
           LayoutText {#text} at (0,0) size 769x79
@@ -27,7 +26,6 @@
         LayoutText {#text} at (15,80) size 4x19
           text run at (15,80) width 4: " "
         LayoutBR {BR} at (19,95) size 0x0
-      LayoutBlockFlow {HR} at (0,226) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,236) size 769x100
         LayoutBlockFlow (floating) {P} at (0,0) size 384.50x100 [bgcolor=#FFFF00]
           LayoutText {#text} at (0,0) size 384x99
@@ -40,7 +38,6 @@
         LayoutText {#text} at (399,0) size 5x19
           text run at (399,0) width 5: " "
         LayoutBR {BR} at (403,15) size 1x0
-      LayoutBlockFlow {HR} at (0,344) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,354) size 769x120
         LayoutBlockFlow (floating) {P} at (384.50,0) size 384.50x120 [bgcolor=#FFFF00]
           LayoutText {#text} at (0,0) size 384x119
@@ -54,7 +51,6 @@
         LayoutText {#text} at (15,0) size 4x19
           text run at (15,0) width 4: " "
         LayoutBR {BR} at (19,15) size 0x0
-      LayoutBlockFlow {HR} at (0,482) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,492) size 769x60
         LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 21x36
@@ -66,7 +62,6 @@
           text run at (0,40) width 559: "aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
       LayoutBlockFlow (anonymous) at (0,552) size 769x20
         LayoutBR {BR} at (0,0) size 0x19
-      LayoutBlockFlow {HR} at (0,580) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (floating) {P} at (423,600) size 336x216 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
         LayoutText {#text} at (8,8) size 320x199
           text run at (8,8) width 320: "This paragraph should be floated to the right, sort of"
@@ -98,7 +93,6 @@
           text run at (0,200) width 95: "floated element."
       LayoutBlockFlow (anonymous) at (0,810) size 769x20
         LayoutBR {BR} at (0,0) size 0x19
-      LayoutBlockFlow {HR} at (0,838) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,848) size 769x28 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
         LayoutBlockFlow (floating) {DIV} at (425,14) size 330x250 [bgcolor=#FFFF00]
           LayoutBlockFlow {P} at (5,5) size 320x240
@@ -120,7 +114,6 @@
             text run at (0,0) width 255: "See description in the box on the right side"
       LayoutBlockFlow (anonymous) at (0,876) size 769x246
         LayoutBR {BR} at (0,0) size 0x19
-      LayoutBlockFlow {HR} at (0,1130) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (floating) {DIV} at (0,1140) size 192.25x80 [bgcolor=#66CCFF]
         LayoutBlockFlow {P} at (0,0) size 192.25x80
           LayoutText {#text} at (0,0) size 192x79
@@ -141,7 +134,6 @@
           text run at (192,20) width 189: "and a yellow box (on the right)."
       LayoutBlockFlow (anonymous) at (0,1180) size 769x40
         LayoutBR {BR} at (192,0) size 1x19
-      LayoutBlockFlow {HR} at (0,1228) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,1238) size 769x120
         LayoutBlockFlow (floating) {DIV} at (0,0) size 576.75x120 [bgcolor=#66CCFF]
           LayoutBlockFlow (floating) {DIV} at (422.56,0) size 144.19x40 [bgcolor=#FFFF00]
@@ -166,7 +158,6 @@
               text run at (0,100) width 383: "10px right margin, the yellow rectange should have a 10px blue "
               text run at (382,100) width 132: "stripe on its right side."
         LayoutBR {BR} at (576,0) size 1x19
-      LayoutBlockFlow {HR} at (0,1366) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (0,1376) size 769x1454 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x1452
           LayoutTableRow {TR} at (0,0) size 767x28
@@ -191,7 +182,6 @@
                   text run at (0,60) width 708: "border or margins on this and the previous element, so the text of the two elements should be very close to each other."
               LayoutBlockFlow (anonymous) at (4,84) size 747x20
                 LayoutBR {BR} at (0,0) size 0x19
-              LayoutBlockFlow {HR} at (4,112) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,122) size 747x100
                 LayoutBlockFlow (floating) {P} at (0,0) size 747x80 [bgcolor=#FFFF00]
                   LayoutText {#text} at (0,0) size 747x79
@@ -203,7 +193,6 @@
                 LayoutText {#text} at (15,80) size 4x19
                   text run at (15,80) width 4: " "
                 LayoutBR {BR} at (19,95) size 0x0
-              LayoutBlockFlow {HR} at (4,230) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,240) size 747x120
                 LayoutBlockFlow (floating) {P} at (0,0) size 373.50x120 [bgcolor=#FFFF00]
                   LayoutText {#text} at (0,0) size 374x119
@@ -217,7 +206,6 @@
                 LayoutText {#text} at (388,0) size 5x19
                   text run at (388,0) width 5: " "
                 LayoutBR {BR} at (392,15) size 1x0
-              LayoutBlockFlow {HR} at (4,368) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,378) size 747x120
                 LayoutBlockFlow (floating) {P} at (373.50,0) size 373.50x120 [bgcolor=#FFFF00]
                   LayoutText {#text} at (0,0) size 373x119
@@ -231,7 +219,6 @@
                 LayoutText {#text} at (15,0) size 4x19
                   text run at (15,0) width 4: " "
                 LayoutBR {BR} at (19,15) size 0x0
-              LayoutBlockFlow {HR} at (4,506) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {P} at (4,516) size 747x60
                 LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
                   LayoutText {#text} at (0,0) size 21x36
@@ -243,7 +230,6 @@
                   text run at (0,40) width 616: "vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
               LayoutBlockFlow (anonymous) at (4,576) size 747x20
                 LayoutBR {BR} at (0,0) size 0x19
-              LayoutBlockFlow {HR} at (4,604) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (floating) {P} at (405,624) size 336x216 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
                 LayoutText {#text} at (8,8) size 320x199
                   text run at (8,8) width 320: "This paragraph should be floated to the right, sort of"
@@ -275,7 +261,6 @@
                   text run at (0,200) width 304: "due to the margin styles set for the floated element."
               LayoutBlockFlow (anonymous) at (4,834) size 747x20
                 LayoutBR {BR} at (0,0) size 0x19
-              LayoutBlockFlow {HR} at (4,862) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (4,872) size 747x28 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
                 LayoutBlockFlow (floating) {DIV} at (403,14) size 330x250 [bgcolor=#FFFF00]
                   LayoutBlockFlow {P} at (5,5) size 320x240
@@ -297,7 +282,6 @@
                     text run at (0,0) width 255: "See description in the box on the right side"
               LayoutBlockFlow (anonymous) at (4,900) size 747x246
                 LayoutBR {BR} at (0,0) size 0x19
-              LayoutBlockFlow {HR} at (4,1154) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (floating) {DIV} at (4,1164) size 186.75x80 [bgcolor=#66CCFF]
                 LayoutBlockFlow {P} at (0,0) size 186.75x80
                   LayoutText {#text} at (0,0) size 186x79
@@ -319,7 +303,6 @@
                   text run at (213,20) width 189: "and a yellow box (on the right)."
               LayoutBlockFlow (anonymous) at (4,1204) size 747x40
                 LayoutBR {BR} at (186,0) size 1x19
-              LayoutBlockFlow {HR} at (4,1252) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow (anonymous) at (4,1262) size 747x140
                 LayoutBlockFlow (floating) {DIV} at (0,0) size 560.25x140 [bgcolor=#66CCFF]
                   LayoutBlockFlow (floating) {DIV} at (410.19,0) size 140.06x40 [bgcolor=#FFFF00]
@@ -345,4 +328,39 @@
                       text run at (455,100) width 105: "stripe on its right"
                       text run at (0,120) width 28: "side."
                 LayoutBR {BR} at (560,0) size 1x19
-              LayoutBlockFlow {HR} at (4,1410) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (8,116) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,108) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,234) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,226) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,352) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,344) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,490) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,482) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,588) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,580) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,846) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,838) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1138) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1130) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1236) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1228) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1374) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1366) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (25,1525) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,112) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1643) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,230) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1781) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,368) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1919) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,506) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2017) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,604) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2275) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,862) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2567) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1154) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2665) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1252) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2823) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1410) size 747x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/height-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/height-expected.txt
index 51db054c..f58c5ead 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/height-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/height-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 168: ".two {height: 100px;}"
           text run at (168,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,107) size 769x50
         LayoutImage {IMG} at (0,0) size 50x50
         LayoutText {#text} at (0,0) size 0x0
@@ -74,3 +73,5 @@
                     text run at (109,23) width 48: "height"
                 LayoutText {#text} at (157,20) size 65x19
                   text run at (157,20) width 65: " property)."
+layer at (8,105) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin-expected.txt
index 2823f70..4d18d48 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin-expected.txt
@@ -22,7 +22,6 @@
           text run at (168,80) width 0: " "
           text run at (0,96) width 360: ".six {margin: -10px; background-color: aqua;}"
           text run at (360,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,179) size 784x40
         LayoutText {#text} at (0,0) size 755x39
           text run at (0,0) width 755: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in section"
@@ -163,3 +162,5 @@
               LayoutBlockFlow {P} at (4,1207) size 762x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 193x19
                   text run at (0,0) width 193: "This element has a class of zero."
+layer at (8,169) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.txt
index 33ce5cd..69a6090 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom-expected.txt
@@ -25,7 +25,6 @@
           text run at (0,112) width 176: "P, UL {margin-top: 0;}"
           text run at (176,112) width 0: " "
           text run at (0,128) width 0: " "
-      LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,203) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This element has a class of zero."
@@ -148,3 +147,5 @@
               LayoutBlockFlow {P} at (4,763.75) size 747x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 221x19
                   text run at (0,0) width 221: "This element also has a class of zero."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.txt
index 4dfea35..d817719 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_bottom_inline-expected.txt
@@ -12,7 +12,6 @@
           text run at (408,0) width 0: " "
           text run at (0,16) width 416: ".two {margin-bottom: -10px; background-color: aqua;}"
           text run at (416,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 456x19
           text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
@@ -93,3 +92,5 @@
                   text run at (240,20) width 9: ". "
                   text run at (248,20) width 497: "Margins on inline elements does not affect line-height calculations, so all lines in this"
                   text run at (0,40) width 247: "element should have the same line-height."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.txt
index a3a9226..6ab4520bf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_inline-expected.txt
@@ -14,7 +14,6 @@
           text run at (352,16) width 0: " "
           text run at (0,32) width 360: ".two {margin: -10px; background-color: aqua;}"
           text run at (360,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,107) size 784x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This element has a class of zero."
@@ -121,3 +120,5 @@
               LayoutBlockFlow {P} at (4,268) size 762x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 193x19
                   text run at (0,0) width 193: "This element has a class of zero."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.txt
index 32821585..a371e1b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left-expected.txt
@@ -20,7 +20,6 @@
           text run at (392,64) width 0: " "
           text run at (0,80) width 408: ".five {margin-left: -10px; background-color: aqua;}"
           text run at (408,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This element has a class of zero."
@@ -117,3 +116,5 @@
                   text run at (80,20) width 369: "In all other respects, however, the element should be normal. "
                   text run at (448,20) width 269: "No styles have been applied to it besides the"
                   text run at (0,40) width 277: "negative left margin and the background color."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.txt
index 2043f040..4e11b88 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_left_inline-expected.txt
@@ -12,7 +12,6 @@
           text run at (392,0) width 0: " "
           text run at (0,16) width 400: ".two {margin-left: -10px; background-color: aqua;}"
           text run at (400,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 514x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
@@ -97,3 +96,5 @@
                     text run at (221,20) width 28: "first"
                 LayoutText {#text} at (248,20) size 217x19
                   text run at (248,20) width 217: " line in which the inline box appears."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.txt
index 573160d34..a98c349 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right-expected.txt
@@ -20,7 +20,6 @@
           text run at (552,64) width 0: " "
           text run at (0,80) width 416: ".five {margin-right: -10px; background-color: aqua;}"
           text run at (416,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 784x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (591,0) size 193x19
           text run at (591,0) width 193: "This element has a class of zero."
@@ -116,3 +115,5 @@
                   text run at (80,20) width 369: "In all other respects, however, the element should be normal. "
                   text run at (448,20) width 322: "No styles have been applied to it besides the negative"
                   text run at (0,40) width 232: "right margin and the background color."
+layer at (8,153) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.txt
index 65fa5f9..ccfdadd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_right_inline-expected.txt
@@ -12,7 +12,6 @@
           text run at (552,0) width 0: " "
           text run at (0,16) width 408: ".two {margin-right: -10px; background-color: aqua;}"
           text run at (408,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 514x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
@@ -97,3 +96,5 @@
                     text run at (229,20) width 25: "last"
                 LayoutText {#text} at (253,20) size 217x19
                   text run at (253,20) width 217: " line in which the inline box appears."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.txt
index 5da548c..5c659a8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top-expected.txt
@@ -24,7 +24,6 @@
           text run at (392,96) width 0: " "
           text run at (0,112) width 200: "P, UL {margin-bottom: 0;}"
           text run at (200,112) width 0: " "
-      LayoutBlockFlow {HR} at (0,174) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,184) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This element has a class of zero."
@@ -135,3 +134,5 @@
                   text run at (0,20) width 468: "No other styles have been applied to it besides a light blue background color. "
                   text run at (467,20) width 257: "In all other respects, the element should be"
                   text run at (0,40) width 45: "normal."
+layer at (8,182) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,174) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.txt
index 36fb584..d4edea4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin_top_inline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 392: ".two {margin-top: -10px; background-color: aqua;}"
           text run at (392,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x60 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 452x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
@@ -96,3 +95,5 @@
                   text run at (268,20) width 9: ". "
                   text run at (276,20) width 484: "Margins on inline elements do not affect line-height calculations, so all lines in this"
                   text run at (0,40) width 247: "element should have the same line-height."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding-expected.txt
index 02a02e8..346335b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding-expected.txt
@@ -20,7 +20,6 @@
           text run at (360,64) width 0: " "
           text run at (0,80) width 376: ".five {padding: -20px; background-color: aqua;}"
           text run at (376,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This element has a class of zero."
@@ -89,3 +88,5 @@
                   text run at (0,0) width 510: "This element should have no padding, since negative padding values are not allowed. "
                   text run at (510,0) width 223: "Both the content background and the"
                   text run at (0,20) width 259: "normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom-expected.txt
index ceb454b..8c24c1b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom-expected.txt
@@ -20,7 +20,6 @@
           text run at (416,64) width 0: " "
           text run at (0,80) width 432: ".five {padding-bottom: -20px; background-color: aqua;}"
           text run at (432,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This element has a class of zero."
@@ -97,3 +96,5 @@
                   text run at (0,0) width 557: "This element should have no bottom padding, since negative padding values are not allowed. "
                   text run at (557,0) width 175: "Both the content background"
                   text run at (0,20) width 307: "and the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.txt
index cebf1c0..363091c5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_bottom_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 424: ".two {padding-bottom: -10px; background-color: aqua;}"
           text run at (424,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 452x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
@@ -98,3 +97,5 @@
                   text run at (497,20) width 8: ". "
                   text run at (505,20) width 251: "Padding on inline elements does not affect"
                   text run at (0,40) width 492: "line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.txt
index e55ae5d3..f673b082 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_inline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 368: ".two {padding: -10px; background-color: aqua;}"
           text run at (368,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This element has a class of zero."
@@ -124,3 +123,5 @@
               LayoutBlockFlow {P} at (4,288) size 747x20 [bgcolor=#C0C0C0]
                 LayoutText {#text} at (0,0) size 193x19
                   text run at (0,0) width 193: "This element has a class of zero."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.txt
index 4e3d5688..968c6e9 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left-expected.txt
@@ -20,7 +20,6 @@
           text run at (400,64) width 0: " "
           text run at (0,80) width 416: ".five {padding-left: -20px; background-color: aqua;}"
           text run at (416,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This element has a class of zero."
@@ -113,3 +112,5 @@
                   text run at (0,0) width 532: "This element should have no left padding, since negative padding values are not allowed. "
                   text run at (532,0) width 201: "Both the content background and"
                   text run at (0,20) width 281: "the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.txt
index 8cdb16f9..6af1111 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_left_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 408: ".two {padding-left: -10px; background-color: aqua;}"
           text run at (408,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x40 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 514x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
@@ -98,3 +97,5 @@
                     text run at (437,20) width 27: "first"
                 LayoutText {#text} at (464,20) size 216x19
                   text run at (464,20) width 216: " line in which the inline box appears."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right-expected.txt
index 188dd69..a7445fe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right-expected.txt
@@ -20,7 +20,6 @@
           text run at (560,64) width 0: " "
           text run at (0,80) width 576: ".five {padding-right: -20px; text-align: right; background-color: aqua;}"
           text run at (576,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This element has a class of zero."
@@ -128,3 +127,5 @@
                   text run at (25,20) width 285: "the normal padding should be aqua (light blue). "
                   text run at (310,20) width 437: "The text has been right-aligned in order to make the lack of right padding"
                   text run at (668,40) width 79: "easier to see."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.txt
index 6fa9ae3..028b1b0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_right_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 568: ".two {padding-right: -10px; text-align: right; background-color: aqua;}"
           text run at (568,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x40 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 514x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
@@ -98,3 +97,5 @@
                     text run at (472,20) width 24: "last"
                 LayoutText {#text} at (496,20) size 216x19
                   text run at (496,20) width 216: " line in which the inline box appears."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top-expected.txt
index 9bd4dd5..b546a90 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top-expected.txt
@@ -20,7 +20,6 @@
           text run at (392,64) width 0: " "
           text run at (0,80) width 408: ".five {padding-top: -20px; background-color: aqua;}"
           text run at (408,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
         LayoutText {#text} at (0,0) size 193x19
           text run at (0,0) width 193: "This element has a class of zero."
@@ -91,3 +90,5 @@
                   text run at (0,0) width 534: "This element should have no top padding, since negative padding values are not allowed. "
                   text run at (534,0) width 201: "Both the content background and"
                   text run at (0,20) width 281: "the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.txt
index 83d2299..c488791 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/padding_top_inline-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 400: ".two {padding-top: -10px; background-color: aqua;}"
           text run at (400,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
         LayoutText {#text} at (0,0) size 452x19
           text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
@@ -98,3 +97,5 @@
                   text run at (474,20) width 8: ". "
                   text run at (482,20) width 251: "Padding on inline elements does not affect"
                   text run at (0,40) width 492: "line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/width-expected.txt
index a50b2f2..40613e8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/width-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/width-expected.txt
@@ -14,7 +14,6 @@
           text run at (144,16) width 0: " "
           text run at (0,32) width 152: "TABLE {width: 50%;}"
           text run at (152,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,107) size 769x50
         LayoutImage {IMG} at (0,0) size 50x50
         LayoutText {#text} at (0,0) size 0x0
@@ -83,3 +82,5 @@
                   text run at (0,160) width 176: "property without the need for"
                   text run at (0,180) width 172: "the user to resize the viewing"
                   text run at (0,200) width 51: "window."
+layer at (8,105) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.txt
index 5e06598..28833e3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/cascade/cascade_order-expected.txt
@@ -29,7 +29,6 @@
           text run at (0,144) width 296: ".one {text-decoration: line-through;}"
           text run at (296,144) width 0: " "
           text run at (0,160) width 0: " "
-      LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,243) size 769x160
         LayoutListItem {LI} at (40,0) size 729x20 [color=#0000FF]
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -140,3 +139,5 @@
               LayoutBlockFlow {P} at (4,252) size 652x20
                 LayoutText {#text} at (0,0) size 652x19
                   text run at (0,0) width 652: "This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported)."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/cascade/important-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/cascade/important-expected.txt
index c160ca6..af35e590 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/cascade/important-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/cascade/important-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 176: "P#id1 {color: purple;}"
           text run at (176,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x40 [color=#008000]
         LayoutText {#text} at (0,0) size 755x39
           text run at (0,0) width 755: "This sentence should be green, because the declaration marked important should override any other normal declaration for the"
@@ -66,3 +65,5 @@
                   text run at (0,0) width 574: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. "
                   text run at (574,0) width 167: "This is because declarations"
                   text run at (0,20) width 535: "marked important have more weight than normal declarations given in a STYLE attribute."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.txt
index 5871082..de3e0b8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/display-expected.txt
@@ -18,7 +18,6 @@
           text run at (272,48) width 0: " "
           text run at (0,64) width 152: "I {display: block;}"
           text run at (152,64) width 0: " "
-      LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,147) size 769x20
         LayoutText {#text} at (0,0) size 279x19
           text run at (0,0) width 279: "This sentence should be a block-level element."
@@ -128,3 +127,5 @@
                 LayoutBlockFlow (anonymous) at (0,40) size 747x20
                   LayoutText {#text} at (0,0) size 194x19
                     text run at (0,0) width 194: "should be a block-level element."
+layer at (8,137) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style-expected.txt
index b922736..4a70661 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style-expected.txt
@@ -12,7 +12,6 @@
           text run at (304,0) width 0: " "
           text run at (0,16) width 496: ".two {list-style: url(../resources/oransqr.gif) disc outside;}"
           text run at (496,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,99) size 784x40
         LayoutListItem {LI} at (40,0) size 744x40
           LayoutListMarker (anonymous) at (0,0) size 19x19: "A"
@@ -51,3 +50,5 @@
                     text run at (0,0) width 448: "The text in this item have an orange square for its bullet; failing that, a disc. "
                     text run at (448,0) width 247: "Also, the bullet should be outside the text"
                     text run at (0,20) width 248: "block, as the list has been set to 'outside'."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_image-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_image-expected.txt
index 08b22d62d..4ef4e03 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_image-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 240: ".two {list-style-image: none;}"
           text run at (240,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,115) size 784x60
         LayoutListItem {LI} at (40,0) size 744x20
           LayoutListMarker (anonymous) at (-22,0) size 15x15
@@ -78,3 +77,5 @@
                   LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
                   LayoutText {#text} at (0,0) size 223x19
                     text run at (0,0) width 223: "...standard list markers for each item."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_position-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_position-expected.txt
index 44c0aa43..2518c2d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_position-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 280: ".two {list-style-position: inside;}"
           text run at (280,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,115) size 784x40
         LayoutListItem {LI} at (40,0) size 744x40
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -50,3 +49,5 @@
                   LayoutText {#text} at (22,0) size 714x39
                     text run at (22,0) width 692: "The text in this item should not behave as expected; that is, it should line up with the bullet on the left margin, leaving"
                     text run at (0,20) width 204: "no blank space beneath the bullet."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_type-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_type-expected.txt
index d451fb9..0c74994 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_type-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/list_style_type-expected.txt
@@ -27,7 +27,6 @@
           text run at (0,128) width 240: ".nine {list-style-type: none;}"
           text run at (240,128) width 0: " "
           text run at (0,144) width 0: " "
-      LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,227) size 769x60
         LayoutListItem {LI} at (40,0) size 729x20
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -268,3 +267,5 @@
                 LayoutListItem {LI} at (40,40) size 264x20
                   LayoutText {#text} at (0,0) size 141x19
                     text run at (0,0) width 141: "...nothing for each item."
+layer at (8,217) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.txt
index abdcddd..a224d45 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/classification/white_space-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 232: ".three {white-space: normal;}"
           text run at (232,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x100
         LayoutText {#text} at (0,0) size 543x99
           text run at (0,0) width 0: " "
@@ -78,3 +77,5 @@
                 LayoutText {#text} at (433,20) size 4x19
                   text run at (433,20) width 4: "."
                   text run at (437,20) width 0: " "
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.txt
index 285f9814..97dca62 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background-expected.txt
@@ -16,7 +16,6 @@
           text run at (592,32) width 0: " "
           text run at (0,48) width 592: ".three {background: lime url(../resources/oransqr.gif) repeat-x left top;}"
           text run at (592,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x60
         LayoutText {#text} at (0,0) size 695x19
           text run at (0,0) width 695: "This document should have a green background with an orange strip running across the entire top of the page, since "
@@ -87,3 +86,5 @@
                   text run at (0,20) width 721: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
                   text run at (0,40) width 115: "these declarations. "
                   text run at (115,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_attachment-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_attachment-expected.txt
index bf4c210..3faed43 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_attachment-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_attachment-expected.txt
@@ -11,7 +11,6 @@
           text run at (0,0) width 872: "BODY {background-image: url(../resources/bg.gif); background-repeat: repeat-x; background-attachment: fixed;}"
           text run at (872,0) width 0: " "
           text run at (0,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x100
         LayoutText {#text} at (0,0) size 769x99
           text run at (0,0) width 768: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which does NOT"
@@ -27,8 +26,6 @@
         LayoutText {#text} at (0,0) size 484x19
           text run at (0,0) width 397: "In fact, why not the relevant section from the CSS1 specification? "
           text run at (397,0) width 87: "A capital idea."
-      LayoutBlockFlow {HR} at (0,251) size 784x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow {HR} at (0,261) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {H4} at (0,284.27) size 784x20
         LayoutInline {A} at (0,0) size 213x19
           LayoutText {#text} at (0,0) size 213x19
@@ -114,8 +111,6 @@
                 LayoutText {#text} at (0,0) size 484x19
                   text run at (0,0) width 397: "In fact, why not the relevant section from the CSS1 specification? "
                   text run at (397,0) width 87: "A capital idea."
-              LayoutBlockFlow {HR} at (4,156) size 762x2 [border: (1px inset #EEEEEE)]
-              LayoutBlockFlow {HR} at (4,166) size 762x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H4} at (4,189.27) size 762x20
                 LayoutInline {A} at (0,0) size 213x19
                   LayoutText {#text} at (0,0) size 213x19
@@ -175,3 +170,13 @@
                 LayoutText {#text} at (71,0) size 759x39
                   text run at (71,0) width 688: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the HTML"
                   text run at (0,20) width 728: "and BODY elements, since there is no way for an author to provide an image only for those browsers that support 'fixed'."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,259) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,251) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,269) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,261) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,843) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,156) size 762x2 [border: (1px inset #EEEEEE)]
+layer at (25,853) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,166) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.txt
index 26a2db9..f088b188 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_color-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 296: ".two {background-color: transparent;}"
           text run at (296,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x20 [bgcolor=#008000]
         LayoutText {#text} at (0,0) size 263x19
           text run at (0,0) width 263: "This element's background should be green."
@@ -82,3 +81,5 @@
                 LayoutText {#text} at (0,0) size 702x19
                   text run at (0,0) width 432: "This element should allow the document background to \"shine through.\" "
                   text run at (432,0) width 270: "There should be no green backgrounds here!"
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.txt
index 6e7c95d..47586509 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_image-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 240: ".one {background-image: none;}"
           text run at (240,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x40
         LayoutText {#text} at (0,0) size 779x39
           text run at (0,0) width 482: "This sentence should be backed by an image-- a green grid pattern, in this case. "
@@ -89,3 +88,5 @@
                 LayoutText {#text} at (0,0) size 727x39
                   text run at (0,0) width 727: "This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \"shine through\""
                   text run at (0,20) width 46: "instead."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_position-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_position-expected.txt
index ef0a9da6..f927518 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_position-expected.txt
@@ -41,7 +41,6 @@
           text run at (0,240) width 488: "       background-repeat: no-repeat; background-color: aqua;}"
           text run at (488,240) width 0: " "
           text run at (0,256) width 0: " "
-      LayoutBlockFlow {HR} at (0,321) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,339) size 769x20
         LayoutText {#text} at (0,0) size 472x19
           text run at (0,0) width 472: "This document should have a single, small green image in its upper right corner."
@@ -144,3 +143,5 @@
                   text run at (0,40) width 76: "the element. "
                   text run at (76,40) width 624: "The background color will make it easier to determine the edges of the paragraph, which should assist in"
                   text run at (0,60) width 112: "evaluating this test."
+layer at (8,329) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,321) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_repeat-expected.txt
index 686bcc34..9b3402d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_repeat-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/background_repeat-expected.txt
@@ -37,7 +37,6 @@
           text run at (0,208) width 240: "       background-color: red;}"
           text run at (240,208) width 0: " "
           text run at (0,224) width 0: " "
-      LayoutBlockFlow {HR} at (0,289) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,307) size 784x60
         LayoutText {#text} at (0,0) size 744x19
           text run at (0,0) width 744: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the default for"
@@ -305,3 +304,5 @@
                   text run at (86,80) width 226: "This ought to be enough text, though. "
                   text run at (312,80) width 440: "A background color is present, although if it is visible, then the image may"
                   text run at (0,100) width 173: "not have been tiled correctly."
+layer at (8,297) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,289) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/color-expected.txt
index 12ded501..897ec93 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/color-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/color_and_background/color-expected.txt
@@ -11,7 +11,6 @@
           text run at (0,0) width 160: ".one {color: green;}"
           text run at (160,0) width 0: " "
           text run at (0,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 784x20 [color=#008000]
         LayoutText {#text} at (0,0) size 184x19
           text run at (0,0) width 184: "This sentence should be green."
@@ -36,3 +35,5 @@
               LayoutBlockFlow {P} at (4,40) size 184x20 [color=#008000]
                 LayoutText {#text} at (0,0) size 184x19
                   text run at (0,0) width 184: "This sentence should be green."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/conformance/forward_compatible_parsing-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/conformance/forward_compatible_parsing-expected.txt
index ef5e0f1..ec5ffd6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/conformance/forward_compatible_parsing-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/conformance/forward_compatible_parsing-expected.txt
@@ -113,7 +113,6 @@
           text run at (0,832) width 208: "P.twentyfour {color: red;}"
           text run at (208,832) width 0: " "
           text run at (0,848) width 0: " "
-      LayoutBlockFlow {HR} at (0,913) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,931) size 769x20 [color=#008000]
         LayoutText {#text} at (0,0) size 462x19
           text run at (0,0) width 462: "This paragraph should be green, because only the rotation should be ignored."
@@ -540,3 +539,5 @@
                 LayoutText {#text} at (0,0) size 722x39
                   text run at (0,0) width 722: "This paragraph should be black, because the color declaration after the previous ruleset should be considered part of the"
                   text run at (0,20) width 588: "selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied."
+layer at (8,921) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,913) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.txt
index 608edbb6..56881719 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/canvas-expected.txt
@@ -12,7 +12,6 @@
           text run at (240,0) width 0: " "
           text run at (0,16) width 552: "BODY {background-color: green; background-image: none; margin: 25px;}"
           text run at (552,16) width 0: " "
-      LayoutBlockFlow {HR} at (0,81) size 750x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,99) size 750x60
         LayoutText {#text} at (0,0) size 735x59
           text run at (0,0) width 368: "The body of this document should have a green background. "
@@ -39,3 +38,5 @@
                   text run at (0,20) width 409: "background set for the HTML element should surround the BODY. "
                   text run at (408,20) width 310: "If the BODY content is significantly shorter than the"
                   text run at (0,40) width 474: "browser's window height, then the bottom border may be larger than 25 pixels."
+layer at (25,106) size 750x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 750x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/floating_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/floating_elements-expected.txt
index 68b4068..56157fac 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/floating_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/floating_elements-expected.txt
@@ -25,13 +25,11 @@
           text run at (0,112) width 176: ".right {float: right;}"
           text run at (176,112) width 0: " "
           text run at (0,128) width 0: " "
-      LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,211) size 769x40
         LayoutText {#text} at (0,0) size 731x39
           text run at (0,0) width 645: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. "
           text run at (645,0) width 86: "Other than the"
           text run at (0,20) width 690: "substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the floats."
-      LayoutBlockFlow {HR} at (24,275) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,301) size 765x90 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 159x39
@@ -48,7 +46,6 @@
           text run at (199,25) width 358: "DIV should not go beyond the left or right inner edge of this"
           text run at (199,45) width 350: "DIV, which means that the borders of the floating elements"
           text run at (199,65) width 324: "should not overlap the top or side borders of the DIV."
-      LayoutBlockFlow {HR} at (364.28,400) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,410) size 765x50 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
@@ -56,7 +53,6 @@
           text run at (20,5) width 162: "This is text within the DIV. "
           text run at (181,5) width 541: "The floating images within this DIV should not go beyond the left or right inner edge of this"
           text run at (20,25) width 667: "DIV, which means that the borders of the floating images should not overlap the top or side borders of the DIV."
-      LayoutBlockFlow {HR} at (24,484) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,510) size 442x230 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 157x39
@@ -85,7 +81,6 @@
           text run at (36,185) width 288: "In addition, they should not overlap each other. "
           text run at (323,185) width 77: "The first two"
           text run at (5,205) width 414: "should be side by side, whereas the third should be on the next \"line.\""
-      LayoutBlockFlow {HR} at (364.28,748) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,758) size 360x210 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
@@ -103,7 +98,6 @@
           text run at (291,145) width 50: "The first"
           text run at (5,165) width 333: "two should be side by side, whereas the third should be"
           text run at (5,185) width 104: "on the next \"line.\""
-      LayoutBlockFlow {HR} at (24,992) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1018) size 314x364 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 159x39
@@ -134,7 +128,6 @@
           text run at (5,299) width 303: "side-by-side, but instead the first should be floated"
           text run at (5,319) width 293: "left, and the second floated to the right below the"
           text run at (5,339) width 26: "first."
-      LayoutBlockFlow {HR} at (364.28,1390) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1400) size 410x226 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
@@ -152,7 +145,6 @@
           text run at (254,161) width 135: "In addition, the floated"
           text run at (5,181) width 388: "images should not be side-by-side, but instead the first should be"
           text run at (5,201) width 368: "floated left, and the second floated to the right below the first."
-      LayoutBlockFlow {HR} at (24,1650) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1676) size 765x130 [border: (5px solid #800080)]
         LayoutBlockFlow (floating) {P} at (566,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
           LayoutText {#text} at (17,17) size 159x39
@@ -172,7 +164,6 @@
           text run at (529,65) width 13: "In"
           text run at (199,85) width 551: "addition, the top of the left-floating box should not be higher than the top of the right-floating"
           text run at (5,105) width 27: "box."
-      LayoutBlockFlow {HR} at (364.28,1814) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1824) size 765x70 [border: (5px solid #800080)]
         LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
         LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
@@ -182,7 +173,6 @@
           text run at (20,25) width 668: "means that the borders of the floating images should not overlap the top or side borders of the DIV in any way. "
           text run at (687,25) width 13: "In"
           text run at (5,45) width 606: "addition, the top of the left-floating image should not be higher than the top of the right-floating image."
-      LayoutBlockFlow {HR} at (24,1918) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,1944) size 765x130 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 170x19
           text run at (199,5) width 162: "This is text within the DIV. "
@@ -207,7 +197,6 @@
           text run at (5,85) width 225: "floating elements occur in the source. "
           text run at (230,85) width 313: "In order to mark these points clearly, an asterisk has"
           text run at (5,105) width 279: "been inserted just before each floated element."
-      LayoutBlockFlow {HR} at (364.28,2083) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2093) size 765x90 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 170x19
           text run at (20,5) width 162: "This is text within the DIV. "
@@ -223,7 +212,6 @@
           text run at (5,45) width 560: "of the inline element containing the content just before the floating images occur in the source. "
           text run at (565,45) width 175: "In order to mark these points"
           text run at (5,65) width 406: "clearly, an asterisk has been inserted just before each floated image."
-      LayoutBlockFlow {HR} at (24,2207) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2233) size 765x230 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 170x19
           text run at (199,5) width 162: "This is text within the DIV. "
@@ -268,7 +256,6 @@
           text run at (373,165) width 379: "If a line has room for a floated element, then the element should"
           text run at (199,185) width 517: "float so that its top is aligned with the top of the line-box in which the asterisk appears."
           text run at (199,205) width 380: "Otherwise, its top should align with the top of the next line-box."
-      LayoutBlockFlow {HR} at (364.28,2472) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2482) size 765x130 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 170x19
           text run at (20,5) width 162: "This is text within the DIV. "
@@ -294,7 +281,6 @@
           text run at (569,65) width 182: "If a line has room for a floated"
           text run at (5,85) width 693: "image, then the image should float so that its top is aligned with the top of the line-box in which the asterisk appears."
           text run at (5,105) width 380: "Otherwise, its top should align with the top of the next line-box."
-      LayoutBlockFlow {HR} at (24,2636) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2662) size 490x310 [border: (5px solid #800080)]
         LayoutText {#text} at (199,5) size 50x19
           text run at (199,5) width 50: "This is *"
@@ -326,7 +312,6 @@
           text run at (5,245) width 478: "floated elements to align with the top of the line-box following the insertion point"
           text run at (5,265) width 456: "of the floated element to avoid floating elements appearing before text which"
           text run at (5,285) width 213: "precedes it in the source document."
-      LayoutBlockFlow {HR} at (364.28,2980) size 40.44x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (2,2990) size 490x230 [border: (5px solid #800080)]
         LayoutText {#text} at (20,5) size 50x19
           text run at (20,5) width 50: "This is *"
@@ -349,7 +334,6 @@
           text run at (5,165) width 452: "the top of floated elements to align with the top of the line-box following the"
           text run at (5,185) width 479: "insertion point of the floated element to avoid floating elements appearing before"
           text run at (5,205) width 278: "text which precedes it in the source document."
-      LayoutBlockFlow {HR} at (24,3244) size 578.75x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (0,3270) size 769x3175 [border: (1px outset #808080)]
         LayoutTableSection {TBODY} at (1,1) size 767x3173
           LayoutTableRow {TR} at (0,0) size 767x28
@@ -367,7 +351,6 @@
                   text run at (0,0) width 645: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. "
                   text run at (645,0) width 86: "Other than the"
                   text run at (0,20) width 690: "substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the floats."
-              LayoutBlockFlow {HR} at (28,68) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,94) size 743x110 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 159x39
@@ -385,7 +368,6 @@
                   text run at (199,45) width 334: "of this DIV, which means that the borders of the floating"
                   text run at (199,65) width 325: "elements should not overlap the top or side borders of"
                   text run at (5,85) width 51: "the DIV."
-              LayoutBlockFlow {HR} at (357.83,212) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,222) size 743x50 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
@@ -393,7 +375,6 @@
                   text run at (20,5) width 162: "This is text within the DIV. "
                   text run at (181,5) width 541: "The floating images within this DIV should not go beyond the left or right inner edge of this"
                   text run at (20,25) width 667: "DIV, which means that the borders of the floating images should not overlap the top or side borders of the DIV."
-              LayoutBlockFlow {HR} at (28,296) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,322) size 442x230 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 157x39
@@ -422,7 +403,6 @@
                   text run at (36,185) width 288: "In addition, they should not overlap each other. "
                   text run at (323,185) width 77: "The first two"
                   text run at (5,205) width 414: "should be side by side, whereas the third should be on the next \"line.\""
-              LayoutBlockFlow {HR} at (357.83,560) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,570) size 360x210 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
@@ -440,7 +420,6 @@
                   text run at (291,145) width 50: "The first"
                   text run at (5,165) width 333: "two should be side by side, whereas the third should be"
                   text run at (5,185) width 104: "on the next \"line.\""
-              LayoutBlockFlow {HR} at (28,804) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,830) size 314x364 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 159x39
@@ -471,7 +450,6 @@
                   text run at (5,299) width 303: "side-by-side, but instead the first should be floated"
                   text run at (5,319) width 293: "left, and the second floated to the right below the"
                   text run at (5,339) width 26: "first."
-              LayoutBlockFlow {HR} at (357.83,1202) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1212) size 410x226 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
@@ -489,7 +467,6 @@
                   text run at (254,161) width 135: "In addition, the floated"
                   text run at (5,181) width 388: "images should not be side-by-side, but instead the first should be"
                   text run at (5,201) width 368: "floated left, and the second floated to the right below the first."
-              LayoutBlockFlow {HR} at (28,1462) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1488) size 743x130 [border: (5px solid #800080)]
                 LayoutBlockFlow (floating) {P} at (544,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
                   LayoutText {#text} at (17,17) size 159x39
@@ -509,7 +486,6 @@
                   text run at (199,85) width 57: "any way. "
                   text run at (255,85) width 467: "In addition, the top of the left-floating box should not be higher than the top of"
                   text run at (5,105) width 128: "the right-floating box."
-              LayoutBlockFlow {HR} at (357.83,1626) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1636) size 743x70 [border: (5px solid #800080)]
                 LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                 LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
@@ -519,7 +495,6 @@
                   text run at (20,25) width 668: "means that the borders of the floating images should not overlap the top or side borders of the DIV in any way. "
                   text run at (687,25) width 13: "In"
                   text run at (5,45) width 606: "addition, the top of the left-floating image should not be higher than the top of the right-floating image."
-              LayoutBlockFlow {HR} at (28,1730) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1756) size 743x130 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 170x19
                   text run at (199,5) width 162: "This is text within the DIV. "
@@ -544,7 +519,6 @@
                   text run at (5,85) width 315: "just before the floating elements occur in the source. "
                   text run at (320,85) width 221: "In order to mark these points clearly,"
                   text run at (5,105) width 371: "an asterisk has been inserted just before each floated element."
-              LayoutBlockFlow {HR} at (357.83,1895) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,1905) size 743x90 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 170x19
                   text run at (20,5) width 162: "This is text within the DIV. "
@@ -560,7 +534,6 @@
                   text run at (5,45) width 617: "top edge of the inline element containing the content just before the floating images occur in the source. "
                   text run at (622,45) width 100: "In order to mark"
                   text run at (5,65) width 481: "these points clearly, an asterisk has been inserted just before each floated image."
-              LayoutBlockFlow {HR} at (28,2019) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2045) size 743x290 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 170x19
                   text run at (199,5) width 162: "This is text within the DIV. "
@@ -609,7 +582,6 @@
                   text run at (5,245) width 709: "line has room for a floated element, then the element should float so that its top is aligned with the top of the line-box in"
                   text run at (5,265) width 167: "which the asterisk appears. "
                   text run at (172,265) width 380: "Otherwise, its top should align with the top of the next line-box."
-              LayoutBlockFlow {HR} at (357.83,2343) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2353) size 743x130 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 170x19
                   text run at (20,5) width 162: "This is text within the DIV. "
@@ -636,7 +608,6 @@
                   text run at (5,85) width 714: "for a floated image, then the image should float so that its top is aligned with the top of the line-box in which the asterisk"
                   text run at (5,105) width 56: "appears. "
                   text run at (61,105) width 380: "Otherwise, its top should align with the top of the next line-box."
-              LayoutBlockFlow {HR} at (28,2507) size 562.25x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2533) size 490x310 [border: (5px solid #800080)]
                 LayoutText {#text} at (199,5) size 50x19
                   text run at (199,5) width 50: "This is *"
@@ -668,7 +639,6 @@
                   text run at (5,245) width 478: "floated elements to align with the top of the line-box following the insertion point"
                   text run at (5,265) width 456: "of the floated element to avoid floating elements appearing before text which"
                   text run at (5,285) width 213: "precedes it in the source document."
-              LayoutBlockFlow {HR} at (357.83,2851) size 39.34x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (6,2861) size 490x230 [border: (5px solid #800080)]
                 LayoutText {#text} at (20,5) size 50x19
                   text run at (20,5) width 50: "This is *"
@@ -691,4 +661,65 @@
                   text run at (5,165) width 452: "the top of floated elements to align with the top of the line-box following the"
                   text run at (5,185) width 479: "insertion point of the floated element to avoid floating elements appearing before"
                   text run at (5,205) width 278: "text which precedes it in the source document."
-              LayoutBlockFlow {HR} at (28,3115) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (32,283) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,275) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,408) size 41x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,400) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,492) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,484) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,756) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,748) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1000) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,992) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1398) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1390) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1658) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1650) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1822) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1814) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1926) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1918) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2091) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2083) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2215) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2207) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2480) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2472) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2644) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2636) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2988) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2980) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,3252) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,3244) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (49,3375) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,68) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,3519) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,212) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,3603) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,296) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,3867) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,560) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,4111) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,804) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4509) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1202) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,4769) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1462) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4933) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1626) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5037) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1730) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5202) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1895) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5326) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2019) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5650) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2343) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5814) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2507) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,6158) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2851) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,6422) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,3115) size 562.25x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/height_of_lines-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/height_of_lines-expected.txt
index cc63398c..caae818 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/height_of_lines-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/height_of_lines-expected.txt
@@ -41,7 +41,6 @@
           text run at (0,256) width 320: "     border-width: 10px; margin: -10px;}"
           text run at (320,256) width 0: " "
           text run at (0,272) width 0: " "
-      LayoutBlockFlow {HR} at (0,337) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,353) size 769x464
         LayoutText {#text} at (0,2) size 763x238
           text run at (0,2) width 417: "This paragraph should have a font size of 14px and a line height of 20px. "
@@ -132,3 +131,5 @@
                   text run at (475,424) width 8: ". "
                   text run at (483,424) width 240: "The last image in this paragraph has -10px"
                   text run at (0,466) width 705: "margins set on it, so that should pull the text in toward the image in the vertical direction, and also in the horizontal direction."
+layer at (8,345) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,337) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.txt
index 1baebf41..ef1ee75 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/inline_elements-expected.txt
@@ -21,7 +21,6 @@
           text run at (0,80) width 192: "          padding: 2pt;}"
           text run at (192,80) width 0: " "
           text run at (0,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,179) size 769x192
         LayoutText {#text} at (0,6) size 179x19
           text run at (0,6) width 179: "This is a paragraph that has a "
@@ -94,3 +93,5 @@
                 LayoutText {#text} at (169,48) size 405x15
                   text run at (169,48) width 3: " "
                   text run at (172,48) width 402: "The line spacing in the whole paragraph should be 12pt, with font-size 10pt."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/replaced_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/replaced_elements-expected.txt
index 3c38ba40..c30297f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/replaced_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/replaced_elements-expected.txt
@@ -24,7 +24,6 @@
           text run at (200,96) width 0: " "
           text run at (0,112) width 464: "          margin-right: 0; margin-left: auto; width: 50%;}"
           text run at (464,112) width 0: " "
-      LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,195) size 769x20
         LayoutImage {IMG} at (0,0) size 15x15
         LayoutText {#text} at (15,0) size 411x19
@@ -85,3 +84,5 @@
                   text run at (0,0) width 723: "The above image should be a square resized so its width is 50% of its parent element, and aligned at the right edge of the"
                   text run at (0,20) width 95: "parent element: "
                   text run at (95,20) width 375: "the document body in the first half, and the table in the second."
+layer at (8,185) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.txt
index 1618335..c7b80db3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/formatting_model/vertical_formatting-expected.txt
@@ -47,7 +47,6 @@
           text run at (0,288) width 160: "TABLE {clear: both;}"
           text run at (160,288) width 0: " "
           text run at (0,304) width 0: " "
-      LayoutBlockFlow {HR} at (0,369) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,387) size 769x40
         LayoutText {#text} at (0,0) size 720x39
           text run at (0,0) width 720: "There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins should"
@@ -169,3 +168,5 @@
               LayoutBlockFlow {P} at (4,1017) size 747x57.78
                 LayoutText {#text} at (0,38) size 158x19
                   text run at (0,38) width 158: "This is the next paragraph."
+layer at (8,377) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,369) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.txt
index b5fd0d0..623f025 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/anchor-expected.txt
@@ -19,7 +19,6 @@
           text run at (0,64) width 176: "#one {color: #006600;}"
           text run at (176,64) width 0: " "
           text run at (0,80) width 0: " "
-      LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,163) size 769x20
         LayoutText {#text} at (0,0) size 477x19
           text run at (0,0) width 477: "The following anchors should appear as described; none of them should be red."
@@ -160,3 +159,5 @@
                   text run at (514,0) width 185: "It's a named anchor, and styles"
                   text run at (0,20) width 339: "declared for the A tag are applied to them under CSS1. "
                   text run at (339,20) width 310: "It also should NOT turn orange when clicked upon."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.txt
index 1222f08..8b383a45 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstletter-expected.txt
@@ -18,7 +18,6 @@
           text run at (0,32) width 312: "P.three:first-letter {font-size: 350%;}"
           text run at (312,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x60
         LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
           LayoutTextFragment (anonymous) at (0,0) size 9x19
@@ -91,3 +90,5 @@
                   text run at (0,66) width 560: "mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
                   text run at (560,66) width 171: "Note that this is not required"
                   text run at (0,86) width 220: "under CSS1, but it is recommended."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.txt
index ca951a6..8600fd1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/firstline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 360: ".three:first-line {font-variant: small-caps;}"
           text run at (360,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x60
         LayoutText {#text} at (0,0) size 758x59
           text run at (0,0) width 400: "The first line of this paragraph, and only that one, should be green. "
@@ -81,3 +80,5 @@
                   text run at (296,40) width 218: " is not supported by your browser). "
                   text run at (514,40) width 195: "This is extra text included for the"
                   text run at (0,60) width 447: "purposes of making the paragraph long enough to have more than one line."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/multiple_pseudo_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/multiple_pseudo_elements-expected.txt
index 263f538..dd895dd 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/multiple_pseudo_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -24,7 +24,6 @@
           text run at (0,80) width 368: "P.three:first-line {font-variant: small-caps;}"
           text run at (368,80) width 0: " "
           text run at (0,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,179) size 769x60
         LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
           LayoutTextFragment (anonymous) at (0,0) size 9x19
@@ -100,3 +99,5 @@
                   text run at (0,86) width 720: "Note that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it is"
                   text run at (0,106) width 94: "recommended. "
                   text run at (94,106) width 426: "In addition, the entire first line should be in a small-caps font and green."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.txt
index 5e6dbd9..3db0314 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/pseudo/pseudo_elements_in_selectors-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 256: "P:first-line.three {color: red;}"
           text run at (256,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x40
         LayoutText {#text} at (0,0) size 714x39
           text run at (0,0) width 336: "The first line of this sentence should be boldfaced. "
@@ -75,3 +74,5 @@
                   text run at (426,20) width 321: "If neither is the case, then the user agent has correctly"
                   text run at (0,40) width 721: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have"
                   text run at (0,60) width 83: "failed the test."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/units/color_units-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/units/color_units-expected.txt
index 0b342511..6d7f0f2 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/units/color_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/units/color_units-expected.txt
@@ -32,7 +32,6 @@
           text run at (264,160) width 0: " "
           text run at (0,176) width 264: ".eleven {color: rgb(50%,0%,60%);}"
           text run at (264,176) width 0: " "
-      LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,259) size 769x20
         LayoutText {#text} at (0,0) size 184x19
           text run at (0,0) width 184: "This sentence should be black."
@@ -233,3 +232,5 @@
                     text run at (268,3) width 40: "style"
                 LayoutText {#text} at (308,0) size 57x19
                   text run at (308,0) width 57: " attribute."
+layer at (8,249) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.txt
index 812ac67..9aa43b4f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/units/length_units-expected.txt
@@ -30,7 +30,6 @@
           text run at (208,144) width 0: " "
           text run at (0,160) width 624: ".ten {font-size: 40px; border-left: 1ex solid purple; background-color: aqua;}"
           text run at (624,160) width 0: " "
-      LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,243) size 769x40
         LayoutText {#text} at (0,0) size 758x39
           text run at (0,0) width 758: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer) edges should"
@@ -170,3 +169,5 @@
                   text run at (18,145) width 698: "the same number of pixels as the lower-case"
                   text run at (18,193) width 634: "'x' in this element's font, as well as solid"
                   text run at (18,241) width 111: "purple."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/units/percentage_units-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/units/percentage_units-expected.txt
index 3c0ae67..fd94554 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/units/percentage_units-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/units/percentage_units-expected.txt
@@ -17,7 +17,6 @@
           text run at (0,48) width 208: ".three {margin-left: 25%;}"
           text run at (208,48) width 0: " "
           text run at (0,64) width 0: " "
-      LayoutBlockFlow {HR} at (0,129) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,147) size 784x116 [bgcolor=#FFFF00]
         LayoutBlockFlow {DIV} at (196,0) size 392x40 [bgcolor=#FFFFFF]
           LayoutBlockFlow {P} at (0,0) size 392x40
@@ -62,3 +61,5 @@
                 LayoutText {#text} at (0,0) size 561x39
                   text run at (0,0) width 561: "This paragraph should have a left margin of 25% the width of its parent element, which should"
                   text run at (0,20) width 297: "require some extra text in order to test effectively."
+layer at (8,137) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.txt b/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.txt
index df813fa..be5b6ee 100644
--- a/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/css1/units/urls-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 352: "BODY {background: url(../resources/bg.gif);}"
           text run at (352,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 784x20
         LayoutText {#text} at (0,0) size 368x19
           text run at (0,0) width 368: "This page should have a green grid pattern as its background."
@@ -58,3 +57,5 @@
                   text run at (591,0) width 150: "If an image, in this case a"
                   text run at (0,20) width 730: "red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
                   text run at (0,40) width 260: "document's URL, not the stylesheet's URL."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/4278698-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/4278698-expected.txt
index cfea1f71..808a5c4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/inserting/4278698-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/inserting/4278698-expected.txt
@@ -15,9 +15,10 @@
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 424x19
           text run at (0,0) width 424: "If successful, you should see 'a' followed by 10 spaces followed by 'b'."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,102) size 784x24 [border: (2px solid #FFAAAA)]
         LayoutBlockFlow {PRE} at (2,2) size 780x20 [border: (2px solid #AAAAFF)]
           LayoutText {#text} at (2,2) size 96x16
             text run at (2,2) width 96: "a          b"
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 3 of child 0 {#text} of child 1 {PRE} of child 7 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.txt
index 19ce608..9ef4b37 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/pasteboard/drop-text-without-selection-expected.txt
@@ -23,7 +23,6 @@
         LayoutText {#text} at (0,0) size 625x19
           text run at (0,0) width 458: "The text field should accept drag-and-dropped text, such as the link, even if "
           text run at (458,0) width 167: "no text is currently selected."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,102) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 173x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (173,1) size 4x19
@@ -33,6 +32,8 @@
             text run at (177,1) width 154: "drop me into the text field"
         LayoutText {#text} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (10,113) size 169x16
   LayoutBlockFlow {DIV} at (2,3) size 169x16
     LayoutText {#text} at (0,0) size 119x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/4402375-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/4402375-expected.txt
index df4aa0b..1a7f6c0 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/4402375-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/4402375-expected.txt
@@ -13,7 +13,6 @@
         LayoutText {#text} at (272,0) size 768x39
           text run at (272,0) width 496: " \"REGRESSION (417.8-TOT): finding text sometimes also selects previous image"
           text run at (0,20) width 93: "(5127) (6451)\""
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,74) size 784x40
         LayoutText {#text} at (0,0) size 772x39
           text run at (0,0) width 389: "This test uses a right aligned image next to some left aligned text. "
@@ -23,5 +22,7 @@
         LayoutImage (floating) {IMG} at (708,0) size 76x103
         LayoutText {#text} at (0,0) size 170x19
           text run at (0,0) width 170: "This text should be selected."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 selection start: position 0 of child 1 {#text} of child 6 {DIV} of body
 selection end:   position 29 of child 1 {#text} of child 6 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.txt
index 5ad6307..d8f5e73 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/6476-expected.txt
@@ -15,7 +15,6 @@
         LayoutInline {SPAN} at (0,0) size 1x19
         LayoutText {#text} at (0,20) size 170x19
           text run at (0,20) width 170: "thisshouldbeonthesecondline"
-      LayoutBlockFlow {HR} at (0,48) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,66) size 784x40
         LayoutText {#text} at (0,0) size 126x19
           text run at (0,0) width 126: "This is a testcase for "
@@ -32,4 +31,6 @@
           text run at (306,0) width 439: "To run it manually, click in the space after all the text on the first line in the"
           text run at (0,20) width 137: "above editable region. "
           text run at (137,20) width 370: "Clicking should create a caret after the first space after the 'e'."
+layer at (8,56) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,48) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 1 of child 2 {#text} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.txt b/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.txt
index 00baf9b..91bc195c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/editing/selection/click-start-of-line-expected.txt
@@ -21,10 +21,11 @@
         LayoutText {#text} at (0,0) size 694x19
           text run at (0,0) width 523: "To test interactively, click the left side of the W on the second line. The caret should be "
           text run at (522,0) width 172: "move to the start of that line."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,102) size 250x114
         LayoutText {#text} at (0,1) size 229x112
           text run at (0,1) width 147: "Alice in"
           text run at (147,1) width 12: " "
           text run at (0,58) width 229: "Wonderland"
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 10 of child 0 {#text} of child 7 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.txt
index dbcc3dc3..1eef512e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/backgrounds/background-inherit-color-bug-expected.txt
@@ -8,13 +8,11 @@
           LayoutText {#text} at (0,0) size 580x36
             text run at (0,0) width 580: "Affected Browsers: Safari 2.0, Windows Internet Explorer 6"
             text run at (0,18) width 30: "SP2"
-        LayoutBlockFlow {HR} at (4,72) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (4,90) size 615.19x54
           LayoutText {#text} at (0,0) size 610x54
             text run at (0,0) width 610: "Bug Description: On the Affected Browsers, if a rule sets the"
             text run at (0,18) width 540: "'background-color' of an element, this color cannot be"
             text run at (0,36) width 480: "overridden by 'background:inherit' declarations."
-        LayoutBlockFlow {HR} at (4,160) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (4,178) size 615.19x90
           LayoutText {#text} at (0,0) size 600x54
             text run at (0,0) width 600: "Example: With the following code, the background color of H1"
@@ -28,13 +26,11 @@
           LayoutText {#text} at (0,72) size 290x18
             text run at (0,72) width 50: "  H1 "
             text run at (50,72) width 240: "{ background: inherit; }"
-        LayoutBlockFlow {HR} at (4,284) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (4,302) size 615.19x54
           LayoutText {#text} at (0,0) size 610x54
             text run at (0,0) width 610: "Work-around: The 'background-color' can only be overridden by"
             text run at (0,18) width 600: "another 'background-color' declaration, or by a 'background'"
             text run at (0,36) width 380: "declaration that does specify a color."
-        LayoutBlockFlow {HR} at (4,372) size 615.19x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow (anonymous) at (4,382) size 615.19x20
           LayoutText {#text} at (0,0) size 376x19
             text run at (0,0) width 376: "This is in contradiction with the CSS2 specification which says:"
@@ -75,3 +71,11 @@
           LayoutText {#text} at (4,4) size 483x73
             text run at (4,4) width 483: "This header has a pink background"
             text run at (4,41) width 219: "and that's good."
+layer at (85,80) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,72) size 615.19x2 [border: (1px inset #EEEEEE)]
+layer at (85,168) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,160) size 615.19x2 [border: (1px inset #EEEEEE)]
+layer at (85,292) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,284) size 615.19x2 [border: (1px inset #EEEEEE)]
+layer at (85,380) size 615x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,372) size 615.19x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.txt
index 27b4ff5..98185158 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/014-expected.txt
@@ -70,7 +70,6 @@
         LayoutInline {CODE} at (0,0) size 440x16
           LayoutText {#text} at (0,0) size 440x16
             text run at (0,0) width 440: "div.box.one:after{ content:'generated content here!'; }"
-      LayoutBlockFlow {HR} at (0,392.44) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {H2} at (0,414.34) size 769x27
         LayoutText {#text} at (0,0) size 474x26
           text run at (0,0) width 474: "Example (view source to see CSS and HTML):"
@@ -104,3 +103,5 @@
           LayoutBlockFlow {<pseudo:after>} at (0,20) size 717x20 [color=#008000]
             LayoutTextFragment (anonymous) at (0,0) size 107x19
               text run at (0,0) width 107: "generated content"
+layer at (8,414) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,392.44) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/016-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/016-expected.txt
index 2746767..4db99322 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/016-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/016-expected.txt
@@ -9,7 +9,6 @@
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 307x19
           text run at (0,0) width 307: "The href attribute of the last one is changed onload."
-      LayoutBlockFlow {HR} at (0,72) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,90) size 784x20
         LayoutInline {A} at (0,0) size 58x19 [color=#0000EE]
           LayoutText {#text} at (0,0) size 8x19
@@ -38,3 +37,5 @@
           LayoutInline {<pseudo:after>} at (0,0) size 50x19
             LayoutTextFragment (anonymous) at (8,0) size 50x19
               text run at (8,0) width 50: "(href=4)"
+layer at (8,88) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,72) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.txt
index 6ec8cf88..d32154f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css-generated-content/hover-style-change-expected.txt
@@ -9,7 +9,6 @@
         LayoutInline {<pseudo:after>} at (0,0) size 171x19
           LayoutTextFragment (anonymous) at (78,0) size 171x19
             text run at (78,0) width 171: "and generated hover content"
-      LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,46) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
@@ -34,4 +33,6 @@
           text run at (0,0) width 757: "To reproduce the bug outside of DumpRenderTree, mouse over the div several times, and the style change won't update every"
           text run at (0,20) width 29: "time "
           text run at (29,20) width 79: "like it should."
+layer at (8,36) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 3 of child 0 {#text} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.txt
index 7586ad3..0d8cb93 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/find-next-layer-expected.txt
@@ -16,7 +16,8 @@
             text run at (0,20) width 54: "live.com"
         LayoutText {#text} at (54,20) size 4x19
           text run at (54,20) width 4: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,74) size 784x0
   LayoutBlockFlow (relative positioned) {DIV} at (0,66) size 784x0
 layer at (8,74) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.txt
index e133269..be21ba3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/first-letter-detach-expected.txt
@@ -23,7 +23,6 @@
             text run at (217,0) width 9: "P"
         LayoutText {#text} at (226,0) size 196x19
           text run at (226,0) width 196: "ASS\x{201D}, with nothing before the P."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,110) size 784x20
         LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#0000FF]
           LayoutTextFragment (anonymous) at (0,0) size 9x19
@@ -42,3 +41,5 @@
             text run at (0,0) width 9: "P"
         LayoutTextFragment {#text} at (9,0) size 29x19
           text run at (9,0) width 29: "ASS"
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/h1-in-section-elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/h1-in-section-elements-expected.txt
index 772e1be..15ccd0c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/h1-in-section-elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/h1-in-section-elements-expected.txt
@@ -12,65 +12,49 @@
           LayoutTableRow {TR} at (0,2) size 152x75
             LayoutTableCell {TD} at (2,2) size 73x74.81 [r=0 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 71x72.81
-                LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
                 LayoutBlockFlow {H1} at (0,21.91) size 71x29 [border: (1px solid #00FF00)]
                   LayoutText {#text} at (1,1) size 69x26
                     text run at (1,1) width 69: "MMM"
-                LayoutBlockFlow {HR} at (0,70.81) size 71x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (77,2) size 73x74.81 [r=0 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H2} at (1,22.91) size 71x29 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 69x26
                   text run at (1,1) width 69: "MMM"
-              LayoutBlockFlow {HR} at (1,71.81) size 71x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,79) size 152x68
             LayoutTableCell {TD} at (2,79) size 73x68.44 [r=1 c=0 rs=1 cs=1]
               LayoutBlockFlow {ARTICLE} at (1,1) size 71x66.44
                 LayoutBlockFlow {SECTION} at (0,0) size 71x66.44
-                  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {H1} at (0,20.72) size 71x25 [border: (1px solid #00FF00)]
                     LayoutText {#text} at (1,1) size 54x22
                       text run at (1,1) width 54: "MMM"
-                  LayoutBlockFlow {HR} at (0,64.44) size 71x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (77,79) size 73x68.44 [r=1 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H3} at (1,21.72) size 71x25 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 54x22
                   text run at (1,1) width 54: "MMM"
-              LayoutBlockFlow {HR} at (1,65.44) size 71x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,149) size 152x71
             LayoutTableCell {TD} at (2,149) size 73x70.53 [r=2 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 71x68.53
                 LayoutBlockFlow {ARTICLE} at (0,0) size 71x68.53
                   LayoutBlockFlow {SECTION} at (0,0) size 71x68.53
-                    LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
                     LayoutBlockFlow {H1} at (0,23.27) size 71x22 [border: (1px solid #00FF00)]
                       LayoutText {#text} at (1,1) size 48x19
                         text run at (1,1) width 48: "MMM"
-                    LayoutBlockFlow {HR} at (0,66.53) size 71x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (77,149) size 73x70.53 [r=2 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H4} at (1,24.27) size 71x22 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 48x19
                   text run at (1,1) width 48: "MMM"
-              LayoutBlockFlow {HR} at (1,67.53) size 71x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,222) size 152x68
             LayoutTableCell {TD} at (2,222) size 73x68.34 [r=3 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 71x66.34
                 LayoutBlockFlow {ASIDE} at (0,0) size 71x66.34
                   LayoutBlockFlow {ARTICLE} at (0,0) size 71x66.34
                     LayoutBlockFlow {SECTION} at (0,0) size 71x66.34
-                      LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
                       LayoutBlockFlow {H1} at (0,24.17) size 71x18 [border: (1px solid #00FF00)]
                         LayoutText {#text} at (1,1) size 33x15
                           text run at (1,1) width 33: "MMM"
-                      LayoutBlockFlow {HR} at (0,64.34) size 71x2 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (77,222) size 73x68.34 [r=3 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H5} at (1,25.17) size 71x18 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 33x15
                   text run at (1,1) width 33: "MMM"
-              LayoutBlockFlow {HR} at (1,65.34) size 71x2 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (0,292) size 152x71
             LayoutTableCell {TD} at (2,292) size 73x70.94 [r=4 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 71x68.94
@@ -79,82 +63,62 @@
                     LayoutBlockFlow {ASIDE} at (0,0) size 71x68.94
                       LayoutBlockFlow {ARTICLE} at (0,0) size 71x68.94
                         LayoutBlockFlow {SECTION} at (0,0) size 71x68.94
-                          LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
                           LayoutBlockFlow {H1} at (0,26.97) size 71x15 [border: (1px solid #00FF00)]
                             LayoutText {#text} at (1,1) size 30x13
                               text run at (1,1) width 30: "MMM"
-                          LayoutBlockFlow {HR} at (0,66.94) size 71x2 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {DIV} at (0,68.94) size 71x0
             LayoutTableCell {TD} at (77,292) size 73x70.94 [r=4 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H6} at (1,27.97) size 71x15 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 30x13
                   text run at (1,1) width 30: "MMM"
-              LayoutBlockFlow {HR} at (1,67.94) size 71x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (152,36) size 365x152
         LayoutTableSection {TBODY} at (0,0) size 365x152
           LayoutTableRow {TR} at (2,0) size 75x152
             LayoutTableCell {TD} at (2,2) size 74.81x73 [r=0 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 72.81x71
-                LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
                 LayoutBlockFlow {H1} at (21.91,0) size 29x71 [border: (1px solid #00FF00)]
                   LayoutText {#text} at (1,1) size 26x69
                     text run at (1,1) width 69: "MMM"
-                LayoutBlockFlow {HR} at (70.81,0) size 2x71 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (2,77) size 74.81x73 [r=0 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H2} at (22.91,1) size 29x71 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 26x69
                   text run at (1,1) width 69: "MMM"
-              LayoutBlockFlow {HR} at (71.81,1) size 2x71 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (79,0) size 68x152
             LayoutTableCell {TD} at (79,2) size 68.44x73 [r=1 c=0 rs=1 cs=1]
               LayoutBlockFlow {ARTICLE} at (1,1) size 66.44x71
                 LayoutBlockFlow {SECTION} at (0,0) size 66.44x71
-                  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {H1} at (20.72,0) size 25x71 [border: (1px solid #00FF00)]
                     LayoutText {#text} at (1,1) size 22x54
                       text run at (1,1) width 54: "MMM"
-                  LayoutBlockFlow {HR} at (64.44,0) size 2x71 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (79,77) size 68.44x73 [r=1 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H3} at (21.72,1) size 25x71 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 22x54
                   text run at (1,1) width 54: "MMM"
-              LayoutBlockFlow {HR} at (65.44,1) size 2x71 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (149,0) size 71x152
             LayoutTableCell {TD} at (149,2) size 70.53x73 [r=2 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 68.53x71
                 LayoutBlockFlow {ARTICLE} at (0,0) size 68.53x71
                   LayoutBlockFlow {SECTION} at (0,0) size 68.53x71
-                    LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
                     LayoutBlockFlow {H1} at (23.27,0) size 22x71 [border: (1px solid #00FF00)]
                       LayoutText {#text} at (1,1) size 19x48
                         text run at (1,1) width 48: "MMM"
-                    LayoutBlockFlow {HR} at (66.53,0) size 2x71 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (149,77) size 70.53x73 [r=2 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H4} at (24.27,1) size 22x71 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 19x48
                   text run at (1,1) width 48: "MMM"
-              LayoutBlockFlow {HR} at (67.53,1) size 2x71 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (222,0) size 68x152
             LayoutTableCell {TD} at (222,2) size 68.34x73 [r=3 c=0 rs=1 cs=1]
               LayoutBlockFlow {NAV} at (1,1) size 66.34x71
                 LayoutBlockFlow {ASIDE} at (0,0) size 66.34x71
                   LayoutBlockFlow {ARTICLE} at (0,0) size 66.34x71
                     LayoutBlockFlow {SECTION} at (0,0) size 66.34x71
-                      LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
                       LayoutBlockFlow {H1} at (24.17,0) size 18x71 [border: (1px solid #00FF00)]
                         LayoutText {#text} at (1,1) size 15x33
                           text run at (1,1) width 33: "MMM"
-                      LayoutBlockFlow {HR} at (64.34,0) size 2x71 [border: (1px inset #EEEEEE)]
             LayoutTableCell {TD} at (222,77) size 68.34x73 [r=3 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H5} at (25.17,1) size 18x71 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 15x33
                   text run at (1,1) width 33: "MMM"
-              LayoutBlockFlow {HR} at (65.34,1) size 2x71 [border: (1px inset #EEEEEE)]
           LayoutTableRow {TR} at (292,0) size 71x152
             LayoutTableCell {TD} at (292,2) size 70.94x73 [r=4 c=0 rs=1 cs=1]
               LayoutBlockFlow {SECTION} at (1,1) size 68.94x71
@@ -163,15 +127,91 @@
                     LayoutBlockFlow {ASIDE} at (0,0) size 68.94x71
                       LayoutBlockFlow {ARTICLE} at (0,0) size 68.94x71
                         LayoutBlockFlow {SECTION} at (0,0) size 68.94x71
-                          LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
                           LayoutBlockFlow {H1} at (26.97,0) size 15x71 [border: (1px solid #00FF00)]
                             LayoutText {#text} at (1,1) size 13x30
                               text run at (1,1) width 30: "MMM"
-                          LayoutBlockFlow {HR} at (66.94,0) size 2x71 [border: (1px inset #EEEEEE)]
                   LayoutBlockFlow {DIV} at (68.94,0) size 0x71
             LayoutTableCell {TD} at (292,77) size 70.94x73 [r=4 c=1 rs=1 cs=1]
-              LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {H6} at (27.97,1) size 15x71 [border: (1px solid #00FF00)]
                 LayoutText {#text} at (1,1) size 13x30
                   text run at (1,1) width 30: "MMM"
-              LayoutBlockFlow {HR} at (67.94,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (11,55) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,126) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,70.81) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,55) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,126) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,71.81) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,132) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,196) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,64.44) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,132) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,196) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,65.44) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,202) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,269) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,66.53) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,202) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,269) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,67.53) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,275) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,339) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,64.34) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,275) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,339) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,65.34) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,345) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (11,412) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,66.94) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,345) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (86,412) size 71x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,67.94) size 71x2 [border: (1px inset #EEEEEE)]
+layer at (520,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (449,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (70.81,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (520,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (449,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (71.81,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (443,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (379,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (64.44,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (443,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (379,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (65.44,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (373,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (306,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (66.53,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (373,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (306,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (67.53,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (300,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (236,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (64.34,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (300,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (236,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (65.34,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (230,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (163,55) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (66.94,0) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (230,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (1,1) size 2x71 [border: (1px inset #EEEEEE)]
+layer at (163,130) size 2x71 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (67.94,1) size 2x71 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.txt
index 6ef8700..652c19a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/hover-subselector-expected.txt
@@ -8,7 +8,6 @@
           LayoutText {#text} at (0,0) size 212x19
             text run at (0,0) width 212: "This should turn red when hovered."
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,46) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
@@ -26,3 +25,5 @@
             text run at (188,23) width 97: "span#t:hover"
         LayoutText {#text} at (284,20) size 165x19
           text run at (284,20) width 165: " matches the hovered span."
+layer at (8,36) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.txt
index 7847c7c..cc1c9bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-expected.txt
@@ -3,7 +3,6 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,18) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
@@ -16,7 +15,6 @@
             text run at (403,0) width 322: "Resize corner does not track the mouse accurately"
         LayoutText {#text} at (724,0) size 5x19
           text run at (724,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,189) size 784x363
         LayoutText {#text} at (169,106) size 4x19
           text run at (169,106) width 4: " "
@@ -25,6 +23,10 @@
           text run at (198,168) width 4: " "
         LayoutBR {BR} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,8) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,62) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,72) size 173x125 clip at (10,74) size 169x121
   LayoutBlockFlow {DIV} at (0,64) size 173x125 [border: (2px solid #0000FF)]
 layer at (8,197) size 169x121 clip at (10,199) size 165x117
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.txt
index 6bf4463b..e8ddff7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-expected.txt
@@ -3,7 +3,6 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x542
-      LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,18) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
@@ -16,6 +15,9 @@
             text run at (363,0) width 341: "Resize corner does not track in transformed elements"
         LayoutText {#text} at (703,0) size 5x19
           text run at (703,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,8) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,62) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (58,114) size 163x129 clip at (60,116) size 159x125
   LayoutBlockFlow {DIV} at (50,106) size 163x129 [border: (2px solid #0000FF)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
index ee7b586e..35812442 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/resize-corner-tracking-transformed-iframe-expected.txt
@@ -3,7 +3,6 @@
 layer at (0,0) size 800x600
   LayoutBlockFlow {HTML} at (0,0) size 800x600
     LayoutBlockFlow {BODY} at (8,8) size 784x584
-      LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,18) size 784x20
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
@@ -16,9 +15,12 @@
             text run at (356,0) width 253: "resize property doesn't work on iframes"
         LayoutText {#text} at (608,0) size 5x19
           text run at (608,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,64) size 784x230
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,8) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,62) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,54) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (58,122) size 163x130
   LayoutIFrame {IFRAME} at (50,50) size 163x130 [border: (2px solid #0000FF)]
     layer at (0,0) size 159x126
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.txt
index ff06251..878887a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/rtl-ordering-expected.txt
@@ -15,7 +15,6 @@
             text run at (0,20) width 381 LTR override: "type=\"button\"> text is reversed on \"visual Hebrew\" pages"
         LayoutText {#text} at (380,20) size 5x19
           text run at (380,20) width 5 LTR override: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,74) size 784x20
         LayoutText {#text} at (0,0) size 280x19
           text run at (0,0) width 280 LTR override: "The text on both buttons should like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
@@ -32,7 +31,6 @@
             LayoutText {#text} at (0,0) size 31x16
               text run at (0,0) width 31 RTL: "\x{5DB}\x{5E4}\x{5EA}\x{5D5}\x{5E8}"
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,162) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,180) size 784x20
         LayoutText {#text} at (0,0) size 229x19
           text run at (0,0) width 229 LTR override: "The following lines should be identical:"
@@ -43,3 +41,7 @@
       LayoutBlockFlow {P} at (0,252) size 784x20
         LayoutText {#text} at (0,0) size 66x19
           text run at (0,0) width 66 LTR override: "21-\x{5D4} \x{5D4}\x{5D0}\x{5DE}\x{5D4}"
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,170) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,162) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.txt
index b9a70d73..0523ea9d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/css/universal-hover-quirk-expected.txt
@@ -8,7 +8,6 @@
           LayoutText {#text} at (0,0) size 235x19
             text run at (0,0) width 235: "This should not turn red when hovered."
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,46) size 784x40
         LayoutText {#text} at (0,0) size 50x19
           text run at (0,0) width 50: "Test for "
@@ -26,4 +25,6 @@
         LayoutText {#text} at (750,0) size 784x39
           text run at (750,0) width 34: " does"
           text run at (0,20) width 209: "not match anything in quirks mode."
+layer at (8,36) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 784x2 [border: (1px inset #EEEEEE)]
 caret: position 1 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.txt
index 6dd19adb..07520eaf 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/34176-expected.txt
@@ -10,7 +10,6 @@
           text run at (3,20) width 743: "TextRun3's bidi level is 1. TextRun2 and TextRun3 are siblings. But their ancestor (not their parent) is a sibling of TextRun1. "
           text run at (746,20) width 23: "The"
           text run at (234,40) width 535: "visual order should be TextRun3 TextRun1 TextRun2, not TextRun3 TextRun2 TextRun1."
-      LayoutBlockFlow {HR} at (0,76) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,94) size 769x20
         LayoutText {#text} at (343,0) size 426x19
           text run at (343,0) width 318: "Pure text. The following 3 lines should all display as \""
@@ -49,7 +48,6 @@
           LayoutInline {SPAN} at (0,0) size 23x19
             LayoutText {#text} at (665,0) size 23x19
               text run at (665,0) width 23 RTL: "\x{5E9}\x{5E0}\x{5D1}"
-      LayoutBlockFlow {HR} at (0,198) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,216) size 769x20
         LayoutText {#text} at (350,0) size 419x19
           text run at (350,0) width 419: "Text in <em>. The English text should be displayed as \"This is a Test\"."
@@ -96,7 +94,6 @@
           LayoutInline {EM} at (0,0) size 26x19
             LayoutText {#text} at (743,0) size 26x19
               text run at (743,0) width 26: "Test"
-      LayoutBlockFlow {HR} at (0,360) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,378) size 769x20
         LayoutText {#text} at (332,0) size 437x19
           text run at (332,0) width 437: "Text in <strong>. The following lines should all display as \"This is a Test\"."
@@ -132,7 +129,6 @@
           LayoutInline {STRONG} at (0,0) size 29x19
             LayoutText {#text} at (740,0) size 29x19
               text run at (740,0) width 29: "Test"
-      LayoutBlockFlow {HR} at (0,502) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,520) size 769x20
         LayoutText {#text} at (366,0) size 403x19
           text run at (366,0) width 403: "Text in <i>. The following lines should all display as \"This is a Test\"."
@@ -168,7 +164,6 @@
           LayoutInline {I} at (0,0) size 26x19
             LayoutText {#text} at (743,0) size 26x19
               text run at (743,0) width 26: "Test"
-      LayoutBlockFlow {HR} at (0,644) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,662) size 769x20
         LayoutText {#text} at (361,0) size 408x19
           text run at (361,0) width 408: "Text in <b>. The following lines should all display as \"This is a Test\"."
@@ -208,7 +203,6 @@
         LayoutInline {B} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,786) size 769x746
-        LayoutBlockFlow {HR} at (0,0) size 769x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (0,18) size 769x20
           LayoutText {#text} at (110,0) size 659x19
             text run at (110,0) width 659: "Text in <img>, <href>, <em>, <tr>. The following English text should all display as \"This is a Test\"."
@@ -281,7 +275,6 @@
           LayoutBlockFlow (anonymous) at (0,46) size 769x0
             LayoutInline {SPAN} at (0,0) size 0x0
               LayoutInline {EM} at (0,0) size 0x0
-        LayoutBlockFlow {HR} at (0,208) size 769x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {UL} at (0,226) size 769x520
           LayoutListItem {LI} at (40,0) size 729x20
             LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -389,5 +382,19 @@
               text run at (0,0) width 120: "Test 25: : Success"
       LayoutBlockFlow (anonymous) at (0,1548) size 769x0
         LayoutInline {B} at (0,0) size 0x0
+layer at (8,92) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,76) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,214) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,198) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,376) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,360) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,518) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,502) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,660) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,644) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,802) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1010) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,208) size 769x2 [border: (1px inset #EEEEEE)]
 selection start: position 0 of child 0 {#text} of child 14 {DIV} of child 56 {B} of body
 selection end:   position 4 of child 0 {#text} of child 14 {DIV} of child 56 {B} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLElement/bdo-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLElement/bdo-expected.txt
index 34085c7..d9c0cfe 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLElement/bdo-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLElement/bdo-expected.txt
@@ -14,7 +14,6 @@
           text run at (0,0) width 696: "If successful, the first sentence would be backward, and the second sentence regular. There should then be an extra "
           text run at (695,0) width 62: "blank line,"
           text run at (0,20) width 621: "followed by a line reading only \"A,\" and finally, a sentence where only the word \"umbrella\" is backward."
-      LayoutBlockFlow {HR} at (0,128) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,138) size 784x120
         LayoutBR {BR} at (0,0) size 0x19
         LayoutInline {BDO} at (0,0) size 212x19
@@ -47,3 +46,5 @@
           LayoutText {#text} at (76,100) size 195x19
             text run at (76,100) width 195 LTR override: " sure would be useful in this rain."
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,136) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,128) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
index 427f563e..3503a60 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt
@@ -19,6 +19,7 @@
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 233x19
           text run at (0,0) width 233: "There should be a green square below."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,102) size 784x0
       LayoutBlockFlow {DIV} at (0,102) size 100x100 [bgcolor=#008000]
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.txt
index 393ccca..8e63537 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/012-expected.txt
@@ -18,7 +18,6 @@
           text run at (0,0) width 554: "Note that the second section is collapsed when the page opens and expanding it works fine. "
           text run at (554,0) width 162: "Just the collapse is broken."
       LayoutBlockFlow {DIV} at (0,154.91) size 784x157
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {DIV} at (0,10) size 784x21
           LayoutImage {IMG} at (0,0) size 16x16
           LayoutText {#text} at (16,1) size 75x19
@@ -55,7 +54,10 @@
                 LayoutTableCell {TD} at (36,50) size 746x22 [r=2 c=1 rs=1 cs=1]
                   LayoutText {#text} at (1,1) size 72x19
                     text run at (1,1) width 72: "block three."
-        LayoutBlockFlow {HR} at (0,155) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,163) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,318) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,155) size 784x2 [border: (1px inset #EEEEEE)]
 hidden layer at (8,194) size 106x74
   LayoutBlockFlow (positioned) {DIV} at (8,193.91) size 106x74
     LayoutTable {TABLE} at (0,0) size 106x74
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.txt
index fd76d5c..2d802c3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/dynamic/selection-highlight-adjust-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,20) width 140: "highlight stays behind"
         LayoutText {#text} at (140,20) size 4x19
           text run at (140,20) width 4: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,66) size 784x75
         LayoutImage {IMG} at (0,0) size 0x30
         LayoutBR {BR} at (0,15) size 0x19
@@ -27,5 +26,7 @@
         LayoutText {#text} at (287,55) size 4x19
           text run at (287,55) width 4: " "
         LayoutBR {BR} at (291,55) size 0x19
+layer at (8,72) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 selection start: position 0 of child 0 {#text} of child 6 {SPAN} of child 5 {DIV} of body
 selection end:   position 51 of child 0 {#text} of child 6 {SPAN} of child 5 {DIV} of body
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/invalid-UTF-8-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/invalid-UTF-8-expected.txt
index cb5d729b2..77b7eb8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/invalid-UTF-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/invalid-UTF-8-expected.txt
@@ -9,7 +9,8 @@
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 475x19
           text run at (0,0) width 475: "The output should be: \"\x{442}??\x{442}\" (with black diamonds in place of question marks)."
-      LayoutBlockFlow {HR} at (0,72) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,90) size 784x22
         LayoutText {#text} at (0,2) size 44x19
           text run at (0,2) width 44: "\x{442}\x{FFFD}\x{FFFD}\x{442}"
+layer at (8,80) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,72) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.txt
index ffcd939..32dbeea5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-big-endian-expected.txt
@@ -22,7 +22,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,28.66) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,37.31) size 784x37
         LayoutInline {SPAN} at (0,0) size 110x35
           LayoutInline {SPAN} at (0,0) size 110x35
@@ -45,7 +44,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,80.97) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,89.63) size 784x52
         LayoutInline {SPAN} at (0,0) size 562x50
           LayoutInline {SPAN} at (0,0) size 562x50
@@ -65,7 +63,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,148.28) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,156.94) size 784x21
         LayoutInline {SPAN} at (0,0) size 126x22
           LayoutInline {SPAN} at (0,0) size 126x22
@@ -88,7 +85,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,246.59) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,255.25) size 784x21
         LayoutInline {SPAN} at (0,0) size 128x16
           LayoutInline {SPAN} at (0,0) size 128x16
@@ -137,7 +133,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,345.91) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,354.56) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -237,7 +232,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,567.22) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,575.88) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -337,7 +331,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,788.53) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,797.19) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -394,7 +387,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,923.84) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,932.50) size 784x52
         LayoutInline {SPAN} at (0,0) size 195x50
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -419,7 +411,6 @@
             LayoutBR {BR} at (194,49) size 1x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,991.16) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,999.81) size 784x21
         LayoutInline {SPAN} at (0,0) size 182x16
           LayoutInline {SPAN} at (0,0) size 182x19
@@ -442,7 +433,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1027.47) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,1036.13) size 784x20
         LayoutInline {SPAN} at (0,0) size 257x16
           LayoutInline {SPAN} at (0,0) size 257x16
@@ -459,7 +449,6 @@
             LayoutText {#text} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1062.78) size 784x31.33
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (0,15.33) size 784x16
           LayoutText {#text} at (0,0) size 203x16
             text run at (0,0) width 203: "This itinerary is subject to change. "
@@ -471,6 +460,28 @@
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
+layer at (8,37) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,156) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,255) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,354) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,575) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,797) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,932) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,999) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,1035) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,1071) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (23,45) size 82x16
   LayoutInline (relative positioned) {SPAN} at (0,0) size 82x16
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.txt
index ffcd939..32dbeea5 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/encoding/utf-16-little-endian-expected.txt
@@ -22,7 +22,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,28.66) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,37.31) size 784x37
         LayoutInline {SPAN} at (0,0) size 110x35
           LayoutInline {SPAN} at (0,0) size 110x35
@@ -45,7 +44,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,80.97) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,89.63) size 784x52
         LayoutInline {SPAN} at (0,0) size 562x50
           LayoutInline {SPAN} at (0,0) size 562x50
@@ -65,7 +63,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,148.28) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,156.94) size 784x21
         LayoutInline {SPAN} at (0,0) size 126x22
           LayoutInline {SPAN} at (0,0) size 126x22
@@ -88,7 +85,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,246.59) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,255.25) size 784x21
         LayoutInline {SPAN} at (0,0) size 128x16
           LayoutInline {SPAN} at (0,0) size 128x16
@@ -137,7 +133,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,345.91) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,354.56) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -237,7 +232,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,567.22) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,575.88) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -337,7 +331,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,788.53) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,797.19) size 784x0
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -394,7 +387,6 @@
               LayoutInline {SPAN} at (0,0) size 0x0
               LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,923.84) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,932.50) size 784x52
         LayoutInline {SPAN} at (0,0) size 195x50
           LayoutInline {SPAN} at (0,0) size 0x0
@@ -419,7 +411,6 @@
             LayoutBR {BR} at (194,49) size 1x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,991.16) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,999.81) size 784x21
         LayoutInline {SPAN} at (0,0) size 182x16
           LayoutInline {SPAN} at (0,0) size 182x19
@@ -442,7 +433,6 @@
             LayoutText {#text} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1027.47) size 784x2
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,1036.13) size 784x20
         LayoutInline {SPAN} at (0,0) size 257x16
           LayoutInline {SPAN} at (0,0) size 257x16
@@ -459,7 +449,6 @@
             LayoutText {#text} at (0,0) size 0x0
             LayoutText {#text} at (0,0) size 0x0
       LayoutBlockFlow (anonymous) at (0,1062.78) size 784x31.33
-        LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
         LayoutBlockFlow {P} at (0,15.33) size 784x16
           LayoutText {#text} at (0,0) size 203x16
             text run at (0,0) width 203: "This itinerary is subject to change. "
@@ -471,6 +460,28 @@
         LayoutInline {SPAN} at (0,0) size 0x0
           LayoutInline {SPAN} at (0,0) size 0x0
           LayoutText {#text} at (0,0) size 0x0
+layer at (8,37) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,156) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,255) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,354) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,575) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,797) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,932) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,999) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,1035) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,1071) size 784x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (23,45) size 82x16
   LayoutInline (relative positioned) {SPAN} at (0,0) size 82x16
     LayoutText {#text} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.txt
index a873ef0..0410bbb 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/button/button-inner-block-reuse-expected.txt
@@ -20,7 +20,6 @@
         LayoutText {#text} at (0,0) size 749x19
           text run at (0,0) width 530: "In the render tree, the button should have only one child, an anonymous block wrapping "
           text run at (530,0) width 219: "all of the button's other descendants."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,102) size 784x6
         LayoutButton {BUTTON} at (0,0) size 16x6 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
           LayoutBlockFlow (anonymous) at (8,3) size 0x0
@@ -31,3 +30,5 @@
             LayoutBlockFlow (anonymous) at (0,0) size 0x0
               LayoutInline {SPAN} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/fieldset/fieldset-align-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/fieldset/fieldset-align-expected.txt
index 88450a3..636e6ced 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/fieldset/fieldset-align-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/fieldset/fieldset-align-expected.txt
@@ -34,7 +34,6 @@
         LayoutBlockFlow (anonymous) at (14,25.59) size 737x22
           LayoutTextControl {INPUT} at (0,0) size 173x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,282.38) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,300.38) size 769x20
         LayoutText {#text} at (0,0) size 137x19
           text run at (0,0) width 137: "Legend align test, RTL"
@@ -73,7 +72,6 @@
       LayoutBlockFlow (anonymous) at (0,574.75) size 769x0
         LayoutInline {SPAN} at (0,0) size 0x0
         LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,582.75) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,600.75) size 769x20
         LayoutText {#text} at (0,0) size 252x19
           text run at (0,0) width 252: "Legend align test with margin and padding"
@@ -105,7 +103,6 @@
         LayoutBlockFlow (anonymous) at (17,35) size 705x22
           LayoutTextControl {INPUT} at (0,0) size 173x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,992.75) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,1010.75) size 769x20
         LayoutText {#text} at (0,0) size 287x19
           text run at (0,0) width 287: "Legend align test with margin and padding, RTL"
@@ -152,6 +149,8 @@
   LayoutBlockFlow {DIV} at (2,3) size 169x16
 layer at (26,251) size 169x16
   LayoutBlockFlow {DIV} at (2,3) size 169x16
+layer at (8,290) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,282.38) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (590,373) size 169x16
   LayoutBlockFlow {DIV} at (2,3) size 169x16
 layer at (590,433) size 169x16
@@ -160,6 +159,8 @@
   LayoutBlockFlow {DIV} at (2,3) size 169x16
 layer at (590,552) size 169x16
   LayoutBlockFlow {DIV} at (2,3) size 169x16
+layer at (8,591) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,582.75) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (42,683) size 169x16 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (2,3) size 169x16
 layer at (42,772) size 169x16 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
@@ -168,6 +169,8 @@
   LayoutBlockFlow {DIV} at (2,3) size 169x16
 layer at (42,950) size 169x16 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (2,3) size 169x16
+layer at (8,1001) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,992.75) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (574,1093) size 169x16 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
   LayoutBlockFlow {DIV} at (2,3) size 169x16
 layer at (574,1182) size 169x16 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.txt
index 49cbd80..b63bde2d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/floating-textfield-relayout-expected.txt
@@ -16,7 +16,8 @@
             text run at (0,20) width 62: "keystroke"
         LayoutText {#text} at (61,20) size 5x19
           text run at (61,20) width 5: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,74) size 784x0
   LayoutBlockFlow (relative positioned) {DIV} at (0,66) size 784x0
     LayoutTextControl (floating) {INPUT} at (0,0) size 392x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/image-border-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/image-border-expected.txt
index 045501c..f17b29c8 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/image-border-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/image-border-expected.txt
@@ -12,9 +12,10 @@
         LayoutText {#text} at (0,35) size 52x19
           text run at (0,35) width 52: "border:0"
         LayoutImage {IMG} at (52,0) size 338x50
-      LayoutBlockFlow {HR} at (0,119) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,129) size 784x57
         LayoutText {#text} at (0,37) size 52x19
           text run at (0,37) width 52: "border:1"
         LayoutImage {IMG} at (52,0) size 340x52 [border: (1px solid #000000)]
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,127) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,119) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-value-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-value-expected.txt
index 99c32d48..bbdbf240 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-value-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/input-value-expected.txt
@@ -10,7 +10,6 @@
       LayoutBlockFlow {P} at (0,56) size 784x20
         LayoutText {#text} at (0,0) size 676x19
           text run at (0,0) width 676: "Results that match Gecko are like WinIE, but with \"before\" for the attribute in the first two rows and the last row."
-      LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {FORM} at (0,102) size 784x376
         LayoutTable {TABLE} at (0,0) size 734x376
           LayoutTableSection {THEAD} at (0,0) size 734x26
@@ -204,6 +203,8 @@
               LayoutTableCell {TD} at (673,325) size 59x22 [r=13 c=3 rs=1 cs=1]
                 LayoutText {#text} at (1,1) size 39x19
                   text run at (1,1) width 39: "before"
+layer at (8,100) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,92) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (381,140) size 169x16
   LayoutBlockFlow {DIV} at (2,3) size 169x16
     LayoutText {#text} at (0,0) size 35x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-rtl-expected.txt
index 220575e..40f63e3 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-rtl-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/menulist-appearance-rtl-expected.txt
@@ -1,17 +1,17 @@
 layer at (0,0) size 800x600
   LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x540
-  LayoutBlockFlow {HTML} at (0,0) size 800x540
-    LayoutBlockFlow {BODY} at (8,16) size 784x516
-      LayoutBlockFlow {P} at (0,0) size 784x36
-        LayoutText {#text} at (0,0) size 758x35
-          text run at (0,0) width 758: "This tests that bidirectional text is correctly rendered in popup controls. The order of the text below each popup button"
-          text run at (0,18) width 600: "should match the order of the select's option text, and the order of the text in the popup menu."
-      LayoutBlockFlow {DL} at (0,52) size 784x168
-        LayoutBlockFlow {DT} at (0,0) size 784x18
-          LayoutText {#text} at (0,0) size 286x17
-            text run at (0,0) width 286: "1) direction: rtl; -webkit-rtl-ordering: logical"
-        LayoutBlockFlow {DD} at (40,18) size 744x38
+layer at (0,0) size 800x563
+  LayoutBlockFlow {HTML} at (0,0) size 800x563
+    LayoutBlockFlow {BODY} at (8,16) size 784x539
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 755x39
+          text run at (0,0) width 755: "This tests that bidirectional text is correctly rendered in popup controls. The order of the text below each popup button should"
+          text run at (0,20) width 520: "match the order of the select's option text, and the order of the text in the popup menu."
+      LayoutBlockFlow {DL} at (0,56) size 784x180
+        LayoutBlockFlow {DT} at (0,0) size 784x20
+          LayoutText {#text} at (0,0) size 262x19
+            text run at (0,0) width 262: "1) direction: rtl; -webkit-rtl-ordering: logical"
+        LayoutBlockFlow {DD} at (40,20) size 744x40
           LayoutBlockFlow (anonymous) at (0,0) size 744x20
             LayoutMenuList {SELECT} at (0,0) size 100x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
               LayoutBlockFlow (anonymous) at (1,1) size 98x18
@@ -19,14 +19,14 @@
                   text run at (31,1) width 42 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
                   text run at (73,1) width 21: "abc"
             LayoutText {#text} at (0,0) size 0x0
-          LayoutBlockFlow {DIV} at (0,20) size 100x18
-            LayoutText {#text} at (31,0) size 69x17
+          LayoutBlockFlow {DIV} at (0,20) size 100x20
+            LayoutText {#text} at (31,0) size 69x19
               text run at (31,0) width 47 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-              text run at (77,0) width 23: "abc"
-        LayoutBlockFlow {DT} at (0,56) size 784x18
-          LayoutText {#text} at (0,0) size 118x17
-            text run at (0,0) width 118: "2) text-align: right"
-        LayoutBlockFlow {DD} at (40,74) size 744x38
+              text run at (78,0) width 22: "abc"
+        LayoutBlockFlow {DT} at (0,60) size 784x20
+          LayoutText {#text} at (0,0) size 105x19
+            text run at (0,0) width 105: "2) text-align: right"
+        LayoutBlockFlow {DD} at (40,80) size 744x40
           LayoutBlockFlow (anonymous) at (0,0) size 744x20
             LayoutMenuList {SELECT} at (0,0) size 200x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
               LayoutBlockFlow (anonymous) at (1,1) size 198x18
@@ -34,14 +34,14 @@
                   text run at (4,1) width 21: "abc"
                   text run at (25,1) width 42 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
             LayoutText {#text} at (0,0) size 0x0
-          LayoutBlockFlow {DIV} at (0,20) size 200x18
-            LayoutText {#text} at (0,0) size 69x17
-              text run at (0,0) width 23: "abc"
+          LayoutBlockFlow {DIV} at (0,20) size 200x20
+            LayoutText {#text} at (0,0) size 69x19
+              text run at (0,0) width 22: "abc"
               text run at (22,0) width 47 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-        LayoutBlockFlow {DT} at (0,112) size 784x18
-          LayoutText {#text} at (0,0) size 72x17
-            text run at (0,0) width 72: "3) No style"
-        LayoutBlockFlow {DD} at (40,130) size 744x38
+        LayoutBlockFlow {DT} at (0,120) size 784x20
+          LayoutText {#text} at (0,0) size 68x19
+            text run at (0,0) width 68: "3) No style"
+        LayoutBlockFlow {DD} at (40,140) size 744x40
           LayoutBlockFlow (anonymous) at (0,0) size 744x20
             LayoutMenuList {SELECT} at (0,0) size 100x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
               LayoutBlockFlow (anonymous) at (1,1) size 98x18
@@ -49,120 +49,122 @@
                   text run at (4,1) width 21: "abc"
                   text run at (25,1) width 42 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
             LayoutText {#text} at (0,0) size 0x0
-          LayoutBlockFlow {DIV} at (0,20) size 100x18
-            LayoutText {#text} at (0,0) size 69x17
-              text run at (0,0) width 23: "abc"
+          LayoutBlockFlow {DIV} at (0,20) size 100x20
+            LayoutText {#text} at (0,0) size 69x19
+              text run at (0,0) width 22: "abc"
               text run at (22,0) width 47 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-      LayoutBlockFlow {HR} at (0,236) size 784x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow {DIV} at (0,246) size 784x54
-        LayoutBlockFlow (anonymous) at (0,0) size 784x18
-          LayoutText {#text} at (0,0) size 632x17
-            text run at (0,0) width 632: "The following line and the SELECT element should have same text, and no characters are lacking."
-        LayoutBlockFlow {DIV} at (0,18) size 784x16
-          LayoutText {#text} at (0,0) size 101x16
-            text run at (0,0) width 101 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
-        LayoutBlockFlow (anonymous) at (0,34) size 784x20
+      LayoutBlockFlow {DIV} at (0,262) size 784x55
+        LayoutBlockFlow (anonymous) at (0,0) size 784x20
+          LayoutText {#text} at (0,0) size 587x19
+            text run at (0,0) width 587: "The following line and the SELECT element should have same text, and no characters are lacking."
+        LayoutBlockFlow {DIV} at (0,20) size 784x15
+          LayoutText {#text} at (0,0) size 97x15
+            text run at (0,0) width 97 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
+        LayoutBlockFlow (anonymous) at (0,35) size 784x20
           LayoutMenuList {SELECT} at (0,0) size 113x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
             LayoutBlockFlow (anonymous) at (1,1) size 111x18
               LayoutText (anonymous) at (4,1) size 91x16
                 text run at (4,1) width 91 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
           LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,308) size 784x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow {P} at (0,326) size 784x18
-        LayoutText {#text} at (0,0) size 709x17
-          text run at (0,0) width 709: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
-layer at (8,376) size 784x156
-  LayoutBlockFlow {DIV} at (0,360) size 784x156
-    LayoutMultiColumnSet (anonymous) at (0,0) size 784x156
-layer at (8,376) size 384x312 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
-  LayoutMultiColumnFlowThread (anonymous) at (0,0) size 384x312
-    LayoutBlockFlow {DIV} at (0,0) size 384x156
-      LayoutMenuList {SELECT} at (0,0) size 350x21 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x20
-          LayoutText (anonymous) at (4,1) size 177x17
-            text run at (4,1) width 36: "First "
-            text run at (39,1) width 54 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA}"
-            text run at (92,1) width 19: "03"
-            text run at (110,1) width 41 RTL: "\x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-            text run at (150,1) width 31: " fifth"
-      LayoutBlockFlow {DIV} at (0,21) size 352x18
+      LayoutBlockFlow {P} at (0,343) size 784x20
+        LayoutText {#text} at (0,0) size 659x19
+          text run at (0,0) width 659: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
+layer at (8,268) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,252) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,341) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,325) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,395) size 784x160
+  LayoutBlockFlow {DIV} at (0,379) size 784x160
+    LayoutMultiColumnSet (anonymous) at (0,0) size 784x160
+layer at (8,395) size 384x320 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutMultiColumnFlowThread (anonymous) at (0,0) size 384x320
+    LayoutBlockFlow {DIV} at (0,0) size 384x160
+      LayoutMenuList {SELECT} at (0,0) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 348x21
+          LayoutText (anonymous) at (4,1) size 170x18
+            text run at (4,1) width 35: "First "
+            text run at (39,1) width 50 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA}"
+            text run at (89,1) width 18: "03"
+            text run at (107,1) width 39 RTL: "\x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
+            text run at (146,1) width 28: " fifth"
+      LayoutBlockFlow {DIV} at (0,22) size 352x18
         LayoutText {#text} at (1,1) size 130x15
           text run at (1,1) width 27: "First "
           text run at (28,1) width 38 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA}"
           text run at (66,1) width 12: "03"
           text run at (78,1) width 28 RTL: "\x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
           text run at (106,1) width 25: " fifth"
-      LayoutMenuList {SELECT} at (0,39) size 350x21 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x20
-          LayoutText (anonymous) at (4,1) size 177x17
-            text run at (4,1) width 26: "fifth"
-            text run at (29,1) width 59 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} "
-            text run at (87,1) width 19: "03"
-            text run at (105,1) width 45 RTL: " \x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-            text run at (149,1) width 32: "First"
-      LayoutBlockFlow {DIV} at (0,60) size 352x18
+      LayoutMenuList {SELECT} at (0,40) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 348x21
+          LayoutText (anonymous) at (4,1) size 170x18
+            text run at (4,1) width 24: "fifth"
+            text run at (28,1) width 54 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} "
+            text run at (82,1) width 18: "03"
+            text run at (100,1) width 43 RTL: " \x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
+            text run at (143,1) width 31: "First"
+      LayoutBlockFlow {DIV} at (0,62) size 352x18
         LayoutText {#text} at (1,1) size 130x15
           text run at (1,1) width 22: "fifth"
           text run at (23,1) width 41 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} "
           text run at (64,1) width 12: "03"
           text run at (76,1) width 31 RTL: " \x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
           text run at (107,1) width 24: "First"
-      LayoutMenuList {SELECT} at (0,78) size 350x21 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x20
-          LayoutText (anonymous) at (4,1) size 177x17
-            text run at (4,1) width 177 LTR override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutBlockFlow {DIV} at (0,99) size 352x18
+      LayoutMenuList {SELECT} at (0,80) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 348x21
+          LayoutText (anonymous) at (4,1) size 170x18
+            text run at (4,1) width 170 LTR override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
+      LayoutBlockFlow {DIV} at (0,102) size 352x18
         LayoutText {#text} at (1,1) size 130x15
           text run at (1,1) width 130 LTR override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutMenuList {SELECT} at (0,117) size 350x21 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x20
-          LayoutText (anonymous) at (4,1) size 177x17
-            text run at (4,1) width 177 RTL override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutBlockFlow {DIV} at (0,138) size 352x18
+      LayoutMenuList {SELECT} at (0,120) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 348x21
+          LayoutText (anonymous) at (4,1) size 170x18
+            text run at (4,1) width 170 RTL override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
+      LayoutBlockFlow {DIV} at (0,142) size 352x18
         LayoutText {#text} at (1,1) size 130x15
           text run at (1,1) width 130 RTL override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-    LayoutBlockFlow {DIV} at (0,156) size 384x156
-      LayoutMenuList {SELECT} at (0,0) size 350x21 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x20
-          LayoutText (anonymous) at (167,1) size 177x17
-            text run at (167,1) width 36: "First "
-            text run at (202,1) width 54 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA}"
-            text run at (255,1) width 19: "03"
-            text run at (273,1) width 41 RTL: "\x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-            text run at (313,1) width 31: " fifth"
-      LayoutBlockFlow {DIV} at (0,21) size 352x18
+    LayoutBlockFlow {DIV} at (0,160) size 384x160
+      LayoutMenuList {SELECT} at (0,0) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 348x21
+          LayoutText (anonymous) at (174,1) size 170x18
+            text run at (174,1) width 35: "First "
+            text run at (209,1) width 50 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA}"
+            text run at (259,1) width 18: "03"
+            text run at (277,1) width 39 RTL: "\x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
+            text run at (316,1) width 28: " fifth"
+      LayoutBlockFlow {DIV} at (0,22) size 352x18
         LayoutText {#text} at (221,1) size 130x15
           text run at (221,1) width 27: "First "
           text run at (248,1) width 38 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA}"
           text run at (286,1) width 12: "03"
           text run at (298,1) width 28 RTL: "\x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
           text run at (326,1) width 25: " fifth"
-      LayoutMenuList {SELECT} at (0,39) size 350x21 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x20
-          LayoutText (anonymous) at (167,1) size 177x17
-            text run at (167,1) width 26: "fifth"
-            text run at (192,1) width 59 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} "
-            text run at (250,1) width 19: "03"
-            text run at (268,1) width 45 RTL: " \x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-            text run at (312,1) width 32: "First"
-      LayoutBlockFlow {DIV} at (0,60) size 352x18
+      LayoutMenuList {SELECT} at (0,40) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 348x21
+          LayoutText (anonymous) at (174,1) size 170x18
+            text run at (174,1) width 24: "fifth"
+            text run at (198,1) width 54 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} "
+            text run at (252,1) width 18: "03"
+            text run at (270,1) width 43 RTL: " \x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
+            text run at (313,1) width 31: "First"
+      LayoutBlockFlow {DIV} at (0,62) size 352x18
         LayoutText {#text} at (221,1) size 130x15
           text run at (221,1) width 22: "fifth"
           text run at (243,1) width 41 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} "
           text run at (284,1) width 12: "03"
           text run at (296,1) width 31 RTL: " \x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
           text run at (327,1) width 24: "First"
-      LayoutMenuList {SELECT} at (0,78) size 350x21 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x20
-          LayoutText (anonymous) at (167,1) size 177x17
-            text run at (167,1) width 177 LTR override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutBlockFlow {DIV} at (0,99) size 352x18
+      LayoutMenuList {SELECT} at (0,80) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 348x21
+          LayoutText (anonymous) at (174,1) size 170x18
+            text run at (174,1) width 170 LTR override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
+      LayoutBlockFlow {DIV} at (0,102) size 352x18
         LayoutText {#text} at (221,1) size 130x15
           text run at (221,1) width 130 LTR override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutMenuList {SELECT} at (0,117) size 350x21 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x20
-          LayoutText (anonymous) at (167,1) size 177x17
-            text run at (167,1) width 177 RTL override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutBlockFlow {DIV} at (0,138) size 352x18
+      LayoutMenuList {SELECT} at (0,120) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
+        LayoutBlockFlow (anonymous) at (1,1) size 348x21
+          LayoutText (anonymous) at (174,1) size 170x18
+            text run at (174,1) width 170 RTL override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
+      LayoutBlockFlow {DIV} at (0,142) size 352x18
         LayoutText {#text} at (221,1) size 130x15
           text run at (221,1) width 130 RTL override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-visual-hebrew-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-visual-hebrew-expected.txt
index 83d6cb38..1ba68ee4 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-visual-hebrew-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/select/select-visual-hebrew-expected.txt
@@ -6,7 +6,6 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 593x19
           text run at (0,0) width 593 LTR override: "This tests that native pop-ups are rendered in logical order even in visually-ordered Hebrew pages."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,54) size 784x20
         LayoutText {#text} at (0,0) size 362x19
           text run at (0,0) width 362 LTR override: "Text on the pop-up and in the list should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
@@ -16,3 +15,5 @@
             LayoutText (anonymous) at (4,1) size 31x16
               text run at (4,1) width 31 RTL: "\x{5DB}\x{5E4}\x{5EA}\x{5D5}\x{5E8}"
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.txt
index 5353a70..bde2252f 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/forms/visual-hebrew-text-field-expected.txt
@@ -15,13 +15,14 @@
             text run at (0,20) width 252 LTR override: "are reversed on \"visual Hebrew\" pages"
         LayoutText {#text} at (251,20) size 5x19
           text run at (251,20) width 5 LTR override: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,74) size 784x20
         LayoutText {#text} at (0,0) size 255x19
           text run at (0,0) width 255 LTR override: "Text in the field should look like this: \x{5E8}\x{5D5}\x{5EA}\x{5E4}\x{5DB}"
       LayoutBlockFlow (anonymous) at (0,110) size 784x22
         LayoutTextControl {INPUT} at (0,0) size 173x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (10,121) size 169x16
   LayoutBlockFlow {DIV} at (2,3) size 169x16
     LayoutText {#text} at (0,0) size 31x16
diff --git a/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.txt
index 926bec5..f4bf7592 100644
--- a/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/fast/layers/opacity-outline-expected.txt
@@ -16,6 +16,7 @@
             text run at (0,20) width 319: "outline causes the outline to disappear completely"
         LayoutText {#text} at (319,20) size 4x19
           text run at (319,20) width 4: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,74) size 100x100 transparent
   LayoutBlockFlow {DIV} at (0,66) size 100x100 [bgcolor=#C0C0C0]
diff --git a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.txt b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.txt
index c04cb42..997343d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/table_createcaption-expected.txt
@@ -29,7 +29,6 @@
         LayoutText {#text} at (702,0) size 745x39
           text run at (702,0) width 43: ". Upon"
           text run at (0,20) width 549: "failure, the first table will have no caption, and the second table will have the caption Things."
-      LayoutBlockFlow {HR} at (0,168) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutTable {TABLE} at (0,178) size 103x102 [border: (1px outset #808080)]
         LayoutBlockFlow {CAPTION} at (0,0) size 103x20
           LayoutInline {B} at (0,0) size 41x19
@@ -86,3 +85,5 @@
             LayoutTableCell {TD} at (75,54) size 49x24 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 37x19
                 text run at (2,2) width 37: "Green"
+layer at (8,176) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,168) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.txt b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.txt
index 2ee8412..10ccf2a6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/html/tabular_data/td_colspan_rendering-expected.txt
@@ -23,7 +23,6 @@
           text run at (0,20) width 604: "the first row should span only column \"one\" and the second cell should span all of the other columns. "
           text run at (604,20) width 156: "The second table tests the"
           text run at (0,40) width 397: "zero value. \"Just A\" should span \"A\" and \"Just B\" should span \"B.\""
-      LayoutBlockFlow {HR} at (0,208) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,218) size 784x20
         LayoutBR {BR} at (0,0) size 0x19
       LayoutTable {TABLE} at (0,238) size 255x76 [border: (1px outset #808080)]
@@ -102,3 +101,5 @@
             LayoutTableCell {TD} at (170,28) size 15x24 [border: (1px inset #808080)] [r=1 c=7 rs=1 cs=1]
               LayoutText {#text} at (2,2) size 11x19
                 text run at (2,2) width 11: "H"
+layer at (8,216) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,208) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/flexible-box-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/flexible-box-overflow-expected.txt
index b7e9437..cd7a020 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/flexible-box-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/flexible-box-overflow-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,20) width 244: "their top, left and children's overflows"
         LayoutText {#text} at (243,20) size 5x19
           text run at (243,20) width 5: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,66) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
@@ -40,3 +39,5 @@
               text run at (1,101) width 30: "Nam"
               text run at (1,121) width 94: "consectetuer mi"
               text run at (1,141) width 57: "eget velit."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/flexible-box-overflow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
index b7e9437..cd7a020 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
@@ -16,7 +16,6 @@
             text run at (0,20) width 244: "their top, left and children's overflows"
         LayoutText {#text} at (243,20) size 5x19
           text run at (243,20) width 5: "."
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,66) size 784x100
         LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
           LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
@@ -40,3 +39,5 @@
               text run at (1,101) width 30: "Nam"
               text run at (1,121) width 94: "consectetuer mi"
               text run at (1,141) width 57: "eget velit."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/inline-block-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/inline-block-overflow-expected.txt
index 41748e3..a1ad30c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/inline-block-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/inline-block-overflow-expected.txt
@@ -6,7 +6,6 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 302x19
           text run at (0,0) width 302: "This is a repaint test of inline blocks with overflow."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow (anonymous) at (0,46) size 784x20
         LayoutInline {SPAN} at (0,0) size 195x19
           LayoutText {#text} at (0,0) size 95x19
@@ -16,3 +15,5 @@
               text run at (0,0) width 97: "inline block with"
               text run at (0,20) width 56: "overflow."
         LayoutText {#text} at (0,0) size 0x0
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-child-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-child-outline-expected.txt
index d53bb3c6..776f481 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-child-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-child-outline-expected.txt
@@ -6,7 +6,8 @@
       LayoutBlockFlow {P} at (0,0) size 784x20
         LayoutText {#text} at (0,0) size 300x19
           text run at (0,0) width 300: "This tests repainting of a layer's children's outlines."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,54) size 100x100
   LayoutBlockFlow (relative positioned) {DIV} at (0,46) size 100x100 [bgcolor=#C0C0C0]
     LayoutBlockFlow {DIV} at (0,0) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-outline-expected.txt
index bc9d2ec..a3fda7e7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-outline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-outline-expected.txt
@@ -14,7 +14,8 @@
             text run at (546,0) width 197: " Layer outline does not repaint"
         LayoutText {#text} at (742,0) size 5x19
           text run at (742,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,194) size 100x100 clip at (19,195) size 98x98
   LayoutBlockFlow {DIV} at (10,186) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
 layer at (8,54) size 784x130
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-outline-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-outline-horizontal-expected.txt
index bc9d2ec..a3fda7e7 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-outline-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/layer-outline-horizontal-expected.txt
@@ -14,7 +14,8 @@
             text run at (546,0) width 197: " Layer outline does not repaint"
         LayoutText {#text} at (742,0) size 5x19
           text run at (742,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (18,194) size 100x100 clip at (19,195) size 98x98
   LayoutBlockFlow {DIV} at (10,186) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
 layer at (8,54) size 784x130
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.txt
index f04c085..7b95a4c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-expected.txt
@@ -15,7 +15,6 @@
             text run at (517,0) width 249: "Text shadow does not repaint correctly"
         LayoutText {#text} at (765,0) size 5x19
           text run at (765,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (30,68) size 724x21
         LayoutInline {SPAN} at (0,0) size 199x20 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 199x20
@@ -39,3 +38,5 @@
             text run at (0,0) width 96: "Lorem ipsum"
         LayoutText {#text} at (96,1) size 86x19
           text run at (96,1) width 86: " dolor sit amet"
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.txt
index f04c085..7b95a4c 100644
--- a/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/text-shadow-horizontal-expected.txt
@@ -15,7 +15,6 @@
             text run at (517,0) width 249: "Text shadow does not repaint correctly"
         LayoutText {#text} at (765,0) size 5x19
           text run at (765,0) width 5: "."
-      LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (30,68) size 724x21
         LayoutInline {SPAN} at (0,0) size 199x20 [bgcolor=#C0C0C0]
           LayoutText {#text} at (0,0) size 199x20
@@ -39,3 +38,5 @@
             text run at (0,0) width 96: "Lorem ipsum"
         LayoutText {#text} at (96,1) size 86x19
           text run at (96,1) width 86: " dolor sit amet"
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/plugins/embed-attributes-style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/plugins/embed-attributes-style-expected.txt
index 580e60f..1afd5c5a 100644
--- a/third_party/WebKit/LayoutTests/platform/win/plugins/embed-attributes-style-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/plugins/embed-attributes-style-expected.txt
@@ -8,7 +8,6 @@
           text run at (0,0) width 378: "This page tests using attributes to set style on embed elements. "
           text run at (378,0) width 390: "Previous versions of WebKit supported valign and border, which"
           text run at (0,20) width 430: "didn't match IE and FF. The only special support should be for 'hidden.'"
-      LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,66) size 784x0
       LayoutBlockFlow {DIV} at (0,66) size 784x105
         LayoutText {#text} at (50,85) size 115x19
@@ -22,6 +21,8 @@
         LayoutText {#text} at (52,87) size 97x19
           text run at (52,87) width 4: " "
           text run at (56,87) width 93: "hidden attribute"
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
 layer at (8,74) size 50x100
   LayoutEmbeddedObject (relative positioned) {EMBED} at (0,0) size 50x100
 layer at (8,179) size 50x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/absolute-position-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/printing/absolute-position-headers-and-footers-expected.txt
index df3d852..c2582fa6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/absolute-position-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/absolute-position-headers-and-footers-expected.txt
@@ -1,241 +1,243 @@
-layer at (0,0) size 1046x799 scrollHeight 2567
+layer at (0,0) size 1046x799 scrollHeight 2685
   LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2567 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2567
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2535
-      LayoutBlockFlow {P} at (0,0) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,34) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,68) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,102) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,136) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,170) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,204) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,238) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,272) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,306) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,340) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,374) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,408) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,442) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,476) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,510) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,544) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,578) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,646) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,680) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,714) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,748) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,817) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,851) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,885) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,919) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,953) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,987) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1021) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1055) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1089) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1123) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1157) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1191) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1225) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1259) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1293) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1327) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1361) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1429) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1463) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1497) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1531) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1616) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1650) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1684) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1718) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1752) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1786) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1820) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1854) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1888) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1922) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1956) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1990) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2024) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2058) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2092) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2126) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2160) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2228) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2262) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2296) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2330) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2415) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2449) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2483) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2517) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-layer at (8,0) size 615x36
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 615.39x36
-    LayoutBlockFlow {DIV} at (0,0) size 615.39x28
-      LayoutBlockFlow (anonymous) at (0,0) size 615.39x18
-        LayoutText {#text} at (0,0) size 616x17
-          text run at (0,0) width 616: "crbug.com/303728: Header Line is absolute positioned so should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 615.39x2 [border: (1px inset #EEEEEE)]
-layer at (8,763) size 611x36
-  LayoutBlockFlow (positioned) {DIV} at (8,763) size 610.98x36
-    LayoutBlockFlow {DIV} at (0,8) size 610.98x28
-      LayoutBlockFlow {HR} at (0,0) size 610.98x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 610.98x18
-        LayoutText {#text} at (0,0) size 611x17
-          text run at (0,0) width 611: "crbug.com/303728: Footer Line is absolute positioned so should not be repeated on every page."
+layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
+    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
+      LayoutBlockFlow {P} at (0,0) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,36) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,72) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,108) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,144) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,180) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,216) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,252) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,288) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,324) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,360) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,396) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,432) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,468) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,504) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,540) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,576) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,612) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,648) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,684) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,720) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,756) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,783) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,819) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,855) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,891) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,927) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,963) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,999) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1035) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1071) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1107) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1143) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1179) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1215) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1251) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1287) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1323) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1359) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1395) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1431) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1467) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1503) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1539) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1582) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1618) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1654) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1690) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1726) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1762) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1798) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1834) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1870) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1906) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1942) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1978) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2014) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2050) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2086) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2122) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2158) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2194) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2230) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2266) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2302) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2338) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2381) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2417) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2453) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2489) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2525) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2561) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2597) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2633) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+layer at (8,0) size 584x38
+  LayoutBlockFlow (positioned) {DIV} at (8,0) size 584x38
+    LayoutBlockFlow {DIV} at (0,0) size 584x30
+      LayoutBlockFlow (anonymous) at (0,0) size 584x20
+        LayoutText {#text} at (0,0) size 584x19
+          text run at (0,0) width 584: "crbug.com/303728: Header Line is absolute positioned so should not be repeated on every page."
+layer at (8,28) size 584x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 584x2 [border: (1px inset #EEEEEE)]
+layer at (8,761) size 580x38
+  LayoutBlockFlow (positioned) {DIV} at (8,761) size 580x38
+    LayoutBlockFlow {DIV} at (0,8) size 580x30
+      LayoutBlockFlow (anonymous) at (0,10) size 580x20
+        LayoutText {#text} at (0,0) size 580x19
+          text run at (0,0) width 580: "crbug.com/303728: Footer Line is absolute positioned so should not be repeated on every page."
+layer at (8,769) size 580x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 580x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-but-static-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
index bcd0a47..3b43ace 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
@@ -1,241 +1,243 @@
-layer at (0,0) size 1046x799 scrollHeight 2567
+layer at (0,0) size 1046x799 scrollHeight 2685
   LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2567 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2567
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2535
-      LayoutBlockFlow {P} at (0,0) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,34) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,68) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,102) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,136) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,170) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,204) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,238) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,272) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,306) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,340) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,374) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,408) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,442) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,476) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,510) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,544) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,578) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,646) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,680) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,714) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,748) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,817) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,851) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,885) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,919) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,953) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,987) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1021) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1055) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1089) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1123) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1157) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1191) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1225) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1259) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1293) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1327) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1361) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1429) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1463) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1497) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1531) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1616) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1650) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1684) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1718) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1752) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1786) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1820) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1854) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1888) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1922) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1956) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1990) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2024) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2058) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2092) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2126) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2160) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2228) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2262) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2296) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2330) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2415) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2449) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2483) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2517) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-layer at (8,16) size 680x36
-  LayoutBlockFlow (positioned) {DIV} at (8,16) size 680.27x36
-    LayoutBlockFlow {DIV} at (0,0) size 680.27x28
-      LayoutBlockFlow (anonymous) at (0,0) size 680.27x18
-        LayoutText {#text} at (0,0) size 681x17
-          text run at (0,0) width 681: "crbug.com/303728: Fixed-position header Line is statically positioned and will be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 680.27x2 [border: (1px inset #EEEEEE)]
-layer at (8,2567) size 624x36 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,2567) size 624.30x36
-    LayoutBlockFlow {DIV} at (0,8) size 624.30x28
-      LayoutBlockFlow {HR} at (0,0) size 624.30x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 624.30x18
-        LayoutText {#text} at (0,0) size 625x17
-          text run at (0,0) width 625: "crbug.com/303728: Footer Line is statically positioned and should not be repeated on every page."
+layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
+    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
+      LayoutBlockFlow {P} at (0,0) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,36) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,72) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,108) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,144) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,180) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,216) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,252) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,288) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,324) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,360) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,396) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,432) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,468) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,504) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,540) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,576) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,612) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,648) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,684) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,720) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,756) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,783) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,819) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,855) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,891) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,927) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,963) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,999) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1035) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1071) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1107) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1143) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1179) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1215) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1251) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1287) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1323) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1359) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1395) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1431) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1467) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1503) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1539) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1582) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1618) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1654) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1690) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1726) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1762) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1798) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1834) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1870) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1906) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1942) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1978) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2014) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2050) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2086) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2122) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2158) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2194) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2230) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2266) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2302) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2338) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2381) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2417) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2453) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2489) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2525) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2561) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2597) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2633) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+layer at (8,16) size 638x38
+  LayoutBlockFlow (positioned) {DIV} at (8,16) size 638x38
+    LayoutBlockFlow {DIV} at (0,0) size 638x30
+      LayoutBlockFlow (anonymous) at (0,0) size 638x20
+        LayoutText {#text} at (0,0) size 638x19
+          text run at (0,0) width 638: "crbug.com/303728: Fixed-position header Line is statically positioned and will be repeated on every page."
+layer at (8,44) size 638x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 638x2 [border: (1px inset #EEEEEE)]
+layer at (8,2685) size 589x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow (positioned) {DIV} at (8,2685) size 589x38
+    LayoutBlockFlow {DIV} at (0,8) size 589x30
+      LayoutBlockFlow (anonymous) at (0,10) size 589x20
+        LayoutText {#text} at (0,0) size 589x19
+          text run at (0,0) width 589: "crbug.com/303728: Footer Line is statically positioned and should not be repeated on every page."
+layer at (8,2693) size 589x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 589x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt b/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
index c86a393..4ceb0d1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
@@ -11,7 +11,8 @@
         LayoutText {#text} at (0,0) size 491x39
           text run at (0,0) width 491: "crbug.com/303728: Header Line should be repeated on every page except where"
           text run at (0,20) width 321: "it's clipped by the absolute element on pages 3 and 4."
-      LayoutBlockFlow {HR} at (0,48) size 500x2 [border: (1px inset #EEEEEE)]
+layer at (5,53) size 500x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,48) size 500x2 [border: (1px inset #EEEEEE)]
 layer at (0,1000) size 600x2000 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,1000) size 600x2000 [bgcolor=#000000]
     LayoutText zI: 2 {#text} at (0,0) size 54x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-expected.txt
index 4829fd4..cfd751b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-expected.txt
@@ -1,241 +1,243 @@
-layer at (0,0) size 1046x799 scrollHeight 2567
+layer at (0,0) size 1046x799 scrollHeight 2685
   LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2567 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2567
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2535
-      LayoutBlockFlow {P} at (0,0) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,34) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,68) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,102) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,136) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,170) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,204) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,238) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,272) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,306) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,340) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,374) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,408) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,442) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,476) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,510) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,544) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,578) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,646) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,680) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,714) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,748) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,817) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,851) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,885) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,919) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,953) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,987) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1021) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1055) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1089) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1123) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1157) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1191) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1225) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1259) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1293) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1327) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1361) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1429) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1463) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1497) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1531) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1616) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1650) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1684) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1718) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1752) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1786) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1820) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1854) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1888) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1922) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1956) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1990) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2024) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2058) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2092) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2126) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2160) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2228) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2262) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2296) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2330) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2415) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2449) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2483) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2517) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-layer at (8,0) size 524x36
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 523.84x36
-    LayoutBlockFlow {DIV} at (0,0) size 523.84x28
-      LayoutBlockFlow (anonymous) at (0,0) size 523.84x18
-        LayoutText {#text} at (0,0) size 524x17
-          text run at (0,0) width 524: "crbug.com/303728: Fixed-position header Line should be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 523.84x2 [border: (1px inset #EEEEEE)]
-layer at (8,763) size 426x36
-  LayoutBlockFlow (positioned) {DIV} at (8,763) size 425.66x36
-    LayoutBlockFlow {DIV} at (0,8) size 425.66x28
-      LayoutBlockFlow {HR} at (0,0) size 425.66x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 425.66x18
-        LayoutText {#text} at (0,0) size 426x17
-          text run at (0,0) width 426: "crbug.com/303728: Footer Line should be repeated on every page."
+layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
+    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
+      LayoutBlockFlow {P} at (0,0) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,36) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,72) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,108) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,144) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,180) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,216) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,252) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,288) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,324) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,360) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,396) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,432) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,468) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,504) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,540) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,576) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,612) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,648) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,684) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,720) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,756) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,783) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,819) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,855) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,891) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,927) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,963) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,999) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1035) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1071) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1107) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1143) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1179) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1215) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1251) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1287) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1323) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1359) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1395) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1431) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1467) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1503) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1539) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1582) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1618) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1654) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1690) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1726) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1762) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1798) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1834) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1870) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1906) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1942) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1978) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2014) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2050) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2086) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2122) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2158) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2194) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2230) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2266) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2302) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2338) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2381) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2417) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2453) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2489) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2525) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2561) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2597) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2633) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+layer at (8,0) size 497x38
+  LayoutBlockFlow (positioned) {DIV} at (8,0) size 497x38
+    LayoutBlockFlow {DIV} at (0,0) size 497x30
+      LayoutBlockFlow (anonymous) at (0,0) size 497x20
+        LayoutText {#text} at (0,0) size 497x19
+          text run at (0,0) width 497: "crbug.com/303728: Fixed-position header Line should be repeated on every page."
+layer at (8,28) size 497x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 497x2 [border: (1px inset #EEEEEE)]
+layer at (8,761) size 406x38
+  LayoutBlockFlow (positioned) {DIV} at (8,761) size 406x38
+    LayoutBlockFlow {DIV} at (0,8) size 406x30
+      LayoutBlockFlow (anonymous) at (0,10) size 406x20
+        LayoutText {#text} at (0,0) size 406x19
+          text run at (0,0) width 406: "crbug.com/303728: Footer Line should be repeated on every page."
+layer at (8,769) size 406x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 406x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
index 87eac940..756b9bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
@@ -1,245 +1,247 @@
-layer at (0,0) size 1046x799 scrollHeight 2567
+layer at (0,0) size 1046x799 scrollHeight 2685
   LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2567 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2567
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2535
-      LayoutBlockFlow {P} at (0,0) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,34) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,68) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,102) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,136) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,170) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,204) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,238) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,272) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,306) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,340) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,374) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,408) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,442) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,476) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,510) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,544) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,578) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,646) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,680) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,714) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,748) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,817) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,851) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,885) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,919) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,953) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,987) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1021) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1055) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1089) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1123) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1157) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1191) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1225) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1259) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1293) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1327) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1361) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1429) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1463) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1497) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1531) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1616) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1650) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1684) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1718) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1752) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1786) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1820) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1854) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1888) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1922) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1956) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1990) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2024) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2058) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2092) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2126) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2160) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2228) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2262) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2296) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2330) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2415) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2449) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2483) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2517) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
+layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
+    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
+      LayoutBlockFlow {P} at (0,0) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,36) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,72) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,108) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,144) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,180) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,216) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,252) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,288) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,324) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,360) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,396) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,432) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,468) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,504) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,540) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,576) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,612) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,648) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,684) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,720) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,756) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,783) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,819) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,855) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,891) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,927) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,963) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,999) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1035) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1071) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1107) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1143) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1179) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1215) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1251) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1287) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1323) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1359) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1395) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1431) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1467) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1503) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1539) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1582) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1618) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1654) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1690) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1726) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1762) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1798) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1834) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1870) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1906) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1942) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1978) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2014) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2050) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2086) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2122) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2158) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2194) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2230) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2266) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2302) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2338) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2381) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2417) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2453) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2489) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2525) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2561) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2597) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2633) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
 layer at (8,16) size 1030x0
   LayoutBlockFlow {DIV} at (0,0) size 1030x0
-layer at (8,16) size 455x36
-  LayoutBlockFlow (positioned) {DIV} at (0,0) size 454.52x36
-    LayoutBlockFlow {DIV} at (0,0) size 454.52x28
-      LayoutBlockFlow (anonymous) at (0,0) size 454.52x18
-        LayoutText {#text} at (0,0) size 455x17
-          text run at (0,0) width 455: "crbug.com/303728: Header Line should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 454.52x2 [border: (1px inset #EEEEEE)]
-layer at (8,2567) size 1030x0
-  LayoutBlockFlow {DIV} at (0,2551) size 1030x0
-layer at (8,2531) size 450x36 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (0,-36) size 450.09x36
-    LayoutBlockFlow {DIV} at (0,8) size 450.09x28
-      LayoutBlockFlow {HR} at (0,0) size 450.09x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 450.09x18
-        LayoutText {#text} at (0,0) size 451x17
-          text run at (0,0) width 451: "crbug.com/303728: Footer Line should not be repeated on every page."
+layer at (8,16) size 433x38
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 433x38
+    LayoutBlockFlow {DIV} at (0,0) size 433x30
+      LayoutBlockFlow (anonymous) at (0,0) size 433x20
+        LayoutText {#text} at (0,0) size 433x19
+          text run at (0,0) width 433: "crbug.com/303728: Header Line should not be repeated on every page."
+layer at (8,44) size 433x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 433x2 [border: (1px inset #EEEEEE)]
+layer at (8,2685) size 1030x0
+  LayoutBlockFlow {DIV} at (0,2669) size 1030x0
+layer at (8,2647) size 429x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow (positioned) {DIV} at (0,-38) size 429x38
+    LayoutBlockFlow {DIV} at (0,8) size 429x30
+      LayoutBlockFlow (anonymous) at (0,10) size 429x20
+        LayoutText {#text} at (0,0) size 429x19
+          text run at (0,0) width 429: "crbug.com/303728: Footer Line should not be repeated on every page."
+layer at (8,2655) size 429x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 429x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt b/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
index 442a95a..d06aef6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
@@ -1,241 +1,243 @@
-layer at (0,0) size 1046x799 scrollHeight 2567
+layer at (0,0) size 1046x799 scrollHeight 2685
   LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2567 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2567
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2535
-      LayoutBlockFlow {P} at (0,0) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,34) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,68) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,102) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,136) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,170) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,204) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,238) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,272) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,306) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,340) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,374) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,408) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,442) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,476) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,510) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,544) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,578) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,646) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,680) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,714) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,748) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,817) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,851) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,885) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,919) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,953) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,987) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1021) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1055) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1089) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1123) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1157) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1191) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1225) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1259) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1293) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1327) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1361) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1429) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1463) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1497) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1531) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1616) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1650) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1684) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1718) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1752) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1786) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1820) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1854) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1888) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1922) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1956) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1990) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2024) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2058) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2092) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2126) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2160) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2228) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2262) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2296) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2330) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2415) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2449) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2483) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2517) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-layer at (8,0) size 2010x46 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 2010x46 [border: (5px solid #000000)]
-    LayoutBlockFlow {DIV} at (5,5) size 2000x28
-      LayoutBlockFlow (anonymous) at (0,0) size 2000x18
-        LayoutText {#text} at (0,0) size 706x17
-          text run at (0,0) width 706: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
-      LayoutBlockFlow {HR} at (0,26) size 2000x2 [border: (1px inset #EEEEEE)]
-layer at (8,753) size 2010x46 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,753) size 2010x46 [border: (5px solid #000000)]
-    LayoutBlockFlow {DIV} at (5,13) size 2000x28
-      LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 2000x18
-        LayoutText {#text} at (0,0) size 706x17
-          text run at (0,0) width 706: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
+layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
+    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
+      LayoutBlockFlow {P} at (0,0) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,36) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,72) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,108) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,144) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,180) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,216) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,252) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,288) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,324) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,360) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,396) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,432) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,468) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,504) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,540) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,576) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,612) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,648) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,684) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,720) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,756) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,783) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,819) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,855) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,891) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,927) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,963) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,999) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1035) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1071) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1107) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1143) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1179) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1215) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1251) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1287) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1323) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1359) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1395) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1431) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1467) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1503) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1539) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1582) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1618) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1654) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1690) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1726) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1762) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1798) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1834) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1870) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1906) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1942) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1978) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2014) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2050) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2086) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2122) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2158) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2194) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2230) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2266) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2302) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2338) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2381) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2417) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2453) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2489) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2525) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2561) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2597) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2633) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+layer at (8,0) size 2010x48 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow (positioned) {DIV} at (8,0) size 2010x48 [border: (5px solid #000000)]
+    LayoutBlockFlow {DIV} at (5,5) size 2000x30
+      LayoutBlockFlow (anonymous) at (0,0) size 2000x20
+        LayoutText {#text} at (0,0) size 672x19
+          text run at (0,0) width 672: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
+layer at (13,33) size 2000x2 backgroundClip at (13,33) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 2000x2 [border: (1px inset #EEEEEE)]
+layer at (8,751) size 2010x48 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow (positioned) {DIV} at (8,751) size 2010x48 [border: (5px solid #000000)]
+    LayoutBlockFlow {DIV} at (5,13) size 2000x30
+      LayoutBlockFlow (anonymous) at (0,10) size 2000x20
+        LayoutText {#text} at (0,0) size 672x19
+          text run at (0,0) width 672: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
+layer at (13,764) size 2000x2 backgroundClip at (13,764) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/custom/svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/custom/svg-float-border-padding-expected.txt
index 91aa36f..64a82729 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/custom/svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/custom/svg-float-border-padding-expected.txt
@@ -15,7 +15,6 @@
       LayoutBlockFlow {p} at (0,232) size 784x20
         LayoutText {#text} at (0,0) size 338x19
           text run at (0,0) width 338: "There should be a red, white and blue pattern above this"
-      LayoutBlockFlow {hr} at (0,268) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {p} at (0,286) size 784x20
         LayoutText {#text} at (0,0) size 338x19
           text run at (0,0) width 338: "There should be a red, white and blue pattern below this"
@@ -24,3 +23,5 @@
       LayoutBlockFlow {p} at (0,482) size 784x20
         LayoutText {#text} at (0,0) size 338x19
           text run at (0,0) width 338: "There should be a red, white and blue pattern above this"
+layer at (8,276) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {hr} at (0,268) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
index e09c64c..1cfd45e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/page/zoom-svg-float-border-padding-expected.txt
@@ -16,7 +16,6 @@
       LayoutBlockFlow {p} at (0,357.41) size 761.97x27
         LayoutText {#text} at (0,0) size 523x26
           text run at (0,0) width 523: "There should be a red, white and blue pattern above this"
-      LayoutBlockFlow {hr} at (0,407.44) size 761.97x2.88 [border: (1.44px inset #EEEEEE)]
       LayoutBlockFlow {p} at (0,433.34) size 761.97x27
         LayoutText {#text} at (0,0) size 524x26
           text run at (0,0) width 524: "There should be a red, white and blue pattern below this"
@@ -25,3 +24,5 @@
       LayoutBlockFlow {p} at (0,713.73) size 761.97x27
         LayoutText {#text} at (0,0) size 523x26
           text run at (0,0) width 523: "There should be a red, white and blue pattern above this"
+layer at (12,419) size 762x3 backgroundClip at (12,419) size 761x3 clip at (0,0) size 0x0
+  LayoutBlockFlow {hr} at (0,407.44) size 761.97x2.88 [border: (1.44px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/text/zoom-svg-float-border-padding-expected.txt b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
index 6aa91ca..8a5719e 100644
--- a/third_party/WebKit/LayoutTests/platform/win/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/svg/zoom/text/zoom-svg-float-border-padding-expected.txt
@@ -16,7 +16,6 @@
       LayoutBlockFlow {p} at (0,287.06) size 769x27
         LayoutText {#text} at (0,0) size 523x26
           text run at (0,0) width 523: "There should be a red, white and blue pattern above this"
-      LayoutBlockFlow {hr} at (0,337.09) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {p} at (0,362.13) size 769x27
         LayoutText {#text} at (0,0) size 524x26
           text run at (0,0) width 524: "There should be a red, white and blue pattern below this"
@@ -25,3 +24,5 @@
       LayoutBlockFlow {p} at (0,572.16) size 769x27
         LayoutText {#text} at (0,0) size 523x26
           text run at (0,0) width 523: "There should be a red, white and blue pattern above this"
+layer at (8,345) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {hr} at (0,337.09) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-expected.txt
new file mode 100644
index 0000000..cd7a020
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-expected.txt
@@ -0,0 +1,43 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x552
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 215x19
+          text run at (0,0) width 215: "This is a test for regressions against "
+        LayoutInline {I} at (0,0) size 756x39
+          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
+            LayoutText {#text} at (215,0) size 350x19
+              text run at (215,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
+          LayoutText {#text} at (564,0) size 756x39
+            text run at (564,0) width 5: " "
+            text run at (568,0) width 188: "Flexible boxes do not repaint"
+            text run at (0,20) width 244: "their top, left and children's overflows"
+        LayoutText {#text} at (243,20) size 5x19
+          text run at (243,20) width 5: "."
+      LayoutBlockFlow {DIV} at (0,66) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 169x19
+              text run at (1,1) width 169: "Lorem ipsum dolor sit amet."
+      LayoutBlockFlow {DIV} at (0,186) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,306) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,426) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 94x159
+              text run at (1,1) width 79: "Lorem ipsum"
+              text run at (1,21) width 86: "dolor sit amet,"
+              text run at (1,41) width 76: "consectetuer"
+              text run at (1,61) width 84: "adipiscing elit."
+              text run at (1,81) width 92: "Etiam et ipsum."
+              text run at (1,101) width 30: "Nam"
+              text run at (1,121) width 94: "consectetuer mi"
+              text run at (1,141) width 57: "eget velit."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
new file mode 100644
index 0000000..cd7a020
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/flexible-box-overflow-horizontal-expected.txt
@@ -0,0 +1,43 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x552
+      LayoutBlockFlow {P} at (0,0) size 784x40
+        LayoutText {#text} at (0,0) size 215x19
+          text run at (0,0) width 215: "This is a test for regressions against "
+        LayoutInline {I} at (0,0) size 756x39
+          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
+            LayoutText {#text} at (215,0) size 350x19
+              text run at (215,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=8056"
+          LayoutText {#text} at (564,0) size 756x39
+            text run at (564,0) width 5: " "
+            text run at (568,0) width 188: "Flexible boxes do not repaint"
+            text run at (0,20) width 244: "their top, left and children's overflows"
+        LayoutText {#text} at (243,20) size 5x19
+          text run at (243,20) width 5: "."
+      LayoutBlockFlow {DIV} at (0,66) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 169x19
+              text run at (1,1) width 169: "Lorem ipsum dolor sit amet."
+      LayoutBlockFlow {DIV} at (0,186) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,306) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+      LayoutBlockFlow {DIV} at (0,426) size 784x100
+        LayoutDeprecatedFlexibleBox {DIV} at (10,10) size 80x80 [bgcolor=#FFFF00]
+          LayoutBlockFlow {DIV} at (-10,-10) size 100x100 [border: (1px solid #000000)]
+            LayoutText {#text} at (1,1) size 94x159
+              text run at (1,1) width 79: "Lorem ipsum"
+              text run at (1,21) width 86: "dolor sit amet,"
+              text run at (1,41) width 76: "consectetuer"
+              text run at (1,61) width 84: "adipiscing elit."
+              text run at (1,81) width 92: "Etiam et ipsum."
+              text run at (1,101) width 30: "Nam"
+              text run at (1,121) width 94: "consectetuer mi"
+              text run at (1,141) width 57: "eget velit."
+layer at (8,64) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,56) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/inline-block-overflow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/inline-block-overflow-expected.txt
new file mode 100644
index 0000000..a1ad30c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/inline-block-overflow-expected.txt
@@ -0,0 +1,19 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 302x19
+          text run at (0,0) width 302: "This is a repaint test of inline blocks with overflow."
+      LayoutBlockFlow (anonymous) at (0,46) size 784x20
+        LayoutInline {SPAN} at (0,0) size 195x19
+          LayoutText {#text} at (0,0) size 95x19
+            text run at (0,0) width 95: "Here comes an "
+          LayoutBlockFlow {SPAN} at (95,0) size 100x20 [bgcolor=#C0C0C0]
+            LayoutText {#text} at (0,0) size 97x39
+              text run at (0,0) width 97: "inline block with"
+              text run at (0,20) width 56: "overflow."
+        LayoutText {#text} at (0,0) size 0x0
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/layer-child-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/layer-child-outline-expected.txt
new file mode 100644
index 0000000..776f481
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/layer-child-outline-expected.txt
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 300x19
+          text run at (0,0) width 300: "This tests repainting of a layer's children's outlines."
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,54) size 100x100
+  LayoutBlockFlow (relative positioned) {DIV} at (0,46) size 100x100 [bgcolor=#C0C0C0]
+    LayoutBlockFlow {DIV} at (0,0) size 100x100
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/layer-outline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/layer-outline-expected.txt
new file mode 100644
index 0000000..a3fda7e7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/layer-outline-expected.txt
@@ -0,0 +1,36 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: "This tests for regressions against "
+        LayoutInline {I} at (0,0) size 546x19
+          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
+            LayoutText {#text} at (197,0) size 350x19
+              text run at (197,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
+          LayoutText {#text} at (546,0) size 197x19
+            text run at (546,0) width 197: " Layer outline does not repaint"
+        LayoutText {#text} at (742,0) size 5x19
+          text run at (742,0) width 5: "."
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (18,194) size 100x100 clip at (19,195) size 98x98
+  LayoutBlockFlow {DIV} at (10,186) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (8,54) size 784x130
+  LayoutBlockFlow (relative positioned) {DIV} at (0,46) size 784x130
+layer at (18,64) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (10,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (148,64) size 100x100 backgroundClip at (138,54) size 100x100 clip at (138,54) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (140,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (278,64) size 100x100 backgroundClip at (268,54) size 5x5 clip at (268,54) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (270,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (408,64) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (400,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (538,64) size 100x100 backgroundClip at (548,74) size 100x100 clip at (548,74) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (530,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (668,64) size 100x100 backgroundClip at (773,169) size 5x5 clip at (773,169) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (660,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (18,324) size 100x100
+  LayoutBlockFlow (relative positioned) {DIV} at (0,296) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/layer-outline-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/layer-outline-horizontal-expected.txt
new file mode 100644
index 0000000..a3fda7e7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/layer-outline-horizontal-expected.txt
@@ -0,0 +1,36 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 197x19
+          text run at (0,0) width 197: "This tests for regressions against "
+        LayoutInline {I} at (0,0) size 546x19
+          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
+            LayoutText {#text} at (197,0) size 350x19
+              text run at (197,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7943"
+          LayoutText {#text} at (546,0) size 197x19
+            text run at (546,0) width 197: " Layer outline does not repaint"
+        LayoutText {#text} at (742,0) size 5x19
+          text run at (742,0) width 5: "."
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (18,194) size 100x100 clip at (19,195) size 98x98
+  LayoutBlockFlow {DIV} at (10,186) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (8,54) size 784x130
+  LayoutBlockFlow (relative positioned) {DIV} at (0,46) size 784x130
+layer at (18,64) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (10,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (148,64) size 100x100 backgroundClip at (138,54) size 100x100 clip at (138,54) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (140,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (278,64) size 100x100 backgroundClip at (268,54) size 5x5 clip at (268,54) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (270,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (408,64) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (400,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (538,64) size 100x100 backgroundClip at (548,74) size 100x100 clip at (548,74) size 100x100
+  LayoutBlockFlow (positioned) {DIV} at (530,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (668,64) size 100x100 backgroundClip at (773,169) size 5x5 clip at (773,169) size 5x5
+  LayoutBlockFlow (positioned) {DIV} at (660,10) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
+layer at (18,324) size 100x100
+  LayoutBlockFlow (relative positioned) {DIV} at (0,296) size 100x100 [bgcolor=#EEEEEE] [border: (1px solid #000000)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/text-shadow-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/text-shadow-expected.txt
new file mode 100644
index 0000000..7b95a4c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/text-shadow-expected.txt
@@ -0,0 +1,42 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x562
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 164x19
+          text run at (0,0) width 164: "This is a regression test for "
+        LayoutInline {I} at (0,0) size 602x19
+          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
+            LayoutText {#text} at (164,0) size 350x19
+              text run at (164,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
+          LayoutText {#text} at (513,0) size 253x19
+            text run at (513,0) width 5: " "
+            text run at (517,0) width 249: "Text shadow does not repaint correctly"
+        LayoutText {#text} at (765,0) size 5x19
+          text run at (765,0) width 5: "."
+      LayoutBlockFlow {DIV} at (30,68) size 724x21
+        LayoutInline {SPAN} at (0,0) size 199x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 199x20
+            text run at (0,0) width 199: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,119) size 724x21
+        LayoutInline {SPAN} at (0,0) size 199x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 199x20
+            text run at (0,0) width 199: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,170) size 724x21
+        LayoutText {#text} at (0,1) size 83x19
+          text run at (0,1) width 83: "Lorem ipsum "
+        LayoutInline {SPAN} at (0,0) size 98x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (83,0) size 98x20
+            text run at (83,0) width 98: "dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,221) size 724x21
+        LayoutInline {SPAN} at (0,0) size 96x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 96x20
+            text run at (0,0) width 96: "Lorem ipsum"
+        LayoutText {#text} at (96,1) size 86x19
+          text run at (96,1) width 86: " dolor sit amet"
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/text-shadow-horizontal-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/text-shadow-horizontal-expected.txt
new file mode 100644
index 0000000..7b95a4c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/text-shadow-horizontal-expected.txt
@@ -0,0 +1,42 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x562
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 164x19
+          text run at (0,0) width 164: "This is a regression test for "
+        LayoutInline {I} at (0,0) size 602x19
+          LayoutInline {A} at (0,0) size 350x19 [color=#0000EE]
+            LayoutText {#text} at (164,0) size 350x19
+              text run at (164,0) width 350: "http://bugzilla.opendarwin.org/show_bug.cgi?id=7301"
+          LayoutText {#text} at (513,0) size 253x19
+            text run at (513,0) width 5: " "
+            text run at (517,0) width 249: "Text shadow does not repaint correctly"
+        LayoutText {#text} at (765,0) size 5x19
+          text run at (765,0) width 5: "."
+      LayoutBlockFlow {DIV} at (30,68) size 724x21
+        LayoutInline {SPAN} at (0,0) size 199x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 199x20
+            text run at (0,0) width 199: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,119) size 724x21
+        LayoutInline {SPAN} at (0,0) size 199x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 199x20
+            text run at (0,0) width 199: "Lorem ipsum dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,170) size 724x21
+        LayoutText {#text} at (0,1) size 83x19
+          text run at (0,1) width 83: "Lorem ipsum "
+        LayoutInline {SPAN} at (0,0) size 98x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (83,0) size 98x20
+            text run at (83,0) width 98: "dolor sit amet"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {DIV} at (30,221) size 724x21
+        LayoutInline {SPAN} at (0,0) size 96x20 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 96x20
+            text run at (0,0) width 96: "Lorem ipsum"
+        LayoutText {#text} at (96,1) size 86x19
+          text run at (96,1) width 86: " dolor sit amet"
+layer at (8,44) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,36) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/comments-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/comments-expected.txt
new file mode 100644
index 0000000..28983be
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/comments-expected.txt
@@ -0,0 +1,101 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 921
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x921 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x921
+    LayoutBlockFlow {BODY} at (8,8) size 769x905 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x240
+        LayoutText {#text} at (0,0) size 336x240
+          text run at (0,0) width 232: "/* This is a CSS1 comment. */"
+          text run at (232,0) width 0: " "
+          text run at (0,16) width 336: ".one {color: green;} /* Another comment */"
+          text run at (336,16) width 0: " "
+          text run at (0,32) width 288: "/* The following should not be used:"
+          text run at (288,32) width 0: " "
+          text run at (0,48) width 168: ".two {color: red;} */"
+          text run at (168,48) width 0: " "
+          text run at (0,64) width 320: ".three {color: green; /* color: red; */}"
+          text run at (320,64) width 0: " "
+          text run at (0,80) width 24: "/**"
+          text run at (24,80) width 0: " "
+          text run at (0,96) width 176: ".four {color: red;} */"
+          text run at (176,96) width 0: " "
+          text run at (0,112) width 168: ".five {color: green;}"
+          text run at (168,112) width 0: " "
+          text run at (0,128) width 32: "/**/"
+          text run at (32,128) width 0: " "
+          text run at (0,144) width 160: ".six {color: green;}"
+          text run at (160,144) width 0: " "
+          text run at (0,160) width 88: "/*********/"
+          text run at (88,160) width 0: " "
+          text run at (0,176) width 176: ".seven {color: green;}"
+          text run at (176,176) width 0: " "
+          text run at (0,192) width 128: "/* a comment **/"
+          text run at (128,192) width 0: " "
+          text run at (0,208) width 176: ".eight {color: green;}"
+          text run at (176,208) width 0: " "
+          text run at (0,224) width 0: " "
+      LayoutBlockFlow {P} at (0,307) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,343) size 769x20
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,379) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,415) size 769x20
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,451) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,487) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,523) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,559) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutTable {TABLE} at (0,595) size 206x310 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 204x308
+          LayoutTableRow {TR} at (0,0) size 204x28
+            LayoutTableCell {TD} at (0,0) size 204x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 204x280
+            LayoutTableCell {TD} at (0,154) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 192x280 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 184x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,40) size 184x20
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,76) size 184x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,112) size 184x20
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,148) size 184x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,184) size 184x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,220) size 184x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,256) size 184x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+layer at (8,297) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,289) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/containment-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/containment-expected.txt
new file mode 100644
index 0000000..ec868c63
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/containment-expected.txt
@@ -0,0 +1,210 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1009
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1009 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1009
+    LayoutBlockFlow {BODY} at (8,8) size 769x993 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x160
+        LayoutText {#text} at (0,0) size 728x160
+          text run at (0,0) width 624: "<LINK rel=\"stylesheet\" type=\"text/css\" href=\"linktest.css\" title=\"Default SS\">"
+          text run at (624,0) width 0: " "
+          text run at (0,16) width 728: "<LINK rel=\"alternate stylesheet\" type=\"text/css\" href=\"linktest2.css\" title=\"Alternate SS\">"
+          text run at (728,16) width 0: " "
+          text run at (0,32) width 208: "@import url(imptest1.css);"
+          text run at (208,32) width 0: " "
+          text run at (0,48) width 192: "@import \"imptest1a.css\";"
+          text run at (192,48) width 0: " "
+          text run at (0,64) width 128: "UL {color: red;}"
+          text run at (128,64) width 0: " "
+          text run at (0,80) width 176: ".four {color: purple;}"
+          text run at (176,80) width 0: " "
+          text run at (0,96) width 208: "@import url(imptest2.css);"
+          text run at (208,96) width 0: " "
+          text run at (0,112) width 32: "<!--"
+          text run at (32,112) width 0: " "
+          text run at (0,128) width 168: "P.six {color: green;}"
+          text run at (168,128) width 0: " "
+          text run at (0,144) width 24: "-->"
+          text run at (24,144) width 0: " "
+      LayoutBlockFlow {P} at (0,227) size 769x20
+        LayoutText {#text} at (0,0) size 383x19
+          text run at (0,0) width 383: "This sentence should be underlined due to the linked style sheet "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (383,3) size 96x16
+            text run at (383,3) width 96: "linktest.css"
+        LayoutText {#text} at (479,0) size 242x19
+          text run at (479,0) width 242: ", the reference to which is shown above."
+      LayoutBlockFlow {P} at (0,263) size 769x40
+        LayoutText {#text} at (0,0) size 420x19
+          text run at (0,0) width 420: "This sentence should NOT be underlined due to the linked style sheet "
+        LayoutInline {CODE} at (0,0) size 104x16
+          LayoutText {#text} at (420,3) size 104x16
+            text run at (420,3) width 104: "linktest2.css"
+        LayoutText {#text} at (524,0) size 8x19
+          text run at (524,0) width 8: ", "
+        LayoutInline {STRONG} at (0,0) size 42x19
+          LayoutText {#text} at (532,0) size 42x19
+            text run at (532,0) width 42: "unless"
+        LayoutText {#text} at (574,0) size 713x39
+          text run at (574,0) width 139: " the external style sheet"
+          text run at (0,20) width 309: "\"Alternate SS\" has been selected via the user agent."
+      LayoutBlockFlow {UL} at (0,319) size 769x60 [color=#FF0000]
+        LayoutListItem {LI} at (40,0) size 729x20 [color=#008000]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 373x19
+            text run at (0,0) width 373: "This sentence should be green due to an imported style sheet ["
+          LayoutInline {CODE} at (0,0) size 208x16
+            LayoutText {#text} at (373,3) size 208x16
+              text run at (373,3) width 208: "@import url(imptest1.css);"
+          LayoutText {#text} at (581,0) size 9x19
+            text run at (581,0) width 9: "]."
+        LayoutListItem {LI} at (40,20) size 729x20 [color=#800080]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 378x19
+            text run at (0,0) width 378: "This sentence should be purple due to an imported style sheet ["
+          LayoutInline {CODE} at (0,0) size 184x16
+            LayoutText {#text} at (378,3) size 184x16
+              text run at (378,3) width 184: "@import \"imptest1a.css\""
+          LayoutText {#text} at (562,0) size 9x19
+            text run at (562,0) width 9: "]."
+        LayoutListItem {LI} at (40,40) size 729x20 [color=#008000]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 374x19
+            text run at (0,0) width 374: "This sentence should be green thanks to the STYLE attribute ["
+          LayoutInline {CODE} at (0,0) size 168x16
+            LayoutText {#text} at (374,3) size 168x16
+              text run at (374,3) width 168: "STYLE=\"color: green;\""
+          LayoutText {#text} at (542,0) size 9x19
+            text run at (542,0) width 9: "]."
+      LayoutBlockFlow {P} at (0,395) size 769x20 [color=#800080]
+        LayoutText {#text} at (0,0) size 476x19
+          text run at (0,0) width 476: "This sentence should be purple, and it doesn't have a terminating paragraph tag."
+      LayoutBlockFlow {OL} at (0,431) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
+          LayoutText {#text} at (0,0) size 190x19
+            text run at (0,0) width 190: "This list should NOT be purple."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "2"
+          LayoutText {#text} at (0,0) size 166x19
+            text run at (0,0) width 166: "It should, instead, be black."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
+          LayoutText {#text} at (0,0) size 483x19
+            text run at (0,0) width 483: "If it IS purple, then the browser hasn't correctly parsed the preceding paragraph."
+      LayoutBlockFlow {P} at (0,507) size 769x40
+        LayoutText {#text} at (0,0) size 668x19
+          text run at (0,0) width 188: "This sentence should be black. "
+          text run at (188,0) width 480: "If it is red, then the browser has inappropriately imported the styles from the file "
+        LayoutInline {TT} at (0,0) size 96x16
+          LayoutText {#text} at (668,3) size 96x16
+            text run at (668,3) width 96: "imptest2.css"
+        LayoutText {#text} at (0,20) size 29x19
+          text run at (0,20) width 29: "(see "
+        LayoutInline {A} at (0,0) size 66x19 [color=#0000FF]
+          LayoutText {#text} at (29,20) size 66x19
+            text run at (29,20) width 66: "section 3.0"
+        LayoutText {#text} at (95,20) size 264x19
+          text run at (95,20) width 264: " of the CSS1 specification for more details)."
+      LayoutBlockFlow {P} at (0,563) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This paragraph should be green."
+      LayoutTable {TABLE} at (0,599) size 769x394 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x392
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x364
+            LayoutTableCell {TD} at (0,196) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x364 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 383x19
+                  text run at (0,0) width 383: "This sentence should be underlined due to the linked style sheet "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (383,3) size 96x16
+                    text run at (383,3) width 96: "linktest.css"
+                LayoutText {#text} at (479,0) size 242x19
+                  text run at (479,0) width 242: ", the reference to which is shown above."
+              LayoutBlockFlow {P} at (4,40) size 747x40
+                LayoutText {#text} at (0,0) size 420x19
+                  text run at (0,0) width 420: "This sentence should NOT be underlined due to the linked style sheet "
+                LayoutInline {CODE} at (0,0) size 104x16
+                  LayoutText {#text} at (420,3) size 104x16
+                    text run at (420,3) width 104: "linktest2.css"
+                LayoutText {#text} at (524,0) size 8x19
+                  text run at (524,0) width 8: ", "
+                LayoutInline {STRONG} at (0,0) size 42x19
+                  LayoutText {#text} at (532,0) size 42x19
+                    text run at (532,0) width 42: "unless"
+                LayoutText {#text} at (574,0) size 713x39
+                  text run at (574,0) width 139: " the external style sheet"
+                  text run at (0,20) width 309: "\"Alternate SS\" has been selected via the user agent."
+              LayoutBlockFlow {UL} at (4,96) size 747x60 [color=#FF0000]
+                LayoutListItem {LI} at (40,0) size 707x20 [color=#008000]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 373x19
+                    text run at (0,0) width 373: "This sentence should be green due to an imported style sheet ["
+                  LayoutInline {CODE} at (0,0) size 208x16
+                    LayoutText {#text} at (373,3) size 208x16
+                      text run at (373,3) width 208: "@import url(imptest1.css);"
+                  LayoutText {#text} at (581,0) size 9x19
+                    text run at (581,0) width 9: "]."
+                LayoutListItem {LI} at (40,20) size 707x20 [color=#800080]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 378x19
+                    text run at (0,0) width 378: "This sentence should be purple due to an imported style sheet ["
+                  LayoutInline {CODE} at (0,0) size 184x16
+                    LayoutText {#text} at (378,3) size 184x16
+                      text run at (378,3) width 184: "@import \"imptest1a.css\""
+                  LayoutText {#text} at (562,0) size 9x19
+                    text run at (562,0) width 9: "]."
+                LayoutListItem {LI} at (40,40) size 707x20 [color=#008000]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 374x19
+                    text run at (0,0) width 374: "This sentence should be green thanks to the STYLE attribute ["
+                  LayoutInline {CODE} at (0,0) size 168x16
+                    LayoutText {#text} at (374,3) size 168x16
+                      text run at (374,3) width 168: "STYLE=\"color: green;\""
+                  LayoutText {#text} at (542,0) size 9x19
+                    text run at (542,0) width 9: "]."
+              LayoutBlockFlow {P} at (4,172) size 747x20 [color=#800080]
+                LayoutText {#text} at (0,0) size 476x19
+                  text run at (0,0) width 476: "This sentence should be purple, and it doesn't have a terminating paragraph tag."
+              LayoutBlockFlow {OL} at (4,208) size 747x60
+                LayoutListItem {LI} at (40,0) size 707x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
+                  LayoutText {#text} at (0,0) size 190x19
+                    text run at (0,0) width 190: "This list should NOT be purple."
+                LayoutListItem {LI} at (40,20) size 707x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "2"
+                  LayoutText {#text} at (0,0) size 166x19
+                    text run at (0,0) width 166: "It should, instead, be black."
+                LayoutListItem {LI} at (40,40) size 707x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
+                  LayoutText {#text} at (0,0) size 483x19
+                    text run at (0,0) width 483: "If it IS purple, then the browser hasn't correctly parsed the preceding paragraph."
+              LayoutBlockFlow {P} at (4,284) size 747x40
+                LayoutText {#text} at (0,0) size 664x19
+                  text run at (0,0) width 188: "This sentence should be black. "
+                  text run at (188,0) width 476: "If it is red, then the browser has inappropriately imported the styles from the file"
+                LayoutInline {TT} at (0,0) size 96x16
+                  LayoutText {#text} at (0,23) size 96x16
+                    text run at (0,23) width 96: "imptest2.css"
+                LayoutText {#text} at (96,20) size 33x19
+                  text run at (96,20) width 33: " (see "
+                LayoutInline {A} at (0,0) size 66x19 [color=#0000FF]
+                  LayoutText {#text} at (129,20) size 66x19
+                    text run at (129,20) width 66: "section 3.0"
+                LayoutText {#text} at (195,20) size 264x19
+                  text run at (195,20) width 264: " of the CSS1 specification for more details)."
+              LayoutBlockFlow {P} at (4,340) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This paragraph should be green."
+layer at (8,217) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/contextual_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/contextual_selectors-expected.txt
new file mode 100644
index 0000000..3f3e59a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/contextual_selectors-expected.txt
@@ -0,0 +1,83 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20 [color=#000080]
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 472x64
+          text run at (0,0) width 288: "P {color: navy; font-family: serif;}"
+          text run at (288,0) width 0: " "
+          text run at (0,16) width 472: "HTML BODY TABLE P {color: purple; font-family: sans-serif;}"
+          text run at (472,16) width 0: " "
+          text run at (0,32) width 224: "EM, UL LI LI {color: green;}"
+          text run at (224,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x20 [color=#000080]
+        LayoutText {#text} at (0,0) size 591x19
+          text run at (0,0) width 591: "This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table."
+      LayoutBlockFlow {P} at (0,167) size 784x20 [color=#000080]
+        LayoutText {#text} at (0,0) size 532x19
+          text run at (0,0) width 532: "This sentence should be normal for its section, except for the last word, which should be "
+        LayoutInline {EM} at (0,0) size 36x19 [color=#008000]
+          LayoutText {#text} at (532,0) size 36x19
+            text run at (532,0) width 36: "green"
+        LayoutText {#text} at (567,0) size 5x19
+          text run at (567,0) width 5: "."
+      LayoutBlockFlow {UL} at (0,203) size 784x40
+        LayoutListItem {LI} at (40,0) size 744x40
+          LayoutBlockFlow (anonymous) at (0,0) size 744x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutInline {EM} at (0,0) size 38x19 [color=#008000]
+              LayoutText {#text} at (0,0) size 38x19
+                text run at (0,0) width 38: "Hello."
+            LayoutText {#text} at (38,0) size 376x19
+              text run at (38,0) width 4: " "
+              text run at (42,0) width 372: "The first \"hello\" should be green, but this part should be black."
+          LayoutBlockFlow {UL} at (0,20) size 744x20
+            LayoutListItem {LI} at (40,0) size 704x20 [color=#008000]
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 128x19
+                text run at (0,0) width 128: "This should be green."
+      LayoutTable {TABLE} at (0,259) size 699x165 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 697x163
+          LayoutTableRow {TR} at (0,0) size 697x28
+            LayoutTableCell {TD} at (0,0) size 697x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 697x135
+            LayoutTableCell {TD} at (0,81) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 685x135 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 677x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 677x18
+                  text run at (0,0) width 677: "This sentence should be navy serif in the first half of the page, but purple and sans-serif in the table."
+              LayoutBlockFlow {P} at (4,39) size 677x20 [color=#800080]
+                LayoutText {#text} at (0,1) size 603x18
+                  text run at (0,1) width 603: "This sentence should be normal for its section, except for the last word, which should be "
+                LayoutInline {EM} at (0,0) size 41x19 [color=#008000]
+                  LayoutText {#text} at (603,0) size 41x19
+                    text run at (603,0) width 41: "green"
+                LayoutText {#text} at (644,1) size 4x18
+                  text run at (644,1) width 4: "."
+              LayoutBlockFlow {UL} at (4,75) size 677x40
+                LayoutListItem {LI} at (40,0) size 637x40
+                  LayoutBlockFlow (anonymous) at (0,0) size 637x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutInline {EM} at (0,0) size 38x19 [color=#008000]
+                      LayoutText {#text} at (0,0) size 38x19
+                        text run at (0,0) width 38: "Hello."
+                    LayoutText {#text} at (38,0) size 376x19
+                      text run at (38,0) width 4: " "
+                      text run at (42,0) width 372: "The first \"hello\" should be green, but this part should be black."
+                  LayoutBlockFlow {UL} at (0,20) size 637x20
+                    LayoutListItem {LI} at (40,0) size 597x20 [color=#008000]
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 128x19
+                        text run at (0,0) width 128: "This should be green."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/grouping-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/grouping-expected.txt
new file mode 100644
index 0000000..a83001a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/grouping-expected.txt
@@ -0,0 +1,45 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 272x32
+          text run at (0,0) width 272: ".one, .two, .three {color: green;}"
+          text run at (272,0) width 0: " "
+          text run at (0,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,135) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,171) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutTable {TABLE} at (0,207) size 206x130 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 204x128
+          LayoutTableRow {TR} at (0,0) size 204x28
+            LayoutTableCell {TD} at (0,0) size 204x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 204x100
+            LayoutTableCell {TD} at (0,64) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 192x100 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 184x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,40) size 184x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,76) size 184x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/id_as_selector-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/id_as_selector-expected.txt
new file mode 100644
index 0000000..c5af05d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/id_as_selector-expected.txt
@@ -0,0 +1,93 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 659
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x659 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x659
+    LayoutBlockFlow {BODY} at (8,8) size 769x643 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x128
+        LayoutText {#text} at (0,0) size 272x128
+          text run at (0,0) width 160: "#one {color: green;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 152: "#a1 {color: green;}"
+          text run at (152,16) width 0: " "
+          text run at (0,32) width 224: "P#two, P#two2 {color: blue;}"
+          text run at (224,32) width 0: " "
+          text run at (0,48) width 272: "P#three, P#three2 {color: purple;}"
+          text run at (272,48) width 0: " "
+          text run at (0,64) width 168: "#four {color: green;}"
+          text run at (168,64) width 0: " "
+          text run at (0,80) width 152: "#a2 {color: green;}"
+          text run at (152,80) width 0: " "
+          text run at (0,96) width 240: "P#five, P#five2 {color: blue;}"
+          text run at (240,96) width 0: " "
+          text run at (0,112) width 240: "P#six, P#six2 {color: purple;}"
+      LayoutBlockFlow {P} at (0,195) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,231) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,267) size 769x20 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 190x19
+          text run at (0,0) width 190: "This paragraph should be blue ["
+        LayoutInline {TT} at (0,0) size 64x16
+          LayoutText {#text} at (190,3) size 64x16
+            text run at (190,3) width 64: "ID=\"two\""
+        LayoutText {#text} at (254,0) size 9x19
+          text run at (254,0) width 9: "]."
+      LayoutBlockFlow {PRE} at (0,303) size 769x16
+        LayoutText {#text} at (0,0) size 392x16
+          text run at (0,0) width 392: "This sentence should NOT be blue [PRE ID=\"two2\"]."
+          text run at (392,0) width 0: " "
+      LayoutBlockFlow {PRE} at (0,332) size 769x16
+        LayoutText {#text} at (0,0) size 472x16
+          text run at (0,0) width 472: "This sentence should be black, not purple [PRE ID=\"three\"]."
+          text run at (472,0) width 0: " "
+      LayoutBlockFlow {UL} at (0,364) size 769x20
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 226x19
+            text run at (0,0) width 226: "This sentence should NOT be purple."
+      LayoutTable {TABLE} at (0,400) size 422x243 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 420x241
+          LayoutTableRow {TR} at (0,0) size 420x28
+            LayoutTableCell {TD} at (0,0) size 420x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 420x213
+            LayoutTableCell {TD} at (0,120) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 408x213 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 400x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,40) size 400x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,76) size 400x20 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 190x19
+                  text run at (0,0) width 190: "This paragraph should be blue ["
+                LayoutInline {TT} at (0,0) size 72x16
+                  LayoutText {#text} at (190,3) size 72x16
+                    text run at (190,3) width 72: "ID=\"five\""
+                LayoutText {#text} at (262,0) size 9x19
+                  text run at (262,0) width 9: "]."
+              LayoutBlockFlow {PRE} at (4,112) size 400x16
+                LayoutText {#text} at (0,0) size 400x16
+                  text run at (0,0) width 400: "This sentence should NOT be blue [PRE ID=\"five2\"]."
+                  text run at (400,0) width 0: " "
+              LayoutBlockFlow {PRE} at (4,141) size 400x16
+                LayoutText {#text} at (0,0) size 360x16
+                  text run at (0,0) width 360: "This sentence should be black [PRE ID=\"six\"]."
+                  text run at (360,0) width 0: " "
+              LayoutBlockFlow {UL} at (4,173) size 400x20
+                LayoutListItem {LI} at (40,0) size 360x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 226x19
+                    text run at (0,0) width 226: "This sentence should NOT be purple."
+layer at (8,185) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/inheritance-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/inheritance-expected.txt
new file mode 100644
index 0000000..317647e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/basic/inheritance-expected.txt
@@ -0,0 +1,190 @@
+layer at (0,0) size 800x600 scrollHeight 768
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x768 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x767.59
+    LayoutBlockFlow {BODY} at (8,8) size 784x751.59 [color=#008000] [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x112
+        LayoutText {#text} at (0,0) size 272x112
+          text run at (0,0) width 160: "BODY {color: green;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 136: "H3 {color: blue;}"
+          text run at (136,16) width 0: " "
+          text run at (0,32) width 152: "EM {color: purple;}"
+          text run at (152,32) width 0: " "
+          text run at (0,48) width 208: ".one {font-style: italic;}"
+          text run at (208,48) width 0: " "
+          text run at (0,64) width 272: ".two {text-decoration: underline;}"
+          text run at (272,64) width 0: " "
+          text run at (0,80) width 152: "#two {color: navy;}"
+          text run at (152,80) width 0: " "
+          text run at (0,96) width 184: ".three {color: purple;}"
+          text run at (184,96) width 0: " "
+      LayoutBlockFlow {H3} at (0,181.72) size 784x24 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 221x22
+          text run at (0,0) width 221: "This sentence should show "
+        LayoutInline {STRONG} at (0,0) size 34x22
+          LayoutText {#text} at (221,0) size 34x22
+            text run at (221,0) width 34: "blue"
+        LayoutText {#text} at (255,0) size 40x22
+          text run at (255,0) width 40: " and "
+        LayoutInline {EM} at (0,0) size 52x22 [color=#800080]
+          LayoutText {#text} at (295,1) size 52x22
+            text run at (295,1) width 52: "purple"
+        LayoutText {#text} at (347,0) size 5x22
+          text run at (347,0) width 5: "."
+      LayoutBlockFlow {H3} at (0,224.44) size 784x24 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 198x22
+          text run at (0,0) width 198: "This sentence should be "
+        LayoutInline {SPAN} at (0,0) size 35x22
+          LayoutText {#text} at (198,1) size 35x22
+            text run at (198,1) width 35: "blue"
+        LayoutText {#text} at (233,0) size 100x22
+          text run at (233,0) width 100: " throughout."
+      LayoutBlockFlow {P} at (0,267.16) size 784x20
+        LayoutText {#text} at (0,0) size 215x19
+          text run at (0,0) width 215: "This should be green except for the "
+        LayoutInline {EM} at (0,0) size 117x19 [color=#800080]
+          LayoutText {#text} at (215,0) size 117x19
+            text run at (215,0) width 117: "emphasized words"
+        LayoutText {#text} at (331,0) size 152x19
+          text run at (331,0) width 152: ", which should be purple."
+      LayoutBlockFlow {H3} at (0,305.88) size 784x23 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 288x22
+          text run at (0,0) width 288: "This should be blue and underlined."
+      LayoutBlockFlow {P} at (0,347.59) size 784x20
+        LayoutText {#text} at (0,0) size 273x19
+          text run at (0,0) width 273: "This sentence should be underlined, including "
+        LayoutInline {TT} at (0,0) size 72x16
+          LayoutText {#text} at (273,3) size 72x16
+            text run at (273,3) width 72: "this part"
+        LayoutText {#text} at (345,0) size 8x19
+          text run at (345,0) width 8: ", "
+        LayoutInline {I} at (0,0) size 54x19
+          LayoutText {#text} at (353,0) size 54x19
+            text run at (353,0) width 54: "this part"
+        LayoutText {#text} at (407,0) size 8x19
+          text run at (407,0) width 8: ", "
+        LayoutInline {EM} at (0,0) size 54x19 [color=#800080]
+          LayoutText {#text} at (415,0) size 54x19
+            text run at (415,0) width 54: "this part"
+        LayoutText {#text} at (469,0) size 34x19
+          text run at (469,0) width 34: ", and "
+        LayoutInline {STRONG} at (0,0) size 55x19
+          LayoutText {#text} at (503,0) size 55x19
+            text run at (503,0) width 55: "this part"
+        LayoutText {#text} at (558,0) size 4x19
+          text run at (558,0) width 4: "."
+      LayoutBlockFlow {P} at (0,383.59) size 784x20 [color=#000080]
+        LayoutText {#text} at (0,0) size 414x19
+          text run at (0,0) width 414: "This sentence should also be underlined, as well as dark blue (navy), "
+        LayoutInline {TT} at (0,0) size 152x16
+          LayoutText {#text} at (414,3) size 152x16
+            text run at (414,3) width 152: "including this part"
+        LayoutText {#text} at (566,0) size 4x19
+          text run at (566,0) width 4: "."
+      LayoutBlockFlow {P} at (0,419.59) size 784x20 [color=#800080]
+        LayoutText {#text} at (0,0) size 249x19
+          text run at (0,0) width 249: "This sentence should be purple, including "
+        LayoutInline {STRONG} at (0,0) size 55x19
+          LayoutText {#text} at (249,0) size 55x19
+            text run at (249,0) width 55: "this part"
+        LayoutText {#text} at (304,0) size 30x19
+          text run at (304,0) width 30: " and "
+        LayoutInline {SPAN} at (0,0) size 164x19
+          LayoutText {#text} at (334,0) size 164x19
+            text run at (334,0) width 164: "this part (which is spanned)"
+        LayoutText {#text} at (498,0) size 4x19
+          text run at (498,0) width 4: "."
+      LayoutTable {TABLE} at (0,455.59) size 592x296 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 590x294
+          LayoutTableRow {TR} at (0,0) size 590x28
+            LayoutTableCell {TD} at (0,0) size 590x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 590x266
+            LayoutTableCell {TD} at (0,147) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 578x265.88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {H3} at (4,4) size 570x24 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 221x22
+                  text run at (0,0) width 221: "This sentence should show "
+                LayoutInline {STRONG} at (0,0) size 34x22
+                  LayoutText {#text} at (221,0) size 34x22
+                    text run at (221,0) width 34: "blue"
+                LayoutText {#text} at (255,0) size 40x22
+                  text run at (255,0) width 40: " and "
+                LayoutInline {EM} at (0,0) size 52x22 [color=#800080]
+                  LayoutText {#text} at (295,1) size 52x22
+                    text run at (295,1) width 52: "purple"
+                LayoutText {#text} at (347,0) size 5x22
+                  text run at (347,0) width 5: "."
+              LayoutBlockFlow {H3} at (4,46.72) size 570x24 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 198x22
+                  text run at (0,0) width 198: "This sentence should be "
+                LayoutInline {SPAN} at (0,0) size 35x22
+                  LayoutText {#text} at (198,1) size 35x22
+                    text run at (198,1) width 35: "blue"
+                LayoutText {#text} at (233,0) size 100x22
+                  text run at (233,0) width 100: " throughout."
+              LayoutBlockFlow {P} at (4,89.44) size 570x20
+                LayoutText {#text} at (0,0) size 215x19
+                  text run at (0,0) width 215: "This should be green except for the "
+                LayoutInline {EM} at (0,0) size 117x19 [color=#800080]
+                  LayoutText {#text} at (215,0) size 117x19
+                    text run at (215,0) width 117: "emphasized words"
+                LayoutText {#text} at (331,0) size 152x19
+                  text run at (331,0) width 152: ", which should be purple."
+              LayoutBlockFlow {H3} at (4,128.16) size 570x23 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 288x22
+                  text run at (0,0) width 288: "This should be blue and underlined."
+              LayoutBlockFlow {P} at (4,169.88) size 570x20
+                LayoutText {#text} at (0,0) size 273x19
+                  text run at (0,0) width 273: "This sentence should be underlined, including "
+                LayoutInline {TT} at (0,0) size 72x16
+                  LayoutText {#text} at (273,3) size 72x16
+                    text run at (273,3) width 72: "this part"
+                LayoutText {#text} at (345,0) size 8x19
+                  text run at (345,0) width 8: ", "
+                LayoutInline {I} at (0,0) size 54x19
+                  LayoutText {#text} at (353,0) size 54x19
+                    text run at (353,0) width 54: "this part"
+                LayoutText {#text} at (407,0) size 8x19
+                  text run at (407,0) width 8: ", "
+                LayoutInline {EM} at (0,0) size 54x19 [color=#800080]
+                  LayoutText {#text} at (415,0) size 54x19
+                    text run at (415,0) width 54: "this part"
+                LayoutText {#text} at (469,0) size 34x19
+                  text run at (469,0) width 34: ", and "
+                LayoutInline {STRONG} at (0,0) size 55x19
+                  LayoutText {#text} at (503,0) size 55x19
+                    text run at (503,0) width 55: "this part"
+                LayoutText {#text} at (558,0) size 4x19
+                  text run at (558,0) width 4: "."
+              LayoutBlockFlow {P} at (4,205.88) size 570x20 [color=#000080]
+                LayoutText {#text} at (0,0) size 414x19
+                  text run at (0,0) width 414: "This sentence should also be underlined, as well as dark blue (navy), "
+                LayoutInline {TT} at (0,0) size 152x16
+                  LayoutText {#text} at (414,3) size 152x16
+                    text run at (414,3) width 152: "including this part"
+                LayoutText {#text} at (566,0) size 4x19
+                  text run at (566,0) width 4: "."
+              LayoutBlockFlow {P} at (4,241.88) size 570x20 [color=#800080]
+                LayoutText {#text} at (0,0) size 249x19
+                  text run at (0,0) width 249: "This sentence should be purple, including "
+                LayoutInline {STRONG} at (0,0) size 55x19
+                  LayoutText {#text} at (249,0) size 55x19
+                    text run at (249,0) width 55: "this part"
+                LayoutText {#text} at (304,0) size 30x19
+                  text run at (304,0) width 30: " and "
+                LayoutInline {SPAN} at (0,0) size 164x19
+                  LayoutText {#text} at (334,0) size 164x19
+                    text run at (334,0) width 164: "this part (which is spanned)"
+                LayoutText {#text} at (498,0) size 4x19
+                  text run at (498,0) width 4: "."
+layer at (8,169) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border-expected.txt
new file mode 100644
index 0000000..a10a4aea
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border-expected.txt
@@ -0,0 +1,184 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1395
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1395 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1395
+    LayoutBlockFlow {BODY} at (8,8) size 769x1379 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x144
+        LayoutText {#text} at (0,0) size 272x144
+          text run at (0,0) width 272: ".one {border: medium black solid;}"
+          text run at (272,0) width 0: " "
+          text run at (0,16) width 264: ".two {border: thin maroon ridge;}"
+          text run at (264,16) width 0: " "
+          text run at (0,32) width 272: ".three {border: 10px teal outset;}"
+          text run at (272,32) width 0: " "
+          text run at (0,48) width 264: ".four {border: 10px olive inset;}"
+          text run at (264,48) width 0: " "
+          text run at (0,64) width 224: ".five {border: 10px maroon;}"
+          text run at (224,64) width 0: " "
+          text run at (0,80) width 232: ".six {border: maroon double;}"
+          text run at (232,80) width 0: " "
+          text run at (0,96) width 256: ".seven {border: left red solid;}"
+          text run at (256,96) width 0: " "
+          text run at (0,112) width 168: ".eight {border: 0px;}"
+          text run at (168,112) width 0: " "
+          text run at (0,128) width 232: "TD {border: 2px solid green;}"
+          text run at (232,128) width 0: " "
+      LayoutBlockFlow {P} at (0,211) size 769x40
+        LayoutText {#text} at (0,0) size 758x39
+          text run at (0,0) width 597: "Note that all table cells on this page should have a two-pixel solid green border along all four sides. "
+          text run at (597,0) width 161: "This border applies only to"
+          text run at (0,20) width 254: "the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,267) size 769x26 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 459x19
+          text run at (3,3) width 459: "This paragraph should have a medium black solid border all the way around."
+      LayoutBlockFlow {P} at (0,309) size 769x22 [border: (1px ridge #800000)]
+        LayoutText {#text} at (1,1) size 456x19
+          text run at (1,1) width 456: "This paragraph should have a thin maroon ridged border all the way around."
+      LayoutBlockFlow {P} at (0,347) size 769x40 [border: (10px outset #008080)]
+        LayoutText {#text} at (10,10) size 495x19
+          text run at (10,10) width 495: "This paragraph should have a ten-pixel-wide teal outset border all the way around."
+      LayoutBlockFlow {P} at (0,403) size 769x40 [border: (10px inset #808000)]
+        LayoutText {#text} at (10,10) size 493x19
+          text run at (10,10) width 493: "This paragraph should have a ten-pixel-wide olive inset border all the way around."
+      LayoutBlockFlow {P} at (0,459) size 769x20
+        LayoutText {#text} at (0,0) size 333x19
+          text run at (0,0) width 333: "This paragraph should have no border around it, as the "
+        LayoutInline {TT} at (0,0) size 96x16
+          LayoutText {#text} at (333,3) size 96x16
+            text run at (333,3) width 96: "border-style"
+        LayoutText {#text} at (429,0) size 306x19
+          text run at (429,0) width 306: " was not set, and it should not be offset in any way."
+      LayoutBlockFlow {P} at (0,495) size 769x26 [border: (3px double #800000)]
+        LayoutText {#text} at (3,3) size 508x19
+          text run at (3,3) width 508: "This paragraph should have a medium maroon double border around it, even though "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (511,6) size 96x16
+            text run at (511,6) width 96: "border-width"
+        LayoutText {#text} at (607,3) size 132x19
+          text run at (607,3) width 132: " was not explicitly set."
+      LayoutBlockFlow {P} at (0,537) size 769x20
+        LayoutText {#text} at (0,0) size 590x19
+          text run at (0,0) width 590: "This paragraph should have no border around it, as its declaration is invalid and should be ignored."
+      LayoutBlockFlow {P} at (0,573) size 769x20
+        LayoutInline {A} at (0,0) size 23x19
+          LayoutText {#text} at (0,0) size 23x19
+            text run at (0,0) width 23: "The"
+        LayoutText {#text} at (23,0) size 677x19
+          text run at (23,0) width 677: " following image is also an anchor which points to a target on this page, but it should not have a border around it: "
+        LayoutInline {A} at (0,0) size 16x19 [color=#0000FF]
+          LayoutImage {IMG} at (699.70,0) size 15x15
+        LayoutText {#text} at (714,0) size 5x19
+          text run at (714,0) width 5: "."
+      LayoutTable {TABLE} at (0,609) size 769x121 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x119
+          LayoutTableRow {TR} at (0,5) size 767x46
+            LayoutTableCell {TD} at (5,5) size 757x46 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (3,3) size 746x39
+                text run at (3,3) width 384: "Every cell in this table should have a 2-pixel solid green border. "
+                text run at (386,3) width 363: "This is also true of the table-testing section in the second half"
+                text run at (3,23) width 96: "of the test page."
+          LayoutTableRow {TR} at (0,56) size 767x58
+            LayoutTableCell {TD} at (5,72) size 191x26 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (3,3) size 50x19
+                text run at (3,3) width 50: "Cell one"
+            LayoutTableCell {TD} at (201,56) size 561x58 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (3,3) size 555x20
+                LayoutText {#text} at (0,0) size 51x19
+                  text run at (0,0) width 51: "Cell two"
+              LayoutTable {TABLE} at (3,23) size 157x32 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 155x30
+                  LayoutTableRow {TR} at (0,2) size 155x26
+                    LayoutTableCell {TD} at (2,2) size 151x26 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,3) size 145x19
+                        text run at (3,3) width 145: "Nested single-cell table!"
+      LayoutBlockFlow {P} at (0,746) size 769x20
+        LayoutText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This is an unstyled element."
+      LayoutTable {TABLE} at (0,782) size 769x597 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x595
+          LayoutTableRow {TR} at (0,0) size 767x30
+            LayoutTableCell {TD} at (0,0) size 767x30 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (5,5) size 157x19
+                  text run at (5,5) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,30) size 767x565
+            LayoutTableCell {TD} at (0,297) size 14x30 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (5,5) size 4x19
+                text run at (5,5) width 4: " "
+            LayoutTableCell {TD} at (14,30) size 753x565 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (5,5) size 743x40
+                LayoutText {#text} at (0,0) size 742x39
+                  text run at (0,0) width 597: "Note that all table cells on this page should have a two-pixel solid green border along all four sides. "
+                  text run at (597,0) width 145: "This border applies only"
+                  text run at (0,20) width 270: "to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (5,61) size 743x26 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 459x19
+                  text run at (3,3) width 459: "This paragraph should have a medium black solid border all the way around."
+              LayoutBlockFlow {P} at (5,103) size 743x22 [border: (1px ridge #800000)]
+                LayoutText {#text} at (1,1) size 456x19
+                  text run at (1,1) width 456: "This paragraph should have a thin maroon ridged border all the way around."
+              LayoutBlockFlow {P} at (5,141) size 743x40 [border: (10px outset #008080)]
+                LayoutText {#text} at (10,10) size 495x19
+                  text run at (10,10) width 495: "This paragraph should have a ten-pixel-wide teal outset border all the way around."
+              LayoutBlockFlow {P} at (5,197) size 743x40 [border: (10px inset #808000)]
+                LayoutText {#text} at (10,10) size 493x19
+                  text run at (10,10) width 493: "This paragraph should have a ten-pixel-wide olive inset border all the way around."
+              LayoutBlockFlow {P} at (5,253) size 743x20
+                LayoutText {#text} at (0,0) size 333x19
+                  text run at (0,0) width 333: "This paragraph should have no border around it, as the "
+                LayoutInline {TT} at (0,0) size 96x16
+                  LayoutText {#text} at (333,3) size 96x16
+                    text run at (333,3) width 96: "border-style"
+                LayoutText {#text} at (429,0) size 306x19
+                  text run at (429,0) width 306: " was not set, and it should not be offset in any way."
+              LayoutBlockFlow {P} at (5,289) size 743x26 [border: (3px double #800000)]
+                LayoutText {#text} at (3,3) size 508x19
+                  text run at (3,3) width 508: "This paragraph should have a medium maroon double border around it, even though "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (511,6) size 96x16
+                    text run at (511,6) width 96: "border-width"
+                LayoutText {#text} at (607,3) size 132x19
+                  text run at (607,3) width 132: " was not explicitly set."
+              LayoutBlockFlow {P} at (5,331) size 743x20
+                LayoutText {#text} at (0,0) size 590x19
+                  text run at (0,0) width 590: "This paragraph should have no border around it, as its declaration is invalid and should be ignored."
+              LayoutBlockFlow {P} at (5,367) size 743x20
+                LayoutInline {A} at (0,0) size 23x19
+                  LayoutText {#text} at (0,0) size 23x19
+                    text run at (0,0) width 23: "The"
+                LayoutText {#text} at (23,0) size 677x19
+                  text run at (23,0) width 677: " following image is also an anchor which points to a target on this page, but it should not have a border around it: "
+                LayoutInline {A} at (0,0) size 16x19 [color=#0000FF]
+                  LayoutImage {IMG} at (699.70,0) size 15x15
+                LayoutText {#text} at (714,0) size 5x19
+                  text run at (714,0) width 5: "."
+              LayoutTable {TABLE} at (5,403) size 743x121 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 741x119
+                  LayoutTableRow {TR} at (0,5) size 741x46
+                    LayoutTableCell {TD} at (5,5) size 731x46 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (3,3) size 721x39
+                        text run at (3,3) width 384: "Every cell in this table should have a 2-pixel solid green border. "
+                        text run at (386,3) width 338: "This is also true of the table-testing section in the second"
+                        text run at (3,23) width 121: "half of the test page."
+                  LayoutTableRow {TR} at (0,56) size 741x58
+                    LayoutTableCell {TD} at (5,72) size 185x26 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,3) size 50x19
+                        text run at (3,3) width 50: "Cell one"
+                    LayoutTableCell {TD} at (195,56) size 541x58 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (3,3) size 535x20
+                        LayoutText {#text} at (0,0) size 51x19
+                          text run at (0,0) width 51: "Cell two"
+                      LayoutTable {TABLE} at (3,23) size 157x32 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 155x30
+                          LayoutTableRow {TR} at (0,2) size 155x26
+                            LayoutTableCell {TD} at (2,2) size 151x26 [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (3,3) size 145x19
+                                text run at (3,3) width 145: "Nested single-cell table!"
+              LayoutBlockFlow {P} at (5,540) size 743x20
+                LayoutText {#text} at (0,0) size 163x19
+                  text run at (0,0) width 163: "This is an unstyled element."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom-expected.txt
new file mode 100644
index 0000000..a25c8da
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom-expected.txt
@@ -0,0 +1,164 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1063
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1063 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1063
+    LayoutBlockFlow {BODY} at (8,8) size 769x1047 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 344x64
+          text run at (0,0) width 328: ".one {border-bottom: purple double 10px;}"
+          text run at (328,0) width 0: " "
+          text run at (0,16) width 320: ".two {border-bottom: purple thin solid;}"
+          text run at (320,16) width 0: " "
+          text run at (0,32) width 344: ".three {border-bottom: black medium solid;}"
+          text run at (344,32) width 0: " "
+          text run at (0,48) width 288: "TD {border-bottom: green 2px solid;}"
+          text run at (288,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x40
+        LayoutText {#text} at (0,0) size 745x39
+          text run at (0,0) width 629: "Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. "
+          text run at (629,0) width 116: "This border applies"
+          text run at (0,20) width 299: "only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,187) size 769x30 [border: none (10px double #800080) none]
+        LayoutText {#text} at (0,0) size 421x19
+          text run at (0,0) width 421: "This paragraph should have a purple, double, 10-pixel bottom border."
+      LayoutBlockFlow {P} at (0,233) size 769x21 [border: none (1px solid #800080) none]
+        LayoutText {#text} at (0,0) size 339x19
+          text run at (0,0) width 339: "This paragraph should have a thin purple bottom border."
+      LayoutTable {TABLE} at (0,270) size 769x118 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x116
+          LayoutTableRow {TR} at (0,5) size 767x45
+            LayoutTableCell {TD} at (5,5) size 757x45 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (2,2) size 721x39
+                text run at (2,2) width 431: "Every cell in this table should have a 2-pixel solid green bottom border. "
+                text run at (432,2) width 291: "This is also true of the table-testing section in the"
+                text run at (2,22) width 168: "second half of the test page."
+          LayoutTableRow {TR} at (0,55) size 767x56
+            LayoutTableCell {TD} at (5,70) size 190x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (2,2) size 50x19
+                text run at (2,2) width 50: "Cell one"
+            LayoutTableCell {TD} at (200,55) size 562x56 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (2,2) size 558x20
+                LayoutText {#text} at (0,0) size 51x19
+                  text run at (0,0) width 51: "Cell two"
+              LayoutTable {TABLE} at (2,22) size 155x31 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 153x29
+                  LayoutTableRow {TR} at (0,2) size 153x25
+                    LayoutTableCell {TD} at (2,2) size 149x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 145x19
+                        text run at (2,2) width 145: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,404) size 769x149
+        LayoutListItem {LI} at (40,0) size 729x83 [border: none (3px solid #000000) none]
+          LayoutBlockFlow (anonymous) at (0,0) size 729x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 110x19
+              text run at (0,0) width 110: "This is a list item..."
+          LayoutBlockFlow {UL} at (0,20) size 729x60
+            LayoutListItem {LI} at (40,0) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 70x19
+                text run at (0,0) width 70: "...and this..."
+            LayoutListItem {LI} at (40,20) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 111x19
+                text run at (0,0) width 111: "...is a second list..."
+            LayoutListItem {LI} at (40,40) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 165x19
+                text run at (0,0) width 165: "...nested within the list item."
+        LayoutListItem {LI} at (40,83) size 729x23 [border: none (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 149x19
+            text run at (0,0) width 149: "This is a second list item."
+        LayoutListItem {LI} at (40,106) size 729x43 [border: none (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 694x39
+            text run at (0,0) width 694: "Each list item in this list should have a medium-width black border at its bottom, which for the first item means that it"
+            text run at (0,20) width 89: "should appear "
+          LayoutInline {EM} at (0,0) size 51x19
+            LayoutText {#text} at (89,20) size 51x19
+              text run at (89,20) width 51: "beneath"
+          LayoutText {#text} at (140,20) size 365x19
+            text run at (140,20) width 365: " the nested list (below the line \"...nested within the list item.\")."
+      LayoutTable {TABLE} at (0,569) size 769x478 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x476
+          LayoutTableRow {TR} at (0,0) size 767x29
+            LayoutTableCell {TD} at (0,0) size 767x29 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,29) size 767x447
+            LayoutTableCell {TD} at (0,238) size 12x29 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,29) size 755x447 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 745x39
+                  text run at (0,0) width 629: "Note that all table cells on this page should have a two-pixel solid green border along their bottom sides. "
+                  text run at (629,0) width 116: "This border applies"
+                  text run at (0,20) width 299: "only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (4,60) size 747x30 [border: none (10px double #800080) none]
+                LayoutText {#text} at (0,0) size 421x19
+                  text run at (0,0) width 421: "This paragraph should have a purple, double, 10-pixel bottom border."
+              LayoutBlockFlow {P} at (4,106) size 747x21 [border: none (1px solid #800080) none]
+                LayoutText {#text} at (0,0) size 339x19
+                  text run at (0,0) width 339: "This paragraph should have a thin purple bottom border."
+              LayoutTable {TABLE} at (4,143) size 747x118 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 745x116
+                  LayoutTableRow {TR} at (0,5) size 745x45
+                    LayoutTableCell {TD} at (5,5) size 735x45 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (2,2) size 721x39
+                        text run at (2,2) width 431: "Every cell in this table should have a 2-pixel solid green bottom border. "
+                        text run at (432,2) width 291: "This is also true of the table-testing section in the"
+                        text run at (2,22) width 168: "second half of the test page."
+                  LayoutTableRow {TR} at (0,55) size 745x56
+                    LayoutTableCell {TD} at (5,70) size 184x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 50x19
+                        text run at (2,2) width 50: "Cell one"
+                    LayoutTableCell {TD} at (194,55) size 546x56 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (2,2) size 542x20
+                        LayoutText {#text} at (0,0) size 51x19
+                          text run at (0,0) width 51: "Cell two"
+                      LayoutTable {TABLE} at (2,22) size 155x31 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 153x29
+                          LayoutTableRow {TR} at (0,2) size 153x25
+                            LayoutTableCell {TD} at (2,2) size 149x25 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (2,2) size 145x19
+                                text run at (2,2) width 145: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (4,277) size 747x149
+                LayoutListItem {LI} at (40,0) size 707x83 [border: none (3px solid #000000) none]
+                  LayoutBlockFlow (anonymous) at (0,0) size 707x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 110x19
+                      text run at (0,0) width 110: "This is a list item..."
+                  LayoutBlockFlow {UL} at (0,20) size 707x60
+                    LayoutListItem {LI} at (40,0) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 70x19
+                        text run at (0,0) width 70: "...and this..."
+                    LayoutListItem {LI} at (40,20) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 111x19
+                        text run at (0,0) width 111: "...is a second list..."
+                    LayoutListItem {LI} at (40,40) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 165x19
+                        text run at (0,0) width 165: "...nested within the list item."
+                LayoutListItem {LI} at (40,83) size 707x23 [border: none (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 149x19
+                    text run at (0,0) width 149: "This is a second list item."
+                LayoutListItem {LI} at (40,106) size 707x43 [border: none (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 694x39
+                    text run at (0,0) width 694: "Each list item in this list should have a medium-width black border at its bottom, which for the first item means that it"
+                    text run at (0,20) width 89: "should appear "
+                  LayoutInline {EM} at (0,0) size 51x19
+                    LayoutText {#text} at (89,20) size 51x19
+                      text run at (89,20) width 51: "beneath"
+                  LayoutText {#text} at (140,20) size 365x19
+                    text run at (140,20) width 365: " the nested list (below the line \"...nested within the list item.\")."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom_inline-expected.txt
new file mode 100644
index 0000000..0e68cf7a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom_inline-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 328x48
+          text run at (0,0) width 328: ".one {border-bottom: purple double 10px;}"
+          text run at (328,0) width 0: " "
+          text run at (0,16) width 320: ".two {border-bottom: purple thin solid;}"
+          text run at (320,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 627x19
+          text run at (0,0) width 627: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 56x29 [border: none (10px double #800080) none]
+          LayoutText {#text} at (626,0) size 56x19
+            text run at (626,0) width 56: "class one"
+        LayoutText {#text} at (681,0) size 768x39
+          text run at (681,0) width 87: ", which should"
+          text run at (0,20) width 306: "have a 10-pixel purple double bottom border; and "
+        LayoutInline {SPAN} at (0,0) size 56x20 [border: none (1px solid #800080) none]
+          LayoutText {#text} at (306,20) size 56x19
+            text run at (306,20) width 56: "class two"
+        LayoutText {#text} at (362,20) size 778x39
+          text run at (362,20) width 328: ", which should have a thin solid purple bottom border. "
+          text run at (689,20) width 89: "The line-height"
+          text run at (0,40) width 310: "of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 627x19
+                  text run at (0,0) width 627: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 56x29 [border: none (10px double #800080) none]
+                  LayoutText {#text} at (626,0) size 56x19
+                    text run at (626,0) width 56: "class one"
+                LayoutText {#text} at (681,0) size 725x39
+                  text run at (681,0) width 44: ", which"
+                  text run at (0,20) width 349: "should have a 10-pixel purple double bottom border; and "
+                LayoutInline {SPAN} at (0,0) size 56x20 [border: none (1px solid #800080) none]
+                  LayoutText {#text} at (349,20) size 56x19
+                    text run at (349,20) width 56: "class two"
+                LayoutText {#text} at (405,20) size 756x39
+                  text run at (405,20) width 328: ", which should have a thin solid purple bottom border. "
+                  text run at (732,20) width 24: "The"
+                  text run at (0,40) width 375: "line-height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom_width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom_width-expected.txt
new file mode 100644
index 0000000..9eadb20
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom_width-expected.txt
@@ -0,0 +1,104 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 919
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x919 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x919
+    LayoutBlockFlow {BODY} at (8,8) size 769x903 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 464x96
+          text run at (0,0) width 456: ".zero {background-color: silver; border-bottom-width: 0;}"
+          text run at (456,0) width 0: " "
+          text run at (0,16) width 432: ".one {border-bottom-width: 50px; border-style: solid;}"
+          text run at (432,16) width 0: " "
+          text run at (0,32) width 440: ".two {border-bottom-width: thick; border-style: solid;}"
+          text run at (440,32) width 0: " "
+          text run at (0,48) width 464: ".three {border-bottom-width: medium; border-style: solid;}"
+          text run at (464,48) width 0: " "
+          text run at (0,64) width 440: ".four {border-bottom-width: thin; border-style: solid;}"
+          text run at (440,64) width 0: " "
+          text run at (0,80) width 272: ".five {border-bottom-width: 25px;}"
+          text run at (272,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 145x19
+          text run at (0,0) width 145: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (145,3) size 96x16
+            text run at (145,3) width 96: "border-style"
+        LayoutText {#text} at (241,0) size 87x19
+          text run at (241,0) width 87: " is supported.)"
+      LayoutBlockFlow {P} at (0,199) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,235) size 769x73 [border: (3px solid #000000) (50px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 368x19
+          text run at (3,3) width 368: "This element should have a bottom border width of 50 pixels."
+      LayoutBlockFlow {P} at (0,324) size 769x28 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 327x19
+          text run at (3,3) width 327: "This element should have a thick bottom border width."
+      LayoutBlockFlow {P} at (0,368) size 769x26 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 345x19
+          text run at (3,3) width 345: "This element should have a medium bottom border width."
+      LayoutBlockFlow {P} at (0,410) size 769x24 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 319x19
+          text run at (3,3) width 319: "This element should have a thin bottom border width."
+      LayoutBlockFlow {P} at (0,450) size 769x20
+        LayoutText {#text} at (0,0) size 510x19
+          text run at (0,0) width 510: "This element should have no border and no extra \"padding\" on its bottom side, as no "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (510,3) size 96x16
+            text run at (510,3) width 96: "border-style"
+        LayoutText {#text} at (606,0) size 53x19
+          text run at (606,0) width 53: " was set."
+      LayoutBlockFlow {P} at (0,486) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,522) size 681x381 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 679x379
+          LayoutTableRow {TR} at (0,0) size 679x28
+            LayoutTableCell {TD} at (0,0) size 679x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 679x351
+            LayoutTableCell {TD} at (0,189) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 667x351 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 659x20
+                LayoutText {#text} at (0,0) size 145x19
+                  text run at (0,0) width 145: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (145,3) size 96x16
+                    text run at (145,3) width 96: "border-style"
+                LayoutText {#text} at (241,0) size 87x19
+                  text run at (241,0) width 87: " is supported.)"
+              LayoutBlockFlow {P} at (4,40) size 659x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,76) size 659x73 [border: (3px solid #000000) (50px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 368x19
+                  text run at (3,3) width 368: "This element should have a bottom border width of 50 pixels."
+              LayoutBlockFlow {P} at (4,165) size 659x28 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 327x19
+                  text run at (3,3) width 327: "This element should have a thick bottom border width."
+              LayoutBlockFlow {P} at (4,209) size 659x26 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 345x19
+                  text run at (3,3) width 345: "This element should have a medium bottom border width."
+              LayoutBlockFlow {P} at (4,251) size 659x24 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 319x19
+                  text run at (3,3) width 319: "This element should have a thin bottom border width."
+              LayoutBlockFlow {P} at (4,291) size 659x20
+                LayoutText {#text} at (0,0) size 510x19
+                  text run at (0,0) width 510: "This element should have no border and no extra \"padding\" on its bottom side, as no "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (510,3) size 96x16
+                    text run at (510,3) width 96: "border-style"
+                LayoutText {#text} at (606,0) size 53x19
+                  text run at (606,0) width 53: " was set."
+              LayoutBlockFlow {P} at (4,327) size 659x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom_width_inline-expected.txt
new file mode 100644
index 0000000..65b10a0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_bottom_width_inline-expected.txt
@@ -0,0 +1,85 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 432x48
+          text run at (0,0) width 432: ".one {border-bottom-width: 25px; border-style: solid;}"
+          text run at (432,0) width 0: " "
+          text run at (0,16) width 432: ".two {border-bottom-width: thin; border-style: solid;}"
+          text run at (432,16) width 0: " "
+          text run at (0,32) width 280: ".three {border-bottom-width: 25px;}"
+          text run at (280,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x88 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 163x19
+          text run at (3,3) width 163: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (166,6) size 24x16
+            text run at (166,6) width 24: "one"
+        LayoutText {#text} at (190,3) size 154x19
+          text run at (190,3) width 8: ". "
+          text run at (198,3) width 146: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 164x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (346,3) size 134x19
+            text run at (346,3) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (479,6) size 25x16
+              text run at (479,6) width 25: "two"
+        LayoutText {#text} at (506,3) size 772x39
+          text run at (506,3) width 269: ", which should result in a thin solid border on"
+          text run at (3,23) width 622: "the bottom side of each box in the inline element (and the UA's default border on the other three sides). "
+          text run at (625,23) width 98: "There is also an "
+        LayoutInline {SPAN} at (0,0) size 750x39
+          LayoutText {#text} at (723,23) size 750x39
+            text run at (723,23) width 30: "inline"
+            text run at (3,43) width 99: "element of class "
+          LayoutInline {TT} at (0,0) size 40x16
+            LayoutText {#text} at (102,46) size 40x16
+              text run at (102,46) width 40: "three"
+        LayoutText {#text} at (142,43) size 570x19
+          text run at (142,43) width 570: ", which should have no bottom border width or visible border because no border style was set."
+      LayoutTable {TABLE} at (0,219) size 784x126 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x124
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x96
+            LayoutTableCell {TD} at (0,62) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x96 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x88 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 163x19
+                  text run at (3,3) width 163: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (166,6) size 24x16
+                    text run at (166,6) width 24: "one"
+                LayoutText {#text} at (190,3) size 154x19
+                  text run at (190,3) width 8: ". "
+                  text run at (198,3) width 146: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 164x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (346,3) size 134x19
+                    text run at (346,3) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (479,6) size 25x16
+                      text run at (479,6) width 25: "two"
+                LayoutText {#text} at (506,3) size 753x39
+                  text run at (506,3) width 250: ", which should result in a thin solid border"
+                  text run at (3,23) width 641: "on the bottom side of each box in the inline element (and the UA's default border on the other three sides). "
+                  text run at (644,23) width 94: "There is also an"
+                LayoutInline {SPAN} at (0,0) size 173x19
+                  LayoutText {#text} at (3,43) size 133x19
+                    text run at (3,43) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x16
+                    LayoutText {#text} at (136,46) size 40x16
+                      text run at (136,46) width 40: "three"
+                LayoutText {#text} at (176,43) size 570x19
+                  text run at (176,43) width 570: ", which should have no bottom border width or visible border because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_color-expected.txt
new file mode 100644
index 0000000..c93704a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_color-expected.txt
@@ -0,0 +1,50 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 728x48
+          text run at (0,0) width 392: ".one {border-color: purple; border-style: solid;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 568: ".two {border-color: purple; border-width: medium; border-style: solid;}"
+          text run at (568,16) width 0: " "
+          text run at (0,32) width 728: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
+          text run at (728,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x26 [border: (3px solid #800080)]
+        LayoutText {#text} at (3,3) size 337x19
+          text run at (3,3) width 337: "This element should have a purple border surrounding it."
+      LayoutBlockFlow {P} at (0,157) size 784x26 [border: (3px solid #800080)]
+        LayoutText {#text} at (3,3) size 427x19
+          text run at (3,3) width 427: "This element should have a medium-width purple border surrounding it."
+      LayoutBlockFlow {P} at (0,199) size 784x46 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+        LayoutText {#text} at (3,3) size 774x39
+          text run at (3,3) width 774: "This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on the bottom,"
+          text run at (3,23) width 160: "and yellow on the left side."
+      LayoutTable {TABLE} at (0,261) size 784x168 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x166
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x138
+            LayoutTableCell {TD} at (0,83) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x138 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x26 [border: (3px solid #800080)]
+                LayoutText {#text} at (3,3) size 337x19
+                  text run at (3,3) width 337: "This element should have a purple border surrounding it."
+              LayoutBlockFlow {P} at (4,46) size 762x26 [border: (3px solid #800080)]
+                LayoutText {#text} at (3,3) size 427x19
+                  text run at (3,3) width 427: "This element should have a medium-width purple border surrounding it."
+              LayoutBlockFlow {P} at (4,88) size 762x46 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+                LayoutText {#text} at (3,3) size 723x39
+                  text run at (3,3) width 723: "This element should be surrounded by a medium width border which is purple on top, green on the right side, blue on the"
+                  text run at (3,23) width 211: "bottom, and yellow on the left side."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_color_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_color_inline-expected.txt
new file mode 100644
index 0000000..fc1a040b9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_color_inline-expected.txt
@@ -0,0 +1,76 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 728x48
+          text run at (0,0) width 392: ".one {border-color: purple; border-style: solid;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 568: ".two {border-color: purple; border-width: medium; border-style: solid;}"
+          text run at (568,16) width 0: " "
+          text run at (0,32) width 728: ".three {border-color: purple green blue yellow; border-width: medium; border-style: solid;}"
+          text run at (728,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 638x19
+          text run at (0,0) width 638: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+        LayoutInline {SPAN} at (0,0) size 62x25 [border: (3px solid #800080)]
+          LayoutText {#text} at (640,0) size 56x19
+            text run at (640,0) width 56: "class one"
+        LayoutText {#text} at (698,0) size 9x19
+          text run at (698,0) width 9: ", "
+        LayoutInline {SPAN} at (0,0) size 63x25 [border: (3px solid #800080)]
+          LayoutText {#text} at (709,0) size 57x19
+            text run at (709,0) width 57: "class two"
+        LayoutText {#text} at (768,0) size 773x39
+          text run at (768,0) width 5: ","
+          text run at (0,20) width 26: "and "
+        LayoutInline {SPAN} at (0,0) size 69x25 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+          LayoutText {#text} at (29,20) size 63x19
+            text run at (29,20) width 63: "class three"
+        LayoutText {#text} at (95,20) size 765x59
+          text run at (95,20) width 8: ". "
+          text run at (103,20) width 662: "The effect for each inline element should be to have a purple medium-width solid border in the first and second"
+          text run at (0,40) width 473: "cases, and a purple-green-blue-yellow medium-width solid border in the third. "
+          text run at (473,40) width 284: "The line-height of the parent element should not"
+          text run at (0,60) width 150: "change at all, on any line."
+      LayoutTable {TABLE} at (0,211) size 784x118 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x116
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x88
+            LayoutTableCell {TD} at (0,58) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 638x19
+                  text run at (0,0) width 638: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+                LayoutInline {SPAN} at (0,0) size 62x25 [border: (3px solid #800080)]
+                  LayoutText {#text} at (640,0) size 56x19
+                    text run at (640,0) width 56: "class one"
+                LayoutText {#text} at (698,0) size 9x19
+                  text run at (698,0) width 9: ", "
+                LayoutInline {SPAN} at (0,0) size 739x45 [border: (3px solid #800080)]
+                  LayoutText {#text} at (709,0) size 739x39
+                    text run at (709,0) width 30: "class"
+                    text run at (0,20) width 23: "two"
+                LayoutText {#text} at (26,20) size 34x19
+                  text run at (26,20) width 34: ", and "
+                LayoutInline {SPAN} at (0,0) size 69x25 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
+                  LayoutText {#text} at (63,20) size 63x19
+                    text run at (63,20) width 63: "class three"
+                LayoutText {#text} at (129,20) size 752x59
+                  text run at (129,20) width 8: ". "
+                  text run at (137,20) width 615: "The effect for each inline element should be to have a purple medium-width solid border in the first and"
+                  text run at (0,40) width 520: "second cases, and a purple-green-blue-yellow medium-width solid border in the third. "
+                  text run at (520,40) width 218: "The line-height of the parent element"
+                  text run at (0,60) width 216: "should not change at all, on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_inline-expected.txt
new file mode 100644
index 0000000..054adaa
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_inline-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 256x48
+          text run at (0,0) width 256: ".one {border: 10px teal outset;}"
+          text run at (256,0) width 0: " "
+          text run at (0,16) width 256: ".two {border: 10px olive inset;}"
+          text run at (256,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 638x19
+          text run at (0,0) width 638: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+        LayoutInline {SPAN} at (0,0) size 76x39 [border: (10px outset #008080)]
+          LayoutText {#text} at (647,0) size 56x19
+            text run at (647,0) width 56: "class one"
+        LayoutText {#text} at (712,0) size 756x39
+          text run at (712,0) width 44: ", which"
+          text run at (0,20) width 298: "should result in a 10-pixel outset teal border; and "
+        LayoutInline {SPAN} at (0,0) size 76x39 [border: (10px inset #808000)]
+          LayoutText {#text} at (308,20) size 56x19
+            text run at (308,20) width 56: "class two"
+        LayoutText {#text} at (374,20) size 779x39
+          text run at (374,20) width 317: ", which should result in a 10-pixel inset olive border. "
+          text run at (690,20) width 89: "The line-height"
+          text run at (0,40) width 310: "of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 638x19
+                  text run at (0,0) width 638: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
+                LayoutInline {SPAN} at (0,0) size 76x39 [border: (10px outset #008080)]
+                  LayoutText {#text} at (647,0) size 56x19
+                    text run at (647,0) width 56: "class one"
+                LayoutText {#text} at (712,0) size 756x39
+                  text run at (712,0) width 44: ", which"
+                  text run at (0,20) width 298: "should result in a 10-pixel outset teal border; and "
+                LayoutInline {SPAN} at (0,0) size 76x39 [border: (10px inset #808000)]
+                  LayoutText {#text} at (308,20) size 56x19
+                    text run at (308,20) width 56: "class two"
+                LayoutText {#text} at (374,20) size 744x39
+                  text run at (374,20) width 317: ", which should result in a 10-pixel inset olive border. "
+                  text run at (690,20) width 54: "The line-"
+                  text run at (0,40) width 349: "height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left-expected.txt
new file mode 100644
index 0000000..a1397d64
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left-expected.txt
@@ -0,0 +1,164 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1103
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1103 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1103
+    LayoutBlockFlow {BODY} at (8,8) size 769x1087 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (20,0) size 749x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x112
+        LayoutText {#text} at (0,0) size 344x112
+          text run at (0,0) width 176: "P {margin-left: 20px;}"
+          text run at (176,0) width 0: " "
+          text run at (0,16) width 312: ".one {border-left: purple double 10px;}"
+          text run at (312,16) width 0: " "
+          text run at (0,32) width 304: ".two {border-left: purple thin solid;}"
+          text run at (304,32) width 0: " "
+          text run at (0,48) width 336: ".threea {border-left: black medium solid;}"
+          text run at (336,48) width 0: " "
+          text run at (0,64) width 344: ".threeb {border-left: purple medium solid;}"
+          text run at (344,64) width 0: " "
+          text run at (0,80) width 328: ".threec {border-left: blue medium solid;}"
+          text run at (328,80) width 0: " "
+          text run at (0,96) width 272: "TD {border-left: green 2px solid;}"
+          text run at (272,96) width 0: " "
+      LayoutBlockFlow {P} at (20,179) size 749x40
+        LayoutText {#text} at (0,0) size 749x39
+          text run at (0,0) width 604: "Note that all table cells on this page should have a two-pixel solid green border along their left sides. "
+          text run at (604,0) width 145: "This border applies only"
+          text run at (0,20) width 270: "to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (20,235) size 749x20 [border: none (10px double #800080)]
+        LayoutText {#text} at (10,0) size 396x19
+          text run at (10,0) width 396: "This paragraph should have a purple, double, 10-pixel left border."
+      LayoutBlockFlow {P} at (20,271) size 749x20 [border: none (1px solid #800080)]
+        LayoutText {#text} at (1,0) size 314x19
+          text run at (1,0) width 314: "This paragraph should have a thin purple left border."
+      LayoutTable {TABLE} at (0,307) size 769x115 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x113
+          LayoutTableRow {TR} at (0,5) size 767x44
+            LayoutTableCell {TD} at (5,5) size 757x44 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (3,2) size 743x39
+                text run at (3,2) width 406: "Every cell in this table should have a 2-pixel solid green left border. "
+                text run at (408,2) width 338: "This is also true of the table-testing section in the second"
+                text run at (3,22) width 121: "half of the test page."
+          LayoutTableRow {TR} at (0,54) size 767x54
+            LayoutTableCell {TD} at (5,69) size 191x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (3,2) size 50x19
+                text run at (3,2) width 50: "Cell one"
+            LayoutTableCell {TD} at (201,54) size 561x54 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (3,2) size 556x20
+                LayoutText {#text} at (0,0) size 51x19
+                  text run at (0,0) width 51: "Cell two"
+              LayoutTable {TABLE} at (3,22) size 156x30 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 154x28
+                  LayoutTableRow {TR} at (0,2) size 154x24
+                    LayoutTableCell {TD} at (2,2) size 150x24 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,2) size 145x19
+                        text run at (3,2) width 145: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,438) size 769x160
+        LayoutListItem {LI} at (40,0) size 729x80 [border: none (3px solid #000000)]
+          LayoutBlockFlow (anonymous) at (3,0) size 726x20
+            LayoutListMarker (anonymous) at (-21,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 110x19
+              text run at (0,0) width 110: "This is a list item..."
+          LayoutBlockFlow {UL} at (3,20) size 726x60
+            LayoutListItem {LI} at (40,0) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 70x19
+                text run at (0,0) width 70: "...and this..."
+            LayoutListItem {LI} at (40,20) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 111x19
+                text run at (0,0) width 111: "...is a second list..."
+            LayoutListItem {LI} at (40,40) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 165x19
+                text run at (0,0) width 165: "...nested within the list item."
+        LayoutListItem {LI} at (40,80) size 729x20 [border: none (3px solid #800080)]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (3,0) size 149x19
+            text run at (3,0) width 149: "This is a second list item."
+        LayoutListItem {LI} at (40,100) size 729x60 [border: none (3px solid #0000FF)]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (3,0) size 707x59
+            text run at (3,0) width 658: "Each list item in this 'parent' list should have a medium-width border along its left side, in each of three colors. "
+            text run at (661,0) width 49: "The first"
+            text run at (3,20) width 696: "item's border should travel the entire height the nested list (to end near the baseline of the line \"...nested within the list"
+            text run at (3,40) width 424: "item.\"), even though the nested list does not have any border styles set."
+      LayoutTable {TABLE} at (0,614) size 769x473 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x471
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (5,4) size 157x19
+                  text run at (5,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x443
+            LayoutTableCell {TD} at (0,235) size 13x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (5,4) size 4x19
+                text run at (5,4) width 4: " "
+            LayoutTableCell {TD} at (13,28) size 754x443 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (25,4) size 725x40
+                LayoutText {#text} at (0,0) size 720x39
+                  text run at (0,0) width 604: "Note that all table cells on this page should have a two-pixel solid green border along their left sides. "
+                  text run at (604,0) width 116: "This border applies"
+                  text run at (0,20) width 299: "only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (25,60) size 725x20 [border: none (10px double #800080)]
+                LayoutText {#text} at (10,0) size 396x19
+                  text run at (10,0) width 396: "This paragraph should have a purple, double, 10-pixel left border."
+              LayoutBlockFlow {P} at (25,96) size 725x20 [border: none (1px solid #800080)]
+                LayoutText {#text} at (1,0) size 314x19
+                  text run at (1,0) width 314: "This paragraph should have a thin purple left border."
+              LayoutTable {TABLE} at (5,132) size 745x115 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 743x113
+                  LayoutTableRow {TR} at (0,5) size 743x44
+                    LayoutTableCell {TD} at (5,5) size 733x44 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (3,2) size 696x39
+                        text run at (3,2) width 406: "Every cell in this table should have a 2-pixel solid green left border. "
+                        text run at (408,2) width 291: "This is also true of the table-testing section in the"
+                        text run at (3,22) width 168: "second half of the test page."
+                  LayoutTableRow {TR} at (0,54) size 743x54
+                    LayoutTableCell {TD} at (5,69) size 185x24 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (3,2) size 50x19
+                        text run at (3,2) width 50: "Cell one"
+                    LayoutTableCell {TD} at (195,54) size 543x54 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (3,2) size 538x20
+                        LayoutText {#text} at (0,0) size 51x19
+                          text run at (0,0) width 51: "Cell two"
+                      LayoutTable {TABLE} at (3,22) size 156x30 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 154x28
+                          LayoutTableRow {TR} at (0,2) size 154x24
+                            LayoutTableCell {TD} at (2,2) size 150x24 [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (3,2) size 145x19
+                                text run at (3,2) width 145: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (5,263) size 745x160
+                LayoutListItem {LI} at (40,0) size 705x80 [border: none (3px solid #000000)]
+                  LayoutBlockFlow (anonymous) at (3,0) size 702x20
+                    LayoutListMarker (anonymous) at (-21,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 110x19
+                      text run at (0,0) width 110: "This is a list item..."
+                  LayoutBlockFlow {UL} at (3,20) size 702x60
+                    LayoutListItem {LI} at (40,0) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 70x19
+                        text run at (0,0) width 70: "...and this..."
+                    LayoutListItem {LI} at (40,20) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 111x19
+                        text run at (0,0) width 111: "...is a second list..."
+                    LayoutListItem {LI} at (40,40) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 165x19
+                        text run at (0,0) width 165: "...nested within the list item."
+                LayoutListItem {LI} at (40,80) size 705x20 [border: none (3px solid #800080)]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (3,0) size 149x19
+                    text run at (3,0) width 149: "This is a second list item."
+                LayoutListItem {LI} at (40,100) size 705x60 [border: none (3px solid #0000FF)]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (3,0) size 702x59
+                    text run at (3,0) width 658: "Each list item in this 'parent' list should have a medium-width border along its left side, in each of three colors. "
+                    text run at (661,0) width 23: "The"
+                    text run at (3,20) width 702: "first item's border should travel the entire height the nested list (to end near the baseline of the line \"...nested within the"
+                    text run at (3,40) width 444: "list item.\"), even though the nested list does not have any border styles set."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left_inline-expected.txt
new file mode 100644
index 0000000..b66f762
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left_inline-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (20,0) size 764x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 312x64
+          text run at (0,0) width 176: "P {margin-left: 20px;}"
+          text run at (176,0) width 0: " "
+          text run at (0,16) width 312: ".one {border-left: purple double 10px;}"
+          text run at (312,16) width 0: " "
+          text run at (0,32) width 304: ".two {border-left: purple thin solid;}"
+          text run at (304,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (20,131) size 764x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 723x19
+          text run at (0,0) width 723: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 762x39 [border: none (10px double #800080)]
+          LayoutText {#text} at (732,0) size 762x39
+            text run at (732,0) width 30: "class"
+            text run at (0,20) width 22: "one"
+        LayoutText {#text} at (22,20) size 371x19
+          text run at (22,20) width 371: ", which should have a 10-pixel purple double left border; and "
+        LayoutInline {SPAN} at (0,0) size 57x19 [border: none (1px solid #800080)]
+          LayoutText {#text} at (394,20) size 56x19
+            text run at (394,20) width 56: "class two"
+        LayoutText {#text} at (450,20) size 749x39
+          text run at (450,20) width 299: ", which should have a thin solid purple left border."
+          text run at (0,40) width 402: "The line-height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,207) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (24,4) size 742x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 719x19
+                  text run at (0,0) width 719: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with classes of"
+                LayoutInline {SPAN} at (0,0) size 65x19 [border: none (10px double #800080)]
+                  LayoutText {#text} at (10,20) size 55x19
+                    text run at (10,20) width 55: "class one"
+                LayoutText {#text} at (65,20) size 371x19
+                  text run at (65,20) width 371: ", which should have a 10-pixel purple double left border; and "
+                LayoutInline {SPAN} at (0,0) size 57x19 [border: none (1px solid #800080)]
+                  LayoutText {#text} at (437,20) size 56x19
+                    text run at (437,20) width 56: "class two"
+                LayoutText {#text} at (493,20) size 721x39
+                  text run at (493,20) width 228: ", which should have a thin solid purple"
+                  text run at (0,40) width 71: "left border. "
+                  text run at (70,40) width 403: "The line-height of the parent element should not change on any line."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left_width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left_width-expected.txt
new file mode 100644
index 0000000..263ecab
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left_width-expected.txt
@@ -0,0 +1,100 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 793
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x793 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x793
+    LayoutBlockFlow {BODY} at (8,8) size 769x777 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 448x96
+          text run at (0,0) width 440: ".zero {background-color: silver; border-left-width: 0;}"
+          text run at (440,0) width 0: " "
+          text run at (0,16) width 416: ".one {border-left-width: 50px; border-style: solid;}"
+          text run at (416,16) width 0: " "
+          text run at (0,32) width 424: ".two {border-left-width: thick; border-style: solid;}"
+          text run at (424,32) width 0: " "
+          text run at (0,48) width 448: ".three {border-left-width: medium; border-style: solid;}"
+          text run at (448,48) width 0: " "
+          text run at (0,64) width 424: ".four {border-left-width: thin; border-style: solid;}"
+          text run at (424,64) width 0: " "
+          text run at (0,80) width 256: ".five {border-left-width: 25px;}"
+          text run at (256,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 145x19
+          text run at (0,0) width 145: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (145,3) size 96x16
+            text run at (145,3) width 96: "border-style"
+        LayoutText {#text} at (241,0) size 87x19
+          text run at (241,0) width 87: " is supported.)"
+      LayoutBlockFlow {P} at (0,199) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,235) size 769x46 [border: (3px solid #000000) (50px solid #000000)]
+        LayoutText {#text} at (50,3) size 697x39
+          text run at (50,3) width 697: "This element should have a left border width of 50 pixels, which will be more obvious if the element is more than one"
+          text run at (50,23) width 53: "line long."
+      LayoutBlockFlow {P} at (0,297) size 769x26 [border: (3px solid #000000) (5px solid #000000)]
+        LayoutText {#text} at (5,3) size 713x19
+          text run at (5,3) width 713: "This element should have a thick left border width, which will be more obvious if the element is more than one line long."
+      LayoutBlockFlow {P} at (0,339) size 769x26 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 731x19
+          text run at (3,3) width 731: "This element should have a medium left border width, which will be more obvious if the element is more than one line long."
+      LayoutBlockFlow {P} at (0,381) size 769x26 [border: (3px solid #000000) (1px solid #000000)]
+        LayoutText {#text} at (1,3) size 705x19
+          text run at (1,3) width 705: "This element should have a thin left border width, which will be more obvious if the element is more than one line long."
+      LayoutBlockFlow {P} at (0,423) size 769x20
+        LayoutText {#text} at (0,0) size 485x19
+          text run at (0,0) width 485: "This element should have no border and no extra \"padding\" on its left side, as no "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (485,3) size 96x16
+            text run at (485,3) width 96: "border-style"
+        LayoutText {#text} at (581,0) size 53x19
+          text run at (581,0) width 53: " was set."
+      LayoutTable {TABLE} at (0,459) size 769x318 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x316
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x288
+            LayoutTableCell {TD} at (0,158) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x288 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 145x19
+                  text run at (0,0) width 145: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (145,3) size 96x16
+                    text run at (145,3) width 96: "border-style"
+                LayoutText {#text} at (241,0) size 87x19
+                  text run at (241,0) width 87: " is supported.)"
+              LayoutBlockFlow {P} at (4,40) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,76) size 747x46 [border: (3px solid #000000) (50px solid #000000)]
+                LayoutText {#text} at (50,3) size 671x39
+                  text run at (50,3) width 671: "This element should have a left border width of 50 pixels, which will be more obvious if the element is more than"
+                  text run at (50,23) width 79: "one line long."
+              LayoutBlockFlow {P} at (4,138) size 747x26 [border: (3px solid #000000) (5px solid #000000)]
+                LayoutText {#text} at (5,3) size 713x19
+                  text run at (5,3) width 713: "This element should have a thick left border width, which will be more obvious if the element is more than one line long."
+              LayoutBlockFlow {P} at (4,180) size 747x26 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 731x19
+                  text run at (3,3) width 731: "This element should have a medium left border width, which will be more obvious if the element is more than one line long."
+              LayoutBlockFlow {P} at (4,222) size 747x26 [border: (3px solid #000000) (1px solid #000000)]
+                LayoutText {#text} at (1,3) size 705x19
+                  text run at (1,3) width 705: "This element should have a thin left border width, which will be more obvious if the element is more than one line long."
+              LayoutBlockFlow {P} at (4,264) size 747x20
+                LayoutText {#text} at (0,0) size 485x19
+                  text run at (0,0) width 485: "This element should have no border and no extra \"padding\" on its left side, as no "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (485,3) size 96x16
+                    text run at (485,3) width 96: "border-style"
+                LayoutText {#text} at (581,0) size 53x19
+                  text run at (581,0) width 53: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left_width_inline-expected.txt
new file mode 100644
index 0000000..2f3ebbd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_left_width_inline-expected.txt
@@ -0,0 +1,96 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 416x48
+          text run at (0,0) width 416: ".one {border-left-width: 25px; border-style: solid;}"
+          text run at (416,0) width 0: " "
+          text run at (0,16) width 416: ".two {border-left-width: thin; border-style: solid;}"
+          text run at (416,16) width 0: " "
+          text run at (0,32) width 264: ".three {border-left-width: 25px;}"
+          text run at (264,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x66 [border: (3px solid #000000) (25px solid #000000)]
+        LayoutText {#text} at (25,3) size 163x19
+          text run at (25,3) width 163: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (188,6) size 24x16
+            text run at (188,6) width 24: "one"
+        LayoutText {#text} at (212,3) size 154x19
+          text run at (212,3) width 8: ". "
+          text run at (220,3) width 146: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 162x25 [border: (3px solid #000000) (1px solid #000000)]
+          LayoutText {#text} at (366,3) size 134x19
+            text run at (366,3) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (499,6) size 25x16
+              text run at (499,6) width 25: "two"
+        LayoutText {#text} at (526,3) size 751x39
+          text run at (526,3) width 250: ", which should result in a thin solid border"
+          text run at (25,23) width 129: "on the left side of the "
+        LayoutInline {STRONG} at (0,0) size 27x19
+          LayoutText {#text} at (154,23) size 27x19
+            text run at (154,23) width 27: "first"
+        LayoutText {#text} at (181,23) size 575x19
+          text run at (181,23) width 481: " box in the inline element (and the UA's default border on the other three sides). "
+          text run at (662,23) width 94: "There is also an"
+        LayoutInline {SPAN} at (0,0) size 173x19
+          LayoutText {#text} at (25,43) size 133x19
+            text run at (25,43) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x16
+            LayoutText {#text} at (158,46) size 40x16
+              text run at (158,46) width 40: "three"
+        LayoutText {#text} at (198,43) size 545x19
+          text run at (198,43) width 545: ", which should have no left border width or visible border because no border style was set."
+      LayoutTable {TABLE} at (0,197) size 784x124 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x122
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x94
+            LayoutTableCell {TD} at (0,61) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x86 [border: (3px solid #000000) (25px solid #000000)]
+                LayoutText {#text} at (25,3) size 163x19
+                  text run at (25,3) width 163: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (188,6) size 24x16
+                    text run at (188,6) width 24: "one"
+                LayoutText {#text} at (212,3) size 154x19
+                  text run at (212,3) width 8: ". "
+                  text run at (220,3) width 146: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 162x25 [border: (3px solid #000000) (1px solid #000000)]
+                  LayoutText {#text} at (366,3) size 134x19
+                    text run at (366,3) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (499,6) size 25x16
+                      text run at (499,6) width 25: "two"
+                LayoutText {#text} at (526,3) size 706x39
+                  text run at (526,3) width 205: ", which should result in a thin solid"
+                  text run at (25,23) width 174: "border on the left side of the "
+                LayoutInline {STRONG} at (0,0) size 27x19
+                  LayoutText {#text} at (199,23) size 27x19
+                    text run at (199,23) width 27: "first"
+                LayoutText {#text} at (226,23) size 730x39
+                  text run at (226,23) width 481: " box in the inline element (and the UA's default border on the other three sides). "
+                  text run at (707,23) width 48: "There is"
+                  text run at (25,43) width 46: "also an "
+                LayoutInline {SPAN} at (0,0) size 173x19
+                  LayoutText {#text} at (71,43) size 133x19
+                    text run at (71,43) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x16
+                    LayoutText {#text} at (204,46) size 40x16
+                      text run at (204,46) width 40: "three"
+                LayoutText {#text} at (244,43) size 711x39
+                  text run at (244,43) width 492: ", which should have no left border width or visible border because no border style"
+                  text run at (25,63) width 49: "was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right-expected.txt
new file mode 100644
index 0000000..772d0de
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right-expected.txt
@@ -0,0 +1,62 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 764x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 320x64
+          text run at (0,0) width 184: "P {margin-right: 20px;}"
+          text run at (184,0) width 0: " "
+          text run at (0,16) width 320: ".one {border-right: purple double 10px;}"
+          text run at (320,16) width 0: " "
+          text run at (0,32) width 312: ".two {border-right: purple thin solid;}"
+          text run at (312,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 764x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 731x19
+          text run at (0,0) width 731: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 760x39 [border: none (10px double #800080) none]
+          LayoutText {#text} at (730,0) size 760x39
+            text run at (730,0) width 30: "class"
+            text run at (0,20) width 22: "one"
+        LayoutText {#text} at (32,20) size 379x19
+          text run at (32,20) width 379: ", which should have a 10-pixel purple double right border; and "
+        LayoutInline {SPAN} at (0,0) size 57x19 [border: none (1px solid #800080) none]
+          LayoutText {#text} at (411,20) size 56x19
+            text run at (411,20) width 56: "class two"
+        LayoutText {#text} at (468,20) size 726x39
+          text run at (468,20) width 258: ", which should have a thin solid purple right"
+          text run at (0,40) width 49: "border. "
+          text run at (48,40) width 403: "The line-height of the parent element should not change on any line."
+      LayoutTable {TABLE} at (0,207) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 742x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 727x19
+                  text run at (0,0) width 727: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with classes of"
+                LayoutInline {SPAN} at (0,0) size 65x19 [border: none (10px double #800080) none]
+                  LayoutText {#text} at (0,20) size 55x19
+                    text run at (0,20) width 55: "class one"
+                LayoutText {#text} at (65,20) size 379x19
+                  text run at (65,20) width 379: ", which should have a 10-pixel purple double right border; and "
+                LayoutInline {SPAN} at (0,0) size 57x19 [border: none (1px solid #800080) none]
+                  LayoutText {#text} at (444,20) size 56x19
+                    text run at (444,20) width 56: "class two"
+                LayoutText {#text} at (501,20) size 729x39
+                  text run at (501,20) width 228: ", which should have a thin solid purple"
+                  text run at (0,40) width 79: "right border. "
+                  text run at (78,40) width 403: "The line-height of the parent element should not change on any line."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right_inline-expected.txt
new file mode 100644
index 0000000..e66e7f3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right_inline-expected.txt
@@ -0,0 +1,168 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1143
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1143 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1143
+    LayoutBlockFlow {BODY} at (8,8) size 769x1127 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 749x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x112
+        LayoutText {#text} at (0,0) size 352x112
+          text run at (0,0) width 184: "P {margin-right: 20px;}"
+          text run at (184,0) width 0: " "
+          text run at (0,16) width 320: ".one {border-right: purple double 10px;}"
+          text run at (320,16) width 0: " "
+          text run at (0,32) width 312: ".two {border-right: purple thin solid;}"
+          text run at (312,32) width 0: " "
+          text run at (0,48) width 344: ".threea {border-right: black medium solid;}"
+          text run at (344,48) width 0: " "
+          text run at (0,64) width 352: ".threeb {border-right: purple medium solid;}"
+          text run at (352,64) width 0: " "
+          text run at (0,80) width 336: ".threec {border-right: blue medium solid;}"
+          text run at (336,80) width 0: " "
+          text run at (0,96) width 280: "TD {border-right: green 2px solid;}"
+          text run at (280,96) width 0: " "
+      LayoutBlockFlow {P} at (0,179) size 749x40
+        LayoutText {#text} at (0,0) size 728x39
+          text run at (0,0) width 612: "Note that all table cells on this page should have a two-pixel solid green border along their right sides. "
+          text run at (612,0) width 116: "This border applies"
+          text run at (0,20) width 299: "only to the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,235) size 749x20 [border: none (10px double #800080) none]
+        LayoutText {#text} at (0,0) size 404x19
+          text run at (0,0) width 404: "This paragraph should have a purple, double, 10-pixel right border."
+      LayoutBlockFlow {P} at (0,271) size 749x20 [border: none (1px solid #800080) none]
+        LayoutText {#text} at (0,0) size 322x19
+          text run at (0,0) width 322: "This paragraph should have a thin purple right border."
+      LayoutTable {TABLE} at (0,307) size 769x115 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x113
+          LayoutTableRow {TR} at (0,5) size 767x44
+            LayoutTableCell {TD} at (5,5) size 757x44 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (2,2) size 751x39
+                text run at (2,2) width 414: "Every cell in this table should have a 2-pixel solid green right border. "
+                text run at (415,2) width 338: "This is also true of the table-testing section in the second"
+                text run at (2,22) width 121: "half of the test page."
+          LayoutTableRow {TR} at (0,54) size 767x54
+            LayoutTableCell {TD} at (5,69) size 191x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (2,2) size 50x19
+                text run at (2,2) width 50: "Cell one"
+            LayoutTableCell {TD} at (201,54) size 561x54 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (2,2) size 556x20
+                LayoutText {#text} at (0,0) size 51x19
+                  text run at (0,0) width 51: "Cell two"
+              LayoutTable {TABLE} at (2,22) size 156x30 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 154x28
+                  LayoutTableRow {TR} at (0,2) size 154x24
+                    LayoutTableCell {TD} at (2,2) size 150x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 145x19
+                        text run at (2,2) width 145: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,438) size 769x180
+        LayoutListItem {LI} at (40,0) size 729x80 [border: none (3px solid #000000) none]
+          LayoutBlockFlow (anonymous) at (0,0) size 726x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 110x19
+              text run at (0,0) width 110: "This is a list item..."
+          LayoutBlockFlow {UL} at (0,20) size 726x60
+            LayoutListItem {LI} at (40,0) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 70x19
+                text run at (0,0) width 70: "...and this..."
+            LayoutListItem {LI} at (40,20) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 111x19
+                text run at (0,0) width 111: "...is a second list..."
+            LayoutListItem {LI} at (40,40) size 686x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 165x19
+                text run at (0,0) width 165: "...nested within the list item."
+        LayoutListItem {LI} at (40,80) size 729x20 [border: none (3px solid #800080) none]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 149x19
+            text run at (0,0) width 149: "This is a second list item."
+        LayoutListItem {LI} at (40,100) size 729x80 [border: none (3px solid #0000FF) none]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 715x79
+            text run at (0,0) width 666: "Each list item in this 'parent' list should have a medium-width border along its right side, in each of three colors. "
+            text run at (666,0) width 49: "The first"
+            text run at (0,20) width 696: "item's border should travel the entire height the nested list (to end near the baseline of the line \"...nested within the list"
+            text run at (0,40) width 428: "item.\"), even though the nested list does not have any border styles set. "
+            text run at (428,40) width 280: "The borders should line up together at the right"
+            text run at (0,60) width 473: "edge of the document's body, as each list element has a default width of 100%."
+      LayoutTable {TABLE} at (0,634) size 769x493 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x491
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x463
+            LayoutTableCell {TD} at (0,245) size 13x28 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (13,28) size 754x463 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 725x40
+                LayoutText {#text} at (0,0) size 682x39
+                  text run at (0,0) width 612: "Note that all table cells on this page should have a two-pixel solid green border along their right sides. "
+                  text run at (612,0) width 70: "This border"
+                  text run at (0,20) width 345: "applies only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (4,60) size 725x20 [border: none (10px double #800080) none]
+                LayoutText {#text} at (0,0) size 404x19
+                  text run at (0,0) width 404: "This paragraph should have a purple, double, 10-pixel right border."
+              LayoutBlockFlow {P} at (4,96) size 725x20 [border: none (1px solid #800080) none]
+                LayoutText {#text} at (0,0) size 322x19
+                  text run at (0,0) width 322: "This paragraph should have a thin purple right border."
+              LayoutTable {TABLE} at (4,132) size 745x115 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 743x113
+                  LayoutTableRow {TR} at (0,5) size 743x44
+                    LayoutTableCell {TD} at (5,5) size 733x44 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (2,2) size 704x39
+                        text run at (2,2) width 414: "Every cell in this table should have a 2-pixel solid green right border. "
+                        text run at (415,2) width 291: "This is also true of the table-testing section in the"
+                        text run at (2,22) width 168: "second half of the test page."
+                  LayoutTableRow {TR} at (0,54) size 743x54
+                    LayoutTableCell {TD} at (5,69) size 185x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,2) size 50x19
+                        text run at (2,2) width 50: "Cell one"
+                    LayoutTableCell {TD} at (195,54) size 543x54 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (2,2) size 538x20
+                        LayoutText {#text} at (0,0) size 51x19
+                          text run at (0,0) width 51: "Cell two"
+                      LayoutTable {TABLE} at (2,22) size 156x30 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 154x28
+                          LayoutTableRow {TR} at (0,2) size 154x24
+                            LayoutTableCell {TD} at (2,2) size 150x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (2,2) size 145x19
+                                text run at (2,2) width 145: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (4,263) size 745x180
+                LayoutListItem {LI} at (40,0) size 705x80 [border: none (3px solid #000000) none]
+                  LayoutBlockFlow (anonymous) at (0,0) size 702x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 110x19
+                      text run at (0,0) width 110: "This is a list item..."
+                  LayoutBlockFlow {UL} at (0,20) size 702x60
+                    LayoutListItem {LI} at (40,0) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 70x19
+                        text run at (0,0) width 70: "...and this..."
+                    LayoutListItem {LI} at (40,20) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 111x19
+                        text run at (0,0) width 111: "...is a second list..."
+                    LayoutListItem {LI} at (40,40) size 662x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 165x19
+                        text run at (0,0) width 165: "...nested within the list item."
+                LayoutListItem {LI} at (40,80) size 705x20 [border: none (3px solid #800080) none]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 149x19
+                    text run at (0,0) width 149: "This is a second list item."
+                LayoutListItem {LI} at (40,100) size 705x80 [border: none (3px solid #0000FF) none]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 702x79
+                    text run at (0,0) width 666: "Each list item in this 'parent' list should have a medium-width border along its right side, in each of three colors. "
+                    text run at (666,0) width 23: "The"
+                    text run at (0,20) width 702: "first item's border should travel the entire height the nested list (to end near the baseline of the line \"...nested within the"
+                    text run at (0,40) width 448: "list item.\"), even though the nested list does not have any border styles set. "
+                    text run at (448,40) width 250: "The borders should line up together at the"
+                    text run at (0,60) width 503: "right edge of the document's body, as each list element has a default width of 100%."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right_width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right_width-expected.txt
new file mode 100644
index 0000000..975e79f4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right_width-expected.txt
@@ -0,0 +1,100 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 793
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x793 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x793
+    LayoutBlockFlow {BODY} at (8,8) size 769x777 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 456x96
+          text run at (0,0) width 448: ".zero {background-color: silver; border-right-width: 0;}"
+          text run at (448,0) width 0: " "
+          text run at (0,16) width 424: ".one {border-right-width: 25px; border-style: solid;}"
+          text run at (424,16) width 0: " "
+          text run at (0,32) width 432: ".two {border-right-width: thick; border-style: solid;}"
+          text run at (432,32) width 0: " "
+          text run at (0,48) width 456: ".three {border-right-width: medium; border-style: solid;}"
+          text run at (456,48) width 0: " "
+          text run at (0,64) width 432: ".four {border-right-width: thin; border-style: solid;}"
+          text run at (432,64) width 0: " "
+          text run at (0,80) width 272: ".five {border-right-width: 100px;}"
+          text run at (272,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 145x19
+          text run at (0,0) width 145: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (145,3) size 96x16
+            text run at (145,3) width 96: "border-style"
+        LayoutText {#text} at (241,0) size 87x19
+          text run at (241,0) width 87: " is supported.)"
+      LayoutBlockFlow {P} at (0,199) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,235) size 769x46 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 729x39
+          text run at (3,3) width 729: "This element should have a right border width of 25 pixels, which will be more obvious if the element is more than one line"
+          text run at (3,23) width 29: "long."
+      LayoutBlockFlow {P} at (0,297) size 769x26 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 721x19
+          text run at (3,3) width 721: "This element should have a thick right border width, which will be more obvious if the element is more than one line long."
+      LayoutBlockFlow {P} at (0,339) size 769x26 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 739x19
+          text run at (3,3) width 739: "This element should have a medium right border width, which will be more obvious if the element is more than one line long."
+      LayoutBlockFlow {P} at (0,381) size 769x26 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 713x19
+          text run at (3,3) width 713: "This element should have a thin right border width, which will be more obvious if the element is more than one line long."
+      LayoutBlockFlow {P} at (0,423) size 769x20
+        LayoutText {#text} at (0,0) size 493x19
+          text run at (0,0) width 493: "This element should have no border and no extra \"padding\" on its right side, as no "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (493,3) size 96x16
+            text run at (493,3) width 96: "border-style"
+        LayoutText {#text} at (589,0) size 53x19
+          text run at (589,0) width 53: " was set."
+      LayoutTable {TABLE} at (0,459) size 769x318 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x316
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x288
+            LayoutTableCell {TD} at (0,158) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x288 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 145x19
+                  text run at (0,0) width 145: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (145,3) size 96x16
+                    text run at (145,3) width 96: "border-style"
+                LayoutText {#text} at (241,0) size 87x19
+                  text run at (241,0) width 87: " is supported.)"
+              LayoutBlockFlow {P} at (4,40) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,76) size 747x46 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 705x39
+                  text run at (3,3) width 705: "This element should have a right border width of 25 pixels, which will be more obvious if the element is more than one"
+                  text run at (3,23) width 53: "line long."
+              LayoutBlockFlow {P} at (4,138) size 747x26 [border: (3px solid #000000) (5px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 721x19
+                  text run at (3,3) width 721: "This element should have a thick right border width, which will be more obvious if the element is more than one line long."
+              LayoutBlockFlow {P} at (4,180) size 747x26 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 739x19
+                  text run at (3,3) width 739: "This element should have a medium right border width, which will be more obvious if the element is more than one line long."
+              LayoutBlockFlow {P} at (4,222) size 747x26 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 713x19
+                  text run at (3,3) width 713: "This element should have a thin right border width, which will be more obvious if the element is more than one line long."
+              LayoutBlockFlow {P} at (4,264) size 747x20
+                LayoutText {#text} at (0,0) size 493x19
+                  text run at (0,0) width 493: "This element should have no border and no extra \"padding\" on its right side, as no "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (493,3) size 96x16
+                    text run at (493,3) width 96: "border-style"
+                LayoutText {#text} at (589,0) size 53x19
+                  text run at (589,0) width 53: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right_width_inline-expected.txt
new file mode 100644
index 0000000..400c80bf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_right_width_inline-expected.txt
@@ -0,0 +1,96 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 424x48
+          text run at (0,0) width 424: ".one {border-right-width: 25px; border-style: solid;}"
+          text run at (424,0) width 0: " "
+          text run at (0,16) width 424: ".two {border-right-width: thin; border-style: solid;}"
+          text run at (424,16) width 0: " "
+          text run at (0,32) width 272: ".three {border-right-width: 25px;}"
+          text run at (272,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x66 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 163x19
+          text run at (3,3) width 163: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (166,6) size 24x16
+            text run at (166,6) width 24: "one"
+        LayoutText {#text} at (190,3) size 154x19
+          text run at (190,3) width 8: ". "
+          text run at (198,3) width 146: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 162x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (346,3) size 134x19
+            text run at (346,3) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (479,6) size 25x16
+              text run at (479,6) width 25: "two"
+        LayoutText {#text} at (504,3) size 751x39
+          text run at (504,3) width 250: ", which should result in a thin solid border"
+          text run at (3,23) width 137: "on the right side of the "
+        LayoutInline {STRONG} at (0,0) size 24x19
+          LayoutText {#text} at (140,23) size 24x19
+            text run at (140,23) width 24: "last"
+        LayoutText {#text} at (164,23) size 577x19
+          text run at (164,23) width 483: " box of the inline element (and the UA's default border on the other three sides). "
+          text run at (647,23) width 94: "There is also an"
+        LayoutInline {SPAN} at (0,0) size 173x19
+          LayoutText {#text} at (3,43) size 133x19
+            text run at (3,43) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x16
+            LayoutText {#text} at (136,46) size 40x16
+              text run at (136,46) width 40: "three"
+        LayoutText {#text} at (176,43) size 553x19
+          text run at (176,43) width 553: ", which should have no right border width or visible border because no border style was set."
+      LayoutTable {TABLE} at (0,197) size 784x124 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x122
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x94
+            LayoutTableCell {TD} at (0,61) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x86 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 163x19
+                  text run at (3,3) width 163: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (166,6) size 24x16
+                    text run at (166,6) width 24: "one"
+                LayoutText {#text} at (190,3) size 154x19
+                  text run at (190,3) width 8: ". "
+                  text run at (198,3) width 146: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 162x25 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (346,3) size 134x19
+                    text run at (346,3) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (479,6) size 25x16
+                      text run at (479,6) width 25: "two"
+                LayoutText {#text} at (504,3) size 706x39
+                  text run at (504,3) width 205: ", which should result in a thin solid"
+                  text run at (3,23) width 182: "border on the right side of the "
+                LayoutInline {STRONG} at (0,0) size 24x19
+                  LayoutText {#text} at (185,23) size 24x19
+                    text run at (185,23) width 24: "last"
+                LayoutText {#text} at (209,23) size 724x39
+                  text run at (209,23) width 483: " box of the inline element (and the UA's default border on the other three sides). "
+                  text run at (692,23) width 35: "There"
+                  text run at (3,43) width 59: "is also an "
+                LayoutInline {SPAN} at (0,0) size 173x19
+                  LayoutText {#text} at (62,43) size 133x19
+                    text run at (62,43) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x16
+                    LayoutText {#text} at (195,46) size 40x16
+                      text run at (195,46) width 40: "three"
+                LayoutText {#text} at (235,43) size 732x39
+                  text run at (235,43) width 500: ", which should have no right border width or visible border because no border style"
+                  text run at (3,63) width 49: "was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_style-expected.txt
new file mode 100644
index 0000000..ee8fe41
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_style-expected.txt
@@ -0,0 +1,122 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1369
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1369 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1369
+    LayoutBlockFlow {BODY} at (8,8) size 769x1353 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x192
+        LayoutText {#text} at (0,0) size 632x192
+          text run at (0,0) width 560: ".one {border-style: dotted; border-color: black; border-width: thick;}"
+          text run at (560,0) width 0: " "
+          text run at (0,16) width 560: ".two {border-style: dashed; border-color: black; border-width: thick;}"
+          text run at (560,16) width 0: " "
+          text run at (0,32) width 568: ".three {border-style: solid; border-color: black; border-width: thick;}"
+          text run at (568,32) width 0: " "
+          text run at (0,48) width 568: ".four {border-style: double; border-color: black; border-width: thick;}"
+          text run at (568,48) width 0: " "
+          text run at (0,64) width 568: ".five {border-style: groove; border-color: olive; border-width: thick;}"
+          text run at (568,64) width 0: " "
+          text run at (0,80) width 552: ".six {border-style: ridge; border-color: olive; border-width: thick;}"
+          text run at (552,80) width 0: " "
+          text run at (0,96) width 568: ".seven {border-style: inset; border-color: olive; border-width: thick;}"
+          text run at (568,96) width 0: " "
+          text run at (0,112) width 576: ".eight {border-style: outset; border-color: olive; border-width: thick;}"
+          text run at (576,112) width 0: " "
+          text run at (0,128) width 632: ".nine {border-style: double groove; border-color: purple; border-width: thick;}"
+          text run at (632,128) width 0: " "
+          text run at (0,144) width 368: ".ten {border-style: double groove ridge inset;"
+          text run at (368,144) width 0: " "
+          text run at (0,160) width 368: "   border-color: purple; border-width: thick;}"
+          text run at (368,160) width 0: " "
+          text run at (0,176) width 552: ".eleven {border-style: none; border-color: red; border-width: thick;}"
+          text run at (552,176) width 0: " "
+      LayoutBlockFlow {P} at (0,259) size 769x30 [border: (5px dotted #000000)]
+        LayoutText {#text} at (5,5) size 452x19
+          text run at (5,5) width 452: "This paragraph should have a thick black dotted border all the way around."
+      LayoutBlockFlow {P} at (0,305) size 769x30 [border: (5px dashed #000000)]
+        LayoutText {#text} at (5,5) size 456x19
+          text run at (5,5) width 456: "This paragraph should have a thick black dashed border all the way around."
+      LayoutBlockFlow {P} at (0,351) size 769x30 [border: (5px solid #000000)]
+        LayoutText {#text} at (5,5) size 441x19
+          text run at (5,5) width 441: "This paragraph should have a thick black solid border all the way around."
+      LayoutBlockFlow {P} at (0,397) size 769x30 [border: (5px double #000000)]
+        LayoutText {#text} at (5,5) size 454x19
+          text run at (5,5) width 454: "This paragraph should have a thick black double border all the way around."
+      LayoutBlockFlow {P} at (0,443) size 769x30 [border: (5px groove #808000)]
+        LayoutText {#text} at (5,5) size 450x19
+          text run at (5,5) width 450: "This paragraph should have a thick olive groove border all the way around."
+      LayoutBlockFlow {P} at (0,489) size 769x30 [border: (5px ridge #808000)]
+        LayoutText {#text} at (5,5) size 438x19
+          text run at (5,5) width 438: "This paragraph should have a thick olive ridge border all the way around."
+      LayoutBlockFlow {P} at (0,535) size 769x30 [border: (5px inset #808000)]
+        LayoutText {#text} at (5,5) size 435x19
+          text run at (5,5) width 435: "This paragraph should have a thick olive inset border all the way around."
+      LayoutBlockFlow {P} at (0,581) size 769x30 [border: (5px outset #808000)]
+        LayoutText {#text} at (5,5) size 444x19
+          text run at (5,5) width 444: "This paragraph should have a thick olive outset border all the way around."
+      LayoutBlockFlow {P} at (0,627) size 769x50 [border: (5px double #800080) (5px groove #800080) (5px double #800080) (5px groove #800080)]
+        LayoutText {#text} at (5,5) size 748x39
+          text run at (5,5) width 595: "This paragraph should have thick double top and bottom borders, and thick grooved side borders. "
+          text run at (600,5) width 153: "The color of all four sides"
+          text run at (5,25) width 163: "should be based on purple."
+      LayoutBlockFlow {P} at (0,693) size 769x50 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
+        LayoutText {#text} at (5,5) size 747x39
+          text run at (5,5) width 673: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
+          text run at (677,5) width 75: "The color of"
+          text run at (5,25) width 242: "all four sides should be based on purple."
+      LayoutBlockFlow {P} at (0,759) size 769x20
+        LayoutText {#text} at (0,0) size 265x19
+          text run at (0,0) width 265: "This paragraph should have no border at all."
+      LayoutTable {TABLE} at (0,795) size 769x558 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x556
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x528
+            LayoutTableCell {TD} at (0,278) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x528 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x30 [border: (5px dotted #000000)]
+                LayoutText {#text} at (5,5) size 452x19
+                  text run at (5,5) width 452: "This paragraph should have a thick black dotted border all the way around."
+              LayoutBlockFlow {P} at (4,50) size 747x30 [border: (5px dashed #000000)]
+                LayoutText {#text} at (5,5) size 456x19
+                  text run at (5,5) width 456: "This paragraph should have a thick black dashed border all the way around."
+              LayoutBlockFlow {P} at (4,96) size 747x30 [border: (5px solid #000000)]
+                LayoutText {#text} at (5,5) size 441x19
+                  text run at (5,5) width 441: "This paragraph should have a thick black solid border all the way around."
+              LayoutBlockFlow {P} at (4,142) size 747x30 [border: (5px double #000000)]
+                LayoutText {#text} at (5,5) size 454x19
+                  text run at (5,5) width 454: "This paragraph should have a thick black double border all the way around."
+              LayoutBlockFlow {P} at (4,188) size 747x30 [border: (5px groove #808000)]
+                LayoutText {#text} at (5,5) size 450x19
+                  text run at (5,5) width 450: "This paragraph should have a thick olive groove border all the way around."
+              LayoutBlockFlow {P} at (4,234) size 747x30 [border: (5px ridge #808000)]
+                LayoutText {#text} at (5,5) size 438x19
+                  text run at (5,5) width 438: "This paragraph should have a thick olive ridge border all the way around."
+              LayoutBlockFlow {P} at (4,280) size 747x30 [border: (5px inset #808000)]
+                LayoutText {#text} at (5,5) size 435x19
+                  text run at (5,5) width 435: "This paragraph should have a thick olive inset border all the way around."
+              LayoutBlockFlow {P} at (4,326) size 747x30 [border: (5px outset #808000)]
+                LayoutText {#text} at (5,5) size 444x19
+                  text run at (5,5) width 444: "This paragraph should have a thick olive outset border all the way around."
+              LayoutBlockFlow {P} at (4,372) size 747x50 [border: (5px double #800080) (5px groove #800080) (5px double #800080) (5px groove #800080)]
+                LayoutText {#text} at (5,5) size 714x39
+                  text run at (5,5) width 595: "This paragraph should have thick double top and bottom borders, and thick grooved side borders. "
+                  text run at (600,5) width 119: "The color of all four"
+                  text run at (5,25) width 197: "sides should be based on purple."
+              LayoutBlockFlow {P} at (4,438) size 747x50 [border: (5px double #800080) (5px groove #800080) (5px ridge #800080) (5px inset #800080)]
+                LayoutText {#text} at (5,5) size 731x39
+                  text run at (5,5) width 673: "This paragraph should have, in clockwise order from the top, a double, grooved, ridged, and inset thick border. "
+                  text run at (677,5) width 59: "The color"
+                  text run at (5,25) width 258: "of all four sides should be based on purple."
+              LayoutBlockFlow {P} at (4,504) size 747x20
+                LayoutText {#text} at (0,0) size 265x19
+                  text run at (0,0) width 265: "This paragraph should have no border at all."
+layer at (8,249) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_style_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_style_inline-expected.txt
new file mode 100644
index 0000000..1edbe6a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_style_inline-expected.txt
@@ -0,0 +1,72 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 568x48
+          text run at (0,0) width 560: ".one {border-style: dashed; border-color: black; border-width: thick;}"
+          text run at (560,0) width 0: " "
+          text run at (0,16) width 544: ".two {border-style: groove; border-color: red; border-width: thick;}"
+          text run at (544,16) width 0: " "
+          text run at (0,32) width 568: ".three {border-style: none; border-color: purple; border-width: thick;}"
+          text run at (568,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 627x19
+          text run at (0,0) width 627: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 66x29 [border: (5px dashed #000000)]
+          LayoutText {#text} at (631,0) size 56x19
+            text run at (631,0) width 56: "class one"
+        LayoutText {#text} at (691,0) size 759x39
+          text run at (691,0) width 68: ", which will"
+          text run at (0,20) width 227: "result in a dashed thick black border; "
+        LayoutInline {SPAN} at (0,0) size 66x29 [border: (5px groove #FF0000)]
+          LayoutText {#text} at (232,20) size 56x19
+            text run at (232,20) width 56: "class two"
+        LayoutText {#text} at (293,20) size 355x19
+          text run at (293,20) width 355: ", which should result in a grooved thick purple border, and "
+        LayoutInline {SPAN} at (0,0) size 64x19
+          LayoutText {#text} at (647,20) size 64x19
+            text run at (647,20) width 64: "class three"
+        LayoutText {#text} at (710,20) size 754x39
+          text run at (710,20) width 44: ", which"
+          text run at (0,40) width 193: "should result in no border at all. "
+          text run at (193,40) width 406: "The line-height of the parent element should not change, on any line."
+      LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 627x19
+                  text run at (0,0) width 627: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 66x29 [border: (5px dashed #000000)]
+                  LayoutText {#text} at (631,0) size 56x19
+                    text run at (631,0) width 56: "class one"
+                LayoutText {#text} at (691,0) size 759x39
+                  text run at (691,0) width 68: ", which will"
+                  text run at (0,20) width 227: "result in a dashed thick black border; "
+                LayoutInline {SPAN} at (0,0) size 66x29 [border: (5px groove #FF0000)]
+                  LayoutText {#text} at (232,20) size 56x19
+                    text run at (232,20) width 56: "class two"
+                LayoutText {#text} at (293,20) size 355x19
+                  text run at (293,20) width 355: ", which should result in a grooved thick purple border, and "
+                LayoutInline {SPAN} at (0,0) size 64x19
+                  LayoutText {#text} at (647,20) size 64x19
+                    text run at (647,20) width 64: "class three"
+                LayoutText {#text} at (710,20) size 754x39
+                  text run at (710,20) width 44: ", which"
+                  text run at (0,40) width 193: "should result in no border at all. "
+                  text run at (193,40) width 406: "The line-height of the parent element should not change, on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top-expected.txt
new file mode 100644
index 0000000..14b69b4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top-expected.txt
@@ -0,0 +1,152 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1023
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1023 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1023
+    LayoutBlockFlow {BODY} at (8,8) size 769x1007 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 320x64
+          text run at (0,0) width 304: ".one {border-top: purple double 10px;}"
+          text run at (304,0) width 0: " "
+          text run at (0,16) width 296: ".two {border-top: purple thin solid;}"
+          text run at (296,16) width 0: " "
+          text run at (0,32) width 320: ".three {border-top: black medium solid;}"
+          text run at (320,32) width 0: " "
+          text run at (0,48) width 264: "TD {border-top: green 2px solid;}"
+          text run at (264,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x40
+        LayoutText {#text} at (0,0) size 767x39
+          text run at (0,0) width 606: "Note that all table cells on this page should have a two-pixel solid green border along their top sides. "
+          text run at (606,0) width 161: "This border applies only to"
+          text run at (0,20) width 254: "the cells, not the rows which contain them."
+      LayoutBlockFlow {P} at (0,187) size 769x30 [border: (10px double #800080) none]
+        LayoutText {#text} at (0,10) size 398x19
+          text run at (0,10) width 398: "This paragraph should have a purple, double, 10-pixel top border."
+      LayoutBlockFlow {P} at (0,233) size 769x21 [border: (1px solid #800080) none]
+        LayoutText {#text} at (0,1) size 316x19
+          text run at (0,1) width 316: "This paragraph should have a thin purple top border."
+      LayoutTable {TABLE} at (0,270) size 769x118 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x116
+          LayoutTableRow {TR} at (0,5) size 767x45
+            LayoutTableCell {TD} at (5,5) size 757x45 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutText {#text} at (2,3) size 745x39
+                text run at (2,3) width 408: "Every cell in this table should have a 2-pixel solid green top border. "
+                text run at (409,3) width 338: "This is also true of the table-testing section in the second"
+                text run at (2,23) width 121: "half of the test page."
+          LayoutTableRow {TR} at (0,55) size 767x56
+            LayoutTableCell {TD} at (5,70) size 190x25 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (2,3) size 50x19
+                text run at (2,3) width 50: "Cell one"
+            LayoutTableCell {TD} at (200,55) size 562x56 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (2,3) size 558x20
+                LayoutText {#text} at (0,0) size 51x19
+                  text run at (0,0) width 51: "Cell two"
+              LayoutTable {TABLE} at (2,23) size 155x31 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 153x29
+                  LayoutTableRow {TR} at (0,2) size 153x25
+                    LayoutTableCell {TD} at (2,2) size 149x25 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,3) size 145x19
+                        text run at (2,3) width 145: "Nested single-cell table!"
+      LayoutBlockFlow {UL} at (0,404) size 769x129
+        LayoutListItem {LI} at (40,0) size 729x83 [border: (3px solid #000000) none]
+          LayoutBlockFlow (anonymous) at (0,3) size 729x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 110x19
+              text run at (0,0) width 110: "This is a list item..."
+          LayoutBlockFlow {UL} at (0,23) size 729x60
+            LayoutListItem {LI} at (40,0) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 70x19
+                text run at (0,0) width 70: "...and this..."
+            LayoutListItem {LI} at (40,20) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 111x19
+                text run at (0,0) width 111: "...is a second list..."
+            LayoutListItem {LI} at (40,40) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 165x19
+                text run at (0,0) width 165: "...nested within the list item."
+        LayoutListItem {LI} at (40,83) size 729x23 [border: (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-18,3) size 7x19: bullet
+          LayoutText {#text} at (0,3) size 149x19
+            text run at (0,3) width 149: "This is a second list item."
+        LayoutListItem {LI} at (40,106) size 729x23 [border: (3px solid #000000) none]
+          LayoutListMarker (anonymous) at (-18,3) size 7x19: bullet
+          LayoutText {#text} at (0,3) size 455x19
+            text run at (0,3) width 455: "Each list item in this list should have a medium-width black border at its top."
+      LayoutTable {TABLE} at (0,549) size 769x458 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x456
+          LayoutTableRow {TR} at (0,0) size 767x29
+            LayoutTableCell {TD} at (0,0) size 767x29 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,5) size 157x19
+                  text run at (4,5) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,29) size 767x427
+            LayoutTableCell {TD} at (0,228) size 12x29 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,5) size 4x19
+                text run at (4,5) width 4: " "
+            LayoutTableCell {TD} at (12,29) size 755x427 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,5) size 747x40
+                LayoutText {#text} at (0,0) size 722x39
+                  text run at (0,0) width 606: "Note that all table cells on this page should have a two-pixel solid green border along their top sides. "
+                  text run at (606,0) width 116: "This border applies"
+                  text run at (0,20) width 299: "only to the cells, not the rows which contain them."
+              LayoutBlockFlow {P} at (4,61) size 747x30 [border: (10px double #800080) none]
+                LayoutText {#text} at (0,10) size 398x19
+                  text run at (0,10) width 398: "This paragraph should have a purple, double, 10-pixel top border."
+              LayoutBlockFlow {P} at (4,107) size 747x21 [border: (1px solid #800080) none]
+                LayoutText {#text} at (0,1) size 316x19
+                  text run at (0,1) width 316: "This paragraph should have a thin purple top border."
+              LayoutTable {TABLE} at (4,144) size 747x118 [border: (1px outset #808080)]
+                LayoutTableSection {TBODY} at (1,1) size 745x116
+                  LayoutTableRow {TR} at (0,5) size 745x45
+                    LayoutTableCell {TD} at (5,5) size 735x45 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+                      LayoutText {#text} at (2,3) size 698x39
+                        text run at (2,3) width 408: "Every cell in this table should have a 2-pixel solid green top border. "
+                        text run at (409,3) width 291: "This is also true of the table-testing section in the"
+                        text run at (2,23) width 168: "second half of the test page."
+                  LayoutTableRow {TR} at (0,55) size 745x56
+                    LayoutTableCell {TD} at (5,70) size 184x25 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+                      LayoutText {#text} at (2,3) size 50x19
+                        text run at (2,3) width 50: "Cell one"
+                    LayoutTableCell {TD} at (194,55) size 546x56 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+                      LayoutBlockFlow (anonymous) at (2,3) size 542x20
+                        LayoutText {#text} at (0,0) size 51x19
+                          text run at (0,0) width 51: "Cell two"
+                      LayoutTable {TABLE} at (2,23) size 155x31 [border: (1px outset #808080)]
+                        LayoutTableSection {TBODY} at (1,1) size 153x29
+                          LayoutTableRow {TR} at (0,2) size 153x25
+                            LayoutTableCell {TD} at (2,2) size 149x25 [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                              LayoutText {#text} at (2,3) size 145x19
+                                text run at (2,3) width 145: "Nested single-cell table!"
+              LayoutBlockFlow {UL} at (4,278) size 747x129
+                LayoutListItem {LI} at (40,0) size 707x83 [border: (3px solid #000000) none]
+                  LayoutBlockFlow (anonymous) at (0,3) size 707x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 110x19
+                      text run at (0,0) width 110: "This is a list item..."
+                  LayoutBlockFlow {UL} at (0,23) size 707x60
+                    LayoutListItem {LI} at (40,0) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 70x19
+                        text run at (0,0) width 70: "...and this..."
+                    LayoutListItem {LI} at (40,20) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 111x19
+                        text run at (0,0) width 111: "...is a second list..."
+                    LayoutListItem {LI} at (40,40) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 165x19
+                        text run at (0,0) width 165: "...nested within the list item."
+                LayoutListItem {LI} at (40,83) size 707x23 [border: (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-18,3) size 7x19: bullet
+                  LayoutText {#text} at (0,3) size 149x19
+                    text run at (0,3) width 149: "This is a second list item."
+                LayoutListItem {LI} at (40,106) size 707x23 [border: (3px solid #000000) none]
+                  LayoutListMarker (anonymous) at (-18,3) size 7x19: bullet
+                  LayoutText {#text} at (0,3) size 455x19
+                    text run at (0,3) width 455: "Each list item in this list should have a medium-width black border at its top."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top_inline-expected.txt
new file mode 100644
index 0000000..c4cf7b2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top_inline-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 304x48
+          text run at (0,0) width 304: ".one {border-top: purple double 10px;}"
+          text run at (304,0) width 0: " "
+          text run at (0,16) width 296: ".two {border-top: purple thin solid;}"
+          text run at (296,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x60 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 627x19
+          text run at (0,0) width 627: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+        LayoutInline {SPAN} at (0,0) size 56x29 [border: (10px double #800080) none]
+          LayoutText {#text} at (626,0) size 56x19
+            text run at (626,0) width 56: "class one"
+        LayoutText {#text} at (681,0) size 768x39
+          text run at (681,0) width 87: ", which should"
+          text run at (0,20) width 283: "have a 10-pixel purple double top border; and "
+        LayoutInline {SPAN} at (0,0) size 56x20 [border: (1px solid #800080) none]
+          LayoutText {#text} at (283,20) size 56x19
+            text run at (283,20) width 56: "class two"
+        LayoutText {#text} at (339,20) size 770x39
+          text run at (339,20) width 305: ", which should have a thin solid purple top border. "
+          text run at (643,20) width 127: "The line-height of the"
+          text run at (0,40) width 272: "parent element should not change on any line."
+      LayoutTable {TABLE} at (0,191) size 784x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x96
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 627x19
+                  text run at (0,0) width 627: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
+                LayoutInline {SPAN} at (0,0) size 56x29 [border: (10px double #800080) none]
+                  LayoutText {#text} at (626,0) size 56x19
+                    text run at (626,0) width 56: "class one"
+                LayoutText {#text} at (681,0) size 725x39
+                  text run at (681,0) width 44: ", which"
+                  text run at (0,20) width 326: "should have a 10-pixel purple double top border; and "
+                LayoutInline {SPAN} at (0,0) size 56x20 [border: (1px solid #800080) none]
+                  LayoutText {#text} at (326,20) size 56x19
+                    text run at (326,20) width 56: "class two"
+                LayoutText {#text} at (382,20) size 740x39
+                  text run at (382,20) width 305: ", which should have a thin solid purple top border. "
+                  text run at (686,20) width 54: "The line-"
+                  text run at (0,40) width 349: "height of the parent element should not change on any line."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top_width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top_width-expected.txt
new file mode 100644
index 0000000..9ee9b57
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top_width-expected.txt
@@ -0,0 +1,98 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 797
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x797 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x797
+    LayoutBlockFlow {BODY} at (8,8) size 769x781 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 440x96
+          text run at (0,0) width 432: ".zero {background-color: silver; border-top-width: 0;}"
+          text run at (432,0) width 0: " "
+          text run at (0,16) width 408: ".one {border-top-width: 25px; border-style: solid;}"
+          text run at (408,16) width 0: " "
+          text run at (0,32) width 416: ".two {border-top-width: thick; border-style: solid;}"
+          text run at (416,32) width 0: " "
+          text run at (0,48) width 440: ".three {border-top-width: medium; border-style: solid;}"
+          text run at (440,48) width 0: " "
+          text run at (0,64) width 416: ".four {border-top-width: thin; border-style: solid;}"
+          text run at (416,64) width 0: " "
+          text run at (0,80) width 248: ".five {border-top-width: 25px;}"
+          text run at (248,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 145x19
+          text run at (0,0) width 145: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (145,3) size 96x16
+            text run at (145,3) width 96: "border-style"
+        LayoutText {#text} at (241,0) size 87x19
+          text run at (241,0) width 87: " is supported.)"
+      LayoutBlockFlow {P} at (0,199) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,235) size 769x48 [border: (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,25) size 360x19
+          text run at (3,25) width 360: "This paragraph should have a top border width of 25 pixels."
+      LayoutBlockFlow {P} at (0,299) size 769x28 [border: (5px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,5) size 319x19
+          text run at (3,5) width 319: "This paragraph should have a thick top border width."
+      LayoutBlockFlow {P} at (0,343) size 769x26 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 337x19
+          text run at (3,3) width 337: "This paragraph should have a medium top border width."
+      LayoutBlockFlow {P} at (0,385) size 769x24 [border: (1px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,1) size 311x19
+          text run at (3,1) width 311: "This paragraph should have a thin top border width."
+      LayoutBlockFlow {P} at (0,425) size 769x20
+        LayoutText {#text} at (0,0) size 502x19
+          text run at (0,0) width 502: "This paragraph should have no border and no extra \"padding\" on its top side, as no "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (502,3) size 96x16
+            text run at (502,3) width 96: "border-style"
+        LayoutText {#text} at (598,0) size 53x19
+          text run at (598,0) width 53: " was set."
+      LayoutTable {TABLE} at (0,461) size 673x320 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 671x318
+          LayoutTableRow {TR} at (0,0) size 671x28
+            LayoutTableCell {TD} at (0,0) size 671x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 671x290
+            LayoutTableCell {TD} at (0,159) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 659x290 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 651x20
+                LayoutText {#text} at (0,0) size 145x19
+                  text run at (0,0) width 145: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (145,3) size 96x16
+                    text run at (145,3) width 96: "border-style"
+                LayoutText {#text} at (241,0) size 87x19
+                  text run at (241,0) width 87: " is supported.)"
+              LayoutBlockFlow {P} at (4,40) size 651x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,76) size 651x48 [border: (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,25) size 360x19
+                  text run at (3,25) width 360: "This paragraph should have a top border width of 25 pixels."
+              LayoutBlockFlow {P} at (4,140) size 651x28 [border: (5px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,5) size 319x19
+                  text run at (3,5) width 319: "This paragraph should have a thick top border width."
+              LayoutBlockFlow {P} at (4,184) size 651x26 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 337x19
+                  text run at (3,3) width 337: "This paragraph should have a medium top border width."
+              LayoutBlockFlow {P} at (4,226) size 651x24 [border: (1px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,1) size 311x19
+                  text run at (3,1) width 311: "This paragraph should have a thin top border width."
+              LayoutBlockFlow {P} at (4,266) size 651x20
+                LayoutText {#text} at (0,0) size 502x19
+                  text run at (0,0) width 502: "This paragraph should have no border and no extra \"padding\" on its top side, as no "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (502,3) size 96x16
+                    text run at (502,3) width 96: "border-style"
+                LayoutText {#text} at (598,0) size 53x19
+                  text run at (598,0) width 53: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top_width_inline-expected.txt
new file mode 100644
index 0000000..beb54d6f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_top_width_inline-expected.txt
@@ -0,0 +1,86 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 408x48
+          text run at (0,0) width 408: ".one {border-top-width: 25px; border-style: solid;}"
+          text run at (408,0) width 0: " "
+          text run at (0,16) width 408: ".two {border-top-width: thin; border-style: solid;}"
+          text run at (408,16) width 0: " "
+          text run at (0,32) width 256: ".three {border-top-width: 25px;}"
+          text run at (256,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x88 [border: (25px solid #000000) (3px solid #000000)]
+        LayoutText {#text} at (3,25) size 163x19
+          text run at (3,25) width 163: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (166,28) size 24x16
+            text run at (166,28) width 24: "one"
+        LayoutText {#text} at (190,25) size 154x19
+          text run at (190,25) width 8: ". "
+          text run at (198,25) width 146: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 164x23 [border: (1px solid #000000) (3px solid #000000)]
+          LayoutText {#text} at (346,25) size 134x19
+            text run at (346,25) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (479,28) size 25x16
+              text run at (479,28) width 25: "two"
+        LayoutText {#text} at (506,25) size 772x39
+          text run at (506,25) width 269: ", which should result in a thin solid border on"
+          text run at (3,45) width 599: "the top side of each box in the inline element (and the UA's default border on the other three sides). "
+          text run at (602,45) width 98: "There is also an "
+        LayoutInline {SPAN} at (0,0) size 777x39
+          LayoutText {#text} at (700,45) size 777x39
+            text run at (700,45) width 80: "inline element"
+            text run at (3,65) width 49: "of class "
+          LayoutInline {TT} at (0,0) size 40x16
+            LayoutText {#text} at (52,68) size 40x16
+              text run at (52,68) width 40: "three"
+        LayoutText {#text} at (92,65) size 547x19
+          text run at (92,65) width 547: ", which should have no top border width or visible border because no border style was set."
+      LayoutTable {TABLE} at (0,219) size 784x126 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x124
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x96
+            LayoutTableCell {TD} at (0,62) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x96 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x88 [border: (25px solid #000000) (3px solid #000000)]
+                LayoutText {#text} at (3,25) size 163x19
+                  text run at (3,25) width 163: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (166,28) size 24x16
+                    text run at (166,28) width 24: "one"
+                LayoutText {#text} at (190,25) size 154x19
+                  text run at (190,25) width 8: ". "
+                  text run at (198,25) width 146: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 164x23 [border: (1px solid #000000) (3px solid #000000)]
+                  LayoutText {#text} at (346,25) size 134x19
+                    text run at (346,25) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (479,28) size 25x16
+                      text run at (479,28) width 25: "two"
+                LayoutText {#text} at (506,25) size 753x39
+                  text run at (506,25) width 250: ", which should result in a thin solid border"
+                  text run at (3,45) width 618: "on the top side of each box in the inline element (and the UA's default border on the other three sides). "
+                  text run at (621,45) width 98: "There is also an "
+                LayoutInline {SPAN} at (0,0) size 746x39
+                  LayoutText {#text} at (719,45) size 746x39
+                    text run at (719,45) width 30: "inline"
+                    text run at (3,65) width 99: "element of class "
+                  LayoutInline {TT} at (0,0) size 40x16
+                    LayoutText {#text} at (102,68) size 40x16
+                      text run at (102,68) width 40: "three"
+                LayoutText {#text} at (142,65) size 547x19
+                  text run at (142,65) width 547: ", which should have no top border width or visible border because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_width-expected.txt
new file mode 100644
index 0000000..bb0a020
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_width-expected.txt
@@ -0,0 +1,98 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 941
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x941 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x941
+    LayoutBlockFlow {BODY} at (8,8) size 769x925 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 408x96
+          text run at (0,0) width 400: ".zero {background-color: silver; border-width: 0;}"
+          text run at (400,0) width 0: " "
+          text run at (0,16) width 376: ".one {border-width: 50px; border-style: solid;}"
+          text run at (376,16) width 0: " "
+          text run at (0,32) width 384: ".two {border-width: thick; border-style: solid;}"
+          text run at (384,32) width 0: " "
+          text run at (0,48) width 408: ".three {border-width: medium; border-style: solid;}"
+          text run at (408,48) width 0: " "
+          text run at (0,64) width 384: ".four {border-width: thin; border-style: solid;}"
+          text run at (384,64) width 0: " "
+          text run at (0,80) width 216: ".five {border-width: 25px;}"
+          text run at (216,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 145x19
+          text run at (0,0) width 145: "(These will only work if "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (145,3) size 96x16
+            text run at (145,3) width 96: "border-style"
+        LayoutText {#text} at (241,0) size 87x19
+          text run at (241,0) width 87: " is supported.)"
+      LayoutBlockFlow {P} at (0,199) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,235) size 769x120 [border: (50px solid #000000)]
+        LayoutText {#text} at (50,50) size 372x19
+          text run at (50,50) width 372: "This element should have an overall border width of 50 pixels."
+      LayoutBlockFlow {P} at (0,371) size 769x30 [border: (5px solid #000000)]
+        LayoutText {#text} at (5,5) size 324x19
+          text run at (5,5) width 324: "This element should have a thick overall border width."
+      LayoutBlockFlow {P} at (0,417) size 769x26 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 342x19
+          text run at (3,3) width 342: "This element should have a medium overall border width."
+      LayoutBlockFlow {P} at (0,459) size 769x22 [border: (1px solid #000000)]
+        LayoutText {#text} at (1,1) size 316x19
+          text run at (1,1) width 316: "This element should have a thin overall border width."
+      LayoutBlockFlow {P} at (0,497) size 769x20
+        LayoutText {#text} at (0,0) size 471x19
+          text run at (0,0) width 471: "This element should have no border and no extra \"padding\" on any side, as no "
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (471,3) size 96x16
+            text run at (471,3) width 96: "border-style"
+        LayoutText {#text} at (567,0) size 53x19
+          text run at (567,0) width 53: " was set."
+      LayoutTable {TABLE} at (0,533) size 642x392 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 640x390
+          LayoutTableRow {TR} at (0,0) size 640x28
+            LayoutTableCell {TD} at (0,0) size 640x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 640x362
+            LayoutTableCell {TD} at (0,195) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 628x362 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 620x20
+                LayoutText {#text} at (0,0) size 145x19
+                  text run at (0,0) width 145: "(These will only work if "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (145,3) size 96x16
+                    text run at (145,3) width 96: "border-style"
+                LayoutText {#text} at (241,0) size 87x19
+                  text run at (241,0) width 87: " is supported.)"
+              LayoutBlockFlow {P} at (4,40) size 620x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,76) size 620x120 [border: (50px solid #000000)]
+                LayoutText {#text} at (50,50) size 372x19
+                  text run at (50,50) width 372: "This element should have an overall border width of 50 pixels."
+              LayoutBlockFlow {P} at (4,212) size 620x30 [border: (5px solid #000000)]
+                LayoutText {#text} at (5,5) size 324x19
+                  text run at (5,5) width 324: "This element should have a thick overall border width."
+              LayoutBlockFlow {P} at (4,258) size 620x26 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 342x19
+                  text run at (3,3) width 342: "This element should have a medium overall border width."
+              LayoutBlockFlow {P} at (4,300) size 620x22 [border: (1px solid #000000)]
+                LayoutText {#text} at (1,1) size 316x19
+                  text run at (1,1) width 316: "This element should have a thin overall border width."
+              LayoutBlockFlow {P} at (4,338) size 620x20
+                LayoutText {#text} at (0,0) size 471x19
+                  text run at (0,0) width 471: "This element should have no border and no extra \"padding\" on any side, as no "
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (471,3) size 96x16
+                    text run at (471,3) width 96: "border-style"
+                LayoutText {#text} at (567,0) size 53x19
+                  text run at (567,0) width 53: " was set."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_width_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_width_inline-expected.txt
new file mode 100644
index 0000000..5be22b3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/border_width_inline-expected.txt
@@ -0,0 +1,86 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 376x48
+          text run at (0,0) width 376: ".one {border-width: 25px; border-style: solid;}"
+          text run at (376,0) width 0: " "
+          text run at (0,16) width 376: ".two {border-width: thin; border-style: solid;}"
+          text run at (376,16) width 0: " "
+          text run at (0,32) width 224: ".three {border-width: 25px;}"
+          text run at (224,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x110 [border: (25px solid #000000)]
+        LayoutText {#text} at (25,25) size 163x19
+          text run at (25,25) width 163: "This element has a class of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (188,28) size 24x16
+            text run at (188,28) width 24: "one"
+        LayoutText {#text} at (212,25) size 154x19
+          text run at (212,25) width 8: ". "
+          text run at (220,25) width 146: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 160x21 [border: (1px solid #000000)]
+          LayoutText {#text} at (366,25) size 134x19
+            text run at (366,25) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (499,28) size 25x16
+              text run at (499,28) width 25: "two"
+        LayoutText {#text} at (524,25) size 704x39
+          text run at (524,25) width 205: ", which should result in a thin solid"
+          text run at (25,45) width 323: "border on each side of each box in the inline element. "
+          text run at (348,45) width 98: "There is also an "
+        LayoutInline {SPAN} at (0,0) size 173x19
+          LayoutText {#text} at (446,45) size 133x19
+            text run at (446,45) width 133: "inline element of class "
+          LayoutInline {TT} at (0,0) size 40x16
+            LayoutText {#text} at (579,48) size 40x16
+              text run at (579,48) width 40: "three"
+        LayoutText {#text} at (619,45) size 731x39
+          text run at (619,45) width 137: ", which should have no"
+          text run at (25,65) width 279: "border width because no border style was set."
+      LayoutTable {TABLE} at (0,241) size 784x148 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x146
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x118
+            LayoutTableCell {TD} at (0,73) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x118 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x110 [border: (25px solid #000000)]
+                LayoutText {#text} at (25,25) size 163x19
+                  text run at (25,25) width 163: "This element has a class of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (188,28) size 24x16
+                    text run at (188,28) width 24: "one"
+                LayoutText {#text} at (212,25) size 154x19
+                  text run at (212,25) width 8: ". "
+                  text run at (220,25) width 146: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 160x21 [border: (1px solid #000000)]
+                  LayoutText {#text} at (366,25) size 134x19
+                    text run at (366,25) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (499,28) size 25x16
+                      text run at (499,28) width 25: "two"
+                LayoutText {#text} at (524,25) size 704x39
+                  text run at (524,25) width 205: ", which should result in a thin solid"
+                  text run at (25,45) width 323: "border on each side of each box in the inline element. "
+                  text run at (348,45) width 98: "There is also an "
+                LayoutInline {SPAN} at (0,0) size 173x19
+                  LayoutText {#text} at (446,45) size 133x19
+                    text run at (446,45) width 133: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 40x16
+                    LayoutText {#text} at (579,48) size 40x16
+                      text run at (579,48) width 40: "three"
+                LayoutText {#text} at (619,45) size 712x39
+                  text run at (619,45) width 118: ", which should have"
+                  text run at (25,65) width 298: "no border width because no border style was set."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/clear-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/clear-expected.txt
new file mode 100644
index 0000000..e20d83b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/clear-expected.txt
@@ -0,0 +1,92 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1005
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1005 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1005
+    LayoutBlockFlow {BODY} at (8,8) size 769x989 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 168x64
+          text run at (0,0) width 152: ".one {clear: left;}"
+          text run at (152,0) width 0: " "
+          text run at (0,16) width 160: ".two {clear: right;}"
+          text run at (160,16) width 0: " "
+          text run at (0,32) width 168: ".three {clear: both;}"
+          text run at (168,32) width 0: " "
+          text run at (0,48) width 160: ".four {clear: none;}"
+          text run at (160,48) width 0: " "
+      LayoutImage (floating) {IMG} at (0,123) size 15x50
+      LayoutBlockFlow {P} at (0,131) size 769x20
+        LayoutText {#text} at (18,0) size 562x19
+          text run at (18,0) width 562: "This text should be flowing past a tall orange rectangle on the left side of the browser window."
+      LayoutBlockFlow (anonymous) at (0,167) size 769x20
+        LayoutBR {BR} at (18,0) size 0x19
+        LayoutImage (floating) {IMG} at (0,20) size 15x50
+      LayoutBlockFlow {P} at (0,237) size 769x20
+        LayoutText {#text} at (0,0) size 620x19
+          text run at (0,0) width 620: "This paragraph should appear below the tall orange rectangle above and to the left, and not flow past it."
+      LayoutBlockFlow (anonymous) at (0,273) size 769x20
+        LayoutBR {BR} at (0,0) size 0x19
+        LayoutImage (floating) {IMG} at (754,20) size 15x50
+      LayoutBlockFlow {P} at (0,343) size 769x20
+        LayoutText {#text} at (0,0) size 628x19
+          text run at (0,0) width 628: "This paragraph should appear below the tall orange rectangle above and to the right, and not flow past it."
+      LayoutBlockFlow (anonymous) at (0,379) size 769x20
+        LayoutBR {BR} at (0,0) size 0x19
+        LayoutImage (floating) {IMG} at (0,20) size 15x50
+        LayoutImage (floating) {IMG} at (754,20) size 15x50
+      LayoutBlockFlow {P} at (0,449) size 769x20
+        LayoutText {#text} at (0,0) size 574x19
+          text run at (0,0) width 574: "This paragraph should appear below the two tall orange rectangles, and not flow between them."
+      LayoutImage (floating) {IMG} at (0,485) size 15x50
+      LayoutImage (floating) {IMG} at (754,485) size 15x50
+      LayoutBlockFlow {P} at (0,485) size 769x20
+        LayoutText {#text} at (18,0) size 372x19
+          text run at (18,0) width 372: "This paragraph should be between both tall orange rectangles."
+      LayoutBlockFlow (anonymous) at (0,521) size 769x20
+        LayoutBR {BR} at (18,0) size 0x19
+      LayoutTable {TABLE} at (0,541) size 650x448 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 648x446
+          LayoutTableRow {TR} at (0,0) size 648x28
+            LayoutTableCell {TD} at (0,0) size 648x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 648x418
+            LayoutTableCell {TD} at (0,223) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 636x418 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutImage (floating) {IMG} at (4,4) size 15x50
+              LayoutBlockFlow {P} at (4,4) size 628x20
+                LayoutText {#text} at (18,0) size 562x19
+                  text run at (18,0) width 562: "This text should be flowing past a tall orange rectangle on the left side of the browser window."
+              LayoutBlockFlow (anonymous) at (4,40) size 628x20
+                LayoutBR {BR} at (18,0) size 0x19
+                LayoutImage (floating) {IMG} at (0,20) size 15x50
+              LayoutBlockFlow {P} at (4,110) size 628x20
+                LayoutText {#text} at (0,0) size 620x19
+                  text run at (0,0) width 620: "This paragraph should appear below the tall orange rectangle above and to the left, and not flow past it."
+              LayoutBlockFlow (anonymous) at (4,146) size 628x20
+                LayoutBR {BR} at (0,0) size 0x19
+                LayoutImage (floating) {IMG} at (613,20) size 15x50
+              LayoutBlockFlow {P} at (4,216) size 628x20
+                LayoutText {#text} at (0,0) size 628x19
+                  text run at (0,0) width 628: "This paragraph should appear below the tall orange rectangle above and to the right, and not flow past it."
+              LayoutBlockFlow (anonymous) at (4,252) size 628x20
+                LayoutBR {BR} at (0,0) size 0x19
+                LayoutImage (floating) {IMG} at (0,20) size 15x50
+                LayoutImage (floating) {IMG} at (613,20) size 15x50
+              LayoutBlockFlow {P} at (4,322) size 628x20
+                LayoutText {#text} at (0,0) size 574x19
+                  text run at (0,0) width 574: "This paragraph should appear below the two tall orange rectangles, and not flow between them."
+              LayoutImage (floating) {IMG} at (4,358) size 15x50
+              LayoutImage (floating) {IMG} at (617,358) size 15x50
+              LayoutBlockFlow {P} at (4,358) size 628x20
+                LayoutText {#text} at (18,0) size 372x19
+                  text run at (18,0) width 372: "This paragraph should be between both tall orange rectangles."
+              LayoutBlockFlow (anonymous) at (4,394) size 628x20
+                LayoutBR {BR} at (18,0) size 0x19
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/clear_float-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/clear_float-expected.txt
new file mode 100644
index 0000000..44659029
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/clear_float-expected.txt
@@ -0,0 +1,160 @@
+layer at (0,0) size 800x600 scrollHeight 806
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x806 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x805.88
+    LayoutBlockFlow {BODY} at (8,8) size 784x789.88 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,33) size 784x144
+        LayoutText {#text} at (0,0) size 616x144
+          text run at (0,0) width 392: "P { margin: 0; padding: 0; text-align:  justify;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 0: " "
+          text run at (0,32) width 384: "DIV.menu {float: left; clear: left; width: 11em;"
+          text run at (384,32) width 0: " "
+          text run at (0,48) width 464: "          margin: 0; margin-bottom: 10px; padding: 0.5em;}"
+          text run at (464,48) width 0: " "
+          text run at (0,64) width 432: "DIV.menu H1 {font-size: 1.2em; margin: 0; padding: 0;}"
+          text run at (432,64) width 0: " "
+          text run at (0,80) width 448: "DIV.menu UL {margin: 0.2em 0.3em 0.2em 1em; padding: 0;}"
+          text run at (448,80) width 0: " "
+          text run at (0,96) width 616: "DIV.article {padding: 0.5em; margin: 0; margin-left: 14em; margin-right: 2em;"
+          text run at (616,96) width 0: " "
+          text run at (0,112) width 480: "             color: black; background: yellow; clear: none;}"
+          text run at (480,112) width 0: " "
+          text run at (0,128) width 0: " "
+      LayoutBlockFlow (floating) {DIV} at (0,200) size 192x125.38 [color=#FFFFFF] [bgcolor=#008000]
+        LayoutBlockFlow {H1} at (8,8) size 176x23
+          LayoutText {#text} at (0,0) size 81x22
+            text run at (0,0) width 81: "Top menu"
+        LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
+          LayoutListItem {LI} at (0,0) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 33x19
+              text run at (0,0) width 33: "green"
+          LayoutListItem {LI} at (0,20) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 58x19
+              text run at (0,0) width 58: "white text"
+          LayoutListItem {LI} at (0,40) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 90x19
+              text run at (0,0) width 90: "0.5em padding"
+          LayoutListItem {LI} at (0,60) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 82x19
+              text run at (0,0) width 82: "0.5em margin"
+      LayoutBlockFlow (floating) {DIV} at (0,335.38) size 192x125.38 [color=#FFFFFF] [bgcolor=#0000FF]
+        LayoutBlockFlow {H1} at (8,8) size 176x23
+          LayoutText {#text} at (0,0) size 109x22
+            text run at (0,0) width 109: "Bottom menu"
+        LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
+          LayoutListItem {LI} at (0,0) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 101x19
+              text run at (0,0) width 101: "blue background"
+          LayoutListItem {LI} at (0,20) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 58x19
+              text run at (0,0) width 58: "white text"
+          LayoutListItem {LI} at (0,40) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 90x19
+              text run at (0,0) width 90: "0.5em padding"
+          LayoutListItem {LI} at (0,60) size 155.20x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 82x19
+              text run at (0,0) width 82: "0.5em margin"
+      LayoutBlockFlow {DIV} at (224,200) size 528x235.88 [bgcolor=#FFFF00]
+        LayoutBlockFlow {H1} at (8,29.44) size 512x37
+          LayoutText {#text} at (0,0) size 274x36
+            text run at (0,0) width 274: "The 'clear' property"
+        LayoutBlockFlow {P} at (8,87.88) size 512x100
+          LayoutText {#text} at (0,0) size 512x99
+            text run at (0,0) width 512: "This page has two floating \"menus\" on the side; one has a green background, and the"
+            text run at (0,20) width 157: "other a blue background. "
+            text run at (157,20) width 355: "Due to settings on the 'float' and 'clear' properties, the two"
+            text run at (0,40) width 512: "menus should appear on the left side of the page, the blue below the green. There"
+            text run at (0,60) width 512: "should be a 10px gap between the two menus. There should also be a 10px gap"
+            text run at (0,80) width 280: "between the top menu and the top of the page."
+        LayoutBlockFlow {P} at (8,187.88) size 512x40
+          LayoutText {#text} at (0,0) size 512x39
+            text run at (0,0) width 512: "The top of the yellow rectangle (to which this paragraph belongs) should be vertically"
+            text run at (0,20) width 254: "aligned with the top of the green rectangle."
+      LayoutTable {TABLE} at (192,435.88) size 592x354 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 590x352
+          LayoutTableRow {TR} at (0,0) size 590x28
+            LayoutTableCell {TD} at (0,0) size 590x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 590x324
+            LayoutTableCell {TD} at (0,176) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 578x323.88 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (floating) {DIV} at (4,4) size 192x125.38 [color=#FFFFFF] [bgcolor=#008000]
+                LayoutBlockFlow {H1} at (8,8) size 176x23
+                  LayoutText {#text} at (0,0) size 81x22
+                    text run at (0,0) width 81: "Top menu"
+                LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
+                  LayoutListItem {LI} at (0,0) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 33x19
+                      text run at (0,0) width 33: "green"
+                  LayoutListItem {LI} at (0,20) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 58x19
+                      text run at (0,0) width 58: "white text"
+                  LayoutListItem {LI} at (0,40) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 90x19
+                      text run at (0,0) width 90: "0.5em padding"
+                  LayoutListItem {LI} at (0,60) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 82x19
+                      text run at (0,0) width 82: "0.5em margin"
+              LayoutBlockFlow (floating) {DIV} at (4,139.38) size 192x125.38 [color=#FFFFFF] [bgcolor=#0000FF]
+                LayoutBlockFlow {H1} at (8,8) size 176x23
+                  LayoutText {#text} at (0,0) size 109x22
+                    text run at (0,0) width 109: "Bottom menu"
+                LayoutBlockFlow {UL} at (24,34.19) size 155.20x80
+                  LayoutListItem {LI} at (0,0) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 101x19
+                      text run at (0,0) width 101: "blue background"
+                  LayoutListItem {LI} at (0,20) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 58x19
+                      text run at (0,0) width 58: "white text"
+                  LayoutListItem {LI} at (0,40) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 90x19
+                      text run at (0,0) width 90: "0.5em padding"
+                  LayoutListItem {LI} at (0,60) size 155.20x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 82x19
+                      text run at (0,0) width 82: "0.5em margin"
+              LayoutBlockFlow {DIV} at (228,4) size 314x315.88 [bgcolor=#FFFF00]
+                LayoutBlockFlow {H1} at (8,29.44) size 298x37
+                  LayoutText {#text} at (0,0) size 274x36
+                    text run at (0,0) width 274: "The 'clear' property"
+                LayoutBlockFlow {P} at (8,87.88) size 298x160
+                  LayoutText {#text} at (0,0) size 298x159
+                    text run at (0,0) width 298: "This page has two floating \"menus\" on the side;"
+                    text run at (0,20) width 298: "one has a green background, and the other a blue"
+                    text run at (0,40) width 83: "background. "
+                    text run at (83,40) width 215: "Due to settings on the 'float' and"
+                    text run at (0,60) width 298: "'clear' properties, the two menus should appear"
+                    text run at (0,80) width 298: "on the left side of the page, the blue below the"
+                    text run at (0,100) width 298: "green. There should be a 10px gap between the"
+                    text run at (0,120) width 298: "two menus. There should also be a 10px gap"
+                    text run at (0,140) width 280: "between the top menu and the top of the page."
+                LayoutBlockFlow {P} at (8,247.88) size 298x60
+                  LayoutText {#text} at (0,0) size 298x59
+                    text run at (0,0) width 298: "The top of the yellow rectangle (to which this"
+                    text run at (0,20) width 298: "paragraph belongs) should be vertically aligned"
+                    text run at (0,40) width 208: "with the top of the green rectangle."
+layer at (8,198) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,190) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float-expected.txt
new file mode 100644
index 0000000..84cd1d5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 160x48
+          text run at (0,0) width 152: ".one {float: left;}"
+          text run at (152,0) width 0: " "
+          text run at (0,16) width 160: ".two {float: right;}"
+          text run at (160,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutImage (floating) {IMG} at (0,107) size 15x50
+      LayoutBlockFlow {P} at (0,115) size 784x40
+        LayoutText {#text} at (15,0) size 761x39
+          text run at (15,0) width 566: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
+          text run at (580,0) width 196: "In this case, it is the image which"
+          text run at (15,20) width 162: "has been floated to the left."
+      LayoutBlockFlow (anonymous) at (0,171) size 784x20
+        LayoutBR {BR} at (0,0) size 0x19
+      LayoutImage (floating) {IMG} at (769,209) size 15x50
+      LayoutBlockFlow {P} at (0,217) size 784x40
+        LayoutText {#text} at (0,0) size 769x39
+          text run at (0,0) width 574: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
+          text run at (573,0) width 196: "In this case, it is the image which"
+          text run at (0,20) width 170: "has been floated to the right."
+      LayoutTable {TABLE} at (0,273) size 784x182 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x180
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x152
+            LayoutTableCell {TD} at (0,90) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x152 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutImage (floating) {IMG} at (4,4) size 15x50
+              LayoutBlockFlow {P} at (4,4) size 762x40
+                LayoutText {#text} at (15,0) size 722x39
+                  text run at (15,0) width 566: "This text should be flowing past a tall orange rectangle on the left side of the browser window. "
+                  text run at (580,0) width 157: "In this case, it is the image"
+                  text run at (15,20) width 201: "which has been floated to the left."
+              LayoutBlockFlow (anonymous) at (4,60) size 762x20
+                LayoutBR {BR} at (0,0) size 0x19
+              LayoutImage (floating) {IMG} at (751,98) size 15x50
+              LayoutBlockFlow {P} at (4,106) size 762x40
+                LayoutText {#text} at (0,0) size 730x39
+                  text run at (0,0) width 574: "This text should be flowing past a tall orange rectangle on the right side of the browser window. "
+                  text run at (573,0) width 157: "In this case, it is the image"
+                  text run at (0,20) width 209: "which has been floated to the right."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,207) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,199) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,398) size 762x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,88) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt
index c1291c6..c0dfb24 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt
@@ -32,7 +32,6 @@
           text run at (0,176) width 200: "TABLE {margin: 20px 0px;}"
           text run at (200,176) width 0: " "
           text run at (0,192) width 0: " "
-      LayoutBlockFlow {HR} at (0,254) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,264) size 769x40
         LayoutText {#text} at (0,0) size 769x39
           text run at (0,0) width 769: "The four floating DIV elements below should appear next to each other horizontally. The table at the bottom of this page"
@@ -157,6 +156,8 @@
                         LayoutBlockFlow {IMG} at (0,0) size 100x1
                       LayoutTableCell {TD} at (600,10) size 20x1 [bgcolor=#000000] [r=0 c=14 rs=1 cs=1]
                         LayoutBlockFlow {IMG} at (0,0) size 20x1
+layer at (8,262) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,254) size 769x2 [border: (1px inset #EEEEEE)]
 layer at (8,442) size 20x1
   LayoutBlockFlow {SPAN} at (0,0) size 20x1
     LayoutInline {SPAN} at (0,0) size 0x0
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float_margin-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float_margin-expected.txt
new file mode 100644
index 0000000..1f25473c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float_margin-expected.txt
@@ -0,0 +1,163 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1915
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1915 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1915
+    LayoutBlockFlow {BODY} at (8,8) size 769x1899 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x144
+        LayoutText {#text} at (0,0) size 560x144
+          text run at (0,0) width 344: "P.test {background: white; font-size: 20px;"
+          text run at (344,0) width 0: " "
+          text run at (0,16) width 560: "        margin-left: 30px; margin-right: 10px; padding: 0; border: 0;}"
+          text run at (560,16) width 0: " "
+          text run at (0,32) width 312: "IMG {padding: 0; border: 0; margin: 0;}"
+          text run at (312,32) width 0: " "
+          text run at (0,48) width 200: "P.test IMG {float: left;}"
+          text run at (200,48) width 0: " "
+          text run at (0,64) width 352: "#img2 {margin-top: 30px; margin-left: 30px;}"
+          text run at (352,64) width 0: " "
+          text run at (0,80) width 368: "#img3 {margin-top: -30px; margin-left: -30px;}"
+          text run at (368,80) width 0: " "
+          text run at (0,96) width 384: "#img4 {margin-right: 30px; margin-bottom: 30px;}"
+          text run at (384,96) width 0: " "
+          text run at (0,112) width 400: "#img5 {margin-right: -30px; margin-bottom: -30px;}"
+          text run at (400,112) width 0: " "
+          text run at (0,128) width 0: " "
+      LayoutBlockFlow {P} at (30,215) size 729x92 [bgcolor=#FFFFFF]
+        LayoutText {#text} at (0,0) size 719x91
+          text run at (0,0) width 719: "This paragraph should have a white background which extends to the edges of the element's"
+          text run at (0,23) width 39: "box. "
+          text run at (39,23) width 430: "There is no padding set on this paragraph whatsoever. "
+          text run at (468,23) width 236: "If the background of the entire"
+          text run at (0,46) width 696: "box is not white, this may cause problems with the following tests; at any rate, it must be"
+          text run at (0,69) width 146: "taken into account."
+      LayoutBlockFlow {P} at (30,327) size 729x115 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (0,0) size 60x60
+        LayoutText {#text} at (60,0) size 724x114
+          text run at (60,0) width 615: "The image in the upper left corner of this paragraph should be floated left, and"
+          text run at (60,23) width 112: "nothing more. "
+          text run at (172,23) width 552: "The edges of the white background should line up with the top and left"
+          text run at (60,46) width 156: "edges of the image. "
+          text run at (216,46) width 471: "This paragraph should have a white background, first of all,"
+          text run at (0,69) width 381: "which extends to the edges of the element's box. "
+          text run at (381,69) width 325: "There is no padding set on this paragraph"
+          text run at (0,92) width 95: "whatsoever."
+      LayoutBlockFlow {P} at (30,462) size 729x115 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (30,30) size 60x60
+        LayoutText {#text} at (90,0) size 726x114
+          text run at (90,0) width 628: "The image in the upper left corner of this paragraph should be pushed down and"
+          text run at (90,23) width 627: "to the right 30 pixels each from the upper left corner of the paragraph's box, and"
+          text run at (90,46) width 319: "displace the paragraph text accordingly. "
+          text run at (408,46) width 282: "This paragraph should have a white"
+          text run at (90,69) width 571: "background, first of all, which extends to the edges of the element's box. "
+          text run at (661,69) width 65: "There is"
+          text run at (0,92) width 355: "no padding set on this paragraph whatsoever."
+      LayoutBlockFlow {P} at (30,597) size 729x115 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (-30,-30) size 60x60
+        LayoutText {#text} at (30,0) size 728x114
+          text run at (30,0) width 682: "The image in the upper left corner of this paragraph should be pushed up and to the left"
+          text run at (30,23) width 683: "30 pixels each from the upper left corner of the paragraph's box, thus causing the edges"
+          text run at (0,46) width 556: "of the white background to align with the thick gray lines in the image. "
+          text run at (556,46) width 119: "This paragraph"
+          text run at (0,69) width 728: "should have a white background, first of all, which extends to the edges of the element's box."
+          text run at (0,92) width 425: "There is no padding set on this paragraph whatsoever."
+      LayoutBlockFlow {P} at (30,732) size 729x138 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (0,0) size 60x60
+        LayoutText {#text} at (90,0) size 728x137
+          text run at (90,0) width 615: "The image in the upper left corner of this paragraph should be floated left, and"
+          text run at (90,23) width 616: "the edges of the white background should line up with the top and left edges of"
+          text run at (90,46) width 85: "the image. "
+          text run at (175,46) width 526: "However, there should be 30 pixels of space between the right and"
+          text run at (90,69) width 468: "bottom edges of the image and the paragraph text around it. "
+          text run at (558,69) width 119: "This paragraph"
+          text run at (0,92) width 728: "should have a white background, first of all, which extends to the edges of the element's box."
+          text run at (0,115) width 425: "There is no padding set on this paragraph whatsoever."
+      LayoutBlockFlow {P} at (30,890) size 729x138 [bgcolor=#FFFFFF]
+        LayoutImage (floating) {IMG} at (0,0) size 60x60
+        LayoutText {#text} at (30,0) size 724x137
+          text run at (30,0) width 693: "The image in the upper left corner of this paragraph should be floated left, and the edges"
+          text run at (30,23) width 623: "of the white background should line up with the top and left edges of the image."
+          text run at (0,46) width 724: "However, the text should overlap the image's right and bottom sides, lining up with the thick"
+          text run at (0,69) width 187: "gray lines in the image. "
+          text run at (187,69) width 524: "This paragraph should have a white background, first of all, which"
+          text run at (0,92) width 328: "extends to the edges of the element's box. "
+          text run at (328,92) width 325: "There is no padding set on this paragraph"
+          text run at (0,115) width 95: "whatsoever."
+      LayoutTable {TABLE} at (0,1048) size 769x851 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x849
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x821
+            LayoutTableCell {TD} at (0,424) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x821 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (34,4) size 707x92 [bgcolor=#FFFFFF]
+                LayoutText {#text} at (0,0) size 704x91
+                  text run at (0,0) width 641: "This paragraph should have a white background which extends to the edges of the"
+                  text run at (0,23) width 117: "element's box. "
+                  text run at (117,23) width 430: "There is no padding set on this paragraph whatsoever. "
+                  text run at (546,23) width 158: "If the background of"
+                  text run at (0,46) width 693: "the entire box is not white, this may cause problems with the following tests; at any rate,"
+                  text run at (0,69) width 227: "it must be taken into account."
+              LayoutBlockFlow {P} at (34,116) size 707x115 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (0,0) size 60x60
+                LayoutText {#text} at (60,0) size 693x114
+                  text run at (60,0) width 615: "The image in the upper left corner of this paragraph should be floated left, and"
+                  text run at (60,23) width 112: "nothing more. "
+                  text run at (172,23) width 521: "The edges of the white background should line up with the top and"
+                  text run at (60,46) width 187: "left edges of the image. "
+                  text run at (247,46) width 440: "This paragraph should have a white background, first of"
+                  text run at (0,69) width 412: "all, which extends to the edges of the element's box. "
+                  text run at (412,69) width 241: "There is no padding set on this"
+                  text run at (0,92) width 179: "paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,251) size 707x115 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (30,30) size 60x60
+                LayoutText {#text} at (90,0) size 699x114
+                  text run at (90,0) width 595: "The image in the upper left corner of this paragraph should be pushed down"
+                  text run at (90,23) width 588: "and to the right 30 pixels each from the upper left corner of the paragraph's"
+                  text run at (90,46) width 391: "box, and displace the paragraph text accordingly. "
+                  text run at (480,46) width 219: "This paragraph should have"
+                  text run at (90,69) width 590: "a white background, first of all, which extends to the edges of the element's"
+                  text run at (0,92) width 39: "box. "
+                  text run at (39,92) width 425: "There is no padding set on this paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,386) size 707x115 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (-30,-30) size 60x60
+                LayoutText {#text} at (30,0) size 695x114
+                  text run at (30,0) width 651: "The image in the upper left corner of this paragraph should be pushed up and to the"
+                  text run at (30,23) width 664: "left 30 pixels each from the upper left corner of the paragraph's box, thus causing the"
+                  text run at (0,46) width 606: "edges of the white background to align with the thick gray lines in the image. "
+                  text run at (606,46) width 35: "This"
+                  text run at (0,69) width 695: "paragraph should have a white background, first of all, which extends to the edges of the"
+                  text run at (0,92) width 117: "element's box. "
+                  text run at (117,92) width 425: "There is no padding set on this paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,521) size 707x138 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (0,0) size 60x60
+                LayoutText {#text} at (90,0) size 706x137
+                  text run at (90,0) width 615: "The image in the upper left corner of this paragraph should be floated left, and"
+                  text run at (90,23) width 616: "the edges of the white background should line up with the top and left edges of"
+                  text run at (90,46) width 85: "the image. "
+                  text run at (175,46) width 526: "However, there should be 30 pixels of space between the right and"
+                  text run at (90,69) width 468: "bottom edges of the image and the paragraph text around it. "
+                  text run at (558,69) width 119: "This paragraph"
+                  text run at (0,92) width 689: "should have a white background, first of all, which extends to the edges of the element's"
+                  text run at (0,115) width 39: "box. "
+                  text run at (39,115) width 425: "There is no padding set on this paragraph whatsoever."
+              LayoutBlockFlow {P} at (34,679) size 707x138 [bgcolor=#FFFFFF]
+                LayoutImage (floating) {IMG} at (0,0) size 60x60
+                LayoutText {#text} at (30,0) size 706x137
+                  text run at (30,0) width 643: "The image in the upper left corner of this paragraph should be floated left, and the"
+                  text run at (30,23) width 673: "edges of the white background should line up with the top and left edges of the image."
+                  text run at (0,46) width 681: "However, the text should overlap the image's right and bottom sides, lining up with the"
+                  text run at (0,69) width 230: "thick gray lines in the image. "
+                  text run at (230,69) width 471: "This paragraph should have a white background, first of all,"
+                  text run at (0,92) width 381: "which extends to the edges of the element's box. "
+                  text run at (381,92) width 325: "There is no padding set on this paragraph"
+                  text run at (0,115) width 95: "whatsoever."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float_on_text_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float_on_text_elements-expected.txt
new file mode 100644
index 0000000..75d8b39
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float_on_text_elements-expected.txt
@@ -0,0 +1,366 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2846
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2846 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2846
+    LayoutBlockFlow {BODY} at (8,8) size 769x2830 [bgcolor=#CCCCCC]
+      LayoutBlockFlow (floating) {P} at (0,0) size 384.50x40 [bgcolor=#FFFF00]
+        LayoutText {#text} at (0,0) size 384x39
+          text run at (0,0) width 384: "This paragraph is of class \"one\". It has a width of 50% and is"
+          text run at (0,20) width 105: "floated to the left."
+      LayoutBlockFlow {P} at (0,0) size 769x80
+        LayoutText {#text} at (384,0) size 769x79
+          text run at (384,0) width 385: "This paragraph should start on the right side of a yellow box"
+          text run at (384,20) width 385: "which contains the previous paragraph. Since the text of this"
+          text run at (0,40) width 769: "element is much longer than the text in the previous element, the text will wrap around the yellow box. There is no padding,"
+          text run at (0,60) width 708: "border or margins on this and the previous element, so the text of the two elements should be very close to each other."
+      LayoutBlockFlow (anonymous) at (0,80) size 769x20
+        LayoutBR {BR} at (0,0) size 0x19
+      LayoutBlockFlow (anonymous) at (0,118) size 769x100
+        LayoutBlockFlow (floating) {P} at (0,0) size 769x80 [bgcolor=#FFFF00]
+          LayoutText {#text} at (0,0) size 769x79
+            text run at (0,0) width 769: "This paragraph is of class \"two\". Since the width has been set to 100%, it should automatically be as wide as its parent element"
+            text run at (0,20) width 769: "allows it to be. Therefore, even though the element is floated, there is no room for other content on the sides and a orange"
+            text run at (0,40) width 769: "square image should be seen AFTER the paragraph, not next to it. A yellow background has been added to this paragraph for"
+            text run at (0,60) width 123: "diagnostic purposes."
+        LayoutImage {IMG} at (0,80) size 15x15
+        LayoutText {#text} at (15,80) size 4x19
+          text run at (15,80) width 4: " "
+        LayoutBR {BR} at (19,95) size 0x0
+      LayoutBlockFlow (anonymous) at (0,236) size 769x100
+        LayoutBlockFlow (floating) {P} at (0,0) size 384.50x100 [bgcolor=#FFFF00]
+          LayoutText {#text} at (0,0) size 384x99
+            text run at (0,0) width 384: "This paragraph is floated to the left and the orange square image"
+            text run at (0,20) width 384: "should appear to the right of the paragraph. This paragraph has"
+            text run at (0,40) width 384: "a yellow background and no padding, margin or border. The"
+            text run at (0,60) width 384: "right edge of this yellow box should be horizontally aligned with"
+            text run at (0,80) width 260: "the left edge of the yellow box undernearth."
+        LayoutImage {IMG} at (384.50,0) size 15x15
+        LayoutText {#text} at (399,0) size 5x19
+          text run at (399,0) width 5: " "
+        LayoutBR {BR} at (403,15) size 1x0
+      LayoutBlockFlow (anonymous) at (0,354) size 769x120
+        LayoutBlockFlow (floating) {P} at (384.50,0) size 384.50x120 [bgcolor=#FFFF00]
+          LayoutText {#text} at (0,0) size 384x119
+            text run at (0,0) width 384: "This paragraph is floated to the right (using a STYLE attribute)"
+            text run at (0,20) width 384: "and the orange square image should appear to the left of the"
+            text run at (0,40) width 384: "paragraph. This paragraph has a yellow background and no"
+            text run at (0,60) width 384: "padding, margin or border. The left edge of this yellow box"
+            text run at (0,80) width 384: "should be horizonally aligned with the right edge of the yellow"
+            text run at (0,100) width 68: "box above."
+        LayoutImage {IMG} at (0,0) size 15x15
+        LayoutText {#text} at (15,0) size 4x19
+          text run at (15,0) width 4: " "
+        LayoutBR {BR} at (19,15) size 0x0
+      LayoutBlockFlow {P} at (0,492) size 769x60
+        LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,0) size 21x36
+            text run at (0,0) width 21: "T"
+        LayoutText {#text} at (48,0) size 769x59
+          text run at (48,0) width 721: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the paragraph, as well as"
+          text run at (48,20) width 432: "bold, with a content width of 1.5em and a background-color of silver. "
+          text run at (479,20) width 290: "The top of the big letter \"T\" should be vertically"
+          text run at (0,40) width 559: "aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
+      LayoutBlockFlow (anonymous) at (0,552) size 769x20
+        LayoutBR {BR} at (0,0) size 0x19
+      LayoutBlockFlow (floating) {P} at (423,600) size 336x216 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
+        LayoutText {#text} at (8,8) size 320x199
+          text run at (8,8) width 320: "This paragraph should be floated to the right, sort of"
+          text run at (8,28) width 320: "like a 'sidebar' in a magazine article. Its width is"
+          text run at (8,48) width 320: "20em so the box should not be reformatted when the"
+          text run at (8,68) width 320: "size of the viewport is changed (e.g. when the"
+          text run at (8,88) width 320: "window is resized). The background color of the"
+          text run at (8,108) width 320: "element is yellow, and there should be a 3px solid"
+          text run at (8,128) width 320: "red border outside a 5px wide padding. Also, the"
+          text run at (8,148) width 320: "element has a 10px wide margin around it where the"
+          text run at (8,168) width 320: "blue background of the paragraph in the normal flow"
+          text run at (8,188) width 126: "should shine through."
+      LayoutBlockFlow {P} at (0,590) size 769x220 [bgcolor=#66CCFF]
+        LayoutText {#text} at (0,0) size 413x219
+          text run at (0,0) width 413: "This paragraph is not floating. If there is enough room, the textual"
+          text run at (0,20) width 413: "content of the paragraph should appear on the left side of the yellow"
+          text run at (0,40) width 133: "\"sidebar\" on the right. "
+          text run at (133,40) width 280: "The content of this element should flow around"
+          text run at (0,60) width 126: "the floated element. "
+          text run at (126,60) width 287: "However, the floated element may or may not"
+          text run at (0,80) width 413: "be obscured by the blue background of this element, as the"
+          text run at (0,100) width 342: "specification does not say which is drawn \"on top.\" "
+          text run at (342,100) width 71: "Even if the"
+          text run at (0,120) width 413: "floated element is obscured, it still forces the content of this element"
+          text run at (0,140) width 107: "to flow around it. "
+          text run at (107,140) width 306: "If the floated element is not obscured, then the blue"
+          text run at (0,160) width 413: "rectangle of this paragraph should extend 10px above and to the"
+          text run at (0,180) width 413: "right of the sidebar's red border, due to the margin styles set for the"
+          text run at (0,200) width 95: "floated element."
+      LayoutBlockFlow (anonymous) at (0,810) size 769x20
+        LayoutBR {BR} at (0,0) size 0x19
+      LayoutBlockFlow {DIV} at (0,848) size 769x28 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
+        LayoutBlockFlow (floating) {DIV} at (425,14) size 330x250 [bgcolor=#FFFF00]
+          LayoutBlockFlow {P} at (5,5) size 320x240
+            LayoutText {#text} at (0,0) size 320x239
+              text run at (0,0) width 320: "This paragraph is placed inside a DIV element which"
+              text run at (0,20) width 320: "is floated to the right. The width of the DIV element"
+              text run at (0,40) width 320: "is 20em. The background is yellow and there is a"
+              text run at (0,60) width 320: "5px padding, a 10px margin and no border. Since it"
+              text run at (0,80) width 320: "is floated, the yellow box should be rendered on top"
+              text run at (0,100) width 320: "of the background and borders of adjacent non-"
+              text run at (0,120) width 320: "floated elements. To the left of this yellow box there"
+              text run at (0,140) width 320: "should be a short paragraph with a blue background"
+              text run at (0,160) width 320: "and a red border. The yellow box should be"
+              text run at (0,180) width 320: "rendered on top of the bottom red border. I.e., the"
+              text run at (0,200) width 320: "bottom red border will appear broken where it's"
+              text run at (0,220) width 194: "overlaid by the yellow rectangle."
+        LayoutBlockFlow {P} at (4,4) size 761x20
+          LayoutText {#text} at (0,0) size 255x19
+            text run at (0,0) width 255: "See description in the box on the right side"
+      LayoutBlockFlow (anonymous) at (0,876) size 769x246
+        LayoutBR {BR} at (0,0) size 0x19
+      LayoutBlockFlow (floating) {DIV} at (0,1140) size 192.25x80 [bgcolor=#66CCFF]
+        LayoutBlockFlow {P} at (0,0) size 192.25x80
+          LayoutText {#text} at (0,0) size 192x79
+            text run at (0,0) width 192: "This paragraph is inside a DIV"
+            text run at (0,20) width 192: "which is floated left. Its"
+            text run at (0,40) width 192: "background is blue and the"
+            text run at (0,60) width 83: "width is 25%."
+      LayoutBlockFlow (floating) {DIV} at (576.75,1140) size 192.25x80 [bgcolor=#FFFF00]
+        LayoutBlockFlow {P} at (0,0) size 192.25x80
+          LayoutText {#text} at (0,0) size 192x79
+            text run at (0,0) width 192: "This paragraph is inside a DIV"
+            text run at (0,20) width 192: "which is floated right. Its"
+            text run at (0,40) width 192: "background is yellow and the"
+            text run at (0,60) width 83: "width is 25%."
+      LayoutBlockFlow {P} at (0,1140) size 769x40
+        LayoutText {#text} at (192,0) size 385x39
+          text run at (192,0) width 385: "This paragraph should appear between a blue box (on the left)"
+          text run at (192,20) width 189: "and a yellow box (on the right)."
+      LayoutBlockFlow (anonymous) at (0,1180) size 769x40
+        LayoutBR {BR} at (192,0) size 1x19
+      LayoutBlockFlow (anonymous) at (0,1238) size 769x120
+        LayoutBlockFlow (floating) {DIV} at (0,0) size 576.75x120 [bgcolor=#66CCFF]
+          LayoutBlockFlow (floating) {DIV} at (422.56,0) size 144.19x40 [bgcolor=#FFFF00]
+            LayoutBlockFlow {P} at (0,0) size 144.19x40
+              LayoutText {#text} at (0,0) size 144x39
+                text run at (0,0) width 144: "See description in the"
+                text run at (0,20) width 118: "box on the left side."
+          LayoutBlockFlow {P} at (0,0) size 576.75x120
+            LayoutText {#text} at (0,0) size 576x119
+              text run at (0,0) width 350: "This paragraph is inside a DIV which is floated left. The "
+              text run at (350,0) width 72: "background"
+              text run at (0,20) width 321: "of the DIV element is blue and its width is 75%. This "
+              text run at (321,20) width 101: "text should all be"
+              text run at (0,40) width 249: "inside the blue rectangle. The blue DIV "
+              text run at (249,40) width 327: "element has another DIV element as a child. It has a"
+              text run at (0,60) width 43: "yellow "
+              text run at (43,60) width 340: "background color and is floated to the right. Since it is a "
+              text run at (383,60) width 193: "child of the blue DIV, the yellow"
+              text run at (0,80) width 187: "DIV should appear inside the "
+              text run at (187,80) width 382: "blue rectangle. Due to it being floated to the right and having "
+              text run at (569,80) width 7: "a"
+              text run at (0,100) width 383: "10px right margin, the yellow rectange should have a 10px blue "
+              text run at (382,100) width 132: "stripe on its right side."
+        LayoutBR {BR} at (576,0) size 1x19
+      LayoutTable {TABLE} at (0,1376) size 769x1454 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1452
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1424
+            LayoutTableCell {TD} at (0,726) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1424 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (floating) {P} at (4,4) size 373.50x40 [bgcolor=#FFFF00]
+                LayoutText {#text} at (0,0) size 373x39
+                  text run at (0,0) width 373: "This paragraph is of class \"one\". It has a width of 50% and is"
+                  text run at (0,20) width 105: "floated to the left."
+              LayoutBlockFlow {P} at (4,4) size 747x80
+                LayoutText {#text} at (373,0) size 747x79
+                  text run at (373,0) width 374: "This paragraph should start on the right side of a yellow box"
+                  text run at (373,20) width 374: "which contains the previous paragraph. Since the text of this"
+                  text run at (0,40) width 747: "element is much longer than the text in the previous element, the text will wrap around the yellow box. There is no padding,"
+                  text run at (0,60) width 708: "border or margins on this and the previous element, so the text of the two elements should be very close to each other."
+              LayoutBlockFlow (anonymous) at (4,84) size 747x20
+                LayoutBR {BR} at (0,0) size 0x19
+              LayoutBlockFlow (anonymous) at (4,122) size 747x100
+                LayoutBlockFlow (floating) {P} at (0,0) size 747x80 [bgcolor=#FFFF00]
+                  LayoutText {#text} at (0,0) size 747x79
+                    text run at (0,0) width 747: "This paragraph is of class \"two\". Since the width has been set to 100%, it should automatically be as wide as its parent"
+                    text run at (0,20) width 747: "element allows it to be. Therefore, even though the element is floated, there is no room for other content on the sides and a"
+                    text run at (0,40) width 747: "orange square image should be seen AFTER the paragraph, not next to it. A yellow background has been added to this"
+                    text run at (0,60) width 209: "paragraph for diagnostic purposes."
+                LayoutImage {IMG} at (0,80) size 15x15
+                LayoutText {#text} at (15,80) size 4x19
+                  text run at (15,80) width 4: " "
+                LayoutBR {BR} at (19,95) size 0x0
+              LayoutBlockFlow (anonymous) at (4,240) size 747x120
+                LayoutBlockFlow (floating) {P} at (0,0) size 373.50x120 [bgcolor=#FFFF00]
+                  LayoutText {#text} at (0,0) size 374x119
+                    text run at (0,0) width 373: "This paragraph is floated to the left and the orange square"
+                    text run at (0,20) width 373: "image should appear to the right of the paragraph. This"
+                    text run at (0,40) width 373: "paragraph has a yellow background and no padding, margin"
+                    text run at (0,60) width 374: "or border. The right edge of this yellow box should be"
+                    text run at (0,80) width 373: "horizontally aligned with the left edge of the yellow box"
+                    text run at (0,100) width 75: "undernearth."
+                LayoutImage {IMG} at (373.50,0) size 15x15
+                LayoutText {#text} at (388,0) size 5x19
+                  text run at (388,0) width 5: " "
+                LayoutBR {BR} at (392,15) size 1x0
+              LayoutBlockFlow (anonymous) at (4,378) size 747x120
+                LayoutBlockFlow (floating) {P} at (373.50,0) size 373.50x120 [bgcolor=#FFFF00]
+                  LayoutText {#text} at (0,0) size 373x119
+                    text run at (0,0) width 373: "This paragraph is floated to the right (using a STYLE"
+                    text run at (0,20) width 373: "attribute) and the orange square image should appear to the"
+                    text run at (0,40) width 373: "left of the paragraph. This paragraph has a yellow background"
+                    text run at (0,60) width 373: "and no padding, margin or border. The left edge of this yellow"
+                    text run at (0,80) width 373: "box should be horizonally aligned with the right edge of the"
+                    text run at (0,100) width 111: "yellow box above."
+                LayoutImage {IMG} at (0,0) size 15x15
+                LayoutText {#text} at (15,0) size 4x19
+                  text run at (15,0) width 4: " "
+                LayoutBR {BR} at (19,15) size 0x0
+              LayoutBlockFlow {P} at (4,516) size 747x60
+                LayoutBlockFlow (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
+                  LayoutText {#text} at (0,0) size 21x36
+                    text run at (0,0) width 21: "T"
+                LayoutText {#text} at (48,0) size 747x59
+                  text run at (48,0) width 699: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the paragraph, as well"
+                  text run at (48,20) width 460: "as bold, with a content width of 1.5em and a background-color of silver. "
+                  text run at (507,20) width 240: "The top of the big letter \"T\" should be"
+                  text run at (0,40) width 616: "vertically aligned with the top of the first line of this paragraph. This is commonly known as \"drop-cap\"."
+              LayoutBlockFlow (anonymous) at (4,576) size 747x20
+                LayoutBR {BR} at (0,0) size 0x19
+              LayoutBlockFlow (floating) {P} at (405,624) size 336x216 [bgcolor=#FFFF00] [border: (3px solid #FF0000)]
+                LayoutText {#text} at (8,8) size 320x199
+                  text run at (8,8) width 320: "This paragraph should be floated to the right, sort of"
+                  text run at (8,28) width 320: "like a 'sidebar' in a magazine article. Its width is"
+                  text run at (8,48) width 320: "20em so the box should not be reformatted when the"
+                  text run at (8,68) width 320: "size of the viewport is changed (e.g. when the"
+                  text run at (8,88) width 320: "window is resized). The background color of the"
+                  text run at (8,108) width 320: "element is yellow, and there should be a 3px solid"
+                  text run at (8,128) width 320: "red border outside a 5px wide padding. Also, the"
+                  text run at (8,148) width 320: "element has a 10px wide margin around it where the"
+                  text run at (8,168) width 320: "blue background of the paragraph in the normal flow"
+                  text run at (8,188) width 126: "should shine through."
+              LayoutBlockFlow {P} at (4,614) size 747x220 [bgcolor=#66CCFF]
+                LayoutText {#text} at (0,0) size 391x219
+                  text run at (0,0) width 391: "This paragraph is not floating. If there is enough room, the textual"
+                  text run at (0,20) width 391: "content of the paragraph should appear on the left side of the"
+                  text run at (0,40) width 181: "yellow \"sidebar\" on the right. "
+                  text run at (181,40) width 210: "The content of this element should"
+                  text run at (0,60) width 208: "flow around the floated element. "
+                  text run at (208,60) width 183: "However, the floated element"
+                  text run at (0,80) width 391: "may or may not be obscured by the blue background of this"
+                  text run at (0,100) width 391: "element, as the specification does not say which is drawn \"on"
+                  text run at (0,120) width 35: "top.\" "
+                  text run at (35,120) width 356: "Even if the floated element is obscured, it still forces the"
+                  text run at (0,140) width 249: "content of this element to flow around it. "
+                  text run at (249,140) width 142: "If the floated element is"
+                  text run at (0,160) width 391: "not obscured, then the blue rectangle of this paragraph should"
+                  text run at (0,180) width 391: "extend 10px above and to the right of the sidebar's red border,"
+                  text run at (0,200) width 304: "due to the margin styles set for the floated element."
+              LayoutBlockFlow (anonymous) at (4,834) size 747x20
+                LayoutBR {BR} at (0,0) size 0x19
+              LayoutBlockFlow {DIV} at (4,872) size 747x28 [bgcolor=#66CCFF] [border: (4px solid #FF0000)]
+                LayoutBlockFlow (floating) {DIV} at (403,14) size 330x250 [bgcolor=#FFFF00]
+                  LayoutBlockFlow {P} at (5,5) size 320x240
+                    LayoutText {#text} at (0,0) size 320x239
+                      text run at (0,0) width 320: "This paragraph is placed inside a DIV element which"
+                      text run at (0,20) width 320: "is floated to the right. The width of the DIV element"
+                      text run at (0,40) width 320: "is 20em. The background is yellow and there is a"
+                      text run at (0,60) width 320: "5px padding, a 10px margin and no border. Since it"
+                      text run at (0,80) width 320: "is floated, the yellow box should be rendered on top"
+                      text run at (0,100) width 320: "of the background and borders of adjacent non-"
+                      text run at (0,120) width 320: "floated elements. To the left of this yellow box there"
+                      text run at (0,140) width 320: "should be a short paragraph with a blue background"
+                      text run at (0,160) width 320: "and a red border. The yellow box should be"
+                      text run at (0,180) width 320: "rendered on top of the bottom red border. I.e., the"
+                      text run at (0,200) width 320: "bottom red border will appear broken where it's"
+                      text run at (0,220) width 194: "overlaid by the yellow rectangle."
+                LayoutBlockFlow {P} at (4,4) size 739x20
+                  LayoutText {#text} at (0,0) size 255x19
+                    text run at (0,0) width 255: "See description in the box on the right side"
+              LayoutBlockFlow (anonymous) at (4,900) size 747x246
+                LayoutBR {BR} at (0,0) size 0x19
+              LayoutBlockFlow (floating) {DIV} at (4,1164) size 186.75x80 [bgcolor=#66CCFF]
+                LayoutBlockFlow {P} at (0,0) size 186.75x80
+                  LayoutText {#text} at (0,0) size 186x79
+                    text run at (0,0) width 186: "This paragraph is inside a DIV"
+                    text run at (0,20) width 186: "which is floated left. Its"
+                    text run at (0,40) width 186: "background is blue and the"
+                    text run at (0,60) width 83: "width is 25%."
+              LayoutBlockFlow (floating) {DIV} at (564.25,1164) size 186.75x80 [bgcolor=#FFFF00]
+                LayoutBlockFlow {P} at (0,0) size 186.75x80
+                  LayoutText {#text} at (0,0) size 186x79
+                    text run at (0,0) width 186: "This paragraph is inside a DIV"
+                    text run at (0,20) width 186: "which is floated right. Its"
+                    text run at (0,40) width 186: "background is yellow and the"
+                    text run at (0,60) width 83: "width is 25%."
+              LayoutBlockFlow {P} at (4,1164) size 747x40
+                LayoutText {#text} at (186,0) size 374x39
+                  text run at (186,0) width 374: "This paragraph should appear between a blue box (on the"
+                  text run at (186,20) width 28: "left) "
+                  text run at (213,20) width 189: "and a yellow box (on the right)."
+              LayoutBlockFlow (anonymous) at (4,1204) size 747x40
+                LayoutBR {BR} at (186,0) size 1x19
+              LayoutBlockFlow (anonymous) at (4,1262) size 747x140
+                LayoutBlockFlow (floating) {DIV} at (0,0) size 560.25x140 [bgcolor=#66CCFF]
+                  LayoutBlockFlow (floating) {DIV} at (410.19,0) size 140.06x40 [bgcolor=#FFFF00]
+                    LayoutBlockFlow {P} at (0,0) size 140.06x40
+                      LayoutText {#text} at (0,0) size 140x39
+                        text run at (0,0) width 140: "See description in the"
+                        text run at (0,20) width 118: "box on the left side."
+                  LayoutBlockFlow {P} at (0,0) size 560.25x140
+                    LayoutText {#text} at (0,0) size 560x139
+                      text run at (0,0) width 338: "This paragraph is inside a DIV which is floated left. The "
+                      text run at (338,0) width 72: "background"
+                      text run at (0,20) width 327: "of the DIV element is blue and its width is 75%. This "
+                      text run at (327,20) width 83: "text should all"
+                      text run at (0,40) width 258: "be inside the blue rectangle. The blue DIV "
+                      text run at (258,40) width 302: "element has another DIV element as a child. It has"
+                      text run at (0,60) width 55: "a yellow "
+                      text run at (55,60) width 350: "background color and is floated to the right. Since it is a "
+                      text run at (405,60) width 155: "child of the blue DIV, the"
+                      text run at (0,80) width 230: "yellow DIV should appear inside the "
+                      text run at (230,80) width 330: "blue rectangle. Due to it being floated to the right and"
+                      text run at (0,100) width 43: "having "
+                      text run at (43,100) width 413: "a 10px right margin, the yellow rectange should have a 10px blue "
+                      text run at (455,100) width 105: "stripe on its right"
+                      text run at (0,120) width 28: "side."
+                LayoutBR {BR} at (560,0) size 1x19
+layer at (8,116) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,108) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,234) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,226) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,352) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,344) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,490) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,482) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,588) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,580) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,846) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,838) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1138) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1130) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1236) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1228) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,1374) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,1366) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (25,1525) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,112) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1643) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,230) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1781) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,368) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1919) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,506) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2017) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,604) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2275) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,862) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2567) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1154) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2665) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1252) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,2823) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,1410) size 747x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/height-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/height-expected.txt
new file mode 100644
index 0000000..f58c5ead
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/height-expected.txt
@@ -0,0 +1,77 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 997
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x997 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x997
+    LayoutBlockFlow {BODY} at (8,8) size 769x981 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x48
+        LayoutText {#text} at (0,0) size 168x48
+          text run at (0,0) width 160: ".one {height: 50px;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 168: ".two {height: 100px;}"
+          text run at (168,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow (anonymous) at (0,107) size 769x50
+        LayoutImage {IMG} at (0,0) size 50x50
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,173) size 769x20
+        LayoutText {#text} at (0,0) size 259x19
+          text run at (0,0) width 259: "The square above should be fifty pixels tall."
+      LayoutBlockFlow (anonymous) at (0,209) size 769x100
+        LayoutImage {IMG} at (0,0) size 100x100
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,325) size 769x20
+        LayoutText {#text} at (0,0) size 320x19
+          text run at (0,0) width 320: "The square above should be 100 pixels tall and wide."
+      LayoutBlockFlow (anonymous) at (0,361) size 769x100
+        LayoutImage {IMG} at (0,0) size 30x100
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,477) size 769x40
+        LayoutText {#text} at (0,0) size 743x39
+          text run at (0,0) width 743: "The rectangular image above should be 100 pixels tall and 30 pixels wide (the original image is 50x15, and the size has been"
+          text run at (0,20) width 109: "doubled using the "
+        LayoutInline {CODE} at (0,0) size 48x16
+          LayoutText {#text} at (109,23) size 48x16
+            text run at (109,23) width 48: "height"
+        LayoutText {#text} at (157,20) size 65x19
+          text run at (157,20) width 65: " property)."
+      LayoutTable {TABLE} at (0,533) size 769x448 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x446
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x418
+            LayoutTableCell {TD} at (0,223) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x418 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (4,4) size 747x50
+                LayoutImage {IMG} at (0,0) size 50x50
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,70) size 747x20
+                LayoutText {#text} at (0,0) size 259x19
+                  text run at (0,0) width 259: "The square above should be fifty pixels tall."
+              LayoutBlockFlow (anonymous) at (4,106) size 747x100
+                LayoutImage {IMG} at (0,0) size 100x100
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,222) size 747x20
+                LayoutText {#text} at (0,0) size 320x19
+                  text run at (0,0) width 320: "The square above should be 100 pixels tall and wide."
+              LayoutBlockFlow (anonymous) at (4,258) size 747x100
+                LayoutImage {IMG} at (0,0) size 30x100
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,374) size 747x40
+                LayoutText {#text} at (0,0) size 743x39
+                  text run at (0,0) width 743: "The rectangular image above should be 100 pixels tall and 30 pixels wide (the original image is 50x15, and the size has been"
+                  text run at (0,20) width 109: "doubled using the "
+                LayoutInline {CODE} at (0,0) size 48x16
+                  LayoutText {#text} at (109,23) size 48x16
+                    text run at (109,23) width 48: "height"
+                LayoutText {#text} at (157,20) size 65x19
+                  text run at (157,20) width 65: " property)."
+layer at (8,105) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin-expected.txt
new file mode 100644
index 0000000..4d18d48
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin-expected.txt
@@ -0,0 +1,166 @@
+layer at (0,0) size 800x600 scrollWidth 802 scrollHeight 2690
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x2690 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x2690
+    LayoutBlockFlow {BODY} at (8,8) size 784x2674 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x112
+        LayoutText {#text} at (0,0) size 360x112
+          text run at (0,0) width 352: ".zero {background-color: silver; margin: 0;}"
+          text run at (352,0) width 0: " "
+          text run at (0,16) width 360: ".one {margin: 0.5in; background-color: aqua;}"
+          text run at (360,16) width 0: " "
+          text run at (0,32) width 352: ".two {margin: 25px; background-color: aqua;}"
+          text run at (352,32) width 0: " "
+          text run at (0,48) width 360: ".three {margin: 5em; background-color: aqua;}"
+          text run at (360,48) width 0: " "
+          text run at (0,64) width 352: ".four {margin: 25%; background-color: aqua;}"
+          text run at (352,64) width 0: " "
+          text run at (0,80) width 168: ".five {margin: 25px;}"
+          text run at (168,80) width 0: " "
+          text run at (0,96) width 360: ".six {margin: -10px; background-color: aqua;}"
+          text run at (360,96) width 0: " "
+      LayoutBlockFlow {P} at (0,179) size 784x40
+        LayoutText {#text} at (0,0) size 755x39
+          text run at (0,0) width 755: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in section"
+          text run at (0,20) width 193: "4.1.1 of the CSS1 specification."
+      LayoutBlockFlow {P} at (0,235) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (48,303) size 688x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 618x19
+          text run at (0,0) width 618: "This sentence should have an overall margin of half an inch, which will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,371) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (25,416) size 734x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 605x19
+          text run at (0,0) width 605: "This sentence should have an overall margin of 25 pixels, which will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,461) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (80,561) size 624x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 581x19
+          text run at (0,0) width 581: "This sentence should have an overall margin of 5 em, which will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,661) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (196,877) size 392x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 375x59
+          text run at (0,0) width 367: "This sentence should have an overall margin of 25%, which is"
+          text run at (0,20) width 350: "calculated with respect to the width of the parent element. "
+          text run at (350,20) width 25: "This"
+          text run at (0,40) width 222: "will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,1133) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {UL} at (25,1178) size 734x130 [bgcolor=#00FFFF]
+        LayoutListItem {LI} at (40,0) size 694x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 353x19
+            text run at (0,0) width 353: "This list has a margin of 25px, and a light blue background."
+        LayoutListItem {LI} at (40,20) size 694x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 249x19
+            text run at (0,0) width 249: "Therefore, it ought to have such a margin."
+        LayoutListItem {LI} at (65,65) size 644x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 511x19
+            text run at (0,0) width 511: "This list item has a margin of 25px, which should cause it to be offset in some fashion."
+        LayoutListItem {LI} at (40,110) size 694x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 278x19
+            text run at (0,0) width 278: "This list item has no special styles applied to it."
+      LayoutBlockFlow {P} at (0,1333) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (-10,1343) size 804x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 785x59
+          text run at (0,0) width 785: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull subsequent"
+          text run at (0,20) width 281: "text up toward it, and a light blue background. "
+          text run at (281,20) width 369: "In all other respects, however, the element should be normal. "
+          text run at (649,20) width 123: "No styles have been"
+          text run at (0,40) width 401: "applied to it besides the negative margin and the background color."
+      LayoutBlockFlow {P} at (0,1393) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,1413) size 784x1261 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x1259
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x1231
+            LayoutTableCell {TD} at (0,629) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x1231 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40
+                LayoutText {#text} at (0,0) size 755x39
+                  text run at (0,0) width 755: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in section"
+                  text run at (0,20) width 193: "4.1.1 of the CSS1 specification."
+              LayoutBlockFlow {P} at (4,60) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (52,128) size 666x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 618x19
+                  text run at (0,0) width 618: "This sentence should have an overall margin of half an inch, which will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,196) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (29,241) size 712x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 605x19
+                  text run at (0,0) width 605: "This sentence should have an overall margin of 25 pixels, which will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,286) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (84,386) size 602x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 581x19
+                  text run at (0,0) width 581: "This sentence should have an overall margin of 5 em, which will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,486) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (194.50,696.50) size 381x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 375x59
+                  text run at (0,0) width 367: "This sentence should have an overall margin of 25%, which is"
+                  text run at (0,20) width 350: "calculated with respect to the width of the parent element. "
+                  text run at (350,20) width 25: "This"
+                  text run at (0,40) width 222: "will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,947) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {UL} at (29,992) size 712x130 [bgcolor=#00FFFF]
+                LayoutListItem {LI} at (40,0) size 672x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 353x19
+                    text run at (0,0) width 353: "This list has a margin of 25px, and a light blue background."
+                LayoutListItem {LI} at (40,20) size 672x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 249x19
+                    text run at (0,0) width 249: "Therefore, it ought to have such a margin."
+                LayoutListItem {LI} at (65,65) size 622x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 511x19
+                    text run at (0,0) width 511: "This list item has a margin of 25px, which should cause it to be offset in some fashion."
+                LayoutListItem {LI} at (40,110) size 672x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 278x19
+                    text run at (0,0) width 278: "This list item has no special styles applied to it."
+              LayoutBlockFlow {P} at (4,1147) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (-6,1157) size 782x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 778x59
+                  text run at (0,0) width 714: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull"
+                  text run at (0,20) width 352: "subsequent text up toward it, and a light blue background. "
+                  text run at (352,20) width 369: "In all other respects, however, the element should be normal. "
+                  text run at (720,20) width 58: "No styles"
+                  text run at (0,40) width 466: "have been applied to it besides the negative margin and the background color."
+              LayoutBlockFlow {P} at (4,1207) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+layer at (8,169) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_bottom-expected.txt
new file mode 100644
index 0000000..69a6090
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_bottom-expected.txt
@@ -0,0 +1,151 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1822
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1822 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1822.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1806.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x144
+        LayoutText {#text} at (0,0) size 416x144
+          text run at (0,0) width 408: ".zero {background-color: silver; margin-bottom: 0;}"
+          text run at (408,0) width 0: " "
+          text run at (0,16) width 416: ".one {margin-bottom: 0.5in; background-color: aqua;}"
+          text run at (416,16) width 0: " "
+          text run at (0,32) width 408: ".two {margin-bottom: 25px; background-color: aqua;}"
+          text run at (408,32) width 0: " "
+          text run at (0,48) width 416: ".three {margin-bottom: 5em; background-color: aqua;}"
+          text run at (416,48) width 0: " "
+          text run at (0,64) width 408: ".four {margin-bottom: 25%; background-color: aqua;}"
+          text run at (408,64) width 0: " "
+          text run at (0,80) width 224: ".five {margin-bottom: 25px;}"
+          text run at (224,80) width 0: " "
+          text run at (0,96) width 416: ".six {margin-bottom: -10px; background-color: aqua;}"
+          text run at (416,96) width 0: " "
+          text run at (0,112) width 176: "P, UL {margin-top: 0;}"
+          text run at (176,112) width 0: " "
+          text run at (0,128) width 0: " "
+      LayoutBlockFlow {P} at (0,203) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,223) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 743x39
+          text run at (0,0) width 743: "This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure that the margin"
+          text run at (0,20) width 147: "isn't applied to each line."
+      LayoutBlockFlow {P} at (0,311) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 757x39
+          text run at (0,0) width 757: "This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure that the margin isn't"
+          text run at (0,20) width 120: "applied to each line."
+      LayoutBlockFlow {P} at (0,376) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 733x39
+          text run at (0,0) width 733: "This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the margin isn't"
+          text run at (0,20) width 120: "applied to each line."
+      LayoutBlockFlow {P} at (0,496) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 726x39
+          text run at (0,0) width 726: "This element should have a bottom margin of 25%, which will require extra text in order to make sure that the margin isn't"
+          text run at (0,20) width 120: "applied to each line."
+      LayoutBlockFlow {P} at (0,728.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,748.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 221x19
+          text run at (0,0) width 221: "This element also has a class of zero."
+      LayoutBlockFlow {UL} at (0,768.25) size 769x105 [bgcolor=#00FFFF]
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 402x19
+            text run at (0,0) width 402: "This list has a margin-bottom of 25px, and a light blue background."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 249x19
+            text run at (0,0) width 249: "Therefore, it ought to have such a margin."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 558x19
+            text run at (0,0) width 558: "This list item has a bottom margin of 25px, which should cause it to be offset in some fashion."
+        LayoutListItem {LI} at (40,85) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 278x19
+            text run at (0,0) width 278: "This list item has no special styles applied to it."
+      LayoutBlockFlow {P} at (0,898.25) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 756x59
+          text run at (0,0) width 756: "This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \"upward\" on the page, and no"
+          text run at (0,20) width 72: "top margin. "
+          text run at (71,20) width 468: "No other styles have been applied to it besides a light blue background color. "
+          text run at (538,20) width 195: "In all other respects, the element"
+          text run at (0,40) width 107: "should be normal."
+      LayoutBlockFlow {P} at (0,948.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,968.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 221x19
+          text run at (0,0) width 221: "This element also has a class of zero."
+      LayoutTable {TABLE} at (0,988.25) size 769x818 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x816
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x788
+            LayoutTableCell {TD} at (0,408) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x787.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,24) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 743x39
+                  text run at (0,0) width 743: "This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure that the margin"
+                  text run at (0,20) width 147: "isn't applied to each line."
+              LayoutBlockFlow {P} at (4,112) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 730x39
+                  text run at (0,0) width 730: "This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure that the margin"
+                  text run at (0,20) width 147: "isn't applied to each line."
+              LayoutBlockFlow {P} at (4,177) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 733x39
+                  text run at (0,0) width 733: "This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the margin isn't"
+                  text run at (0,20) width 120: "applied to each line."
+              LayoutBlockFlow {P} at (4,297) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 726x39
+                  text run at (0,0) width 726: "This element should have a bottom margin of 25%, which will require extra text in order to make sure that the margin isn't"
+                  text run at (0,20) width 120: "applied to each line."
+              LayoutBlockFlow {P} at (4,523.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,543.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 221x19
+                  text run at (0,0) width 221: "This element also has a class of zero."
+              LayoutBlockFlow {UL} at (4,563.75) size 747x105 [bgcolor=#00FFFF]
+                LayoutListItem {LI} at (40,0) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 402x19
+                    text run at (0,0) width 402: "This list has a margin-bottom of 25px, and a light blue background."
+                LayoutListItem {LI} at (40,20) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 249x19
+                    text run at (0,0) width 249: "Therefore, it ought to have such a margin."
+                LayoutListItem {LI} at (40,40) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 558x19
+                    text run at (0,0) width 558: "This list item has a bottom margin of 25px, which should cause it to be offset in some fashion."
+                LayoutListItem {LI} at (40,85) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 278x19
+                    text run at (0,0) width 278: "This list item has no special styles applied to it."
+              LayoutBlockFlow {P} at (4,693.75) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 737x59
+                  text run at (0,0) width 737: "This paragraph has a bottom margin of -10px, which should cause elements after it to be shifted \"upward\" on the page, and"
+                  text run at (0,20) width 91: "no top margin. "
+                  text run at (90,20) width 468: "No other styles have been applied to it besides a light blue background color. "
+                  text run at (557,20) width 145: "In all other respects, the"
+                  text run at (0,40) width 157: "element should be normal."
+              LayoutBlockFlow {P} at (4,743.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,763.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 221x19
+                  text run at (0,0) width 221: "This element also has a class of zero."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_bottom_inline-expected.txt
new file mode 100644
index 0000000..d817719
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_bottom_inline-expected.txt
@@ -0,0 +1,96 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 416x32
+          text run at (0,0) width 408: ".one {margin-bottom: 25px; background-color: aqua;}"
+          text run at (408,0) width 0: " "
+          text run at (0,16) width 416: ".two {margin-bottom: -10px; background-color: aqua;}"
+          text run at (416,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 456x19
+          text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
+          text run at (371,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 717x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (455,0) size 134x19
+            text run at (455,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (588,3) size 25x16
+              text run at (588,3) width 25: "one"
+          LayoutText {#text} at (612,0) size 717x39
+            text run at (612,0) width 105: ", giving it an aqua"
+            text run at (0,20) width 235: "background and a 25px bottom margin"
+        LayoutText {#text} at (234,20) size 739x39
+          text run at (234,20) width 9: ". "
+          text run at (242,20) width 497: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+          text run at (0,40) width 247: "element should have the same line-height."
+      LayoutBlockFlow {P} at (0,175) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 456x19
+          text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
+          text run at (371,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 717x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (455,0) size 134x19
+            text run at (455,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (588,3) size 25x16
+              text run at (588,3) width 25: "two"
+          LayoutText {#text} at (612,0) size 717x39
+            text run at (612,0) width 105: ", giving it an aqua"
+            text run at (0,20) width 241: "background and a -10px bottom margin"
+        LayoutText {#text} at (240,20) size 745x39
+          text run at (240,20) width 9: ". "
+          text run at (248,20) width 497: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+          text run at (0,40) width 247: "element should have the same line-height."
+      LayoutTable {TABLE} at (0,251) size 784x174 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x172
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x144
+            LayoutTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 456x19
+                  text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
+                  text run at (371,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 717x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (455,0) size 134x19
+                    text run at (455,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (588,3) size 25x16
+                      text run at (588,3) width 25: "one"
+                  LayoutText {#text} at (612,0) size 717x39
+                    text run at (612,0) width 105: ", giving it an aqua"
+                    text run at (0,20) width 235: "background and a 25px bottom margin"
+                LayoutText {#text} at (234,20) size 739x39
+                  text run at (234,20) width 9: ". "
+                  text run at (242,20) width 497: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+                  text run at (0,40) width 247: "element should have the same line-height."
+              LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 456x19
+                  text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
+                  text run at (371,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 717x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (455,0) size 134x19
+                    text run at (455,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (588,3) size 25x16
+                      text run at (588,3) width 25: "two"
+                  LayoutText {#text} at (612,0) size 717x39
+                    text run at (612,0) width 105: ", giving it an aqua"
+                    text run at (0,20) width 241: "background and a -10px bottom margin"
+                LayoutText {#text} at (240,20) size 745x39
+                  text run at (240,20) width 9: ". "
+                  text run at (248,20) width 497: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+                  text run at (0,40) width 247: "element should have the same line-height."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_inline-expected.txt
new file mode 100644
index 0000000..6ab4520bf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_inline-expected.txt
@@ -0,0 +1,124 @@
+layer at (0,0) size 800x600 scrollHeight 729
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x729 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x729
+    LayoutBlockFlow {BODY} at (8,8) size 784x713 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 360x48
+          text run at (0,0) width 352: ".zero {background-color: silver; margin: 0;}"
+          text run at (352,0) width 0: " "
+          text run at (0,16) width 352: ".one {margin: 25px; background-color: aqua;}"
+          text run at (352,16) width 0: " "
+          text run at (0,32) width 360: ".two {margin: -10px; background-color: aqua;}"
+          text run at (360,32) width 0: " "
+      LayoutBlockFlow {P} at (0,107) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,143) size 784x80 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 456x19
+          text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
+          text run at (371,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 742x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (480,0) size 134x19
+            text run at (480,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (613,3) size 25x16
+              text run at (613,3) width 25: "one"
+          LayoutText {#text} at (637,0) size 742x39
+            text run at (637,0) width 105: ", giving it an aqua"
+            text run at (0,20) width 188: "background and a 25px margin"
+        LayoutText {#text} at (212,20) size 767x59
+          text run at (212,20) width 9: ". "
+          text run at (220,20) width 547: "Margins on inline elements does not affect line-height calculations, so all lines in this element"
+          text run at (0,40) width 201: "should have the same line-height. "
+          text run at (201,40) width 530: "However, there should be a 25px margin to the left side of the inline box in the first line it"
+          text run at (0,60) width 605: "appears, and a 25px margin to the right side of the inline element box in the last line where it appears."
+      LayoutBlockFlow {P} at (0,239) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,275) size 784x80 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 456x19
+          text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
+          text run at (371,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 783x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (445,0) size 134x19
+            text run at (445,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (578,3) size 25x16
+              text run at (578,3) width 25: "two"
+          LayoutText {#text} at (602,0) size 783x39
+            text run at (602,0) width 181: ", giving it an aqua background"
+            text run at (0,20) width 118: "and a -10px margin"
+        LayoutText {#text} at (107,20) size 774x59
+          text run at (107,20) width 9: ". "
+          text run at (115,20) width 644: "Margins on inline elements does not affect line-height calculations, so all lines in this element should have the"
+          text run at (0,40) width 104: "same line-height. "
+          text run at (104,40) width 670: "However, there should be a -10px margin to the left side of the inline box in the first line it appears, and a -10px"
+          text run at (0,60) width 477: "margin to the right side of the inline element box in the last line where it appears."
+      LayoutBlockFlow {P} at (0,371) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,391) size 784x322 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x320
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x292
+            LayoutTableCell {TD} at (0,160) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x292 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 762x80 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 456x19
+                  text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
+                  text run at (371,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 742x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (480,0) size 134x19
+                    text run at (480,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (613,3) size 25x16
+                      text run at (613,3) width 25: "one"
+                  LayoutText {#text} at (637,0) size 742x39
+                    text run at (637,0) width 105: ", giving it an aqua"
+                    text run at (0,20) width 188: "background and a 25px margin"
+                LayoutText {#text} at (212,20) size 746x59
+                  text run at (212,20) width 9: ". "
+                  text run at (220,20) width 497: "Margins on inline elements does not affect line-height calculations, so all lines in this"
+                  text run at (0,40) width 251: "element should have the same line-height. "
+                  text run at (251,40) width 495: "However, there should be a 25px margin to the left side of the inline box in the first"
+                  text run at (0,60) width 640: "line it appears, and a 25px margin to the right side of the inline element box in the last line where it appears."
+              LayoutBlockFlow {P} at (4,136) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,172) size 762x80 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 456x19
+                  text run at (0,0) width 372: "This element is unstyled save for a background color of gray.. "
+                  text run at (371,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 707x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (445,0) size 134x19
+                    text run at (445,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (578,3) size 25x16
+                      text run at (578,3) width 25: "two"
+                  LayoutText {#text} at (602,0) size 707x39
+                    text run at (602,0) width 105: ", giving it an aqua"
+                    text run at (0,20) width 194: "background and a -10px margin"
+                LayoutText {#text} at (183,20) size 738x59
+                  text run at (183,20) width 9: ". "
+                  text run at (191,20) width 547: "Margins on inline elements does not affect line-height calculations, so all lines in this element"
+                  text run at (0,40) width 201: "should have the same line-height. "
+                  text run at (201,40) width 536: "However, there should be a -10px margin to the left side of the inline box in the first line it"
+                  text run at (0,60) width 611: "appears, and a -10px margin to the right side of the inline element box in the last line where it appears."
+              LayoutBlockFlow {P} at (4,268) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_left-expected.txt
new file mode 100644
index 0000000..a371e1b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_left-expected.txt
@@ -0,0 +1,120 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1057
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1057 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1057
+    LayoutBlockFlow {BODY} at (8,8) size 769x1041 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 408x96
+          text run at (0,0) width 392: ".zero {background-color: silver; margin-left: 0;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 400: ".one {margin-left: 0.5in; background-color: aqua;}"
+          text run at (400,16) width 0: " "
+          text run at (0,32) width 392: ".two {margin-left: 25px; background-color: aqua;}"
+          text run at (392,32) width 0: " "
+          text run at (0,48) width 400: ".three {margin-left: 5em; background-color: aqua;}"
+          text run at (400,48) width 0: " "
+          text run at (0,64) width 392: ".four {margin-left: 25%; background-color: aqua;}"
+          text run at (392,64) width 0: " "
+          text run at (0,80) width 408: ".five {margin-left: -10px; background-color: aqua;}"
+          text run at (408,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (48,199) size 721x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 324x19
+          text run at (0,0) width 324: "This sentence should have a left margin of half an inch."
+      LayoutBlockFlow {P} at (25,235) size 744x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 311x19
+          text run at (0,0) width 311: "This sentence should have a left margin of 25 pixels."
+      LayoutBlockFlow {P} at (80,271) size 689x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 287x19
+          text run at (0,0) width 287: "This sentence should have a left margin of 5 em."
+      LayoutBlockFlow {P} at (192.25,307) size 576.75x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 570x39
+          text run at (0,0) width 570: "This sentence should have a left margin of 25%, which is calculated with respect to the width of"
+          text run at (0,20) width 114: "the parent element."
+      LayoutBlockFlow {UL} at (25,363) size 744x100 [bgcolor=#808080]
+        LayoutListItem {LI} at (40,0) size 704x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 655x19
+            text run at (0,0) width 655: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to gray."
+        LayoutListItem {LI} at (65,20) size 679x60 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 644x59
+            text run at (0,0) width 625: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+            text run at (0,20) width 59: "checked. "
+            text run at (59,20) width 585: "This list item has its left margin also set to 25 pixels, which should combine with the list's margin to"
+            text run at (0,40) width 443: "make 50 pixels of margin, and its background color has been set to white."
+        LayoutListItem {LI} at (40,80) size 704x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 167x19
+            text run at (0,0) width 167: "This is an unclassed list item"
+      LayoutBlockFlow {P} at (0,479) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (-10,515) size 779x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 770x59
+          text run at (0,0) width 746: "This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light blue"
+          text run at (0,20) width 80: "background. "
+          text run at (80,20) width 369: "In all other respects, however, the element should be normal. "
+          text run at (448,20) width 322: "No styles have been applied to it besides the negative"
+          text run at (0,40) width 224: "left margin and the background color."
+      LayoutTable {TABLE} at (0,591) size 769x450 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x448
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x420
+            LayoutTableCell {TD} at (0,224) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x420 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (52,40) size 699x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 324x19
+                  text run at (0,0) width 324: "This sentence should have a left margin of half an inch."
+              LayoutBlockFlow {P} at (29,76) size 722x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 311x19
+                  text run at (0,0) width 311: "This sentence should have a left margin of 25 pixels."
+              LayoutBlockFlow {P} at (84,112) size 667x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 287x19
+                  text run at (0,0) width 287: "This sentence should have a left margin of 5 em."
+              LayoutBlockFlow {P} at (190.75,148) size 560.25x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 554x39
+                  text run at (0,0) width 554: "This sentence should have a left margin of 25%, which is calculated with respect to the width"
+                  text run at (0,20) width 130: "of the parent element."
+              LayoutBlockFlow {UL} at (29,204) size 722x100 [bgcolor=#808080]
+                LayoutListItem {LI} at (40,0) size 682x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 655x19
+                    text run at (0,0) width 655: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to gray."
+                LayoutListItem {LI} at (65,20) size 657x60 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 644x59
+                    text run at (0,0) width 625: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+                    text run at (0,20) width 59: "checked. "
+                    text run at (59,20) width 585: "This list item has its left margin also set to 25 pixels, which should combine with the list's margin to"
+                    text run at (0,40) width 443: "make 50 pixels of margin, and its background color has been set to white."
+                LayoutListItem {LI} at (40,80) size 682x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 167x19
+                    text run at (0,0) width 167: "This is an unclassed list item"
+              LayoutBlockFlow {P} at (4,320) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (-6,356) size 757x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 746x59
+                  text run at (0,0) width 746: "This paragraph has a left margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light blue"
+                  text run at (0,20) width 80: "background. "
+                  text run at (80,20) width 369: "In all other respects, however, the element should be normal. "
+                  text run at (448,20) width 269: "No styles have been applied to it besides the"
+                  text run at (0,40) width 277: "negative left margin and the background color."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_left_inline-expected.txt
new file mode 100644
index 0000000..4e11b88
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_left_inline-expected.txt
@@ -0,0 +1,100 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 400x32
+          text run at (0,0) width 392: ".one {margin-left: 25px; background-color: aqua;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 400: ".two {margin-left: -10px; background-color: aqua;}"
+          text run at (400,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 514x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 147: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (538,0) size 134x19
+            text run at (538,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (671,3) size 25x16
+              text run at (671,3) width 25: "one"
+        LayoutText {#text} at (695,0) size 782x39
+          text run at (695,0) width 87: ", which should"
+          text run at (0,20) width 235: "result in 25-pixel left margin only in the "
+        LayoutInline {STRONG} at (0,0) size 28x19
+          LayoutText {#text} at (234,20) size 28x19
+            text run at (234,20) width 28: "first"
+        LayoutText {#text} at (261,20) size 217x19
+          text run at (261,20) width 217: " line in which the inline box appears."
+      LayoutBlockFlow {P} at (0,155) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 514x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 147: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (503,0) size 134x19
+            text run at (503,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (636,3) size 25x16
+              text run at (636,3) width 25: "two"
+        LayoutText {#text} at (660,0) size 783x39
+          text run at (660,0) width 123: ", which should result"
+          text run at (0,20) width 186: "in -10px left margin only in the "
+        LayoutInline {STRONG} at (0,0) size 28x19
+          LayoutText {#text} at (185,20) size 28x19
+            text run at (185,20) width 28: "first"
+        LayoutText {#text} at (212,20) size 217x19
+          text run at (212,20) width 217: " line in which the inline box appears."
+      LayoutTable {TABLE} at (0,211) size 784x134 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x132
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x104
+            LayoutTableCell {TD} at (0,66) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 514x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 147: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (538,0) size 134x19
+                    text run at (538,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (671,3) size 25x16
+                      text run at (671,3) width 25: "one"
+                LayoutText {#text} at (695,0) size 739x39
+                  text run at (695,0) width 44: ", which"
+                  text run at (0,20) width 278: "should result in 25-pixel left margin only in the "
+                LayoutInline {STRONG} at (0,0) size 28x19
+                  LayoutText {#text} at (277,20) size 28x19
+                    text run at (277,20) width 28: "first"
+                LayoutText {#text} at (304,20) size 217x19
+                  text run at (304,20) width 217: " line in which the inline box appears."
+              LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 514x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 147: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (503,0) size 134x19
+                    text run at (503,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (636,3) size 25x16
+                      text run at (636,3) width 25: "two"
+                LayoutText {#text} at (660,0) size 747x39
+                  text run at (660,0) width 87: ", which should"
+                  text run at (0,20) width 222: "result in -10px left margin only in the "
+                LayoutInline {STRONG} at (0,0) size 28x19
+                  LayoutText {#text} at (221,20) size 28x19
+                    text run at (221,20) width 28: "first"
+                LayoutText {#text} at (248,20) size 217x19
+                  text run at (248,20) width 217: " line in which the inline box appears."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_right-expected.txt
new file mode 100644
index 0000000..a98c349
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_right-expected.txt
@@ -0,0 +1,119 @@
+layer at (0,0) size 800x600 scrollWidth 802 scrollHeight 1057
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x1057 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x1057
+    LayoutBlockFlow {BODY} at (8,8) size 784x1041 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x96
+        LayoutText {#text} at (0,0) size 560x96
+          text run at (0,0) width 552: ".zero {background-color: silver; margin-right: 0; text-align: right;}"
+          text run at (552,0) width 0: " "
+          text run at (0,16) width 560: ".one {margin-right: 0.5in; text-align: right; background-color: aqua;}"
+          text run at (560,16) width 0: " "
+          text run at (0,32) width 552: ".two {margin-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (552,32) width 0: " "
+          text run at (0,48) width 560: ".three {margin-right: 5em; text-align: right; background-color: aqua;}"
+          text run at (560,48) width 0: " "
+          text run at (0,64) width 552: ".four {margin-right: 25%; text-align: right; background-color: aqua;}"
+          text run at (552,64) width 0: " "
+          text run at (0,80) width 416: ".five {margin-right: -10px; background-color: aqua;}"
+          text run at (416,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (591,0) size 193x19
+          text run at (591,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 736x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (404,0) size 332x19
+          text run at (404,0) width 332: "This sentence should have a right margin of half an inch."
+      LayoutBlockFlow {P} at (0,235) size 759x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (440,0) size 319x19
+          text run at (440,0) width 319: "This sentence should have a right margin of 25 pixels."
+      LayoutBlockFlow {P} at (0,271) size 704x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (409,0) size 295x19
+          text run at (409,0) width 295: "This sentence should have a right margin of 5 em."
+      LayoutBlockFlow {P} at (0,307) size 588x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (10,0) size 578x39
+          text run at (10,0) width 578: "This sentence should have a right margin of 25%, which is calculated with respect to the width of"
+          text run at (474,20) width 114: "the parent element."
+      LayoutBlockFlow {UL} at (0,363) size 759x100 [bgcolor=#808080]
+        LayoutListItem {LI} at (40,0) size 719x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (51,0) size 668x19
+            text run at (51,0) width 668: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray."
+        LayoutListItem {LI} at (40,20) size 694x60 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (14,0) size 688x59
+            text run at (14,0) width 680: "Another list item might not be such a bad idea, either, considering that such things do need to be double-checked."
+            text run at (6,20) width 688: "This list item has its right margin also set to 25 pixels, which should combine with the list's margin to make 50 pixels"
+            text run at (344,40) width 350: "of margin, and its background-color has been set to white."
+        LayoutListItem {LI} at (40,80) size 719x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (552,0) size 167x19
+            text run at (552,0) width 167: "This is an unclassed list item"
+      LayoutBlockFlow {P} at (0,479) size 784x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (591,0) size 193x19
+          text run at (591,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,515) size 794x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 770x59
+          text run at (0,0) width 754: "This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light blue"
+          text run at (0,20) width 80: "background. "
+          text run at (80,20) width 369: "In all other respects, however, the element should be normal. "
+          text run at (448,20) width 322: "No styles have been applied to it besides the negative"
+          text run at (0,40) width 232: "right margin and the background color."
+      LayoutTable {TABLE} at (0,591) size 784x450 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x448
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x420
+            LayoutTableCell {TD} at (0,224) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x420 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (569,0) size 193x19
+                  text run at (569,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 714x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (382,0) size 332x19
+                  text run at (382,0) width 332: "This sentence should have a right margin of half an inch."
+              LayoutBlockFlow {P} at (4,76) size 737x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (418,0) size 319x19
+                  text run at (418,0) width 319: "This sentence should have a right margin of 25 pixels."
+              LayoutBlockFlow {P} at (4,112) size 682x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (387,0) size 295x19
+                  text run at (387,0) width 295: "This sentence should have a right margin of 5 em."
+              LayoutBlockFlow {P} at (4,148) size 571.50x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (9,0) size 563x39
+                  text run at (9,0) width 563: "This sentence should have a right margin of 25%, which is calculated with respect to the width"
+                  text run at (441,20) width 131: "of the parent element."
+              LayoutBlockFlow {UL} at (4,204) size 737x100 [bgcolor=#808080]
+                LayoutListItem {LI} at (40,0) size 697x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (29,0) size 668x19
+                    text run at (29,0) width 668: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray."
+                LayoutListItem {LI} at (40,20) size 672x60 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (47,0) size 652x59
+                    text run at (47,0) width 625: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
+                    text run at (20,20) width 60: "checked. "
+                    text run at (79,20) width 593: "This list item has its right margin also set to 25 pixels, which should combine with the list's margin to"
+                    text run at (227,40) width 445: "make 50 pixels of margin, and its background-color has been set to white."
+                LayoutListItem {LI} at (40,80) size 697x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (530,0) size 167x19
+                    text run at (530,0) width 167: "This is an unclassed list item"
+              LayoutBlockFlow {P} at (4,320) size 762x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (569,0) size 193x19
+                  text run at (569,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,356) size 772x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 770x59
+                  text run at (0,0) width 754: "This paragraph has a right margin of -10px, which should cause it to be wider than it might otherwise be, and it has a light blue"
+                  text run at (0,20) width 80: "background. "
+                  text run at (80,20) width 369: "In all other respects, however, the element should be normal. "
+                  text run at (448,20) width 322: "No styles have been applied to it besides the negative"
+                  text run at (0,40) width 232: "right margin and the background color."
+layer at (8,153) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_right_inline-expected.txt
new file mode 100644
index 0000000..ccfdadd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_right_inline-expected.txt
@@ -0,0 +1,100 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 552x32
+          text run at (0,0) width 552: ".one {margin-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (552,0) width 0: " "
+          text run at (0,16) width 408: ".two {margin-right: -10px; background-color: aqua;}"
+          text run at (408,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 514x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 147: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (513,0) size 134x19
+            text run at (513,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (646,3) size 25x16
+              text run at (646,3) width 25: "one"
+        LayoutText {#text} at (695,0) size 782x39
+          text run at (695,0) width 87: ", which should"
+          text run at (0,20) width 243: "result in 25-pixel right margin only in the "
+        LayoutInline {STRONG} at (0,0) size 25x19
+          LayoutText {#text} at (242,20) size 25x19
+            text run at (242,20) width 25: "last"
+        LayoutText {#text} at (266,20) size 217x19
+          text run at (266,20) width 217: " line in which the inline box appears."
+      LayoutBlockFlow {P} at (0,155) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 514x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 147: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (513,0) size 134x19
+            text run at (513,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (646,3) size 25x16
+              text run at (646,3) width 25: "two"
+        LayoutText {#text} at (660,0) size 783x39
+          text run at (660,0) width 123: ", which should result"
+          text run at (0,20) width 194: "in -10px right margin only in the "
+        LayoutInline {STRONG} at (0,0) size 25x19
+          LayoutText {#text} at (193,20) size 25x19
+            text run at (193,20) width 25: "last"
+        LayoutText {#text} at (217,20) size 217x19
+          text run at (217,20) width 217: " line in which the inline box appears."
+      LayoutTable {TABLE} at (0,211) size 784x134 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x132
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x104
+            LayoutTableCell {TD} at (0,66) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 514x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 147: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (513,0) size 134x19
+                    text run at (513,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (646,3) size 25x16
+                      text run at (646,3) width 25: "one"
+                LayoutText {#text} at (695,0) size 739x39
+                  text run at (695,0) width 44: ", which"
+                  text run at (0,20) width 286: "should result in 25-pixel right margin only in the "
+                LayoutInline {STRONG} at (0,0) size 25x19
+                  LayoutText {#text} at (285,20) size 25x19
+                    text run at (285,20) width 25: "last"
+                LayoutText {#text} at (309,20) size 217x19
+                  text run at (309,20) width 217: " line in which the inline box appears."
+              LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 514x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 147: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (513,0) size 134x19
+                    text run at (513,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (646,3) size 25x16
+                      text run at (646,3) width 25: "two"
+                LayoutText {#text} at (660,0) size 747x39
+                  text run at (660,0) width 87: ", which should"
+                  text run at (0,20) width 230: "result in -10px right margin only in the "
+                LayoutInline {STRONG} at (0,0) size 25x19
+                  LayoutText {#text} at (229,20) size 25x19
+                    text run at (229,20) width 25: "last"
+                LayoutText {#text} at (253,20) size 217x19
+                  text run at (253,20) width 217: " line in which the inline box appears."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_top-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_top-expected.txt
new file mode 100644
index 0000000..5c659a8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_top-expected.txt
@@ -0,0 +1,138 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1703
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1703 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1703.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1687.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,33) size 769x128
+        LayoutText {#text} at (0,0) size 392x128
+          text run at (0,0) width 384: ".zero {background-color: silver; margin-top: 0;}"
+          text run at (384,0) width 0: " "
+          text run at (0,16) width 392: ".one {margin-top: 0.5in; background-color: aqua;}"
+          text run at (392,16) width 0: " "
+          text run at (0,32) width 384: ".two {margin-top: 25px; background-color: aqua;}"
+          text run at (384,32) width 0: " "
+          text run at (0,48) width 392: ".three {margin-top: 5em; background-color: aqua;}"
+          text run at (392,48) width 0: " "
+          text run at (0,64) width 384: ".four {margin-top: 25%; background-color: aqua;}"
+          text run at (384,64) width 0: " "
+          text run at (0,80) width 200: ".five {margin-top: 25px;}"
+          text run at (200,80) width 0: " "
+          text run at (0,96) width 392: ".six {margin-top: -10px; background-color: aqua;}"
+          text run at (392,96) width 0: " "
+          text run at (0,112) width 200: "P, UL {margin-bottom: 0;}"
+          text run at (200,112) width 0: " "
+      LayoutBlockFlow {P} at (0,184) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,204) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 221x19
+          text run at (0,0) width 221: "This element also has a class of zero."
+      LayoutBlockFlow {P} at (0,272) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 741x39
+          text run at (0,0) width 741: "This element should have a top margin of half an inch, which will require extra text in order to make sure that the margin isn't"
+          text run at (0,20) width 120: "applied to each line."
+      LayoutBlockFlow {P} at (0,337) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 728x39
+          text run at (0,0) width 728: "This element should have a top margin of 25 pixels, which will require extra text in order to make sure that the margin isn't"
+          text run at (0,20) width 120: "applied to each line."
+      LayoutBlockFlow {P} at (0,457) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 768x39
+          text run at (0,0) width 768: "This element should have a top margin of 5 em, which will require extra text in order to make sure that the margin isn't applied to"
+          text run at (0,20) width 56: "each line."
+      LayoutBlockFlow {P} at (0,689.25) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 737x39
+          text run at (0,0) width 688: "This element should have a top margin of 25%, which is calculated with respect to the width of the parent element. "
+          text run at (687,0) width 50: "This will"
+          text run at (0,20) width 198: "require extra text in order to test."
+      LayoutBlockFlow {UL} at (0,754.25) size 769x105 [bgcolor=#00FFFF]
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 379x19
+            text run at (0,0) width 379: "This list has a margin-top of 25px, and a light blue background."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 249x19
+            text run at (0,0) width 249: "Therefore, it ought to have such a margin."
+        LayoutListItem {LI} at (40,65) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 535x19
+            text run at (0,0) width 535: "This list item has a top margin of 25px, which should cause it to be offset in some fashion."
+        LayoutListItem {LI} at (40,85) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 278x19
+            text run at (0,0) width 278: "This list item has no special styles applied to it."
+      LayoutBlockFlow {P} at (0,859.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,869.25) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 750x39
+          text run at (0,0) width 730: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom margin. "
+          text run at (729,0) width 21: "No"
+          text run at (0,20) width 444: "other styles have been applied to it besides a light blue background color. "
+          text run at (443,20) width 306: "In all other respects, the element should be normal."
+      LayoutTable {TABLE} at (0,909.25) size 769x778 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x776
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x748
+            LayoutTableCell {TD} at (0,388) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x747.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,24) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 221x19
+                  text run at (0,0) width 221: "This element also has a class of zero."
+              LayoutBlockFlow {P} at (4,92) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 741x39
+                  text run at (0,0) width 741: "This element should have a top margin of half an inch, which will require extra text in order to make sure that the margin isn't"
+                  text run at (0,20) width 120: "applied to each line."
+              LayoutBlockFlow {P} at (4,157) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 728x39
+                  text run at (0,0) width 728: "This element should have a top margin of 25 pixels, which will require extra text in order to make sure that the margin isn't"
+                  text run at (0,20) width 120: "applied to each line."
+              LayoutBlockFlow {P} at (4,277) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 704x39
+                  text run at (0,0) width 704: "This element should have a top margin of 5 em, which will require extra text in order to make sure that the margin isn't"
+                  text run at (0,20) width 120: "applied to each line."
+              LayoutBlockFlow {P} at (4,503.75) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 737x39
+                  text run at (0,0) width 688: "This element should have a top margin of 25%, which is calculated with respect to the width of the parent element. "
+                  text run at (687,0) width 50: "This will"
+                  text run at (0,20) width 198: "require extra text in order to test."
+              LayoutBlockFlow {UL} at (4,568.75) size 747x105 [bgcolor=#00FFFF]
+                LayoutListItem {LI} at (40,0) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 379x19
+                    text run at (0,0) width 379: "This list has a margin-top of 25px, and a light blue background."
+                LayoutListItem {LI} at (40,20) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 249x19
+                    text run at (0,0) width 249: "Therefore, it ought to have such a margin."
+                LayoutListItem {LI} at (40,65) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 535x19
+                    text run at (0,0) width 535: "This list item has a top margin of 25px, which should cause it to be offset in some fashion."
+                LayoutListItem {LI} at (40,85) size 707x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 278x19
+                    text run at (0,0) width 278: "This list item has no special styles applied to it."
+              LayoutBlockFlow {P} at (4,673.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,683.75) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 726x59
+                  text run at (0,0) width 726: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom margin."
+                  text run at (0,20) width 468: "No other styles have been applied to it besides a light blue background color. "
+                  text run at (467,20) width 257: "In all other respects, the element should be"
+                  text run at (0,40) width 45: "normal."
+layer at (8,182) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,174) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_top_inline-expected.txt
new file mode 100644
index 0000000..d4edea4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/margin_top_inline-expected.txt
@@ -0,0 +1,99 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 392x64
+          text run at (0,0) width 384: ".zero {background-color: silver; margin-top: 0;}"
+          text run at (384,0) width 0: " "
+          text run at (0,16) width 384: ".one {margin-top: 25px; background-color: aqua;}"
+          text run at (384,16) width 0: " "
+          text run at (0,32) width 392: ".two {margin-top: -10px; background-color: aqua;}"
+          text run at (392,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (451,0) size 134x19
+            text run at (451,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (584,3) size 25x16
+              text run at (584,3) width 25: "one"
+          LayoutText {#text} at (608,0) size 713x39
+            text run at (608,0) width 105: ", giving it an aqua"
+            text run at (0,20) width 212: "background and a 25px top margin"
+        LayoutText {#text} at (211,20) size 753x39
+          text run at (211,20) width 9: ". "
+          text run at (219,20) width 534: "Margins on inline elements do not affect line-height calculations, so all lines in this element"
+          text run at (0,40) width 197: "should have the same line-height."
+      LayoutBlockFlow {P} at (0,207) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 775x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (451,0) size 134x19
+            text run at (451,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (584,3) size 25x16
+              text run at (584,3) width 25: "two"
+          LayoutText {#text} at (608,0) size 775x39
+            text run at (608,0) width 167: ", giving the inline element an"
+            text run at (0,20) width 251: "aqua background and a -10px top margin"
+        LayoutText {#text} at (250,20) size 742x39
+          text run at (250,20) width 9: ". "
+          text run at (258,20) width 484: "Margins on inline elements do not affect line-height calculations, so all lines in this"
+          text run at (0,40) width 247: "element should have the same line-height."
+      LayoutTable {TABLE} at (0,283) size 784x174 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x172
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x144
+            LayoutTableCell {TD} at (0,86) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x144 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 452x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (451,0) size 134x19
+                    text run at (451,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (584,3) size 25x16
+                      text run at (584,3) width 25: "one"
+                  LayoutText {#text} at (608,0) size 713x39
+                    text run at (608,0) width 105: ", giving it an aqua"
+                    text run at (0,20) width 212: "background and a 25px top margin"
+                LayoutText {#text} at (211,20) size 753x39
+                  text run at (211,20) width 9: ". "
+                  text run at (219,20) width 534: "Margins on inline elements do not affect line-height calculations, so all lines in this element"
+                  text run at (0,40) width 197: "should have the same line-height."
+              LayoutBlockFlow {P} at (4,80) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 452x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 757x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (451,0) size 134x19
+                    text run at (451,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (584,3) size 25x16
+                      text run at (584,3) width 25: "two"
+                  LayoutText {#text} at (608,0) size 757x39
+                    text run at (608,0) width 149: ", giving the inline element"
+                    text run at (0,20) width 269: "an aqua background and a -10px top margin"
+                LayoutText {#text} at (268,20) size 760x39
+                  text run at (268,20) width 9: ". "
+                  text run at (276,20) width 484: "Margins on inline elements do not affect line-height calculations, so all lines in this"
+                  text run at (0,40) width 247: "element should have the same line-height."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding-expected.txt
new file mode 100644
index 0000000..346335b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding-expected.txt
@@ -0,0 +1,92 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2284
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2284 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2283.50
+    LayoutBlockFlow {BODY} at (8,8) size 769x2267.50 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 376x96
+          text run at (0,0) width 360: ".zero {background-color: silver; padding: 0;}"
+          text run at (360,0) width 0: " "
+          text run at (0,16) width 368: ".one {padding: 0.5in; background-color: aqua;}"
+          text run at (368,16) width 0: " "
+          text run at (0,32) width 360: ".two {padding: 25px; background-color: aqua;}"
+          text run at (360,32) width 0: " "
+          text run at (0,48) width 368: ".three {padding: 5em; background-color: aqua;}"
+          text run at (368,48) width 0: " "
+          text run at (0,64) width 360: ".four {padding: 25%; background-color: aqua;}"
+          text run at (360,64) width 0: " "
+          text run at (0,80) width 376: ".five {padding: -20px; background-color: aqua;}"
+          text run at (376,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 769x136 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,48) size 653x39
+          text run at (48,48) width 624: "This element should have an overall padding of half an inch, which will require extra text in order to test. "
+          text run at (672,48) width 29: "Both"
+          text run at (48,68) width 408: "the content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,351) size 769x90 [bgcolor=#00FFFF]
+        LayoutText {#text} at (25,25) size 710x39
+          text run at (25,25) width 611: "This element should have an overall padding of 25 pixels, which will require extra text in order to test. "
+          text run at (636,25) width 99: "Both the content"
+          text run at (25,45) width 338: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,457) size 769x200 [bgcolor=#00FFFF]
+        LayoutText {#text} at (80,80) size 583x39
+          text run at (80,80) width 583: "This element should have an overall padding of 5 em, which will require extra text in order to test."
+          text run at (80,100) width 441: "Both the content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,673) size 769x464.50 [bgcolor=#00FFFF]
+        LayoutText {#text} at (192,192) size 380x79
+          text run at (192,192) width 370: "This element should have an overall padding of 25%, which is"
+          text run at (192,212) width 351: "calculated with respect to the width of the parent element. "
+          text run at (542,212) width 30: "Both"
+          text run at (192,232) width 371: "the content background and the padding should be aqua (light"
+          text run at (192,252) width 35: "blue)."
+      LayoutBlockFlow {P} at (0,1153.50) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 733x39
+          text run at (0,0) width 510: "This element should have no padding, since negative padding values are not allowed. "
+          text run at (510,0) width 223: "Both the content background and the"
+          text run at (0,20) width 259: "normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,1209.50) size 769x1058 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1056
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1028
+            LayoutTableCell {TD} at (0,528) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1027.50 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x136 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,48) size 620x39
+                  text run at (48,48) width 620: "This element should have an overall padding of half an inch, which will require extra text in order to test."
+                  text run at (48,68) width 441: "Both the content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,192) size 747x90 [bgcolor=#00FFFF]
+                LayoutText {#text} at (25,25) size 662x39
+                  text run at (25,25) width 611: "This element should have an overall padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (636,25) width 51: "Both the"
+                  text run at (25,45) width 386: "content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,298) size 747x200 [bgcolor=#00FFFF]
+                LayoutText {#text} at (80,80) size 583x39
+                  text run at (80,80) width 583: "This element should have an overall padding of 5 em, which will require extra text in order to test."
+                  text run at (80,100) width 441: "Both the content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,514) size 747x453.50 [bgcolor=#00FFFF]
+                LayoutText {#text} at (186,187) size 371x79
+                  text run at (186,187) width 370: "This element should have an overall padding of 25%, which is"
+                  text run at (186,207) width 347: "calculated with respect to the width of the parent element."
+                  text run at (186,227) width 371: "Both the content background and the padding should be aqua"
+                  text run at (186,247) width 68: "(light blue)."
+              LayoutBlockFlow {P} at (4,983.50) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 733x39
+                  text run at (0,0) width 510: "This element should have no padding, since negative padding values are not allowed. "
+                  text run at (510,0) width 223: "Both the content background and the"
+                  text run at (0,20) width 259: "normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_bottom-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_bottom-expected.txt
new file mode 100644
index 0000000..8c24c1b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_bottom-expected.txt
@@ -0,0 +1,100 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1590
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1590 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1590.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1574.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 432x96
+          text run at (0,0) width 416: ".zero {background-color: silver; padding-bottom: 0;}"
+          text run at (416,0) width 0: " "
+          text run at (0,16) width 424: ".one {padding-bottom: 0.5in; background-color: aqua;}"
+          text run at (424,16) width 0: " "
+          text run at (0,32) width 416: ".two {padding-bottom: 25px; background-color: aqua;}"
+          text run at (416,32) width 0: " "
+          text run at (0,48) width 424: ".three {padding-bottom: 5em; background-color: aqua;}"
+          text run at (424,48) width 0: " "
+          text run at (0,64) width 416: ".four {padding-bottom: 25%; background-color: aqua;}"
+          text run at (416,64) width 0: " "
+          text run at (0,80) width 432: ".five {padding-bottom: -20px; background-color: aqua;}"
+          text run at (432,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 769x88 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 719x39
+          text run at (0,0) width 620: "This element should have a bottom padding of half an inch, which will require extra text in order to test. "
+          text run at (620,0) width 99: "Both the content"
+          text run at (0,20) width 338: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,303) size 769x65 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 706x39
+          text run at (0,0) width 607: "This element should have a bottom padding of 25 pixels, which will require extra text in order to test. "
+          text run at (607,0) width 99: "Both the content"
+          text run at (0,20) width 338: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,384) size 769x120 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 758x39
+          text run at (0,0) width 583: "This element should have a bottom padding of 5 em, which will require extra text in order to test. "
+          text run at (583,0) width 175: "Both the content background"
+          text run at (0,20) width 262: "and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,520) size 769x232.25 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 768x39
+          text run at (0,0) width 719: "This element should have a bottom padding of 25%, which is calculated with respect to the width of the parent element. "
+          text run at (719,0) width 49: "This will"
+          text run at (0,20) width 202: "require extra text in order to test. "
+          text run at (202,20) width 441: "Both the content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,768.25) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,804.25) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 758x39
+          text run at (0,0) width 557: "This element should have no bottom padding, since negative padding values are not allowed. "
+          text run at (557,0) width 201: "Both the content background and"
+          text run at (0,20) width 281: "the normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,860.25) size 769x714 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x712
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x684
+            LayoutTableCell {TD} at (0,356) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x683.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x88 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 719x39
+                  text run at (0,0) width 620: "This element should have a bottom padding of half an inch, which will require extra text in order to test. "
+                  text run at (620,0) width 99: "Both the content"
+                  text run at (0,20) width 338: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,144) size 747x65 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 706x39
+                  text run at (0,0) width 607: "This element should have a bottom padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (607,0) width 99: "Both the content"
+                  text run at (0,20) width 338: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,225) size 747x120 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 682x39
+                  text run at (0,0) width 583: "This element should have a bottom padding of 5 em, which will require extra text in order to test. "
+                  text run at (583,0) width 99: "Both the content"
+                  text run at (0,20) width 338: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,361) size 747x226.75 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 744x39
+                  text run at (0,0) width 719: "This element should have a bottom padding of 25%, which is calculated with respect to the width of the parent element. "
+                  text run at (719,0) width 25: "This"
+                  text run at (0,20) width 226: "will require extra text in order to test. "
+                  text run at (226,20) width 441: "Both the content background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,603.75) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,639.75) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 732x39
+                  text run at (0,0) width 557: "This element should have no bottom padding, since negative padding values are not allowed. "
+                  text run at (557,0) width 175: "Both the content background"
+                  text run at (0,20) width 307: "and the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_bottom_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_bottom_inline-expected.txt
new file mode 100644
index 0000000..363091c5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_bottom_inline-expected.txt
@@ -0,0 +1,101 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 424x48
+          text run at (0,0) width 416: ".one {padding-bottom: 25px; background-color: aqua;}"
+          text run at (416,0) width 0: " "
+          text run at (0,16) width 424: ".two {padding-bottom: -10px; background-color: aqua;}"
+          text run at (424,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 713x64 [bgcolor=#00FFFF]
+          LayoutText {#text} at (451,0) size 134x19
+            text run at (451,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (584,3) size 25x16
+              text run at (584,3) width 25: "one"
+          LayoutText {#text} at (608,0) size 713x39
+            text run at (608,0) width 105: ", giving it an aqua"
+            text run at (0,20) width 243: "background and a 25px bottom padding"
+        LayoutText {#text} at (243,20) size 775x59
+          text run at (243,20) width 8: ". "
+          text run at (251,20) width 496: "Padding on inline elements does not affect line-height calculations, so all lines in this"
+          text run at (0,40) width 251: "element should have the same line-height. "
+          text run at (251,40) width 524: "There may be implementation-specific limits on how much of the padding the user agent"
+          text run at (0,60) width 103: "is able to display."
+      LayoutBlockFlow {P} at (0,211) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (451,0) size 134x19
+            text run at (451,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (584,3) size 25x16
+              text run at (584,3) width 25: "two"
+          LayoutText {#text} at (608,0) size 713x39
+            text run at (608,0) width 105: ", giving it an aqua"
+            text run at (0,20) width 497: "background and no bottom padding, since negative padding values are not allowed"
+        LayoutText {#text} at (497,20) size 756x39
+          text run at (497,20) width 8: ". "
+          text run at (505,20) width 251: "Padding on inline elements does not affect"
+          text run at (0,40) width 492: "line-height calculations, so all lines in this element should have the same line-height."
+      LayoutTable {TABLE} at (0,287) size 784x194 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x192
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x164
+            LayoutTableCell {TD} at (0,96) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 452x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 713x64 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (451,0) size 134x19
+                    text run at (451,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (584,3) size 25x16
+                      text run at (584,3) width 25: "one"
+                  LayoutText {#text} at (608,0) size 713x39
+                    text run at (608,0) width 105: ", giving it an aqua"
+                    text run at (0,20) width 243: "background and a 25px bottom padding"
+                LayoutText {#text} at (243,20) size 747x59
+                  text run at (243,20) width 8: ". "
+                  text run at (251,20) width 496: "Padding on inline elements does not affect line-height calculations, so all lines in this"
+                  text run at (0,40) width 251: "element should have the same line-height. "
+                  text run at (251,40) width 488: "There may be implementation-specific limits on how much of the padding the user"
+                  text run at (0,60) width 139: "agent is able to display."
+              LayoutBlockFlow {P} at (4,100) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 452x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (451,0) size 134x19
+                    text run at (451,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (584,3) size 25x16
+                      text run at (584,3) width 25: "two"
+                  LayoutText {#text} at (608,0) size 713x39
+                    text run at (608,0) width 105: ", giving it an aqua"
+                    text run at (0,20) width 497: "background and no bottom padding, since negative padding values are not allowed"
+                LayoutText {#text} at (497,20) size 756x39
+                  text run at (497,20) width 8: ". "
+                  text run at (505,20) width 251: "Padding on inline elements does not affect"
+                  text run at (0,40) width 492: "line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_inline-expected.txt
new file mode 100644
index 0000000..f673b082
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_inline-expected.txt
@@ -0,0 +1,127 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 809
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x809 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x809
+    LayoutBlockFlow {BODY} at (8,8) size 769x793 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 368x64
+          text run at (0,0) width 360: ".zero {background-color: silver; padding: 0;}"
+          text run at (360,0) width 0: " "
+          text run at (0,16) width 360: ".one {padding: 25px; background-color: aqua;}"
+          text run at (360,16) width 0: " "
+          text run at (0,32) width 368: ".two {padding: -10px; background-color: aqua;}"
+          text run at (368,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,167) size 769x120 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 738x89 [bgcolor=#00FFFF]
+          LayoutText {#text} at (476,0) size 134x19
+            text run at (476,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (609,3) size 25x16
+              text run at (609,3) width 25: "one"
+          LayoutText {#text} at (633,0) size 738x39
+            text run at (633,0) width 105: ", giving it an aqua"
+            text run at (0,20) width 196: "background and a 25px padding"
+        LayoutText {#text} at (221,20) size 739x99
+          text run at (221,20) width 8: ". "
+          text run at (229,20) width 496: "Padding on inline elements does not affect line-height calculations, so all lines in this"
+          text run at (0,40) width 251: "element should have the same line-height. "
+          text run at (251,40) width 488: "There may be implementation-specific limits on how much of the padding the user"
+          text run at (0,60) width 308: "agent is able to display above and below each line. "
+          text run at (308,60) width 431: "However, there should be at least 25px of padding to the left side of the"
+          text run at (0,80) width 720: "inline box in the first line it appears, and 25px of padding to the right side of the inline element box in the last line where it"
+          text run at (0,100) width 52: "appears."
+      LayoutBlockFlow {P} at (0,303) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,339) size 769x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (451,0) size 134x19
+            text run at (451,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (584,3) size 25x16
+              text run at (584,3) width 25: "two"
+          LayoutText {#text} at (608,0) size 713x39
+            text run at (608,0) width 105: ", giving it an aqua"
+            text run at (0,20) width 450: "background and no padding, since negative padding values are not allowed"
+        LayoutText {#text} at (450,20) size 739x39
+          text run at (450,20) width 8: ". "
+          text run at (458,20) width 281: "Padding on inline elements does not affect line-"
+          text run at (0,40) width 466: "height calculations, so all lines in this element should have the same line-height."
+      LayoutBlockFlow {P} at (0,415) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutTable {TABLE} at (0,451) size 769x342 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x340
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x312
+            LayoutTableCell {TD} at (0,170) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x312 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x120 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 452x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 738x89 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (476,0) size 134x19
+                    text run at (476,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (609,3) size 25x16
+                      text run at (609,3) width 25: "one"
+                  LayoutText {#text} at (633,0) size 738x39
+                    text run at (633,0) width 105: ", giving it an aqua"
+                    text run at (0,20) width 196: "background and a 25px padding"
+                LayoutText {#text} at (221,20) size 739x99
+                  text run at (221,20) width 8: ". "
+                  text run at (229,20) width 496: "Padding on inline elements does not affect line-height calculations, so all lines in this"
+                  text run at (0,40) width 251: "element should have the same line-height. "
+                  text run at (251,40) width 488: "There may be implementation-specific limits on how much of the padding the user"
+                  text run at (0,60) width 308: "agent is able to display above and below each line. "
+                  text run at (308,60) width 431: "However, there should be at least 25px of padding to the left side of the"
+                  text run at (0,80) width 720: "inline box in the first line it appears, and 25px of padding to the right side of the inline element box in the last line where it"
+                  text run at (0,100) width 52: "appears."
+              LayoutBlockFlow {P} at (4,176) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,212) size 747x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 452x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (451,0) size 134x19
+                    text run at (451,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (584,3) size 25x16
+                      text run at (584,3) width 25: "two"
+                  LayoutText {#text} at (608,0) size 713x39
+                    text run at (608,0) width 105: ", giving it an aqua"
+                    text run at (0,20) width 450: "background and no padding, since negative padding values are not allowed"
+                LayoutText {#text} at (450,20) size 739x39
+                  text run at (450,20) width 8: ". "
+                  text run at (458,20) width 281: "Padding on inline elements does not affect line-"
+                  text run at (0,40) width 466: "height calculations, so all lines in this element should have the same line-height."
+              LayoutBlockFlow {P} at (4,288) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_left-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_left-expected.txt
new file mode 100644
index 0000000..968c6e9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_left-expected.txt
@@ -0,0 +1,116 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1045
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1045 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1045
+    LayoutBlockFlow {BODY} at (8,8) size 769x1029 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 416x96
+          text run at (0,0) width 400: ".zero {background-color: silver; padding-left: 0;}"
+          text run at (400,0) width 0: " "
+          text run at (0,16) width 408: ".one {padding-left: 0.5in; background-color: aqua;}"
+          text run at (408,16) width 0: " "
+          text run at (0,32) width 400: ".two {padding-left: 25px; background-color: aqua;}"
+          text run at (400,32) width 0: " "
+          text run at (0,48) width 408: ".three {padding-left: 5em; background-color: aqua;}"
+          text run at (408,48) width 0: " "
+          text run at (0,64) width 400: ".four {padding-left: 25%; background-color: aqua;}"
+          text run at (400,64) width 0: " "
+          text run at (0,80) width 416: ".five {padding-left: -20px; background-color: aqua;}"
+          text run at (416,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,0) size 694x39
+          text run at (48,0) width 595: "This element should have a left padding of half an inch, which will require extra text in order to test. "
+          text run at (643,0) width 99: "Both the content"
+          text run at (48,20) width 338: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,255) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (25,0) size 681x39
+          text run at (25,0) width 582: "This element should have a left padding of 25 pixels, which will require extra text in order to test. "
+          text run at (607,0) width 99: "Both the content"
+          text run at (25,20) width 338: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,311) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (80,0) size 653x39
+          text run at (80,0) width 554: "This element should have a left padding of 5em, which will require extra text in order to test. "
+          text run at (634,0) width 99: "Both the content"
+          text run at (80,20) width 338: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,367) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (192,0) size 573x39
+          text run at (192,0) width 573: "This element should have a left padding of 25%, which is calculated with respect to the width of"
+          text run at (192,20) width 119: "the parent element. "
+          text run at (310,20) width 442: "Both the content background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {UL} at (0,423) size 769x80 [bgcolor=#808080]
+        LayoutListItem {LI} at (25,0) size 744x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 682x19
+            text run at (0,0) width 682: "The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to test."
+        LayoutListItem {LI} at (25,20) size 744x60 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (25,0) size 709x59
+            text run at (25,0) width 684: "Another list item might not be such a bad idea, either, considering that such things do need to be double-checked. "
+            text run at (708,0) width 26: "This"
+            text run at (25,20) width 683: "list item has its left padding also set to 25 pixels, which should combine with the list's padding to make 50 pixels of"
+            text run at (25,40) width 44: "margin."
+      LayoutBlockFlow {P} at (0,519) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 755x39
+          text run at (0,0) width 532: "This element should have no left padding, since negative padding values are not allowed. "
+          text run at (532,0) width 223: "Both the content background and the"
+          text run at (0,20) width 259: "normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,575) size 769x454 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x452
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x424
+            LayoutTableCell {TD} at (0,226) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x424 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,0) size 694x39
+                  text run at (48,0) width 595: "This element should have a left padding of half an inch, which will require extra text in order to test. "
+                  text run at (643,0) width 99: "Both the content"
+                  text run at (48,20) width 338: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,96) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (25,0) size 681x39
+                  text run at (25,0) width 582: "This element should have a left padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (607,0) width 99: "Both the content"
+                  text run at (25,20) width 338: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,152) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (80,0) size 653x39
+                  text run at (80,0) width 554: "This element should have a left padding of 5em, which will require extra text in order to test. "
+                  text run at (634,0) width 99: "Both the content"
+                  text run at (80,20) width 338: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,208) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (186,0) size 557x59
+                  text run at (186,0) width 557: "This element should have a left padding of 25%, which is calculated with respect to the width"
+                  text run at (186,20) width 135: "of the parent element. "
+                  text run at (320,20) width 404: "Both the content background and the padding should be aqua (light"
+                  text run at (186,40) width 35: "blue)."
+              LayoutBlockFlow {UL} at (4,284) size 747x80 [bgcolor=#808080]
+                LayoutListItem {LI} at (25,0) size 722x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 682x19
+                    text run at (0,0) width 682: "The left padding on this unordered list has been set to 25 pixels, which will require some extra test in order to test."
+                LayoutListItem {LI} at (25,20) size 722x60 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (25,0) size 696x59
+                    text run at (25,0) width 680: "Another list item might not be such a bad idea, either, considering that such things do need to be double-checked."
+                    text run at (25,20) width 696: "This list item has its left padding also set to 25 pixels, which should combine with the list's padding to make 50 pixels"
+                    text run at (25,40) width 60: "of margin."
+              LayoutBlockFlow {P} at (4,380) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 733x39
+                  text run at (0,0) width 532: "This element should have no left padding, since negative padding values are not allowed. "
+                  text run at (532,0) width 201: "Both the content background and"
+                  text run at (0,20) width 281: "the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_left_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_left_inline-expected.txt
new file mode 100644
index 0000000..6af1111
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_left_inline-expected.txt
@@ -0,0 +1,101 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 408x48
+          text run at (0,0) width 400: ".one {padding-left: 25px; background-color: aqua;}"
+          text run at (400,0) width 0: " "
+          text run at (0,16) width 408: ".two {padding-left: -10px; background-color: aqua;}"
+          text run at (408,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 514x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 147: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 183x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (538,0) size 134x19
+            text run at (538,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (671,3) size 25x16
+              text run at (671,3) width 25: "one"
+        LayoutText {#text} at (695,0) size 778x39
+          text run at (695,0) width 83: " which should"
+          text run at (0,20) width 450: "result in 25-pixel left padding (which should also be a light blue) only in the "
+        LayoutInline {STRONG} at (0,0) size 27x19
+          LayoutText {#text} at (450,20) size 27x19
+            text run at (450,20) width 27: "first"
+        LayoutText {#text} at (477,20) size 216x19
+          text run at (477,20) width 216: " line in which the inline box appears."
+      LayoutBlockFlow {P} at (0,171) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 514x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 147: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (513,0) size 134x19
+            text run at (513,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (646,3) size 25x16
+              text run at (646,3) width 25: "two"
+        LayoutText {#text} at (670,0) size 753x39
+          text run at (670,0) width 83: " which should"
+          text run at (0,20) width 437: "result in -10px left padding (which should also be a light blue) only in the "
+        LayoutInline {STRONG} at (0,0) size 27x19
+          LayoutText {#text} at (437,20) size 27x19
+            text run at (437,20) width 27: "first"
+        LayoutText {#text} at (464,20) size 216x19
+          text run at (464,20) width 216: " line in which the inline box appears."
+      LayoutTable {TABLE} at (0,227) size 784x134 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x132
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x104
+            LayoutTableCell {TD} at (0,66) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 514x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 147: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 183x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (538,0) size 134x19
+                    text run at (538,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (671,3) size 25x16
+                      text run at (671,3) width 25: "one"
+                LayoutText {#text} at (695,0) size 735x39
+                  text run at (695,0) width 40: " which"
+                  text run at (0,20) width 493: "should result in 25-pixel left padding (which should also be a light blue) only in the "
+                LayoutInline {STRONG} at (0,0) size 27x19
+                  LayoutText {#text} at (493,20) size 27x19
+                    text run at (493,20) width 27: "first"
+                LayoutText {#text} at (520,20) size 216x19
+                  text run at (520,20) width 216: " line in which the inline box appears."
+              LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 514x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 147: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (513,0) size 134x19
+                    text run at (513,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (646,3) size 25x16
+                      text run at (646,3) width 25: "two"
+                LayoutText {#text} at (670,0) size 753x39
+                  text run at (670,0) width 83: " which should"
+                  text run at (0,20) width 437: "result in -10px left padding (which should also be a light blue) only in the "
+                LayoutInline {STRONG} at (0,0) size 27x19
+                  LayoutText {#text} at (437,20) size 27x19
+                    text run at (437,20) width 27: "first"
+                LayoutText {#text} at (464,20) size 216x19
+                  text run at (464,20) width 216: " line in which the inline box appears."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_right-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_right-expected.txt
new file mode 100644
index 0000000..a7445fe
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_right-expected.txt
@@ -0,0 +1,131 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1185
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1185 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1185
+    LayoutBlockFlow {BODY} at (8,8) size 769x1169 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 576x96
+          text run at (0,0) width 408: ".zero {background-color: silver; padding-right: 0;}"
+          text run at (408,0) width 0: " "
+          text run at (0,16) width 568: ".one {padding-right: 0.5in; text-align: right; background-color: aqua;}"
+          text run at (568,16) width 0: " "
+          text run at (0,32) width 560: ".two {padding-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (560,32) width 0: " "
+          text run at (0,48) width 568: ".three {padding-right: 5em; text-align: right; background-color: aqua;}"
+          text run at (568,48) width 0: " "
+          text run at (0,64) width 560: ".four {padding-right: 25%; text-align: right; background-color: aqua;}"
+          text run at (560,64) width 0: " "
+          text run at (0,80) width 576: ".five {padding-right: -20px; text-align: right; background-color: aqua;}"
+          text run at (576,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (19,0) size 702x59
+          text run at (19,0) width 603: "This element should have a right padding of half an inch, which will require extra text in order to test. "
+          text run at (622,0) width 99: "Both the content"
+          text run at (39,20) width 342: "background and the padding should be aqua (light blue). "
+          text run at (381,20) width 340: "The text has been right-aligned in order to make the right"
+          text run at (590,40) width 131: "padding easier to see."
+      LayoutBlockFlow {P} at (0,275) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (55,0) size 734x59
+          text run at (55,0) width 590: "This element should have a right padding of 25 pixels, which will require extra text in order to test. "
+          text run at (645,0) width 99: "Both the content"
+          text run at (10,20) width 342: "background and the padding should be aqua (light blue). "
+          text run at (352,20) width 392: "The text has been right-aligned in order to make the right padding"
+          text run at (665,40) width 79: "easier to see."
+      LayoutBlockFlow {P} at (0,351) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (24,0) size 682x59
+          text run at (24,0) width 566: "This element should have a right padding of 5 em, which will require extra text in order to test. "
+          text run at (590,0) width 99: "Both the content"
+          text run at (7,20) width 342: "background and the padding should be aqua (light blue). "
+          text run at (349,20) width 340: "The text has been right-aligned in order to make the right"
+          text run at (558,40) width 131: "padding easier to see."
+      LayoutBlockFlow {P} at (0,427) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (12,0) size 576x59
+          text run at (12,0) width 565: "This element should have a right padding of 25%, which is calculated with respect to the width"
+          text run at (1,20) width 135: "of the parent element. "
+          text run at (135,20) width 442: "Both the content background and the padding should be aqua (light blue)."
+          text run at (101,40) width 476: "The text has been right-aligned in order to make the right padding easier to see."
+      LayoutBlockFlow {UL} at (0,503) size 769x40 [bgcolor=#808080]
+        LayoutListItem {LI} at (40,0) size 704x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (13,0) size 691x19
+            text run at (13,0) width 691: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in order to test."
+        LayoutListItem {LI} at (40,20) size 704x20 [bgcolor=#FFFFFF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (5,0) size 674x19
+            text run at (5,0) width 674: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the UL element."
+      LayoutBlockFlow {P} at (0,559) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (6,0) size 763x59
+          text run at (6,0) width 540: "This element should have no right padding, since negative padding values are not allowed. "
+          text run at (546,0) width 223: "Both the content background and the"
+          text run at (14,20) width 263: "normal padding should be aqua (light blue). "
+          text run at (277,20) width 492: "The text has been right-aligned in order to make the lack of right padding easier to"
+          text run at (745,40) width 24: "see."
+      LayoutTable {TABLE} at (0,635) size 769x534 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x532
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x504
+            LayoutTableCell {TD} at (0,266) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x504 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (45,0) size 678x59
+                  text run at (45,0) width 603: "This element should have a right padding of half an inch, which will require extra text in order to test. "
+                  text run at (648,0) width 51: "Both the"
+                  text run at (21,20) width 390: "content background and the padding should be aqua (light blue). "
+                  text run at (411,20) width 288: "The text has been right-aligned in order to make"
+                  text run at (516,40) width 183: "the right padding easier to see."
+              LayoutBlockFlow {P} at (4,116) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (33,0) size 689x59
+                  text run at (33,0) width 590: "This element should have a right padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (623,0) width 99: "Both the content"
+                  text run at (40,20) width 342: "background and the padding should be aqua (light blue). "
+                  text run at (382,20) width 340: "The text has been right-aligned in order to make the right"
+                  text run at (591,40) width 131: "padding easier to see."
+              LayoutBlockFlow {P} at (4,192) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (2,0) size 665x59
+                  text run at (2,0) width 566: "This element should have a right padding of 5 em, which will require extra text in order to test. "
+                  text run at (568,0) width 99: "Both the content"
+                  text run at (15,20) width 342: "background and the padding should be aqua (light blue). "
+                  text run at (357,20) width 310: "The text has been right-aligned in order to make the"
+                  text run at (506,40) width 161: "right padding easier to see."
+              LayoutBlockFlow {P} at (4,268) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (33,0) size 547x59
+                  text run at (33,0) width 528: "This element should have a right padding of 25%, which is calculated with respect to the"
+                  text run at (19,20) width 172: "width of the parent element. "
+                  text run at (190,20) width 371: "Both the content background and the padding should be aqua"
+                  text run at (14,40) width 72: "(light blue). "
+                  text run at (85,40) width 476: "The text has been right-aligned in order to make the right padding easier to see."
+              LayoutBlockFlow {UL} at (4,344) size 747x80 [bgcolor=#808080]
+                LayoutListItem {LI} at (40,0) size 682x40
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (20,0) size 662x39
+                    text run at (20,0) width 662: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in order to"
+                    text run at (657,20) width 25: "test."
+                LayoutListItem {LI} at (40,40) size 682x40 [bgcolor=#FFFFFF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (37,0) size 620x39
+                    text run at (37,0) width 620: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the UL"
+                    text run at (607,20) width 50: "element."
+              LayoutBlockFlow {P} at (4,440) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (6,0) size 741x59
+                  text run at (6,0) width 540: "This element should have no right padding, since negative padding values are not allowed. "
+                  text run at (546,0) width 201: "Both the content background and"
+                  text run at (25,20) width 285: "the normal padding should be aqua (light blue). "
+                  text run at (310,20) width 437: "The text has been right-aligned in order to make the lack of right padding"
+                  text run at (668,40) width 79: "easier to see."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_right_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_right_inline-expected.txt
new file mode 100644
index 0000000..028b1b0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_right_inline-expected.txt
@@ -0,0 +1,101 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 568x48
+          text run at (0,0) width 560: ".one {padding-right: 25px; text-align: right; background-color: aqua;}"
+          text run at (560,0) width 0: " "
+          text run at (0,16) width 568: ".two {padding-right: -10px; text-align: right; background-color: aqua;}"
+          text run at (568,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 514x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 147: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 183x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (513,0) size 134x19
+            text run at (513,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (646,3) size 25x16
+              text run at (646,3) width 25: "one"
+        LayoutText {#text} at (695,0) size 782x39
+          text run at (695,0) width 87: ", which should"
+          text run at (0,20) width 447: "result in 25-pixel right padding (which should also be light blue) only in the "
+        LayoutInline {STRONG} at (0,0) size 24x19
+          LayoutText {#text} at (447,20) size 24x19
+            text run at (447,20) width 24: "last"
+        LayoutText {#text} at (471,20) size 216x19
+          text run at (471,20) width 216: " line in which the inline box appears."
+      LayoutBlockFlow {P} at (0,171) size 784x40 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 514x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 147: "However, it contains an "
+        LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+          LayoutText {#text} at (513,0) size 134x19
+            text run at (513,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (646,3) size 25x16
+              text run at (646,3) width 25: "two"
+        LayoutText {#text} at (670,0) size 757x39
+          text run at (670,0) width 87: ", which should"
+          text run at (0,20) width 472: "result in no right padding, since negative padding values are not allowed, in the "
+        LayoutInline {STRONG} at (0,0) size 24x19
+          LayoutText {#text} at (472,20) size 24x19
+            text run at (472,20) width 24: "last"
+        LayoutText {#text} at (496,20) size 216x19
+          text run at (496,20) width 216: " line in which the inline box appears."
+      LayoutTable {TABLE} at (0,227) size 784x134 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x132
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x104
+            LayoutTableCell {TD} at (0,66) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x104 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 514x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 147: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 183x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (513,0) size 134x19
+                    text run at (513,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (646,3) size 25x16
+                      text run at (646,3) width 25: "one"
+                LayoutText {#text} at (695,0) size 739x39
+                  text run at (695,0) width 44: ", which"
+                  text run at (0,20) width 490: "should result in 25-pixel right padding (which should also be light blue) only in the "
+                LayoutInline {STRONG} at (0,0) size 24x19
+                  LayoutText {#text} at (490,20) size 24x19
+                    text run at (490,20) width 24: "last"
+                LayoutText {#text} at (514,20) size 216x19
+                  text run at (514,20) width 216: " line in which the inline box appears."
+              LayoutBlockFlow {P} at (4,60) size 762x40 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 514x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 147: "However, it contains an "
+                LayoutInline {SPAN} at (0,0) size 158x19 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (513,0) size 134x19
+                    text run at (513,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (646,3) size 25x16
+                      text run at (646,3) width 25: "two"
+                LayoutText {#text} at (670,0) size 757x39
+                  text run at (670,0) width 87: ", which should"
+                  text run at (0,20) width 472: "result in no right padding, since negative padding values are not allowed, in the "
+                LayoutInline {STRONG} at (0,0) size 24x19
+                  LayoutText {#text} at (472,20) size 24x19
+                    text run at (472,20) width 24: "last"
+                LayoutText {#text} at (496,20) size 216x19
+                  text run at (496,20) width 216: " line in which the inline box appears."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_top-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_top-expected.txt
new file mode 100644
index 0000000..b546a90
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_top-expected.txt
@@ -0,0 +1,94 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1518
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1518 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1518.25
+    LayoutBlockFlow {BODY} at (8,8) size 769x1502.25 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 408x96
+          text run at (0,0) width 392: ".zero {background-color: silver; padding-top: 0;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 400: ".one {padding-top: 0.5in; background-color: aqua;}"
+          text run at (400,16) width 0: " "
+          text run at (0,32) width 392: ".two {padding-top: 25px; background-color: aqua;}"
+          text run at (392,32) width 0: " "
+          text run at (0,48) width 400: ".three {padding-top: 5em; background-color: aqua;}"
+          text run at (400,48) width 0: " "
+          text run at (0,64) width 392: ".four {padding-top: 25%; background-color: aqua;}"
+          text run at (392,64) width 0: " "
+          text run at (0,80) width 408: ".five {padding-top: -20px; background-color: aqua;}"
+          text run at (408,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20 [bgcolor=#C0C0C0]
+        LayoutText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This element has a class of zero."
+      LayoutBlockFlow {P} at (0,199) size 769x88 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,48) size 696x39
+          text run at (0,48) width 597: "This element should have a top padding of half an inch, which will require extra text in order to test. "
+          text run at (597,48) width 99: "Both the content"
+          text run at (0,68) width 338: "background and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,303) size 769x65 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,25) size 759x39
+          text run at (0,25) width 584: "This element should have a top padding of 25 pixels, which will require extra text in order to test. "
+          text run at (584,25) width 175: "Both the content background"
+          text run at (0,45) width 262: "and the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,384) size 769x120 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,80) size 761x39
+          text run at (0,80) width 560: "This element should have a top padding of 5 em, which will require extra text in order to test. "
+          text run at (560,80) width 201: "Both the content background and"
+          text run at (0,100) width 236: "the padding should be aqua (light blue)."
+      LayoutBlockFlow {P} at (0,520) size 769x232.25 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,192) size 747x39
+          text run at (0,192) width 696: "This element should have a top padding of 25%, which is calculated with respect to the width of the parent element. "
+          text run at (696,192) width 51: "Both the"
+          text run at (0,212) width 390: "content background and the padding should be aqua (light blue). "
+          text run at (390,212) width 251: "This will require extra text in order to test."
+      LayoutBlockFlow {P} at (0,768.25) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 757x39
+          text run at (0,0) width 534: "This element should have no top padding, since negative padding values are not allowed. "
+          text run at (534,0) width 223: "Both the content background and the"
+          text run at (0,20) width 259: "normal padding should be aqua (light blue)."
+      LayoutTable {TABLE} at (0,824.25) size 769x678 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x676
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x648
+            LayoutTableCell {TD} at (0,338) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x647.75 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#C0C0C0]
+                LayoutText {#text} at (0,0) size 193x19
+                  text run at (0,0) width 193: "This element has a class of zero."
+              LayoutBlockFlow {P} at (4,40) size 747x88 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,48) size 696x39
+                  text run at (0,48) width 597: "This element should have a top padding of half an inch, which will require extra text in order to test. "
+                  text run at (597,48) width 99: "Both the content"
+                  text run at (0,68) width 338: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,144) size 747x65 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,25) size 683x39
+                  text run at (0,25) width 584: "This element should have a top padding of 25 pixels, which will require extra text in order to test. "
+                  text run at (584,25) width 99: "Both the content"
+                  text run at (0,45) width 338: "background and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,225) size 747x120 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,80) size 735x39
+                  text run at (0,80) width 560: "This element should have a top padding of 5 em, which will require extra text in order to test. "
+                  text run at (560,80) width 175: "Both the content background"
+                  text run at (0,100) width 262: "and the padding should be aqua (light blue)."
+              LayoutBlockFlow {P} at (4,361) size 747x226.75 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,187) size 747x39
+                  text run at (0,187) width 696: "This element should have a top padding of 25%, which is calculated with respect to the width of the parent element. "
+                  text run at (696,187) width 51: "Both the"
+                  text run at (0,207) width 390: "content background and the padding should be aqua (light blue). "
+                  text run at (390,207) width 251: "This will require extra text in order to test."
+              LayoutBlockFlow {P} at (4,603.75) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 735x39
+                  text run at (0,0) width 534: "This element should have no top padding, since negative padding values are not allowed. "
+                  text run at (534,0) width 201: "Both the content background and"
+                  text run at (0,20) width 281: "the normal padding should be aqua (light blue)."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_top_inline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_top_inline-expected.txt
new file mode 100644
index 0000000..c488791
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/padding_top_inline-expected.txt
@@ -0,0 +1,101 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 400x48
+          text run at (0,0) width 392: ".one {padding-top: 25px; background-color: aqua;}"
+          text run at (392,0) width 0: " "
+          text run at (0,16) width 400: ".two {padding-top: -10px; background-color: aqua;}"
+          text run at (400,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x80 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 713x64 [bgcolor=#00FFFF]
+          LayoutText {#text} at (451,0) size 134x19
+            text run at (451,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (584,3) size 25x16
+              text run at (584,3) width 25: "one"
+          LayoutText {#text} at (608,0) size 713x39
+            text run at (608,0) width 105: ", giving it an aqua"
+            text run at (0,20) width 220: "background and a 25px top padding"
+        LayoutText {#text} at (220,20) size 783x59
+          text run at (220,20) width 8: ". "
+          text run at (228,20) width 546: "Padding on inline elements does not affect line-height calculations, so all lines in this element"
+          text run at (0,40) width 201: "should have the same line-height. "
+          text run at (201,40) width 582: "There may be implementation-specific limits on how much of the padding the user agent is able to"
+          text run at (0,60) width 45: "display."
+      LayoutBlockFlow {P} at (0,211) size 784x60 [bgcolor=#808080]
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+          text run at (367,0) width 85: "It contains an "
+        LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
+          LayoutText {#text} at (451,0) size 134x19
+            text run at (451,0) width 134: "inline element of class "
+          LayoutInline {TT} at (0,0) size 25x16
+            LayoutText {#text} at (584,3) size 25x16
+              text run at (584,3) width 25: "two"
+          LayoutText {#text} at (608,0) size 713x39
+            text run at (608,0) width 105: ", giving it an aqua"
+            text run at (0,20) width 474: "background and no top padding, since negative padding values are not allowed"
+        LayoutText {#text} at (474,20) size 763x39
+          text run at (474,20) width 8: ". "
+          text run at (482,20) width 281: "Padding on inline elements does not affect line-"
+          text run at (0,40) width 466: "height calculations, so all lines in this element should have the same line-height."
+      LayoutTable {TABLE} at (0,287) size 784x194 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x192
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x164
+            LayoutTableCell {TD} at (0,96) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x80 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 452x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 713x64 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (451,0) size 134x19
+                    text run at (451,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (584,3) size 25x16
+                      text run at (584,3) width 25: "one"
+                  LayoutText {#text} at (608,0) size 713x39
+                    text run at (608,0) width 105: ", giving it an aqua"
+                    text run at (0,20) width 220: "background and a 25px top padding"
+                LayoutText {#text} at (220,20) size 739x59
+                  text run at (220,20) width 8: ". "
+                  text run at (228,20) width 496: "Padding on inline elements does not affect line-height calculations, so all lines in this"
+                  text run at (0,40) width 251: "element should have the same line-height. "
+                  text run at (251,40) width 488: "There may be implementation-specific limits on how much of the padding the user"
+                  text run at (0,60) width 139: "agent is able to display."
+              LayoutBlockFlow {P} at (4,100) size 762x60 [bgcolor=#808080]
+                LayoutText {#text} at (0,0) size 452x19
+                  text run at (0,0) width 368: "This element is unstyled save for a background color of gray. "
+                  text run at (367,0) width 85: "It contains an "
+                LayoutInline {SPAN} at (0,0) size 713x39 [bgcolor=#00FFFF]
+                  LayoutText {#text} at (451,0) size 134x19
+                    text run at (451,0) width 134: "inline element of class "
+                  LayoutInline {TT} at (0,0) size 25x16
+                    LayoutText {#text} at (584,3) size 25x16
+                      text run at (584,3) width 25: "two"
+                  LayoutText {#text} at (608,0) size 713x39
+                    text run at (608,0) width 105: ", giving it an aqua"
+                    text run at (0,20) width 474: "background and no top padding, since negative padding values are not allowed"
+                LayoutText {#text} at (474,20) size 733x39
+                  text run at (474,20) width 8: ". "
+                  text run at (482,20) width 251: "Padding on inline elements does not affect"
+                  text run at (0,40) width 492: "line-height calculations, so all lines in this element should have the same line-height."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/width-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/width-expected.txt
new file mode 100644
index 0000000..40613e8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/width-expected.txt
@@ -0,0 +1,86 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1391
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1391 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1391
+    LayoutBlockFlow {BODY} at (8,8) size 769x1375 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x48
+        LayoutText {#text} at (0,0) size 152x48
+          text run at (0,0) width 152: ".one {width: 50px;}"
+          text run at (152,0) width 0: " "
+          text run at (0,16) width 144: ".two {width: 50%;}"
+          text run at (144,16) width 0: " "
+          text run at (0,32) width 152: "TABLE {width: 50%;}"
+          text run at (152,32) width 0: " "
+      LayoutBlockFlow (anonymous) at (0,107) size 769x50
+        LayoutImage {IMG} at (0,0) size 50x50
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,173) size 769x20
+        LayoutText {#text} at (0,0) size 271x19
+          text run at (0,0) width 271: "The square above should be fifty pixels wide."
+      LayoutBlockFlow (anonymous) at (0,209) size 769x385
+        LayoutImage {IMG} at (0,0) size 384.50x384.50
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,610) size 769x20
+        LayoutText {#text} at (0,0) size 641x19
+          text run at (0,0) width 641: "The square above should be half as wide as the image's parent element (either the BODY or the table cell)."
+      LayoutBlockFlow {P} at (0,646) size 384.50x100
+        LayoutText {#text} at (0,0) size 361x79
+          text run at (0,0) width 361: "This paragraph should be half the width of its parent element"
+          text run at (0,20) width 358: "(either the BODY or the table, which should itself be half as"
+          text run at (0,40) width 179: "wide as the BODY element). "
+          text run at (179,40) width 168: "This is extra text included to"
+          text run at (0,60) width 233: "ensure that this will be a fair test of the "
+        LayoutInline {CODE} at (0,0) size 40x16
+          LayoutText {#text} at (233,63) size 40x16
+            text run at (233,63) width 40: "width"
+        LayoutText {#text} at (273,60) size 377x39
+          text run at (273,60) width 104: " property without"
+          text run at (0,80) width 303: "the need for the user to resize the viewing window."
+      LayoutTable {TABLE} at (0,762) size 384x613 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 382x611
+          LayoutTableRow {TR} at (0,0) size 382x28
+            LayoutTableCell {TD} at (0,0) size 382x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 382x583
+            LayoutTableCell {TD} at (0,305) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 370x583 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow (anonymous) at (4,4) size 362x50
+                LayoutImage {IMG} at (0,0) size 50x50
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,70) size 362x20
+                LayoutText {#text} at (0,0) size 271x19
+                  text run at (0,0) width 271: "The square above should be fifty pixels wide."
+              LayoutBlockFlow (anonymous) at (4,106) size 362x181
+                LayoutImage {IMG} at (0,0) size 181x181
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,303) size 362x40
+                LayoutText {#text} at (0,0) size 332x39
+                  text run at (0,0) width 332: "The square above should be half as wide as the image's"
+                  text run at (0,20) width 305: "parent element (either the BODY or the table cell)."
+              LayoutBlockFlow {P} at (4,359) size 181x220
+                LayoutText {#text} at (0,0) size 180x159
+                  text run at (0,0) width 177: "This paragraph should be half"
+                  text run at (0,20) width 180: "the width of its parent element"
+                  text run at (0,40) width 147: "(either the BODY or the"
+                  text run at (0,60) width 165: "table, which should itself be"
+                  text run at (0,80) width 158: "half as wide as the BODY"
+                  text run at (0,100) width 59: "element). "
+                  text run at (59,100) width 98: "This is extra text"
+                  text run at (0,120) width 159: "included to ensure that this"
+                  text run at (0,140) width 140: "will be a fair test of the "
+                LayoutInline {CODE} at (0,0) size 40x16
+                  LayoutText {#text} at (140,143) size 40x16
+                    text run at (140,143) width 40: "width"
+                LayoutText {#text} at (0,160) size 176x59
+                  text run at (0,160) width 176: "property without the need for"
+                  text run at (0,180) width 172: "the user to resize the viewing"
+                  text run at (0,200) width 51: "window."
+layer at (8,105) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/cascade/cascade_order-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/cascade/cascade_order-expected.txt
new file mode 100644
index 0000000..28833e3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/cascade/cascade_order-expected.txt
@@ -0,0 +1,143 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 849
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x849 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x849
+    LayoutBlockFlow {BODY} at (8,8) size 769x833 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x176
+        LayoutText {#text} at (0,0) size 576x176
+          text run at (0,0) width 576: "<LINK rel=\"stylesheet\" type=\"text/css\" HREF=\"../resources/linktest.css\">"
+          text run at (576,0) width 0: " "
+          text run at (0,16) width 152: "LI {color: purple;}"
+          text run at (152,16) width 0: " "
+          text run at (0,32) width 160: "UL LI {color: blue;}"
+          text run at (160,32) width 0: " "
+          text run at (0,48) width 184: "UL LI LI {color: gray;}"
+          text run at (184,48) width 0: " "
+          text run at (0,64) width 176: "LI.red {color: green;}"
+          text run at (176,64) width 0: " "
+          text run at (0,80) width 216: "UL LI.mar {color: #660000;}"
+          text run at (216,80) width 0: " "
+          text run at (0,96) width 200: "UL LI#gre {color: green;}"
+          text run at (200,96) width 0: " "
+          text run at (0,112) width 160: ".test {color: blue;}"
+          text run at (160,112) width 0: " "
+          text run at (0,128) width 176: ".test {color: purple;}"
+          text run at (176,128) width 0: " "
+          text run at (0,144) width 296: ".one {text-decoration: line-through;}"
+          text run at (296,144) width 0: " "
+          text run at (0,160) width 0: " "
+      LayoutBlockFlow {UL} at (0,243) size 769x160
+        LayoutListItem {LI} at (40,0) size 729x20 [color=#0000FF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 177x19
+            text run at (0,0) width 177: "This list item should be blue..."
+        LayoutListItem {LI} at (40,20) size 729x80 [color=#0000FF]
+          LayoutBlockFlow (anonymous) at (0,0) size 729x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 275x19
+              text run at (0,0) width 275: "...and so should this; neither should be purple."
+          LayoutBlockFlow {UL} at (0,20) size 729x60
+            LayoutListItem {LI} at (40,0) size 689x20 [color=#808080]
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 177x19
+                text run at (0,0) width 177: "This list item should be gray..."
+            LayoutListItem {LI} at (40,20) size 689x20 [color=#808080]
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 108x19
+                text run at (0,0) width 108: "...as should this...."
+            LayoutListItem {LI} at (40,40) size 689x20 [color=#008000]
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutText {#text} at (0,0) size 184x19
+                text run at (0,0) width 184: "...but this one should be green."
+        LayoutListItem {LI} at (40,100) size 729x20 [color=#660000]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 165x19
+            text run at (0,0) width 165: "This ought to be dark red..."
+        LayoutListItem {LI} at (40,120) size 729x20 [color=#008000]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 81x19
+            text run at (0,0) width 81: "...this green..."
+        LayoutListItem {LI} at (40,140) size 729x20 [color=#0000FF]
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 91x19
+            text run at (0,0) width 91: "...and this blue."
+      LayoutBlockFlow {P} at (0,419) size 769x20 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 265x19
+          text run at (0,0) width 265: "This sentence should be blue (STYLE attr.)."
+      LayoutBlockFlow {P} at (0,455) size 769x20 [color=#800080]
+        LayoutText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be purple ["
+        LayoutInline {CODE} at (0,0) size 96x16
+          LayoutText {#text} at (194,3) size 96x16
+            text run at (194,3) width 96: "class=\"test\""
+        LayoutText {#text} at (290,0) size 9x19
+          text run at (290,0) width 9: "]."
+      LayoutBlockFlow {P} at (0,491) size 769x20
+        LayoutText {#text} at (0,0) size 652x19
+          text run at (0,0) width 652: "This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported)."
+      LayoutTable {TABLE} at (0,527) size 674x306 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 672x304
+          LayoutTableRow {TR} at (0,0) size 672x28
+            LayoutTableCell {TD} at (0,0) size 672x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 672x276
+            LayoutTableCell {TD} at (0,152) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 660x276 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 652x160
+                LayoutListItem {LI} at (40,0) size 612x20 [color=#0000FF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 177x19
+                    text run at (0,0) width 177: "This list item should be blue..."
+                LayoutListItem {LI} at (40,20) size 612x80 [color=#0000FF]
+                  LayoutBlockFlow (anonymous) at (0,0) size 612x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 275x19
+                      text run at (0,0) width 275: "...and so should this; neither should be purple."
+                  LayoutBlockFlow {UL} at (0,20) size 612x60
+                    LayoutListItem {LI} at (40,0) size 572x20 [color=#808080]
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 177x19
+                        text run at (0,0) width 177: "This list item should be gray..."
+                    LayoutListItem {LI} at (40,20) size 572x20 [color=#808080]
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 108x19
+                        text run at (0,0) width 108: "...as should this...."
+                    LayoutListItem {LI} at (40,40) size 572x20 [color=#008000]
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutText {#text} at (0,0) size 184x19
+                        text run at (0,0) width 184: "...but this one should be green."
+                LayoutListItem {LI} at (40,100) size 612x20 [color=#660000]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 165x19
+                    text run at (0,0) width 165: "This ought to be dark red..."
+                LayoutListItem {LI} at (40,120) size 612x20 [color=#008000]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 81x19
+                    text run at (0,0) width 81: "...this green..."
+                LayoutListItem {LI} at (40,140) size 612x20 [color=#0000FF]
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 91x19
+                    text run at (0,0) width 91: "...and this blue."
+              LayoutBlockFlow {P} at (4,180) size 652x20 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 265x19
+                  text run at (0,0) width 265: "This sentence should be blue (STYLE attr.)."
+              LayoutBlockFlow {P} at (4,216) size 652x20 [color=#800080]
+                LayoutText {#text} at (0,0) size 194x19
+                  text run at (0,0) width 194: "This sentence should be purple ["
+                LayoutInline {CODE} at (0,0) size 96x16
+                  LayoutText {#text} at (194,3) size 96x16
+                    text run at (194,3) width 96: "class=\"test\""
+                LayoutText {#text} at (290,0) size 9x19
+                  text run at (290,0) width 9: "]."
+              LayoutBlockFlow {P} at (4,252) size 652x20
+                LayoutText {#text} at (0,0) size 652x19
+                  text run at (0,0) width 652: "This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported)."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/cascade/important-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/cascade/important-expected.txt
new file mode 100644
index 0000000..af35e590
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/cascade/important-expected.txt
@@ -0,0 +1,69 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 232x64
+          text run at (0,0) width 232: "P {color: green ! important;}"
+          text run at (232,0) width 0: " "
+          text run at (0,16) width 120: "P {color: red;}"
+          text run at (120,16) width 0: " "
+          text run at (0,32) width 176: "P#id1 {color: purple;}"
+          text run at (176,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x40 [color=#008000]
+        LayoutText {#text} at (0,0) size 755x39
+          text run at (0,0) width 755: "This sentence should be green, because the declaration marked important should override any other normal declaration for the"
+          text run at (0,20) width 315: "same element, even if it occurs later in the stylesheet."
+      LayoutBlockFlow {P} at (0,187) size 784x40 [color=#008000]
+        LayoutText {#text} at (0,0) size 381x19
+          text run at (0,0) width 381: "This sentence should also be green, even though it has an ID of "
+        LayoutInline {TT} at (0,0) size 24x16
+          LayoutText {#text} at (381,3) size 24x16
+            text run at (381,3) width 24: "id1"
+        LayoutText {#text} at (405,0) size 738x39
+          text run at (405,0) width 242: ", which would ordinarily make it purple. "
+          text run at (647,0) width 91: "This is because"
+          text run at (0,20) width 611: "declarations marked important have more weight than normal declarations given in a STYLE attribute."
+      LayoutBlockFlow {P} at (0,243) size 784x40 [color=#008000]
+        LayoutText {#text} at (0,0) size 741x39
+          text run at (0,0) width 574: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. "
+          text run at (574,0) width 167: "This is because declarations"
+          text run at (0,20) width 535: "marked important have more weight than normal declarations given in a STYLE attribute."
+      LayoutTable {TABLE} at (0,299) size 784x190 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x188
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x160
+            LayoutTableCell {TD} at (0,94) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x160 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40 [color=#008000]
+                LayoutText {#text} at (0,0) size 755x39
+                  text run at (0,0) width 755: "This sentence should be green, because the declaration marked important should override any other normal declaration for the"
+                  text run at (0,20) width 315: "same element, even if it occurs later in the stylesheet."
+              LayoutBlockFlow {P} at (4,60) size 762x40 [color=#008000]
+                LayoutText {#text} at (0,0) size 381x19
+                  text run at (0,0) width 381: "This sentence should also be green, even though it has an ID of "
+                LayoutInline {TT} at (0,0) size 24x16
+                  LayoutText {#text} at (381,3) size 24x16
+                    text run at (381,3) width 24: "id1"
+                LayoutText {#text} at (405,0) size 738x39
+                  text run at (405,0) width 242: ", which would ordinarily make it purple. "
+                  text run at (647,0) width 91: "This is because"
+                  text run at (0,20) width 611: "declarations marked important have more weight than normal declarations given in a STYLE attribute."
+              LayoutBlockFlow {P} at (4,116) size 762x40 [color=#008000]
+                LayoutText {#text} at (0,0) size 741x39
+                  text run at (0,0) width 574: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. "
+                  text run at (574,0) width 167: "This is because declarations"
+                  text run at (0,20) width 535: "marked important have more weight than normal declarations given in a STYLE attribute."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/display-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/display-expected.txt
new file mode 100644
index 0000000..de3e0b8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/display-expected.txt
@@ -0,0 +1,131 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 873
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x873 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x873
+    LayoutBlockFlow {BODY} at (8,8) size 769x857 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x80
+        LayoutText {#text} at (0,0) size 568x80
+          text run at (0,0) width 176: ".one {display: block;}"
+          text run at (176,0) width 0: " "
+          text run at (0,16) width 184: ".two {display: inline;}"
+          text run at (184,16) width 0: " "
+          text run at (0,32) width 568: ".three {display: list-item; list-style-type: square; margin-left: 3em;}"
+          text run at (568,32) width 0: " "
+          text run at (0,48) width 272: ".four {display: none; color: red;}"
+          text run at (272,48) width 0: " "
+          text run at (0,64) width 152: "I {display: block;}"
+          text run at (152,64) width 0: " "
+      LayoutBlockFlow {P} at (0,147) size 769x20
+        LayoutText {#text} at (0,0) size 279x19
+          text run at (0,0) width 279: "This sentence should be a block-level element."
+      LayoutBlockFlow (anonymous) at (0,183) size 769x60
+        LayoutInline {P} at (0,0) size 426x19
+          LayoutText {#text} at (0,0) size 426x19
+            text run at (0,0) width 426: "This sentence should be part of an inline element, as are the next three. "
+        LayoutInline {P} at (0,0) size 742x59
+          LayoutText {#text} at (426,0) size 742x59
+            text run at (426,0) width 310: "This sentence and the next two are part of a second"
+            text run at (0,20) width 88: "inline element. "
+            text run at (88,20) width 654: "They should therefore appear, along with the sentence above, to be all one paragraph which is four sentences"
+            text run at (0,40) width 33: "long. "
+            text run at (33,40) width 239: "If this is not the case, then the keyword "
+          LayoutInline {CODE} at (0,0) size 48x16
+            LayoutText {#text} at (272,43) size 48x16
+              text run at (272,43) width 48: "inline"
+          LayoutText {#text} at (320,40) size 102x19
+            text run at (320,40) width 102: " is being ignored."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutListItem {P} at (48,259) size 721x60
+        LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+        LayoutText {#text} at (0,0) size 701x19
+          text run at (0,0) width 701: "This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list items (if"
+        LayoutInline {CODE} at (0,0) size 120x16
+          LayoutText {#text} at (0,23) size 120x16
+            text run at (0,23) width 120: "list-style-type"
+        LayoutText {#text} at (120,20) size 692x39
+          text run at (120,20) width 346: " is supported, there will be a square for the item marker). "
+          text run at (466,20) width 226: "A 3em left margin has been applied in"
+          text run at (0,40) width 349: "order to ensure that there is space for the list-item marker."
+      LayoutBlockFlow {P} at (0,335) size 769x20
+        LayoutText {#text} at (0,0) size 429x19
+          text run at (0,0) width 429: "The next paragraph should be invisible (if it's visible, you'll see red text)."
+      LayoutBlockFlow {P} at (0,371) size 769x20
+        LayoutText {#text} at (0,0) size 235x19
+          text run at (0,0) width 235: "There should be no text after the colon:"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,407) size 769x60
+        LayoutBlockFlow (anonymous) at (0,0) size 769x20
+          LayoutText {#text} at (0,0) size 104x19
+            text run at (0,0) width 104: "The italicized text"
+        LayoutBlockFlow {I} at (0,20) size 769x20
+          LayoutText {#text} at (0,0) size 111x19
+            text run at (0,0) width 111: "in this paragraph"
+        LayoutBlockFlow (anonymous) at (0,40) size 769x20
+          LayoutText {#text} at (0,0) size 194x19
+            text run at (0,0) width 194: "should be a block-level element."
+      LayoutTable {TABLE} at (0,483) size 769x374 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x372
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x344
+            LayoutTableCell {TD} at (0,186) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x344 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 279x19
+                  text run at (0,0) width 279: "This sentence should be a block-level element."
+              LayoutBlockFlow (anonymous) at (4,40) size 747x60
+                LayoutInline {P} at (0,0) size 426x19
+                  LayoutText {#text} at (0,0) size 426x19
+                    text run at (0,0) width 426: "This sentence should be part of an inline element, as are the next three. "
+                LayoutInline {P} at (0,0) size 742x59
+                  LayoutText {#text} at (426,0) size 742x59
+                    text run at (426,0) width 310: "This sentence and the next two are part of a second"
+                    text run at (0,20) width 88: "inline element. "
+                    text run at (88,20) width 654: "They should therefore appear, along with the sentence above, to be all one paragraph which is four sentences"
+                    text run at (0,40) width 33: "long. "
+                    text run at (33,40) width 239: "If this is not the case, then the keyword "
+                  LayoutInline {CODE} at (0,0) size 48x16
+                    LayoutText {#text} at (272,43) size 48x16
+                      text run at (272,43) width 48: "inline"
+                  LayoutText {#text} at (320,40) size 102x19
+                    text run at (320,40) width 102: " is being ignored."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutListItem {P} at (52,116) size 699x60
+                LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+                LayoutText {#text} at (0,0) size 685x39
+                  text run at (0,0) width 685: "This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list items"
+                  text run at (0,20) width 16: "(if "
+                LayoutInline {CODE} at (0,0) size 120x16
+                  LayoutText {#text} at (16,23) size 120x16
+                    text run at (16,23) width 120: "list-style-type"
+                LayoutText {#text} at (136,20) size 694x39
+                  text run at (136,20) width 346: " is supported, there will be a square for the item marker). "
+                  text run at (482,20) width 212: "A 3em left margin has been applied"
+                  text run at (0,40) width 363: "in order to ensure that there is space for the list-item marker."
+              LayoutBlockFlow {P} at (4,192) size 747x20
+                LayoutText {#text} at (0,0) size 429x19
+                  text run at (0,0) width 429: "The next paragraph should be invisible (if it's visible, you'll see red text)."
+              LayoutBlockFlow {P} at (4,228) size 747x20
+                LayoutText {#text} at (0,0) size 235x19
+                  text run at (0,0) width 235: "There should be no text after the colon:"
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,264) size 747x60
+                LayoutBlockFlow (anonymous) at (0,0) size 747x20
+                  LayoutText {#text} at (0,0) size 104x19
+                    text run at (0,0) width 104: "The italicized text"
+                LayoutBlockFlow {I} at (0,20) size 747x20
+                  LayoutText {#text} at (0,0) size 111x19
+                    text run at (0,0) width 111: "in this paragraph"
+                LayoutBlockFlow (anonymous) at (0,40) size 747x20
+                  LayoutText {#text} at (0,0) size 194x19
+                    text run at (0,0) width 194: "should be a block-level element."
+layer at (8,137) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style-expected.txt
new file mode 100644
index 0000000..4a70661
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style-expected.txt
@@ -0,0 +1,54 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 496x32
+          text run at (0,0) width 304: ".one {list-style: upper-alpha inside;}"
+          text run at (304,0) width 0: " "
+          text run at (0,16) width 496: ".two {list-style: url(../resources/oransqr.gif) disc outside;}"
+          text run at (496,16) width 0: " "
+      LayoutBlockFlow {UL} at (0,99) size 784x40
+        LayoutListItem {LI} at (40,0) size 744x40
+          LayoutListMarker (anonymous) at (0,0) size 19x19: "A"
+          LayoutText {#text} at (19,0) size 735x39
+            text run at (19,0) width 716: "The text in this item should not behave as expected; that is, it should line up with the capital-A on the left margin, leaving"
+            text run at (0,20) width 228: "no blank space beneath the capital-A."
+      LayoutBlockFlow {UL} at (0,155) size 784x40
+        LayoutListItem {LI} at (40,0) size 744x40
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,0) size 737x39
+            text run at (0,0) width 448: "The text in this item have an orange square for its bullet; failing that, a disc. "
+            text run at (448,0) width 289: "Also, the bullet should be outside the text block,"
+            text run at (0,20) width 206: "as the list has been set to 'outside'."
+      LayoutTable {TABLE} at (0,211) size 784x150 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x148
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x120
+            LayoutTableCell {TD} at (0,74) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x120 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 762x40
+                LayoutListItem {LI} at (40,0) size 722x40
+                  LayoutListMarker (anonymous) at (0,0) size 19x19: "A"
+                  LayoutText {#text} at (19,0) size 690x39
+                    text run at (19,0) width 671: "The text in this item should not behave as expected; that is, it should line up with the capital-A on the left margin,"
+                    text run at (0,20) width 273: "leaving no blank space beneath the capital-A."
+              LayoutBlockFlow {UL} at (4,60) size 762x40
+                LayoutListItem {LI} at (40,0) size 722x40
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,0) size 695x39
+                    text run at (0,0) width 448: "The text in this item have an orange square for its bullet; failing that, a disc. "
+                    text run at (448,0) width 247: "Also, the bullet should be outside the text"
+                    text run at (0,20) width 248: "block, as the list has been set to 'outside'."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style_image-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style_image-expected.txt
new file mode 100644
index 0000000..4ef4e03
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style_image-expected.txt
@@ -0,0 +1,81 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 440x48
+          text run at (0,0) width 440: ".one {list-style-image: url(../resources/oransqr.gif);}"
+          text run at (440,0) width 0: " "
+          text run at (0,16) width 240: ".two {list-style-image: none;}"
+          text run at (240,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {UL} at (0,115) size 784x60
+        LayoutListItem {LI} at (40,0) size 744x20
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "This list..."
+        LayoutListItem {LI} at (40,20) size 744x20
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,0) size 108x19
+            text run at (0,0) width 108: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 744x20
+          LayoutListMarker (anonymous) at (-22,0) size 15x15
+          LayoutText {#text} at (0,0) size 139x19
+            text run at (0,0) width 139: "...images for each item."
+      LayoutBlockFlow {UL} at (0,191) size 784x60
+        LayoutListItem {LI} at (40,0) size 744x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "This list..."
+        LayoutListItem {LI} at (40,20) size 744x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 108x19
+            text run at (0,0) width 108: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 744x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 223x19
+            text run at (0,0) width 223: "...standard list markers for each item."
+      LayoutTable {TABLE} at (0,267) size 285x190 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 283x188
+          LayoutTableRow {TR} at (0,0) size 283x28
+            LayoutTableCell {TD} at (0,0) size 283x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 283x160
+            LayoutTableCell {TD} at (0,94) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 271x160 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 263x60
+                LayoutListItem {LI} at (40,0) size 223x20
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,0) size 57x19
+                    text run at (0,0) width 57: "This list..."
+                LayoutListItem {LI} at (40,20) size 223x20
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,0) size 108x19
+                    text run at (0,0) width 108: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 223x20
+                  LayoutListMarker (anonymous) at (-22,0) size 15x15
+                  LayoutText {#text} at (0,0) size 139x19
+                    text run at (0,0) width 139: "...images for each item."
+              LayoutBlockFlow {UL} at (4,80) size 263x60
+                LayoutListItem {LI} at (40,0) size 223x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 57x19
+                    text run at (0,0) width 57: "This list..."
+                LayoutListItem {LI} at (40,20) size 223x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 108x19
+                    text run at (0,0) width 108: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 223x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 223x19
+                    text run at (0,0) width 223: "...standard list markers for each item."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style_position-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style_position-expected.txt
index 44c0aa43..2518c2d 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style_position-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style_position-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 280: ".two {list-style-position: inside;}"
           text run at (280,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {UL} at (0,115) size 784x40
         LayoutListItem {LI} at (40,0) size 744x40
           LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
@@ -50,3 +49,5 @@
                   LayoutText {#text} at (22,0) size 714x39
                     text run at (22,0) width 692: "The text in this item should not behave as expected; that is, it should line up with the bullet on the left margin, leaving"
                     text run at (0,20) width 204: "no blank space beneath the bullet."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style_type-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style_type-expected.txt
new file mode 100644
index 0000000..0c74994
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style_type-expected.txt
@@ -0,0 +1,271 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1649
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1649 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1649
+    LayoutBlockFlow {BODY} at (8,8) size 769x1633 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x160
+        LayoutText {#text} at (0,0) size 304x160
+          text run at (0,0) width 232: ".one {list-style-type: disc;}"
+          text run at (232,0) width 0: " "
+          text run at (0,16) width 248: ".two {list-style-type: circle;}"
+          text run at (248,16) width 0: " "
+          text run at (0,32) width 264: ".three {list-style-type: square;}"
+          text run at (264,32) width 0: " "
+          text run at (0,48) width 296: ".four {list-style-type: lower-roman;}"
+          text run at (296,48) width 0: " "
+          text run at (0,64) width 296: ".five {list-style-type: upper-roman;}"
+          text run at (296,64) width 0: " "
+          text run at (0,80) width 288: ".six {list-style-type: lower-alpha;}"
+          text run at (288,80) width 0: " "
+          text run at (0,96) width 304: ".seven {list-style-type: upper-alpha;}"
+          text run at (304,96) width 0: " "
+          text run at (0,112) width 272: ".eight {list-style-type: decimal;}"
+          text run at (272,112) width 0: " "
+          text run at (0,128) width 240: ".nine {list-style-type: none;}"
+          text run at (240,128) width 0: " "
+          text run at (0,144) width 0: " "
+      LayoutBlockFlow {UL} at (0,227) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 108x19
+            text run at (0,0) width 108: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 128x19
+            text run at (0,0) width 128: "...discs for each item."
+      LayoutBlockFlow {UL} at (0,303) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+          LayoutText {#text} at (0,0) size 108x19
+            text run at (0,0) width 108: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+          LayoutText {#text} at (0,0) size 136x19
+            text run at (0,0) width 136: "...circles for each item."
+      LayoutBlockFlow {UL} at (0,379) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+          LayoutText {#text} at (0,0) size 108x19
+            text run at (0,0) width 108: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+          LayoutText {#text} at (0,0) size 144x19
+            text run at (0,0) width 144: "...squares for each item."
+      LayoutBlockFlow {OL} at (0,455) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-11,0) size 11x19: "i"
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-14,0) size 14x19: "ii"
+          LayoutText {#text} at (0,0) size 108x19
+            text run at (0,0) width 108: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-17,0) size 17x19: "iii"
+          LayoutText {#text} at (0,0) size 263x19
+            text run at (0,0) width 263: "...lowercase Roman numerals for each item."
+      LayoutBlockFlow {OL} at (0,531) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-13,0) size 13x19: "I"
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 18x19: "II"
+          LayoutText {#text} at (0,0) size 108x19
+            text run at (0,0) width 108: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-23,0) size 23x19: "III"
+          LayoutText {#text} at (0,0) size 264x19
+            text run at (0,0) width 264: "...uppercase Roman numerals for each item."
+      LayoutBlockFlow {OL} at (0,607) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-15,0) size 15x19: "a"
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "b"
+          LayoutText {#text} at (0,0) size 108x19
+            text run at (0,0) width 108: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-15,0) size 15x19: "c"
+          LayoutText {#text} at (0,0) size 199x19
+            text run at (0,0) width 199: "...lowercase letters for each item."
+      LayoutBlockFlow {OL} at (0,683) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-19,0) size 19x19: "A"
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 18x19: "B"
+          LayoutText {#text} at (0,0) size 108x19
+            text run at (0,0) width 108: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-19,0) size 19x19: "C"
+          LayoutText {#text} at (0,0) size 200x19
+            text run at (0,0) width 200: "...uppercase letters for each item."
+      LayoutBlockFlow {OL} at (0,759) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-19,0) size 19x19: "A"
+          LayoutText {#text} at (0,0) size 145x19
+            text run at (0,0) width 145: "This list should feature..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutListMarker (anonymous) at (-18,0) size 18x19: "B"
+          LayoutText {#text} at (0,0) size 142x19
+            text run at (0,0) width 142: "...letters for each item..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
+          LayoutText {#text} at (0,0) size 106x19
+            text run at (0,0) width 106: "...except this one."
+      LayoutBlockFlow {UL} at (0,835) size 769x60
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutText {#text} at (0,0) size 57x19
+            text run at (0,0) width 57: "This list..."
+        LayoutListItem {LI} at (40,20) size 729x20
+          LayoutText {#text} at (0,0) size 108x19
+            text run at (0,0) width 108: "...should feature..."
+        LayoutListItem {LI} at (40,40) size 729x20
+          LayoutText {#text} at (0,0) size 141x19
+            text run at (0,0) width 141: "...nothing for each item."
+      LayoutTable {TABLE} at (0,911) size 326x722 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 324x720
+          LayoutTableRow {TR} at (0,0) size 324x28
+            LayoutTableCell {TD} at (0,0) size 324x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 324x692
+            LayoutTableCell {TD} at (0,360) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 312x692 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {UL} at (4,4) size 304x60
+                LayoutListItem {LI} at (40,0) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 57x19
+                    text run at (0,0) width 57: "This list..."
+                LayoutListItem {LI} at (40,20) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 108x19
+                    text run at (0,0) width 108: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 128x19
+                    text run at (0,0) width 128: "...discs for each item."
+              LayoutBlockFlow {UL} at (4,80) size 304x60
+                LayoutListItem {LI} at (40,0) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                  LayoutText {#text} at (0,0) size 57x19
+                    text run at (0,0) width 57: "This list..."
+                LayoutListItem {LI} at (40,20) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                  LayoutText {#text} at (0,0) size 108x19
+                    text run at (0,0) width 108: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                  LayoutText {#text} at (0,0) size 136x19
+                    text run at (0,0) width 136: "...circles for each item."
+              LayoutBlockFlow {UL} at (4,156) size 304x60
+                LayoutListItem {LI} at (40,0) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+                  LayoutText {#text} at (0,0) size 57x19
+                    text run at (0,0) width 57: "This list..."
+                LayoutListItem {LI} at (40,20) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+                  LayoutText {#text} at (0,0) size 108x19
+                    text run at (0,0) width 108: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: black square
+                  LayoutText {#text} at (0,0) size 144x19
+                    text run at (0,0) width 144: "...squares for each item."
+              LayoutBlockFlow {OL} at (4,232) size 304x60
+                LayoutListItem {LI} at (40,0) size 264x20
+                  LayoutListMarker (anonymous) at (-11,0) size 11x19: "i"
+                  LayoutText {#text} at (0,0) size 57x19
+                    text run at (0,0) width 57: "This list..."
+                LayoutListItem {LI} at (40,20) size 264x20
+                  LayoutListMarker (anonymous) at (-14,0) size 14x19: "ii"
+                  LayoutText {#text} at (0,0) size 108x19
+                    text run at (0,0) width 108: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 264x20
+                  LayoutListMarker (anonymous) at (-17,0) size 17x19: "iii"
+                  LayoutText {#text} at (0,0) size 263x19
+                    text run at (0,0) width 263: "...lowercase Roman numerals for each item."
+              LayoutBlockFlow {OL} at (4,308) size 304x60
+                LayoutListItem {LI} at (40,0) size 264x20
+                  LayoutListMarker (anonymous) at (-13,0) size 13x19: "I"
+                  LayoutText {#text} at (0,0) size 57x19
+                    text run at (0,0) width 57: "This list..."
+                LayoutListItem {LI} at (40,20) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 18x19: "II"
+                  LayoutText {#text} at (0,0) size 108x19
+                    text run at (0,0) width 108: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 264x20
+                  LayoutListMarker (anonymous) at (-23,0) size 23x19: "III"
+                  LayoutText {#text} at (0,0) size 264x19
+                    text run at (0,0) width 264: "...uppercase Roman numerals for each item."
+              LayoutBlockFlow {OL} at (4,384) size 304x60
+                LayoutListItem {LI} at (40,0) size 264x20
+                  LayoutListMarker (anonymous) at (-15,0) size 15x19: "a"
+                  LayoutText {#text} at (0,0) size 57x19
+                    text run at (0,0) width 57: "This list..."
+                LayoutListItem {LI} at (40,20) size 264x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "b"
+                  LayoutText {#text} at (0,0) size 108x19
+                    text run at (0,0) width 108: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 264x20
+                  LayoutListMarker (anonymous) at (-15,0) size 15x19: "c"
+                  LayoutText {#text} at (0,0) size 199x19
+                    text run at (0,0) width 199: "...lowercase letters for each item."
+              LayoutBlockFlow {OL} at (4,460) size 304x60
+                LayoutListItem {LI} at (40,0) size 264x20
+                  LayoutListMarker (anonymous) at (-19,0) size 19x19: "A"
+                  LayoutText {#text} at (0,0) size 57x19
+                    text run at (0,0) width 57: "This list..."
+                LayoutListItem {LI} at (40,20) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 18x19: "B"
+                  LayoutText {#text} at (0,0) size 108x19
+                    text run at (0,0) width 108: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 264x20
+                  LayoutListMarker (anonymous) at (-19,0) size 19x19: "C"
+                  LayoutText {#text} at (0,0) size 200x19
+                    text run at (0,0) width 200: "...uppercase letters for each item."
+              LayoutBlockFlow {OL} at (4,536) size 304x60
+                LayoutListItem {LI} at (40,0) size 264x20
+                  LayoutListMarker (anonymous) at (-19,0) size 19x19: "A"
+                  LayoutText {#text} at (0,0) size 145x19
+                    text run at (0,0) width 145: "This list should feature..."
+                LayoutListItem {LI} at (40,20) size 264x20
+                  LayoutListMarker (anonymous) at (-18,0) size 18x19: "B"
+                  LayoutText {#text} at (0,0) size 142x19
+                    text run at (0,0) width 142: "...letters for each item..."
+                LayoutListItem {LI} at (40,40) size 264x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "3"
+                  LayoutText {#text} at (0,0) size 106x19
+                    text run at (0,0) width 106: "...except this one."
+              LayoutBlockFlow {UL} at (4,612) size 304x60
+                LayoutListItem {LI} at (40,0) size 264x20
+                  LayoutText {#text} at (0,0) size 57x19
+                    text run at (0,0) width 57: "This list..."
+                LayoutListItem {LI} at (40,20) size 264x20
+                  LayoutText {#text} at (0,0) size 108x19
+                    text run at (0,0) width 108: "...should feature..."
+                LayoutListItem {LI} at (40,40) size 264x20
+                  LayoutText {#text} at (0,0) size 141x19
+                    text run at (0,0) width 141: "...nothing for each item."
+layer at (8,217) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,209) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/white_space-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/white_space-expected.txt
new file mode 100644
index 0000000..a224d45
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/white_space-expected.txt
@@ -0,0 +1,81 @@
+layer at (0,0) size 800x600 scrollWidth 882
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 232x64
+          text run at (0,0) width 192: ".one {white-space: pre;}"
+          text run at (192,0) width 0: " "
+          text run at (0,16) width 216: ".two {white-space: nowrap;}"
+          text run at (216,16) width 0: " "
+          text run at (0,32) width 232: ".three {white-space: normal;}"
+          text run at (232,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x100
+        LayoutText {#text} at (0,0) size 543x99
+          text run at (0,0) width 0: " "
+          text run at (0,20) width 543: "This sentence should     show extra space  where there    would ordinarily         not be any."
+          text run at (542,20) width 1: " "
+          text run at (0,40) width 284: "     There should also be preservation of returns"
+          text run at (284,40) width 0: " "
+          text run at (0,60) width 93: "as this sentence"
+          text run at (93,60) width 0: " "
+          text run at (0,80) width 177: "     very clearly demonstrates."
+          text run at (177,80) width 0: " "
+      LayoutBlockFlow {P} at (0,247) size 784x20
+        LayoutText {#text} at (0,0) size 852x19
+          text run at (0,0) width 852: "This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect."
+      LayoutBlockFlow {P} at (0,283) size 784x40
+        LayoutText {#text} at (0,0) size 285x39
+          text run at (0,0) width 0: " "
+          text run at (0,20) width 285: "This sentence      should     show extra   space, "
+        LayoutInline {SPAN} at (0,0) size 148x19
+          LayoutText {#text} at (285,20) size 148x19
+            text run at (285,20) width 80: "except in the "
+            text run at (365,20) width 68: "second half"
+        LayoutText {#text} at (433,20) size 4x19
+          text run at (433,20) width 4: "."
+          text run at (437,20) width 0: " "
+      LayoutTable {TABLE} at (0,339) size 874x230 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 872x228
+          LayoutTableRow {TR} at (0,0) size 872x28
+            LayoutTableCell {TD} at (0,0) size 872x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 872x200
+            LayoutTableCell {TD} at (0,114) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 860x200 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 852x100
+                LayoutText {#text} at (0,0) size 543x99
+                  text run at (0,0) width 0: " "
+                  text run at (0,20) width 543: "This sentence should     show extra space  where there    would ordinarily         not be any."
+                  text run at (542,20) width 1: " "
+                  text run at (0,40) width 284: "     There should also be preservation of returns"
+                  text run at (284,40) width 0: " "
+                  text run at (0,60) width 93: "as this sentence"
+                  text run at (93,60) width 0: " "
+                  text run at (0,80) width 177: "     very clearly demonstrates."
+                  text run at (177,80) width 0: " "
+              LayoutBlockFlow {P} at (4,120) size 852x20
+                LayoutText {#text} at (0,0) size 852x19
+                  text run at (0,0) width 852: "This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect."
+              LayoutBlockFlow {P} at (4,156) size 852x40
+                LayoutText {#text} at (0,0) size 285x39
+                  text run at (0,0) width 0: " "
+                  text run at (0,20) width 285: "This sentence      should     show extra   space, "
+                LayoutInline {SPAN} at (0,0) size 148x19
+                  LayoutText {#text} at (285,20) size 148x19
+                    text run at (285,20) width 80: "except in the "
+                    text run at (365,20) width 68: "second half"
+                LayoutText {#text} at (433,20) size 4x19
+                  text run at (433,20) width 4: "."
+                  text run at (437,20) width 0: " "
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background-expected.txt
new file mode 100644
index 0000000..97dca62
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background-expected.txt
@@ -0,0 +1,90 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 777
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x777 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x777
+    LayoutBlockFlow {BODY} at (8,8) size 769x761 [bgcolor=#008000]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 648x64
+          text run at (0,0) width 648: "BODY {background: green url(../resources/oransqr.gif) repeat-x center top fixed;}"
+          text run at (648,0) width 0: " "
+          text run at (0,16) width 568: ".one {background: lime url(../resources/oransqr.gif) repeat-y 100% 0%;}"
+          text run at (568,16) width 0: " "
+          text run at (0,32) width 592: ".two {background: lime url(../resources/oransqr.gif) repeat-y center top;}"
+          text run at (592,32) width 0: " "
+          text run at (0,48) width 592: ".three {background: lime url(../resources/oransqr.gif) repeat-x left top;}"
+          text run at (592,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x60
+        LayoutText {#text} at (0,0) size 695x19
+          text run at (0,0) width 695: "This document should have a green background with an orange strip running across the entire top of the page, since "
+        LayoutInline {CODE} at (0,0) size 64x16
+          LayoutText {#text} at (695,3) size 64x16
+            text run at (695,3) width 64: "repeat-x"
+        LayoutText {#text} at (0,20) size 746x39
+          text run at (0,20) width 276: "indicates tiling in both directions of the x-axis. "
+          text run at (276,20) width 284: "Furthermore, the strip should be fixed in place. "
+          text run at (560,20) width 186: "I'll have to add extra text at the"
+          text run at (0,40) width 368: "end of this page to make it long enough to scroll conveniently."
+      LayoutBlockFlow {P} at (0,207) size 769x60 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 756x59
+          text run at (0,0) width 709: "This paragraph should have a lime background and an orange strip which starts at the top right and runs to the bottom."
+          text run at (0,20) width 756: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling these"
+          text run at (0,40) width 80: "declarations. "
+          text run at (80,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
+      LayoutBlockFlow {P} at (0,283) size 769x60 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 756x59
+          text run at (0,0) width 720: "This paragraph should have a lime background and an orange strip which starts at the center top and runs to the bottom."
+          text run at (0,20) width 756: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling these"
+          text run at (0,40) width 80: "declarations. "
+          text run at (80,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
+      LayoutBlockFlow {P} at (0,359) size 769x60 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 756x59
+          text run at (0,0) width 708: "This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top right."
+          text run at (0,20) width 756: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling these"
+          text run at (0,40) width 80: "declarations. "
+          text run at (80,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
+      LayoutTable {TABLE} at (0,435) size 769x326 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x324
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x296
+            LayoutTableCell {TD} at (0,162) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x296 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x60
+                LayoutText {#text} at (0,0) size 691x19
+                  text run at (0,0) width 691: "This document should have a green background with an orange strip running across the entire top of the page, since"
+                LayoutInline {CODE} at (0,0) size 64x16
+                  LayoutText {#text} at (0,23) size 64x16
+                    text run at (0,23) width 64: "repeat-x"
+                LayoutText {#text} at (64,20) size 717x39
+                  text run at (64,20) width 280: " indicates tiling in both directions of the x-axis. "
+                  text run at (344,20) width 284: "Furthermore, the strip should be fixed in place. "
+                  text run at (628,20) width 89: "I'll have to add"
+                  text run at (0,40) width 465: "extra text at the end of this page to make it long enough to scroll conveniently."
+              LayoutBlockFlow {P} at (4,80) size 747x60 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 721x59
+                  text run at (0,0) width 709: "This paragraph should have a lime background and an orange strip which starts at the top right and runs to the bottom."
+                  text run at (0,20) width 721: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
+                  text run at (0,40) width 115: "these declarations. "
+                  text run at (115,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
+              LayoutBlockFlow {P} at (4,156) size 747x60 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 721x59
+                  text run at (0,0) width 720: "This paragraph should have a lime background and an orange strip which starts at the center top and runs to the bottom."
+                  text run at (0,20) width 721: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
+                  text run at (0,40) width 115: "these declarations. "
+                  text run at (115,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
+              LayoutBlockFlow {P} at (4,232) size 747x60 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 721x59
+                  text run at (0,0) width 708: "This paragraph should have a lime background and an orange strip which starts at the top left and runs to the top right."
+                  text run at (0,20) width 721: "Therefore, extra text would be in order, so that we can intelligently evaluate the performance of your browser in handling"
+                  text run at (0,40) width 115: "these declarations. "
+                  text run at (115,40) width 294: "Hey, I didn't say the page would be pretty, did I?"
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_attachment-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_attachment-expected.txt
new file mode 100644
index 0000000..3faed43
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_attachment-expected.txt
@@ -0,0 +1,182 @@
+layer at (0,0) size 800x600 scrollWidth 880 scrollHeight 1239
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x1239 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x1238.53
+    LayoutBlockFlow {BODY} at (8,8) size 784x1222.53 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 872x32
+          text run at (0,0) width 872: "BODY {background-image: url(../resources/bg.gif); background-repeat: repeat-x; background-attachment: fixed;}"
+          text run at (872,0) width 0: " "
+          text run at (0,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x100
+        LayoutText {#text} at (0,0) size 769x99
+          text run at (0,0) width 768: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which does NOT"
+          text run at (0,20) width 154: "scroll with the document. "
+          text run at (154,20) width 615: "It should, instead, appear to be a fixed pattern past which the content scrolls, even when the end of the"
+          text run at (0,40) width 102: "page is reached. "
+          text run at (102,40) width 663: "In addition, the default Test Suite background should NOT appear, as it's been overridden by the styles shown"
+          text run at (0,60) width 45: "above. "
+          text run at (45,60) width 619: "I'll have to add a lot of extra text to the page in order to make all this something we can actually check. "
+          text run at (664,60) width 94: "Don't worry, I'll"
+          text run at (0,80) width 113: "think of something."
+      LayoutBlockFlow {P} at (0,215) size 784x20
+        LayoutText {#text} at (0,0) size 484x19
+          text run at (0,0) width 397: "In fact, why not the relevant section from the CSS1 specification? "
+          text run at (397,0) width 87: "A capital idea."
+      LayoutBlockFlow {H4} at (0,284.27) size 784x20
+        LayoutInline {A} at (0,0) size 213x19
+          LayoutText {#text} at (0,0) size 213x19
+            text run at (0,0) width 213: "5.3.5    'background-attachment'"
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,325.53) size 784x100
+        LayoutInline {EM} at (0,0) size 41x19
+          LayoutText {#text} at (0,0) size 41x19
+            text run at (0,0) width 41: "Value:"
+        LayoutText {#text} at (40,0) size 77x19
+          text run at (40,0) width 77: " scroll | fixed"
+        LayoutBR {BR} at (116,15) size 1x0
+        LayoutInline {EM} at (0,0) size 43x19
+          LayoutText {#text} at (0,20) size 43x19
+            text run at (0,20) width 43: "Initial:"
+        LayoutText {#text} at (43,20) size 36x19
+          text run at (43,20) width 36: " scroll"
+        LayoutBR {BR} at (79,35) size 0x0
+        LayoutInline {EM} at (0,0) size 69x19
+          LayoutText {#text} at (0,40) size 69x19
+            text run at (0,40) width 69: "Applies to:"
+        LayoutText {#text} at (69,40) size 73x19
+          text run at (69,40) width 73: " all elements"
+        LayoutBR {BR} at (142,55) size 0x0
+        LayoutInline {EM} at (0,0) size 63x19
+          LayoutText {#text} at (0,60) size 63x19
+            text run at (0,60) width 63: "Inherited:"
+        LayoutText {#text} at (63,60) size 19x19
+          text run at (63,60) width 19: " no"
+        LayoutBR {BR} at (82,75) size 0x0
+        LayoutInline {EM} at (0,0) size 123x19
+          LayoutText {#text} at (0,80) size 123x19
+            text run at (0,80) width 123: "Percentage values:"
+        LayoutText {#text} at (122,80) size 32x19
+          text run at (122,80) width 32: " N/A"
+        LayoutBR {BR} at (153,95) size 1x0
+      LayoutBlockFlow {P} at (0,441.53) size 784x40
+        LayoutText {#text} at (0,0) size 766x39
+          text run at (0,0) width 766: "If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the canvas or if it"
+          text run at (0,20) width 177: "scrolls along with the content."
+      LayoutBlockFlow {PRE} at (0,497.53) size 784x80
+        LayoutText {#text} at (0,0) size 296x80
+          text run at (0,0) width 72: "  BODY { "
+          text run at (72,0) width 0: " "
+          text run at (0,16) width 296: "    background: red url(pendant.gif);"
+          text run at (296,16) width 0: " "
+          text run at (0,32) width 256: "    background-repeat: repeat-y;"
+          text run at (256,32) width 0: " "
+          text run at (0,48) width 264: "    background-attachment: fixed;"
+          text run at (264,48) width 0: " "
+          text run at (0,64) width 24: "  }"
+          text run at (24,64) width 0: " "
+      LayoutBlockFlow {P} at (0,593.53) size 784x40
+        LayoutInline {EM} at (0,0) size 72x19
+          LayoutText {#text} at (0,0) size 72x19
+            text run at (0,0) width 72: "CSS1 core:"
+        LayoutText {#text} at (71,0) size 759x39
+          text run at (71,0) width 688: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the HTML"
+          text run at (0,20) width 728: "and BODY elements, since there is no way for an author to provide an image only for those browsers that support 'fixed'."
+      LayoutTable {TABLE} at (0,649.53) size 784x573 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x571
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x543
+            LayoutTableCell {TD} at (0,285) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x542.53 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x100
+                LayoutText {#text} at (0,0) size 749x99
+                  text run at (0,0) width 731: "This document should have a green grid-pattern line across the top of the page (or at least a tiled background) which does"
+                  text run at (0,20) width 191: "NOT scroll with the document. "
+                  text run at (191,20) width 551: "It should, instead, appear to be a fixed pattern past which the content scrolls, even when the"
+                  text run at (0,40) width 166: "end of the page is reached. "
+                  text run at (166,40) width 583: "In addition, the default Test Suite background should NOT appear, as it's been overridden by the"
+                  text run at (0,60) width 125: "styles shown above. "
+                  text run at (125,60) width 615: "I'll have to add a lot of extra text to the page in order to make all this something we can actually check."
+                  text run at (0,80) width 211: "Don't worry, I'll think of something."
+              LayoutBlockFlow {P} at (4,120) size 762x20
+                LayoutText {#text} at (0,0) size 484x19
+                  text run at (0,0) width 397: "In fact, why not the relevant section from the CSS1 specification? "
+                  text run at (397,0) width 87: "A capital idea."
+              LayoutBlockFlow {H4} at (4,189.27) size 762x20
+                LayoutInline {A} at (0,0) size 213x19
+                  LayoutText {#text} at (0,0) size 213x19
+                    text run at (0,0) width 213: "5.3.5    'background-attachment'"
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,230.53) size 762x100
+                LayoutInline {EM} at (0,0) size 41x19
+                  LayoutText {#text} at (0,0) size 41x19
+                    text run at (0,0) width 41: "Value:"
+                LayoutText {#text} at (40,0) size 77x19
+                  text run at (40,0) width 77: " scroll | fixed"
+                LayoutBR {BR} at (116,15) size 1x0
+                LayoutInline {EM} at (0,0) size 43x19
+                  LayoutText {#text} at (0,20) size 43x19
+                    text run at (0,20) width 43: "Initial:"
+                LayoutText {#text} at (43,20) size 36x19
+                  text run at (43,20) width 36: " scroll"
+                LayoutBR {BR} at (79,35) size 0x0
+                LayoutInline {EM} at (0,0) size 69x19
+                  LayoutText {#text} at (0,40) size 69x19
+                    text run at (0,40) width 69: "Applies to:"
+                LayoutText {#text} at (69,40) size 73x19
+                  text run at (69,40) width 73: " all elements"
+                LayoutBR {BR} at (142,55) size 0x0
+                LayoutInline {EM} at (0,0) size 63x19
+                  LayoutText {#text} at (0,60) size 63x19
+                    text run at (0,60) width 63: "Inherited:"
+                LayoutText {#text} at (63,60) size 19x19
+                  text run at (63,60) width 19: " no"
+                LayoutBR {BR} at (82,75) size 0x0
+                LayoutInline {EM} at (0,0) size 123x19
+                  LayoutText {#text} at (0,80) size 123x19
+                    text run at (0,80) width 123: "Percentage values:"
+                LayoutText {#text} at (122,80) size 32x19
+                  text run at (122,80) width 32: " N/A"
+                LayoutBR {BR} at (153,95) size 1x0
+              LayoutBlockFlow {P} at (4,346.53) size 762x40
+                LayoutText {#text} at (0,0) size 755x39
+                  text run at (0,0) width 755: "If a background image is specified, the value of 'background-attachment' determines if it is fixed with regard to the canvas or if"
+                  text run at (0,20) width 188: "it scrolls along with the content."
+              LayoutBlockFlow {PRE} at (4,402.53) size 762x80
+                LayoutText {#text} at (0,0) size 296x80
+                  text run at (0,0) width 72: "  BODY { "
+                  text run at (72,0) width 0: " "
+                  text run at (0,16) width 296: "    background: red url(pendant.gif);"
+                  text run at (296,16) width 0: " "
+                  text run at (0,32) width 256: "    background-repeat: repeat-y;"
+                  text run at (256,32) width 0: " "
+                  text run at (0,48) width 264: "    background-attachment: fixed;"
+                  text run at (264,48) width 0: " "
+                  text run at (0,64) width 24: "  }"
+                  text run at (24,64) width 0: " "
+              LayoutBlockFlow {P} at (4,498.53) size 762x40
+                LayoutInline {EM} at (0,0) size 72x19
+                  LayoutText {#text} at (0,0) size 72x19
+                    text run at (0,0) width 72: "CSS1 core:"
+                LayoutText {#text} at (71,0) size 759x39
+                  text run at (71,0) width 688: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the HTML"
+                  text run at (0,20) width 728: "and BODY elements, since there is no way for an author to provide an image only for those browsers that support 'fixed'."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,259) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,251) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (8,269) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,261) size 784x2 [border: (1px inset #EEEEEE)]
+layer at (25,843) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,156) size 762x2 [border: (1px inset #EEEEEE)]
+layer at (25,853) size 762x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,166) size 762x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_color-expected.txt
new file mode 100644
index 0000000..f088b188
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_color-expected.txt
@@ -0,0 +1,85 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20 [bgcolor=#008000]
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 296x64
+          text run at (0,0) width 224: "P {background-color: green;}"
+          text run at (224,0) width 0: " "
+          text run at (0,16) width 240: ".one {background-color: lime;}"
+          text run at (240,16) width 0: " "
+          text run at (0,32) width 296: ".two {background-color: transparent;}"
+          text run at (296,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x20 [bgcolor=#008000]
+        LayoutText {#text} at (0,0) size 263x19
+          text run at (0,0) width 263: "This element's background should be green."
+      LayoutBlockFlow {P} at (0,167) size 784x20 [bgcolor=#00FF00]
+        LayoutText {#text} at (0,0) size 329x19
+          text run at (0,0) width 329: "This element's background should be lime (light green)."
+      LayoutBlockFlow {P} at (0,203) size 784x60 [bgcolor=#008000]
+        LayoutText {#text} at (0,0) size 620x19
+          text run at (0,0) width 620: "This element's background should be green, and the last word in this sentence should also have a green "
+        LayoutInline {SPAN} at (0,0) size 72x19
+          LayoutText {#text} at (620,0) size 72x19
+            text run at (620,0) width 72: "background"
+        LayoutText {#text} at (692,0) size 778x59
+          text run at (692,0) width 8: ". "
+          text run at (700,0) width 38: "This is"
+          text run at (0,20) width 778: "because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word \"sentence,\" which"
+          text run at (0,40) width 65: "was set to "
+        LayoutInline {CODE} at (0,0) size 88x16
+          LayoutText {#text} at (65,43) size 88x16
+            text run at (65,43) width 88: "transparent"
+        LayoutText {#text} at (153,40) size 377x19
+          text run at (153,40) width 8: ". "
+          text run at (161,40) width 369: "If the document background is visible, the browser is in error."
+      LayoutBlockFlow {P} at (0,279) size 784x20
+        LayoutText {#text} at (0,0) size 702x19
+          text run at (0,0) width 432: "This element should allow the document background to \"shine through.\" "
+          text run at (432,0) width 270: "There should be no green backgrounds here!"
+      LayoutTable {TABLE} at (0,315) size 784x206 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x204
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x176
+            LayoutTableCell {TD} at (0,102) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x176 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x20 [bgcolor=#008000]
+                LayoutText {#text} at (0,0) size 263x19
+                  text run at (0,0) width 263: "This element's background should be green."
+              LayoutBlockFlow {P} at (4,40) size 762x20 [bgcolor=#00FF00]
+                LayoutText {#text} at (0,0) size 329x19
+                  text run at (0,0) width 329: "This element's background should be lime (light green)."
+              LayoutBlockFlow {P} at (4,76) size 762x60 [bgcolor=#008000]
+                LayoutText {#text} at (0,0) size 620x19
+                  text run at (0,0) width 620: "This element's background should be green, and the last word in this sentence should also have a green "
+                LayoutInline {SPAN} at (0,0) size 72x19
+                  LayoutText {#text} at (620,0) size 72x19
+                    text run at (620,0) width 72: "background"
+                LayoutText {#text} at (692,0) size 739x59
+                  text run at (692,0) width 8: ". "
+                  text run at (700,0) width 38: "This is"
+                  text run at (0,20) width 739: "because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word \"sentence,\""
+                  text run at (0,40) width 104: "which was set to "
+                LayoutInline {CODE} at (0,0) size 88x16
+                  LayoutText {#text} at (104,43) size 88x16
+                    text run at (104,43) width 88: "transparent"
+                LayoutText {#text} at (192,40) size 377x19
+                  text run at (192,40) width 8: ". "
+                  text run at (200,40) width 369: "If the document background is visible, the browser is in error."
+              LayoutBlockFlow {P} at (4,152) size 762x20
+                LayoutText {#text} at (0,0) size 702x19
+                  text run at (0,0) width 432: "This element should allow the document background to \"shine through.\" "
+                  text run at (432,0) width 270: "There should be no green backgrounds here!"
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_image-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_image-expected.txt
new file mode 100644
index 0000000..47586509
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_image-expected.txt
@@ -0,0 +1,92 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 376x48
+          text run at (0,0) width 376: "P {background-image: url(../resources/bg.gif);}"
+          text run at (376,0) width 0: " "
+          text run at (0,16) width 240: ".one {background-image: none;}"
+          text run at (240,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x40
+        LayoutText {#text} at (0,0) size 779x39
+          text run at (0,0) width 482: "This sentence should be backed by an image-- a green grid pattern, in this case. "
+          text run at (482,0) width 297: "The background image should also tile along both"
+          text run at (0,20) width 570: "axes, because no repeat direction is specified (specific tests for repeating are found elsewhere)."
+      LayoutBlockFlow {P} at (0,171) size 784x60
+        LayoutText {#text} at (0,0) size 574x19
+          text run at (0,0) width 574: "This sentence should be backed by a repeated green-grid image, as should the last three words "
+        LayoutInline {STRONG} at (0,0) size 103x19
+          LayoutInline {SPAN} at (0,0) size 103x19
+            LayoutText {#text} at (574,0) size 103x19
+              text run at (574,0) width 103: "in this sentence"
+        LayoutText {#text} at (677,0) size 97x19
+          text run at (677,0) width 8: ". "
+          text run at (685,0) width 89: "If it is not, then"
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (0,23) size 32x16
+            text run at (0,23) width 32: "none"
+        LayoutText {#text} at (32,20) size 161x19
+          text run at (32,20) width 156: " is interpreted incorrectly. "
+          text run at (187,20) width 6: "("
+        LayoutInline {CODE} at (0,0) size 33x16
+          LayoutText {#text} at (192,23) size 33x16
+            text run at (192,23) width 33: "none"
+        LayoutText {#text} at (224,20) size 772x39
+          text run at (224,20) width 548: " means that the element has no background image, allowing the parent to \"shine through\" by"
+          text run at (0,40) width 706: "default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's image should be visible.)"
+      LayoutBlockFlow {P} at (0,247) size 784x20
+        LayoutText {#text} at (0,0) size 777x19
+          text run at (0,0) width 777: "This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \"shine through\" instead."
+      LayoutTable {TABLE} at (0,283) size 784x230 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x228
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x200
+            LayoutTableCell {TD} at (0,114) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x200 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x40
+                LayoutText {#text} at (0,0) size 748x39
+                  text run at (0,0) width 482: "This sentence should be backed by an image-- a green grid pattern, in this case. "
+                  text run at (482,0) width 266: "The background image should also tile along"
+                  text run at (0,20) width 601: "both axes, because no repeat direction is specified (specific tests for repeating are found elsewhere)."
+              LayoutBlockFlow {P} at (4,60) size 762x80
+                LayoutText {#text} at (0,0) size 574x19
+                  text run at (0,0) width 574: "This sentence should be backed by a repeated green-grid image, as should the last three words "
+                LayoutInline {STRONG} at (0,0) size 103x19
+                  LayoutInline {SPAN} at (0,0) size 103x19
+                    LayoutText {#text} at (574,0) size 103x19
+                      text run at (574,0) width 103: "in this sentence"
+                LayoutText {#text} at (677,0) size 745x39
+                  text run at (677,0) width 8: ". "
+                  text run at (685,0) width 60: "If it is not,"
+                  text run at (0,20) width 29: "then "
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (29,23) size 32x16
+                    text run at (29,23) width 32: "none"
+                LayoutText {#text} at (61,20) size 161x19
+                  text run at (61,20) width 156: " is interpreted incorrectly. "
+                  text run at (216,20) width 6: "("
+                LayoutInline {CODE} at (0,0) size 33x16
+                  LayoutText {#text} at (221,23) size 33x16
+                    text run at (221,23) width 33: "none"
+                LayoutText {#text} at (253,20) size 729x59
+                  text run at (253,20) width 475: " means that the element has no background image, allowing the parent to \"shine"
+                  text run at (0,40) width 729: "through\" by default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's image should be"
+                  text run at (0,60) width 46: "visible.)"
+              LayoutBlockFlow {P} at (4,156) size 762x40
+                LayoutText {#text} at (0,0) size 727x39
+                  text run at (0,0) width 727: "This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to \"shine through\""
+                  text run at (0,20) width 46: "instead."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_position-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_position-expected.txt
new file mode 100644
index 0000000..f927518
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_position-expected.txt
@@ -0,0 +1,147 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1533
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1533 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1533
+    LayoutBlockFlow {BODY} at (8,8) size 769x1517 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x272
+        LayoutText {#text} at (0,0) size 688x272
+          text run at (0,0) width 648: "BODY {background-image: url(../resources/bg.gif); background-position: right top;"
+          text run at (648,0) width 0: " "
+          text run at (0,16) width 288: "      background-repeat: no-repeat;}"
+          text run at (288,16) width 0: " "
+          text run at (0,32) width 624: ".one {background-image: url(../resources/bg.gif); background-position: center;"
+          text run at (624,32) width 0: " "
+          text run at (0,48) width 480: "      background-repeat: no-repeat; background-color: aqua;}"
+          text run at (480,48) width 0: " "
+          text run at (0,64) width 632: ".two {background-image: url(../resources/bg.gif); background-position: 50% 50%;"
+          text run at (632,64) width 0: " "
+          text run at (0,80) width 480: "      background-repeat: no-repeat; background-color: aqua;}"
+          text run at (480,80) width 0: " "
+          text run at (0,96) width 688: ".three {background-image: url(../resources/bg.gif); background-position: bottom right;"
+          text run at (688,96) width 0: " "
+          text run at (0,112) width 496: "        background-repeat: no-repeat; background-color: aqua;}"
+          text run at (496,112) width 0: " "
+          text run at (0,128) width 656: ".four {background-image: url(../resources/bg.gif); background-position: 100% 100%;"
+          text run at (656,128) width 0: " "
+          text run at (0,144) width 488: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (488,144) width 0: " "
+          text run at (0,160) width 632: ".five {background-image: url(../resources/bg.gif); background-position: 0% 50%;"
+          text run at (632,160) width 0: " "
+          text run at (0,176) width 488: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (488,176) width 0: " "
+          text run at (0,192) width 632: ".six {background-image: url(../resources/bg.gif); background-position: 75% 25%;"
+          text run at (632,192) width 0: " "
+          text run at (0,208) width 488: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (488,208) width 0: " "
+          text run at (0,224) width 664: ".seven {background-image: url(../resources/bg.gif); background-position: 20px 20px;"
+          text run at (664,224) width 0: " "
+          text run at (0,240) width 488: "       background-repeat: no-repeat; background-color: aqua;}"
+          text run at (488,240) width 0: " "
+          text run at (0,256) width 0: " "
+      LayoutBlockFlow {P} at (0,339) size 769x20
+        LayoutText {#text} at (0,0) size 472x19
+          text run at (0,0) width 472: "This document should have a single, small green image in its upper right corner."
+      LayoutBlockFlow {P} at (0,375) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 764x59
+          text run at (0,0) width 764: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be fixed at the"
+          text run at (0,20) width 148: "center of the paragraph. "
+          text run at (148,20) width 612: "The background color will make it easier to determine the edges of the paragraph, and therefore allow"
+          text run at (0,40) width 156: "you to calculate its center."
+      LayoutBlockFlow {P} at (0,451) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 764x59
+          text run at (0,0) width 764: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be fixed at the"
+          text run at (0,20) width 148: "center of the paragraph. "
+          text run at (148,20) width 612: "The background color will make it easier to determine the edges of the paragraph, and therefore allow"
+          text run at (0,40) width 156: "you to calculate its center."
+      LayoutBlockFlow {P} at (0,527) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 751x59
+          text run at (0,0) width 728: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the image"
+          text run at (0,20) width 350: "should be fixed at the lower right corner of the paragraph. "
+          text run at (350,20) width 401: "The background color will make it easier to determine the edges of"
+          text run at (0,40) width 343: "the paragraph, and therefore allow you to see its corners."
+      LayoutBlockFlow {P} at (0,603) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 751x59
+          text run at (0,0) width 728: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the image"
+          text run at (0,20) width 350: "should be fixed at the lower right corner of the paragraph. "
+          text run at (350,20) width 401: "The background color will make it easier to determine the edges of"
+          text run at (0,40) width 343: "the paragraph, and therefore allow you to see its corners."
+      LayoutBlockFlow {P} at (0,679) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 758x59
+          text run at (0,0) width 744: "This paragraph should have a single, small green image exactly at the left center; that is, the left center of the image should be"
+          text run at (0,20) width 240: "fixed at the left center of the paragraph. "
+          text run at (240,20) width 518: "The background color will make it easier to determine the edges of the paragraph, and"
+          text run at (0,40) width 250: "therefore allow you to calculate its center."
+      LayoutBlockFlow {P} at (0,755) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 750x59
+          text run at (0,0) width 717: "This paragraph should have a single, small green image positioned 75% of the way across the element, and 25% down. "
+          text run at (717,0) width 23: "The"
+          text run at (0,20) width 750: "background color will make it easier to determine the edges of the paragraph, which should help in determining if all this is so,"
+          text run at (0,40) width 557: "and the extra text should make the element long enough for this test to be simpler to evaluate."
+      LayoutBlockFlow {P} at (0,831) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (0,0) size 757x59
+          text run at (0,0) width 756: "This paragraph should have a single, small green image positioned 20 pixels down and to the left of the upper left-hand corner;"
+          text run at (0,20) width 757: "that is, the upper left-hand corner of the image should be 20 pixels down and to the left of the upper-left corner of the element."
+          text run at (0,40) width 740: "The background color will make it easier to determine the edges of the paragraph, which should assist in evaluating this test."
+      LayoutTable {TABLE} at (0,907) size 769x610 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x608
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x580
+            LayoutTableCell {TD} at (0,304) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x580 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 472x19
+                  text run at (0,0) width 472: "This document should have a single, small green image in its upper right corner."
+              LayoutBlockFlow {P} at (4,40) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 746x59
+                  text run at (0,0) width 742: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be fixed at"
+                  text run at (0,20) width 170: "the center of the paragraph. "
+                  text run at (170,20) width 576: "The background color will make it easier to determine the edges of the paragraph, and therefore"
+                  text run at (0,40) width 192: "allow you to calculate its center."
+              LayoutBlockFlow {P} at (4,116) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 746x59
+                  text run at (0,0) width 742: "This paragraph should have a single, small green image exactly in its center; that is, the center of the image should be fixed at"
+                  text run at (0,20) width 170: "the center of the paragraph. "
+                  text run at (170,20) width 576: "The background color will make it easier to determine the edges of the paragraph, and therefore"
+                  text run at (0,40) width 192: "allow you to calculate its center."
+              LayoutBlockFlow {P} at (4,192) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 735x59
+                  text run at (0,0) width 728: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the image"
+                  text run at (0,20) width 350: "should be fixed at the lower right corner of the paragraph. "
+                  text run at (350,20) width 385: "The background color will make it easier to determine the edges"
+                  text run at (0,40) width 359: "of the paragraph, and therefore allow you to see its corners."
+              LayoutBlockFlow {P} at (4,268) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 735x59
+                  text run at (0,0) width 728: "This paragraph should have a single, small green image in its lower-right corner; that is, the lower right corner of the image"
+                  text run at (0,20) width 350: "should be fixed at the lower right corner of the paragraph. "
+                  text run at (350,20) width 385: "The background color will make it easier to determine the edges"
+                  text run at (0,40) width 359: "of the paragraph, and therefore allow you to see its corners."
+              LayoutBlockFlow {P} at (4,344) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 744x59
+                  text run at (0,0) width 744: "This paragraph should have a single, small green image exactly at the left center; that is, the left center of the image should be"
+                  text run at (0,20) width 240: "fixed at the left center of the paragraph. "
+                  text run at (240,20) width 492: "The background color will make it easier to determine the edges of the paragraph,"
+                  text run at (0,40) width 276: "and therefore allow you to calculate its center."
+              LayoutBlockFlow {P} at (4,420) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 740x59
+                  text run at (0,0) width 717: "This paragraph should have a single, small green image positioned 75% of the way across the element, and 25% down. "
+                  text run at (717,0) width 23: "The"
+                  text run at (0,20) width 728: "background color will make it easier to determine the edges of the paragraph, which should help in determining if all this is"
+                  text run at (0,40) width 579: "so, and the extra text should make the element long enough for this test to be simpler to evaluate."
+              LayoutBlockFlow {P} at (4,496) size 747x80 [bgcolor=#00FFFF]
+                LayoutText {#text} at (0,0) size 728x79
+                  text run at (0,0) width 709: "This paragraph should have a single, small green image positioned 20 pixels down and to the left of the upper left-hand"
+                  text run at (0,20) width 728: "corner; that is, the upper left-hand corner of the image should be 20 pixels down and to the left of the upper-left corner of"
+                  text run at (0,40) width 76: "the element. "
+                  text run at (76,40) width 624: "The background color will make it easier to determine the edges of the paragraph, which should assist in"
+                  text run at (0,60) width 112: "evaluating this test."
+layer at (8,329) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,321) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_repeat-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_repeat-expected.txt
new file mode 100644
index 0000000..9b3402d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/background_repeat-expected.txt
@@ -0,0 +1,308 @@
+layer at (0,0) size 800x600 scrollWidth 888 scrollHeight 1973
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x1973 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x1973
+    LayoutBlockFlow {BODY} at (8,8) size 784x1957 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x240
+        LayoutText {#text} at (0,0) size 880x240
+          text run at (0,0) width 672: ".one {background-image: url(../resources/oransqr.gif); background-repeat: repeat-y;}"
+          text run at (672,0) width 0: " "
+          text run at (0,16) width 672: ".two {background-image: url(../resources/oransqr.gif); background-repeat: repeat-x;}"
+          text run at (672,16) width 0: " "
+          text run at (0,32) width 696: ".three {background-image: url(../resources/oransqr.gif); background-repeat: no-repeat;}"
+          text run at (696,32) width 0: " "
+          text run at (0,48) width 880: ".four {background-image: url(../resources/bg.gif); background-position: 50% 50%; background-repeat: repeat-y;}"
+          text run at (880,48) width 0: " "
+          text run at (0,64) width 704: ".five {background-image: url(../resources/crosshair2.gif); background-position: 50% 50%;"
+          text run at (704,64) width 0: " "
+          text run at (0,80) width 240: "       background-color: red;}"
+          text run at (240,80) width 0: " "
+          text run at (0,96) width 720: ".six {background-image: url(../resources/crosshair2.gif); background-position: center top;"
+          text run at (720,96) width 0: " "
+          text run at (0,112) width 232: "      background-color: red;}"
+          text run at (232,112) width 0: " "
+          text run at (0,128) width 720: ".seven {background-image: url(../resources/crosshair2.gif); background-position: top left;"
+          text run at (720,128) width 0: " "
+          text run at (0,144) width 248: "        background-color: red;}"
+          text run at (248,144) width 0: " "
+          text run at (0,160) width 752: ".eight {background-image: url(../resources/crosshair2.gif); background-position: bottom right;"
+          text run at (752,160) width 0: " "
+          text run at (0,176) width 248: "        background-color: red;}"
+          text run at (248,176) width 0: " "
+          text run at (0,192) width 704: ".nine {background-image: url(../resources/crosshair2.gif); background-position: 50% 50%;"
+          text run at (704,192) width 0: " "
+          text run at (0,208) width 240: "       background-color: red;}"
+          text run at (240,208) width 0: " "
+          text run at (0,224) width 0: " "
+      LayoutBlockFlow {P} at (0,307) size 784x60
+        LayoutText {#text} at (0,0) size 744x19
+          text run at (0,0) width 744: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the default for"
+        LayoutInline {CODE} at (0,0) size 152x16
+          LayoutText {#text} at (0,23) size 152x16
+            text run at (0,23) width 152: "background-position"
+        LayoutText {#text} at (152,20) size 756x39
+          text run at (152,20) width 312: " is '0% 0%' and that property is not declared here). "
+          text run at (464,20) width 292: "This is extra text included for the sole purpose of"
+          text run at (0,40) width 179: "making the paragraph longer. "
+          text run at (178,40) width 208: "Thank you for your understanding."
+      LayoutBlockFlow {P} at (0,383) size 784x60
+        LayoutText {#text} at (0,0) size 744x19
+          text run at (0,0) width 744: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the default for"
+        LayoutInline {CODE} at (0,0) size 152x16
+          LayoutText {#text} at (0,23) size 152x16
+            text run at (0,23) width 152: "background-position"
+        LayoutText {#text} at (152,20) size 756x39
+          text run at (152,20) width 312: " is '0% 0%' and that property is not declared here). "
+          text run at (464,20) width 292: "This is extra text included for the sole purpose of"
+          text run at (0,40) width 179: "making the paragraph longer. "
+          text run at (178,40) width 208: "Thank you for your understanding."
+      LayoutBlockFlow {P} at (0,459) size 784x60
+        LayoutText {#text} at (0,0) size 667x19
+          text run at (0,0) width 667: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for "
+        LayoutInline {CODE} at (0,0) size 755x36
+          LayoutText {#text} at (667,3) size 755x36
+            text run at (667,3) width 88: "background-"
+            text run at (0,23) width 64: "position"
+        LayoutText {#text} at (64,20) size 737x39
+          text run at (64,20) width 312: " is '0% 0%' and that property is not declared here). "
+          text run at (376,20) width 361: "This is extra text included for the sole purpose of making the"
+          text run at (0,40) width 110: "paragraph longer. "
+          text run at (109,40) width 208: "Thank you for your understanding."
+      LayoutBlockFlow {P} at (0,535) size 784x80
+        LayoutText {#text} at (0,0) size 764x39
+          text run at (0,0) width 764: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin image exactly"
+          text run at (0,20) width 161: "centered in the paragraph. "
+          text run at (161,20) width 95: "This is because "
+        LayoutInline {CODE} at (0,0) size 64x16
+          LayoutText {#text} at (256,23) size 64x16
+            text run at (256,23) width 64: "repeat-y"
+        LayoutText {#text} at (320,20) size 104x19
+          text run at (320,20) width 104: " specifies tiling in "
+        LayoutInline {EM} at (0,0) size 29x19
+          LayoutText {#text} at (424,20) size 29x19
+            text run at (424,20) width 29: "both"
+        LayoutText {#text} at (453,20) size 784x39
+          text run at (453,20) width 151: " directions on the y-axis. "
+          text run at (604,20) width 180: "Note that this test is only valid"
+          text run at (0,40) width 154: "if the user agent supports "
+        LayoutInline {CODE} at (0,0) size 152x16
+          LayoutText {#text} at (154,43) size 152x16
+            text run at (154,43) width 152: "background-position"
+        LayoutText {#text} at (306,40) size 33x19
+          text run at (306,40) width 33: " (see "
+        LayoutInline {A} at (0,0) size 57x19 [color=#0000FF]
+          LayoutText {#text} at (339,40) size 57x19
+            text run at (339,40) width 57: "test 5.3.6"
+        LayoutText {#text} at (396,40) size 773x39
+          text run at (396,40) width 13: "). "
+          text run at (409,40) width 364: "I'll fill the paragraph with extra text to make the conformance"
+          text run at (0,60) width 188: "(or lack thereof) more obvious."
+      LayoutBlockFlow {P} at (0,631) size 784x80 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 714x19
+          text run at (0,0) width 623: "This paragraph should have a tiled background, with the origin image exactly centered in the paragraph. "
+          text run at (623,0) width 91: "This is because"
+        LayoutInline {CODE} at (0,0) size 136x16
+          LayoutText {#text} at (0,23) size 136x16
+            text run at (0,23) width 136: "background-repeat"
+        LayoutText {#text} at (136,20) size 104x19
+          text run at (136,20) width 104: " specifies tiling in "
+        LayoutInline {EM} at (0,0) size 16x19
+          LayoutText {#text} at (240,20) size 16x19
+            text run at (240,20) width 16: "all"
+        LayoutText {#text} at (256,20) size 778x39
+          text run at (256,20) width 342: " directions, regardless of the position of the origin image. "
+          text run at (598,20) width 180: "Note that this test is only valid"
+          text run at (0,40) width 154: "if the user agent supports "
+        LayoutInline {CODE} at (0,0) size 152x16
+          LayoutText {#text} at (154,43) size 152x16
+            text run at (154,43) width 152: "background-position"
+        LayoutText {#text} at (306,40) size 33x19
+          text run at (306,40) width 33: " (see "
+        LayoutInline {A} at (0,0) size 57x19 [color=#0000FF]
+          LayoutText {#text} at (339,40) size 57x19
+            text run at (339,40) width 57: "test 5.3.6"
+        LayoutText {#text} at (396,40) size 773x39
+          text run at (396,40) width 13: "). "
+          text run at (409,40) width 364: "I'll fill the paragraph with extra text to make the conformance"
+          text run at (0,60) width 192: "(or lack thereof) more obvious. "
+          text run at (192,60) width 570: "A background color is present, although if it is visible then the image has not bee correctly tiled."
+      LayoutBlockFlow {P} at (0,727) size 784x60 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 783x59
+          text run at (0,0) width 783: "This sentence should have a fully tiled background which starts at its center top; that is, the background's origin should be the exact"
+          text run at (0,20) width 210: "center of the top of the paragraph. "
+          text run at (210,20) width 484: "I'll fill it with extra text to make the conformance (or lack thereof) more obvious. "
+          text run at (694,20) width 87: "A background"
+          text run at (0,40) width 526: "color is present, although if it is visible, then the image may not have been tiled correctly."
+      LayoutBlockFlow {P} at (0,803) size 784x60 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 771x59
+          text run at (0,0) width 461: "This sentence should have a fully tiled background which starts at its top left. "
+          text run at (461,0) width 310: "I'll fill it with extra text to make the conformance (or"
+          text run at (0,20) width 170: "lack thereof) more obvious. "
+          text run at (170,20) width 557: "A background color is present, although if it is visible, then the image may not have been tiled"
+          text run at (0,40) width 56: "correctly."
+      LayoutBlockFlow {P} at (0,879) size 784x80 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 782x79
+          text run at (0,0) width 782: "This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance of the image"
+          text run at (0,20) width 592: "should be anchored in the bottom right corner, with the tiled background extending out from there. "
+          text run at (591,20) width 185: "I'll fill it with extra text to make"
+          text run at (0,40) width 296: "the conformance (or lack thereof) more obvious. "
+          text run at (296,40) width 463: "A background color is present, although if it is visible, then the image may not"
+          text run at (0,60) width 150: "have been tiled correctly."
+      LayoutBlockFlow {P} at (0,975) size 784x120 [bgcolor=#FF0000]
+        LayoutText {#text} at (0,0) size 769x119
+          text run at (0,0) width 763: "This sentence should have a fully tiled background which starts at its center and is tiled in all directions; that is, the background's"
+          text run at (0,20) width 305: "origin should be the exact center of the paragraph. "
+          text run at (305,20) width 425: "I'll fill it with extra text to make the conformance (or lack thereof) more"
+          text run at (0,40) width 55: "obvious. "
+          text run at (55,40) width 422: "In fact, a lot of extra text will be necessary to make this at all obvious. "
+          text run at (477,40) width 292: "This is true because I am not able to increase the"
+          text run at (0,60) width 724: "text size without resorting to either headings or other CSS properties, neither of which I want to use in this circumstance. "
+          text run at (724,60) width 25: "This"
+          text run at (0,80) width 197: "ought to be enough text, though. "
+          text run at (197,80) width 557: "A background color is present, although if it is visible, then the image may not have been tiled"
+          text run at (0,100) width 56: "correctly."
+      LayoutTable {TABLE} at (0,1111) size 784x846 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x844
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x816
+            LayoutTableCell {TD} at (0,422) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x816 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x60
+                LayoutText {#text} at (0,0) size 744x19
+                  text run at (0,0) width 744: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the default for"
+                LayoutInline {CODE} at (0,0) size 152x16
+                  LayoutText {#text} at (0,23) size 152x16
+                    text run at (0,23) width 152: "background-position"
+                LayoutText {#text} at (152,20) size 756x39
+                  text run at (152,20) width 312: " is '0% 0%' and that property is not declared here). "
+                  text run at (464,20) width 292: "This is extra text included for the sole purpose of"
+                  text run at (0,40) width 179: "making the paragraph longer. "
+                  text run at (178,40) width 208: "Thank you for your understanding."
+              LayoutBlockFlow {P} at (4,80) size 762x60
+                LayoutText {#text} at (0,0) size 744x19
+                  text run at (0,0) width 744: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the default for"
+                LayoutInline {CODE} at (0,0) size 152x16
+                  LayoutText {#text} at (0,23) size 152x16
+                    text run at (0,23) width 152: "background-position"
+                LayoutText {#text} at (152,20) size 756x39
+                  text run at (152,20) width 312: " is '0% 0%' and that property is not declared here). "
+                  text run at (464,20) width 292: "This is extra text included for the sole purpose of"
+                  text run at (0,40) width 179: "making the paragraph longer. "
+                  text run at (178,40) width 208: "Thank you for your understanding."
+              LayoutBlockFlow {P} at (4,156) size 762x60
+                LayoutText {#text} at (0,0) size 667x19
+                  text run at (0,0) width 667: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for "
+                LayoutInline {CODE} at (0,0) size 755x36
+                  LayoutText {#text} at (667,3) size 755x36
+                    text run at (667,3) width 88: "background-"
+                    text run at (0,23) width 64: "position"
+                LayoutText {#text} at (64,20) size 737x39
+                  text run at (64,20) width 312: " is '0% 0%' and that property is not declared here). "
+                  text run at (376,20) width 361: "This is extra text included for the sole purpose of making the"
+                  text run at (0,40) width 110: "paragraph longer. "
+                  text run at (109,40) width 208: "Thank you for your understanding."
+              LayoutBlockFlow {P} at (4,232) size 762x80
+                LayoutText {#text} at (0,0) size 718x39
+                  text run at (0,0) width 718: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin image"
+                  text run at (0,20) width 207: "exactly centered in the paragraph. "
+                  text run at (207,20) width 95: "This is because "
+                LayoutInline {CODE} at (0,0) size 64x16
+                  LayoutText {#text} at (302,23) size 64x16
+                    text run at (302,23) width 64: "repeat-y"
+                LayoutText {#text} at (366,20) size 104x19
+                  text run at (366,20) width 104: " specifies tiling in "
+                LayoutInline {EM} at (0,0) size 29x19
+                  LayoutText {#text} at (470,20) size 29x19
+                    text run at (470,20) width 29: "both"
+                LayoutText {#text} at (499,20) size 756x39
+                  text run at (499,20) width 151: " directions on the y-axis. "
+                  text run at (650,20) width 106: "Note that this test"
+                  text run at (0,40) width 228: "is only valid if the user agent supports "
+                LayoutInline {CODE} at (0,0) size 152x16
+                  LayoutText {#text} at (228,43) size 152x16
+                    text run at (228,43) width 152: "background-position"
+                LayoutText {#text} at (380,40) size 33x19
+                  text run at (380,40) width 33: " (see "
+                LayoutInline {A} at (0,0) size 57x19 [color=#0000FF]
+                  LayoutText {#text} at (413,40) size 57x19
+                    text run at (413,40) width 57: "test 5.3.6"
+                LayoutText {#text} at (470,40) size 743x39
+                  text run at (470,40) width 13: "). "
+                  text run at (483,40) width 260: "I'll fill the paragraph with extra text to make"
+                  text run at (0,60) width 292: "the conformance (or lack thereof) more obvious."
+              LayoutBlockFlow {P} at (4,328) size 762x100 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 714x19
+                  text run at (0,0) width 623: "This paragraph should have a tiled background, with the origin image exactly centered in the paragraph. "
+                  text run at (623,0) width 91: "This is because"
+                LayoutInline {CODE} at (0,0) size 136x16
+                  LayoutText {#text} at (0,23) size 136x16
+                    text run at (0,23) width 136: "background-repeat"
+                LayoutText {#text} at (136,20) size 104x19
+                  text run at (136,20) width 104: " specifies tiling in "
+                LayoutInline {EM} at (0,0) size 16x19
+                  LayoutText {#text} at (240,20) size 16x19
+                    text run at (240,20) width 16: "all"
+                LayoutText {#text} at (256,20) size 746x39
+                  text run at (256,20) width 342: " directions, regardless of the position of the origin image. "
+                  text run at (598,20) width 148: "Note that this test is only"
+                  text run at (0,40) width 186: "valid if the user agent supports "
+                LayoutInline {CODE} at (0,0) size 152x16
+                  LayoutText {#text} at (186,43) size 152x16
+                    text run at (186,43) width 152: "background-position"
+                LayoutText {#text} at (338,40) size 33x19
+                  text run at (338,40) width 33: " (see "
+                LayoutInline {A} at (0,0) size 57x19 [color=#0000FF]
+                  LayoutText {#text} at (371,40) size 57x19
+                    text run at (371,40) width 57: "test 5.3.6"
+                LayoutText {#text} at (428,40) size 754x59
+                  text run at (428,40) width 13: "). "
+                  text run at (441,40) width 282: "I'll fill the paragraph with extra text to make the"
+                  text run at (0,60) width 274: "conformance (or lack thereof) more obvious. "
+                  text run at (274,60) width 480: "A background color is present, although if it is visible then the image has not bee"
+                  text run at (0,80) width 86: "correctly tiled."
+              LayoutBlockFlow {P} at (4,444) size 762x60 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 747x59
+                  text run at (0,0) width 747: "This sentence should have a fully tiled background which starts at its center top; that is, the background's origin should be the"
+                  text run at (0,20) width 246: "exact center of the top of the paragraph. "
+                  text run at (246,20) width 484: "I'll fill it with extra text to make the conformance (or lack thereof) more obvious. "
+                  text run at (730,20) width 11: "A"
+                  text run at (0,40) width 602: "background color is present, although if it is visible, then the image may not have been tiled correctly."
+              LayoutBlockFlow {P} at (4,520) size 762x60 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 749x59
+                  text run at (0,0) width 461: "This sentence should have a fully tiled background which starts at its top left. "
+                  text run at (461,0) width 288: "I'll fill it with extra text to make the conformance"
+                  text run at (0,20) width 192: "(or lack thereof) more obvious. "
+                  text run at (192,20) width 557: "A background color is present, although if it is visible, then the image may not have been tiled"
+                  text run at (0,40) width 56: "correctly."
+              LayoutBlockFlow {P} at (4,596) size 762x80 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 762x79
+                  text run at (0,0) width 743: "This sentence should have a fully tiled background which starts at its bottom right; in other words, a complete instance of the"
+                  text run at (0,20) width 631: "image should be anchored in the bottom right corner, with the tiled background extending out from there. "
+                  text run at (630,20) width 132: "I'll fill it with extra text"
+                  text run at (0,40) width 349: "to make the conformance (or lack thereof) more obvious. "
+                  text run at (349,40) width 411: "A background color is present, although if it is visible, then the image"
+                  text run at (0,60) width 202: "may not have been tiled correctly."
+              LayoutBlockFlow {P} at (4,692) size 762x120 [bgcolor=#FF0000]
+                LayoutText {#text} at (0,0) size 754x119
+                  text run at (0,0) width 678: "This sentence should have a fully tiled background which starts at its center and is tiled in all directions; that is, the"
+                  text run at (0,20) width 390: "background's origin should be the exact center of the paragraph. "
+                  text run at (390,20) width 339: "I'll fill it with extra text to make the conformance (or lack"
+                  text run at (0,40) width 141: "thereof) more obvious. "
+                  text run at (141,40) width 422: "In fact, a lot of extra text will be necessary to make this at all obvious. "
+                  text run at (563,40) width 172: "This is true because I am not"
+                  text run at (0,60) width 754: "able to increase the text size without resorting to either headings or other CSS properties, neither of which I want to use in this"
+                  text run at (0,80) width 86: "circumstance. "
+                  text run at (86,80) width 226: "This ought to be enough text, though. "
+                  text run at (312,80) width 440: "A background color is present, although if it is visible, then the image may"
+                  text run at (0,100) width 173: "not have been tiled correctly."
+layer at (8,297) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,289) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/color-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/color-expected.txt
new file mode 100644
index 0000000..897ec93
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/color_and_background/color-expected.txt
@@ -0,0 +1,39 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x32
+        LayoutText {#text} at (0,0) size 160x32
+          text run at (0,0) width 160: ".one {color: green;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,135) size 784x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutTable {TABLE} at (0,171) size 206x94 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 204x92
+          LayoutTableRow {TR} at (0,0) size 204x28
+            LayoutTableCell {TD} at (0,0) size 204x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 204x64
+            LayoutTableCell {TD} at (0,46) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 192x64 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 184x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,40) size 184x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+layer at (8,89) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/conformance/forward_compatible_parsing-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/conformance/forward_compatible_parsing-expected.txt
new file mode 100644
index 0000000..ec5ffd6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/conformance/forward_compatible_parsing-expected.txt
@@ -0,0 +1,543 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 4321
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x4321 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x4321
+    LayoutBlockFlow {BODY} at (8,8) size 769x4305 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x864
+        LayoutText {#text} at (0,0) size 568x864
+          text run at (0,0) width 304: "P.one {color: green; rotation: 70deg;}"
+          text run at (304,0) width 0: " "
+          text run at (0,16) width 176: "P.oneb {color: green;}"
+          text run at (176,16) width 0: " "
+          text run at (0,32) width 232: "P.oneb {color: invalidValue;}"
+          text run at (232,32) width 0: " "
+          text run at (0,48) width 272: "P.two {background-color: inherit;}"
+          text run at (272,48) width 0: " "
+          text run at (0,64) width 216: "H1 + P.three {color: blue;}"
+          text run at (216,64) width 0: " "
+          text run at (0,80) width 200: "P.four + H1 {color: red;}"
+          text run at (200,80) width 0: " "
+          text run at (0,96) width 264: "P.five {background-color: \"red\";}"
+          text run at (264,96) width 0: " "
+          text run at (0,112) width 408: "P.sixa {border-width: medium; border-style: solid;}"
+          text run at (408,112) width 0: " "
+          text run at (0,128) width 400: "P.sixb {border-width: funny; border-style: solid;}"
+          text run at (400,128) width 0: " "
+          text run at (0,144) width 392: "P.sixc {border-width: 50zu; border-style: solid;}"
+          text run at (392,144) width 0: " "
+          text run at (0,160) width 376: "P.sixd {border-width: px; border-style: solid;}"
+          text run at (376,160) width 0: " "
+          text run at (0,176) width 96: "@three-dee {"
+          text run at (96,176) width 0: " "
+          text run at (0,192) width 184: " @background-lighting {"
+          text run at (184,192) width 0: " "
+          text run at (0,208) width 136: "  azimuth: 30deg;"
+          text run at (136,208) width 0: " "
+          text run at (0,224) width 160: "  elevation: 190deg;"
+          text run at (160,224) width 0: " "
+          text run at (0,240) width 24: "  }"
+          text run at (24,240) width 0: " "
+          text run at (0,256) width 184: " P.seven { color: red }"
+          text run at (184,256) width 0: " "
+          text run at (0,272) width 16: " }"
+          text run at (16,272) width 0: " "
+          text run at (0,288) width 184: "P.eight {COLOR: GREEN;}"
+          text run at (184,288) width 0: " "
+          text run at (0,304) width 192: "OL:wait {color: maroon;}"
+          text run at (192,304) width 0: " "
+          text run at (0,320) width 272: "P.ten:first-child {color: maroon;}"
+          text run at (272,320) width 0: " "
+          text run at (0,336) width 208: "UL:lang(fr) {color: gray;}"
+          text run at (208,336) width 0: " "
+          text run at (0,352) width 248: "BLOCKQUOTE[href] {color: navy;}"
+          text run at (248,352) width 0: " "
+          text run at (0,368) width 288: "ACRONYM[href=\"foo\"] {color: purple;}"
+          text run at (288,368) width 0: " "
+          text run at (0,384) width 296: "ADDRESS[href~=\"foo\"] {color: purple;}"
+          text run at (296,384) width 0: " "
+          text run at (0,400) width 248: "SPAN[lang|=\"fr\"] {color: #c37;}"
+          text run at (248,400) width 0: " "
+          text run at (0,416) width 96: "@media tty {"
+          text run at (96,416) width 0: " "
+          text run at (0,432) width 136: " H1 {color: red;}"
+          text run at (136,432) width 0: " "
+          text run at (0,448) width 192: " P.sixteen {color: red;}"
+          text run at (192,448) width 0: " "
+          text run at (0,464) width 16: " }"
+          text run at (16,464) width 0: " "
+          text run at (0,480) width 96: "@three-dee {"
+          text run at (96,480) width 0: " "
+          text run at (0,496) width 208: " P.seventeen {color: red }"
+          text run at (208,496) width 0: " "
+          text run at (0,512) width 16: " }"
+          text run at (16,512) width 0: " "
+          text run at (0,528) width 568: "P.eighteena {text-decoration: underline overline line-through diagonal;"
+          text run at (568,528) width 0: " "
+          text run at (0,544) width 416: "            font: bold highlighted 100% sans-serif;}"
+          text run at (416,544) width 0: " "
+          text run at (0,560) width 568: "P.eighteenb {text-decoration: underline overline line-through diagonal;"
+          text run at (568,560) width 0: " "
+          text run at (0,576) width 376: "            font: bold highlighted 100% serif;}"
+          text run at (376,576) width 0: " "
+          text run at (0,592) width 384: "EM, P.nineteena ! EM, STRONG {font-size: 200%; }"
+          text run at (384,592) width 0: " "
+          text run at (0,608) width 0: " "
+          text run at (0,624) width 128: "// UL.nineteenb,"
+          text run at (128,624) width 0: " "
+          text run at (0,640) width 200: "P.nineteenb {color: red;}"
+          text run at (200,640) width 0: " "
+          text run at (0,656) width 0: " "
+          text run at (0,672) width 360: "P.twentya {rotation-code: \"}\"; color: blue;} "
+          text run at (360,672) width 0: " "
+          text run at (0,688) width 392: "P.twentyb {rotation-code: \"\\\"}\\\"\"; color: green;}"
+          text run at (392,688) width 0: " "
+          text run at (0,704) width 400: "P.twentyonea {rotation-code: '}'; color: purple;} "
+          text run at (400,704) width 0: " "
+          text run at (0,720) width 416: "P.twentyoneb {rotation-code: '\\'}\\''; color: green;}"
+          text run at (416,720) width 0: " "
+          text run at (0,736) width 104: "P.twentytwo {"
+          text run at (104,736) width 0: " "
+          text run at (0,752) width 376: " type-display: @threedee {rotation-code: '}';};"
+          text run at (376,752) width 0: " "
+          text run at (0,768) width 112: " color: green;"
+          text run at (112,768) width 0: " "
+          text run at (0,784) width 16: " }"
+          text run at (16,784) width 0: " "
+          text run at (0,800) width 280: "P.twentythree {text-indent: 0.5in;}"
+          text run at (280,800) width 0: " "
+          text run at (0,816) width 112: " color: maroon"
+          text run at (112,816) width 0: " "
+          text run at (0,832) width 208: "P.twentyfour {color: red;}"
+          text run at (208,832) width 0: " "
+          text run at (0,848) width 0: " "
+      LayoutBlockFlow {P} at (0,931) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 462x19
+          text run at (0,0) width 462: "This paragraph should be green, because only the rotation should be ignored."
+      LayoutBlockFlow {P} at (0,967) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 591x19
+          text run at (0,0) width 591: "This paragraph should be green, since error-checking should be done before calculating specificity."
+      LayoutBlockFlow {P} at (0,1003) size 769x40
+        LayoutText {#text} at (0,0) size 535x19
+          text run at (0,0) width 535: "This paragraph should have a solid gray background (or a white grid), because in CSS1, "
+        LayoutInline {CODE} at (0,0) size 56x16
+          LayoutText {#text} at (535,3) size 56x16
+            text run at (535,3) width 56: "inherit"
+        LayoutText {#text} at (591,0) size 766x39
+          text run at (591,0) width 175: " is an invalid keyword, and in"
+          text run at (0,20) width 454: "CSS2, it will cause the gray background (not the white grid) to be inherited."
+      LayoutBlockFlow {P} at (0,1059) size 769x20
+        LayoutText {#text} at (0,0) size 610x19
+          text run at (0,0) width 610: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+      LayoutBlockFlow {P} at (0,1095) size 769x20
+        LayoutText {#text} at (0,0) size 610x19
+          text run at (0,0) width 610: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+      LayoutBlockFlow {P} at (0,1131) size 769x20
+        LayoutText {#text} at (0,0) size 503x19
+          text run at (0,0) width 503: "This paragraph should have a white background, since keywords cannot be quoted."
+      LayoutBlockFlow {P} at (0,1167) size 769x46 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 744x39
+          text run at (3,3) width 616: "This paragraph should have a medium-width border around it (the same as the next three paragraphs). "
+          text run at (619,3) width 128: "This should cause the"
+          text run at (3,23) width 279: "user agent to use the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1229) size 769x46 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 761x39
+          text run at (3,3) width 761: "This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs), because"
+          text run at (3,23) width 165: "the border-width is invalid. "
+          text run at (167,23) width 412: "This should cause the user agent to use the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1291) size 769x66 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 761x59
+          text run at (3,3) width 761: "This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs), because"
+          text run at (3,23) width 511: "the border-width units are invalid, and therefore the border-width should be ignored. "
+          text run at (513,23) width 234: "This should cause the user agent to use"
+          text run at (3,43) width 174: "the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1373) size 769x66 [border: (3px solid #000000)]
+        LayoutText {#text} at (3,3) size 750x59
+          text run at (3,3) width 713: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because the"
+          text run at (3,23) width 517: "border-width does not have any value to go with its pixel unit, and is therefore invalid. "
+          text run at (519,23) width 234: "This should cause the user agent to use"
+          text run at (3,43) width 174: "the default value of 'medium'."
+      LayoutBlockFlow {P} at (0,1455) size 769x20
+        LayoutText {#text} at (0,0) size 627x19
+          text run at (0,0) width 627: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+      LayoutBlockFlow {P} at (0,1491) size 769x40 [color=#008000]
+        LayoutText {#text} at (0,0) size 726x39
+          text run at (0,0) width 197: "This paragraph should be green. "
+          text run at (197,0) width 529: "CSS is case-insensitive, unless required to be case sensitive due to interaction with other"
+          text run at (0,20) width 228: "standards (e.g., font names or URLs.)"
+      LayoutBlockFlow {OL} at (0,1547) size 769x20
+        LayoutListItem {LI} at (40,0) size 729x20
+          LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
+          LayoutText {#text} at (0,0) size 596x19
+            text run at (0,0) width 596: "This ordered list item should be black, because the declaration has an invalid pseudo-class selector."
+      LayoutBlockFlow {P} at (0,1583) size 769x40
+        LayoutText {#text} at (0,0) size 764x39
+          text run at (0,0) width 764: "This paragraph should be black, because, in CSS1, :first-child is an invalid pseudo-class, and in CSS2, this paragraph is not the"
+          text run at (0,20) width 58: "first child."
+      LayoutBlockFlow {UL} at (0,1639) size 769x40
+        LayoutListItem {LI} at (40,0) size 729x40
+          LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+          LayoutText {#text} at (0,0) size 728x39
+            text run at (0,0) width 728: "This unordered list item should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the"
+            text run at (0,20) width 153: "selector should not apply."
+      LayoutBlockFlow {BLOCKQUOTE} at (40,1695) size 689x40
+        LayoutText {#text} at (0,0) size 685x39
+          text run at (0,0) width 685: "This blockquote should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the"
+          text run at (0,20) width 153: "selector should not apply."
+      LayoutBlockFlow {P} at (0,1751) size 769x40
+        LayoutInline {ACRONYM} at (0,0) size 763x39
+          LayoutText {#text} at (0,0) size 763x39
+            text run at (0,0) width 763: "This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector should"
+            text run at (0,20) width 59: "not apply."
+      LayoutBlockFlow {ADDRESS} at (0,1807) size 769x40
+        LayoutText {#text} at (0,0) size 752x39
+          text run at (0,0) width 752: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+          text run at (0,20) width 110: "should not apply."
+      LayoutBlockFlow {P} at (0,1863) size 769x40
+        LayoutInline {SPAN} at (0,0) size 762x39
+          LayoutText {#text} at (0,0) size 762x39
+            text run at (0,0) width 762: "This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector should not"
+            text run at (0,20) width 36: "apply."
+      LayoutBlockFlow {P} at (0,1919) size 769x40
+        LayoutText {#text} at (0,0) size 761x39
+          text run at (0,0) width 631: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. "
+          text run at (631,0) width 130: "However, it is valid in"
+          text run at (0,20) width 521: "CSS2, so if this is being viewed on a tty browser that supports CSS2, it should be red."
+      LayoutBlockFlow {P} at (0,1975) size 769x20
+        LayoutText {#text} at (0,0) size 627x19
+          text run at (0,0) width 627: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+      LayoutBlockFlow {P} at (0,2011) size 769x80
+        LayoutText {#text} at (0,0) size 703x19
+          text run at (0,0) width 703: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
+        LayoutInline {CODE} at (0,0) size 64x16
+          LayoutText {#text} at (0,23) size 64x16
+            text run at (0,23) width 64: "diagonal"
+        LayoutText {#text} at (64,20) size 214x19
+          text run at (64,20) width 214: " is not a valid keyword, making the "
+        LayoutInline {CODE} at (0,0) size 120x16
+          LayoutText {#text} at (278,23) size 120x16
+            text run at (278,23) width 120: "text-decoration"
+        LayoutText {#text} at (398,20) size 122x19
+          text run at (398,20) width 50: " invalid. "
+          text run at (448,20) width 72: "In addition, "
+        LayoutInline {CODE} at (0,0) size 88x16
+          LayoutText {#text} at (520,23) size 88x16
+            text run at (520,23) width 88: "highlighted"
+        LayoutText {#text} at (608,20) size 145x19
+          text run at (608,20) width 145: " is not a valid part of the"
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (0,43) size 32x16
+            text run at (0,43) width 32: "font"
+        LayoutText {#text} at (32,40) size 768x39
+          text run at (32,40) width 167: " property, making it invalid. "
+          text run at (198,40) width 537: "Therefore, this paragraph's font should be the UA default, and match the next paragraph. "
+          text run at (734,40) width 34: "If this"
+          text run at (0,60) width 144: "is not the case, then the "
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (144,63) size 32x16
+            text run at (144,63) width 32: "font"
+        LayoutText {#text} at (176,60) size 237x19
+          text run at (176,60) width 237: " declaration is being improperly parsed."
+      LayoutBlockFlow {P} at (0,2107) size 769x80
+        LayoutText {#text} at (0,0) size 703x19
+          text run at (0,0) width 703: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
+        LayoutInline {CODE} at (0,0) size 64x16
+          LayoutText {#text} at (0,23) size 64x16
+            text run at (0,23) width 64: "diagonal"
+        LayoutText {#text} at (64,20) size 214x19
+          text run at (64,20) width 214: " is not a valid keyword, making the "
+        LayoutInline {CODE} at (0,0) size 120x16
+          LayoutText {#text} at (278,23) size 120x16
+            text run at (278,23) width 120: "text-decoration"
+        LayoutText {#text} at (398,20) size 122x19
+          text run at (398,20) width 50: " invalid. "
+          text run at (448,20) width 72: "In addition, "
+        LayoutInline {CODE} at (0,0) size 88x16
+          LayoutText {#text} at (520,23) size 88x16
+            text run at (520,23) width 88: "highlighted"
+        LayoutText {#text} at (608,20) size 145x19
+          text run at (608,20) width 145: " is not a valid part of the"
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (0,43) size 32x16
+            text run at (0,43) width 32: "font"
+        LayoutText {#text} at (32,40) size 757x39
+          text run at (32,40) width 167: " property, making it invalid. "
+          text run at (198,40) width 559: "Therefore, this paragraph's font should be the UA default, and match the previous paragraph."
+          text run at (0,60) width 181: "If this is not the case, then the "
+        LayoutInline {CODE} at (0,0) size 32x16
+          LayoutText {#text} at (181,63) size 32x16
+            text run at (181,63) width 32: "font"
+        LayoutText {#text} at (213,60) size 237x19
+          text run at (213,60) width 237: " declaration is being improperly parsed."
+      LayoutBlockFlow {P} at (0,2203) size 769x60
+        LayoutText {#text} at (0,0) size 503x19
+          text run at (0,0) width 476: "The text of this paragraph should be normal size because the selector is invalid. "
+          text run at (476,0) width 27: "The "
+        LayoutInline {EM} at (0,0) size 103x19
+          LayoutText {#text} at (503,0) size 103x19
+            text run at (503,0) width 103: "emphasized text"
+        LayoutText {#text} at (606,0) size 52x19
+          text run at (606,0) width 52: " and the "
+        LayoutInline {STRONG} at (0,0) size 72x19
+          LayoutText {#text} at (658,0) size 72x19
+            text run at (658,0) width 72: "strong text"
+        LayoutText {#text} at (729,0) size 769x59
+          text run at (729,0) width 40: " within"
+          text run at (0,20) width 757: "it should also be normal size, since the entire ruleset should be skipped (since in some future version of CSS, there could be an"
+          text run at (0,40) width 425: "operator within the selector that has higher precedence than a comma)."
+      LayoutBlockFlow {P} at (0,2279) size 769x40
+        LayoutText {#text} at (0,0) size 444x19
+          text run at (0,0) width 444: "This paragraph should be black, because the line before the declaration is "
+        LayoutInline {STRONG} at (0,0) size 21x19
+          LayoutText {#text} at (444,0) size 21x19
+            text run at (444,0) width 21: "not"
+        LayoutText {#text} at (465,0) size 713x39
+          text run at (465,0) width 248: " a comment and therefore the selector for"
+          text run at (0,20) width 128: "P.nineteenb is invalid."
+      LayoutBlockFlow {P} at (0,2335) size 769x20 [color=#0000FF]
+        LayoutText {#text} at (0,0) size 444x19
+          text run at (0,0) width 444: "This paragraph should be blue, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2371) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 452: "This paragraph should be green, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2407) size 769x20 [color=#800080]
+        LayoutText {#text} at (0,0) size 457x19
+          text run at (0,0) width 457: "This paragraph should be purple, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2443) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 452: "This paragraph should be green, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2479) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 452x19
+          text run at (0,0) width 452: "This paragraph should be green, because only the first declaration is invalid."
+      LayoutBlockFlow {P} at (0,2515) size 769x20
+        LayoutText {#text} at (48,0) size 571x19
+          text run at (48,0) width 459: "This paragraph should be indented half an inch, but it should not be maroon. "
+          text run at (507,0) width 112: "It should be black."
+      LayoutBlockFlow {P} at (0,2551) size 769x40
+        LayoutText {#text} at (0,0) size 722x39
+          text run at (0,0) width 722: "This paragraph should be black, because the color declaration after the previous ruleset should be considered part of the"
+          text run at (0,20) width 588: "selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied."
+      LayoutTable {TABLE} at (0,2607) size 769x1698 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1696
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1668
+            LayoutTableCell {TD} at (0,848) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1668 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 462x19
+                  text run at (0,0) width 462: "This paragraph should be green, because only the rotation should be ignored."
+              LayoutBlockFlow {P} at (4,40) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 591x19
+                  text run at (0,0) width 591: "This paragraph should be green, since error-checking should be done before calculating specificity."
+              LayoutBlockFlow {P} at (4,76) size 747x40
+                LayoutText {#text} at (0,0) size 535x19
+                  text run at (0,0) width 535: "This paragraph should have a solid gray background (or a white grid), because in CSS1, "
+                LayoutInline {CODE} at (0,0) size 56x16
+                  LayoutText {#text} at (535,3) size 56x16
+                    text run at (535,3) width 56: "inherit"
+                LayoutText {#text} at (591,0) size 726x39
+                  text run at (591,0) width 135: " is an invalid keyword,"
+                  text run at (0,20) width 494: "and in CSS2, it will cause the gray background (not the white grid) to be inherited."
+              LayoutBlockFlow {P} at (4,132) size 747x20
+                LayoutText {#text} at (0,0) size 610x19
+                  text run at (0,0) width 610: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+              LayoutBlockFlow {P} at (4,168) size 747x20
+                LayoutText {#text} at (0,0) size 610x19
+                  text run at (0,0) width 610: "This paragraph should be black, since in CSS1, the selector is invalid, and in CSS2, it does not apply."
+              LayoutBlockFlow {P} at (4,204) size 747x20
+                LayoutText {#text} at (0,0) size 503x19
+                  text run at (0,0) width 503: "This paragraph should have a white background, since keywords cannot be quoted."
+              LayoutBlockFlow {P} at (4,240) size 747x46 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 722x39
+                  text run at (3,3) width 616: "This paragraph should have a medium-width border around it (the same as the next three paragraphs). "
+                  text run at (619,3) width 106: "This should cause"
+                  text run at (3,23) width 301: "the user agent to use the default value of 'medium'."
+              LayoutBlockFlow {P} at (4,302) size 747x46 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 708x39
+                  text run at (3,3) width 708: "This paragraph should have a medium-width border around it (the same as the previous and the next two paragraphs),"
+                  text run at (3,23) width 218: "because the border-width is invalid. "
+                  text run at (220,23) width 412: "This should cause the user agent to use the default value of 'medium'."
+              LayoutBlockFlow {P} at (4,364) size 747x66 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 721x59
+                  text run at (3,3) width 708: "This paragraph should have a medium-width border around it (the same as the next and the previous two paragraphs),"
+                  text run at (3,23) width 564: "because the border-width units are invalid, and therefore the border-width should be ignored. "
+                  text run at (566,23) width 158: "This should cause the user"
+                  text run at (3,43) width 250: "agent to use the default value of 'medium'."
+              LayoutBlockFlow {P} at (4,446) size 747x66 [border: (3px solid #000000)]
+                LayoutText {#text} at (3,3) size 726x59
+                  text run at (3,3) width 713: "This paragraph should have a medium-width border around it (the same as the previous three paragraphs), because the"
+                  text run at (3,23) width 517: "border-width does not have any value to go with its pixel unit, and is therefore invalid. "
+                  text run at (519,23) width 210: "This should cause the user agent to"
+                  text run at (3,43) width 198: "use the default value of 'medium'."
+              LayoutBlockFlow {P} at (4,528) size 747x20
+                LayoutText {#text} at (0,0) size 627x19
+                  text run at (0,0) width 627: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+              LayoutBlockFlow {P} at (4,564) size 747x40 [color=#008000]
+                LayoutText {#text} at (0,0) size 726x39
+                  text run at (0,0) width 197: "This paragraph should be green. "
+                  text run at (197,0) width 529: "CSS is case-insensitive, unless required to be case sensitive due to interaction with other"
+                  text run at (0,20) width 228: "standards (e.g., font names or URLs.)"
+              LayoutBlockFlow {OL} at (4,620) size 747x20
+                LayoutListItem {LI} at (40,0) size 707x20
+                  LayoutListMarker (anonymous) at (-16,0) size 16x19: "1"
+                  LayoutText {#text} at (0,0) size 596x19
+                    text run at (0,0) width 596: "This ordered list item should be black, because the declaration has an invalid pseudo-class selector."
+              LayoutBlockFlow {P} at (4,656) size 747x40
+                LayoutText {#text} at (0,0) size 742x39
+                  text run at (0,0) width 742: "This paragraph should be black, because, in CSS1, :first-child is an invalid pseudo-class, and in CSS2, this paragraph is not"
+                  text run at (0,20) width 80: "the first child."
+              LayoutBlockFlow {UL} at (4,712) size 747x40
+                LayoutListItem {LI} at (40,0) size 707x40
+                  LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                  LayoutText {#text} at (0,0) size 706x39
+                    text run at (0,0) width 706: "This unordered list item should be black, because, according to CSS1, the selector is invalid, and according to CSS2,"
+                    text run at (0,20) width 175: "the selector should not apply."
+              LayoutBlockFlow {BLOCKQUOTE} at (44,768) size 667x40
+                LayoutText {#text} at (0,0) size 663x39
+                  text run at (0,0) width 663: "This blockquote should be black, because, according to CSS1, the selector is invalid, and according to CSS2,"
+                  text run at (0,20) width 175: "the selector should not apply."
+              LayoutBlockFlow {P} at (4,824) size 747x40
+                LayoutInline {ACRONYM} at (0,0) size 720x39
+                  LayoutText {#text} at (0,0) size 720x39
+                    text run at (0,0) width 720: "This acronym should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector"
+                    text run at (0,20) width 102: "should not apply."
+              LayoutBlockFlow {ADDRESS} at (4,880) size 747x40
+                LayoutText {#text} at (0,0) size 698x39
+                  text run at (0,0) width 698: "This address should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the"
+                  text run at (0,20) width 164: "selector should not apply."
+              LayoutBlockFlow {P} at (4,936) size 747x40
+                LayoutInline {SPAN} at (0,0) size 739x39
+                  LayoutText {#text} at (0,0) size 739x39
+                    text run at (0,0) width 739: "This span should be black, because, according to CSS1, the selector is invalid, and according to CSS2, the selector should"
+                    text run at (0,20) width 59: "not apply."
+              LayoutBlockFlow {P} at (4,992) size 747x40
+                LayoutText {#text} at (0,0) size 747x39
+                  text run at (0,0) width 631: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule. "
+                  text run at (631,0) width 116: "However, it is valid"
+                  text run at (0,20) width 535: "in CSS2, so if this is being viewed on a tty browser that supports CSS2, it should be red."
+              LayoutBlockFlow {P} at (4,1048) size 747x20
+                LayoutText {#text} at (0,0) size 627x19
+                  text run at (0,0) width 627: "This paragraph should be black, because the style declaration that applies to it is within an invalid at-rule."
+              LayoutBlockFlow {P} at (4,1084) size 747x80
+                LayoutText {#text} at (0,0) size 703x19
+                  text run at (0,0) width 703: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
+                LayoutInline {CODE} at (0,0) size 64x16
+                  LayoutText {#text} at (0,23) size 64x16
+                    text run at (0,23) width 64: "diagonal"
+                LayoutText {#text} at (64,20) size 214x19
+                  text run at (64,20) width 214: " is not a valid keyword, making the "
+                LayoutInline {CODE} at (0,0) size 120x16
+                  LayoutText {#text} at (278,23) size 120x16
+                    text run at (278,23) width 120: "text-decoration"
+                LayoutText {#text} at (398,20) size 122x19
+                  text run at (398,20) width 50: " invalid. "
+                  text run at (448,20) width 72: "In addition, "
+                LayoutInline {CODE} at (0,0) size 88x16
+                  LayoutText {#text} at (520,23) size 88x16
+                    text run at (520,23) width 88: "highlighted"
+                LayoutText {#text} at (608,20) size 731x39
+                  text run at (608,20) width 123: " is not a valid part of"
+                  text run at (0,40) width 22: "the "
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (22,43) size 32x16
+                    text run at (22,43) width 32: "font"
+                LayoutText {#text} at (54,40) size 684x39
+                  text run at (54,40) width 167: " property, making it invalid. "
+                  text run at (220,40) width 464: "Therefore, this paragraph's font should be the UA default, and match the next"
+                  text run at (0,60) width 69: "paragraph. "
+                  text run at (69,60) width 181: "If this is not the case, then the "
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (250,63) size 32x16
+                    text run at (250,63) width 32: "font"
+                LayoutText {#text} at (282,60) size 237x19
+                  text run at (282,60) width 237: " declaration is being improperly parsed."
+              LayoutBlockFlow {P} at (4,1180) size 747x80
+                LayoutText {#text} at (0,0) size 703x19
+                  text run at (0,0) width 703: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
+                LayoutInline {CODE} at (0,0) size 64x16
+                  LayoutText {#text} at (0,23) size 64x16
+                    text run at (0,23) width 64: "diagonal"
+                LayoutText {#text} at (64,20) size 214x19
+                  text run at (64,20) width 214: " is not a valid keyword, making the "
+                LayoutInline {CODE} at (0,0) size 120x16
+                  LayoutText {#text} at (278,23) size 120x16
+                    text run at (278,23) width 120: "text-decoration"
+                LayoutText {#text} at (398,20) size 122x19
+                  text run at (398,20) width 50: " invalid. "
+                  text run at (448,20) width 72: "In addition, "
+                LayoutInline {CODE} at (0,0) size 88x16
+                  LayoutText {#text} at (520,23) size 88x16
+                    text run at (520,23) width 88: "highlighted"
+                LayoutText {#text} at (608,20) size 731x39
+                  text run at (608,20) width 123: " is not a valid part of"
+                  text run at (0,40) width 22: "the "
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (22,43) size 32x16
+                    text run at (22,43) width 32: "font"
+                LayoutText {#text} at (54,40) size 710x39
+                  text run at (54,40) width 167: " property, making it invalid. "
+                  text run at (220,40) width 490: "Therefore, this paragraph's font should be the UA default, and match the previous"
+                  text run at (0,60) width 69: "paragraph. "
+                  text run at (69,60) width 181: "If this is not the case, then the "
+                LayoutInline {CODE} at (0,0) size 32x16
+                  LayoutText {#text} at (250,63) size 32x16
+                    text run at (250,63) width 32: "font"
+                LayoutText {#text} at (282,60) size 237x19
+                  text run at (282,60) width 237: " declaration is being improperly parsed."
+              LayoutBlockFlow {P} at (4,1276) size 747x60
+                LayoutText {#text} at (0,0) size 503x19
+                  text run at (0,0) width 476: "The text of this paragraph should be normal size because the selector is invalid. "
+                  text run at (476,0) width 27: "The "
+                LayoutInline {EM} at (0,0) size 103x19
+                  LayoutText {#text} at (503,0) size 103x19
+                    text run at (503,0) width 103: "emphasized text"
+                LayoutText {#text} at (606,0) size 52x19
+                  text run at (606,0) width 52: " and the "
+                LayoutInline {STRONG} at (0,0) size 72x19
+                  LayoutText {#text} at (658,0) size 72x19
+                    text run at (658,0) width 72: "strong text"
+                LayoutText {#text} at (0,20) size 722x39
+                  text run at (0,20) width 722: "within it should also be normal size, since the entire ruleset should be skipped (since in some future version of CSS, there"
+                  text run at (0,40) width 499: "could be an operator within the selector that has higher precedence than a comma)."
+              LayoutBlockFlow {P} at (4,1352) size 747x40
+                LayoutText {#text} at (0,0) size 444x19
+                  text run at (0,0) width 444: "This paragraph should be black, because the line before the declaration is "
+                LayoutInline {STRONG} at (0,0) size 21x19
+                  LayoutText {#text} at (444,0) size 21x19
+                    text run at (444,0) width 21: "not"
+                LayoutText {#text} at (465,0) size 713x39
+                  text run at (465,0) width 248: " a comment and therefore the selector for"
+                  text run at (0,20) width 128: "P.nineteenb is invalid."
+              LayoutBlockFlow {P} at (4,1408) size 747x20 [color=#0000FF]
+                LayoutText {#text} at (0,0) size 444x19
+                  text run at (0,0) width 444: "This paragraph should be blue, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1444) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 452x19
+                  text run at (0,0) width 452: "This paragraph should be green, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1480) size 747x20 [color=#800080]
+                LayoutText {#text} at (0,0) size 457x19
+                  text run at (0,0) width 457: "This paragraph should be purple, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1516) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 452x19
+                  text run at (0,0) width 452: "This paragraph should be green, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1552) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 452x19
+                  text run at (0,0) width 452: "This paragraph should be green, because only the first declaration is invalid."
+              LayoutBlockFlow {P} at (4,1588) size 747x20
+                LayoutText {#text} at (48,0) size 571x19
+                  text run at (48,0) width 459: "This paragraph should be indented half an inch, but it should not be maroon. "
+                  text run at (507,0) width 112: "It should be black."
+              LayoutBlockFlow {P} at (4,1624) size 747x40
+                LayoutText {#text} at (0,0) size 722x39
+                  text run at (0,0) width 722: "This paragraph should be black, because the color declaration after the previous ruleset should be considered part of the"
+                  text run at (0,20) width 588: "selector for this ruleset, and this ruleset therefore has an invalid selector and should not be applied."
+layer at (8,921) size 769x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,913) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font-expected.txt
new file mode 100644
index 0000000..ae55213
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font-expected.txt
@@ -0,0 +1,235 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 4723
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x4723 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x4723.33
+    LayoutBlockFlow {BODY} at (8,8) size 769x4707.33 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x16
+        LayoutText {#text} at (0,0) size 274x15
+          text run at (0,0) width 274: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,28) size 769x180
+        LayoutText {#text} at (0,0) size 399x180
+          text run at (0,0) width 161: "BODY {font-size: 12px;}"
+          text run at (161,0) width 0: " "
+          text run at (0,15) width 322: ".one {font: italic small-caps 13pt Helvetica;}"
+          text run at (322,15) width 0: " "
+          text run at (0,30) width 203: ".two {font: 150%/150% serif;}"
+          text run at (203,30) width 0: " "
+          text run at (0,45) width 252: ".three {font: 150%/150% sans-serif;}"
+          text run at (252,45) width 0: " "
+          text run at (0,60) width 231: ".four {font: small/200% cursive;}"
+          text run at (231,60) width 0: " "
+          text run at (0,75) width 399: ".five {font: italic small-caps 900 150%/150% sans-serif;}"
+          text run at (399,75) width 0: " "
+          text run at (0,90) width 392: ".six {font: italic small-caps 100 150%/300% sans-serif;}"
+          text run at (392,90) width 0: " "
+          text run at (0,105) width 392: ".seven {font: italic small-caps 900 150%/2em monospace;}"
+          text run at (392,105) width 0: " "
+          text run at (0,120) width 399: ".eight {font: italic small-caps 500 150%/1in sans-serif;}"
+          text run at (399,120) width 0: " "
+          text run at (0,135) width 378: ".nine {font: oblique normal 700 18px/200% sans-serif;}"
+          text run at (378,135) width 0: " "
+          text run at (0,150) width 301: ".ten {font: normal 400 80%/2.5 sans-serif;}"
+          text run at (301,150) width 0: " "
+          text run at (0,165) width 266: "SPAN.color {background-color: silver;}"
+          text run at (266,165) width 0: " "
+      LayoutBlockFlow {P} at (0,234) size 769x16
+        LayoutText {#text} at (0,0) size 721x15
+          text run at (0,0) width 431: "This element is unstyled, and should inherit a font-size of 12px from the BODY element. "
+          text run at (431,0) width 290: "This is the \"base font size\" referred to in the following tests."
+      LayoutBlockFlow {P} at (0,267.33) size 769x21
+        LayoutText {#text} at (0,0) size 559x20
+          text run at (0,0) width 559: "This element should be 13pt. Helvetica which is in small-cap italics."
+      LayoutBlockFlow {P} at (0,306.33) size 769x81
+        LayoutText {#text} at (0,3) size 760x74
+          text run at (0,3) width 278: "This element should be in a serif font. "
+          text run at (278,3) width 472: "Its font-size should be 150% the base font size, and its line-height"
+          text run at (0,30) width 417: "should 150% of that value (18px and 27px, respectively). "
+          text run at (417,30) width 343: "Extra text is included for the purposes of testing"
+          text run at (0,57) width 151: "this more effectively."
+      LayoutBlockFlow {P} at (0,405.33) size 769x81
+        LayoutText {#text} at (0,3) size 757x75
+          text run at (0,3) width 348: "This element should be in a sans-serif font. "
+          text run at (348,3) width 409: "Its font-size should be 150% the base font size, and"
+          text run at (0,30) width 566: "its line-height should 150% of that value (18px and 27px, respectively). "
+          text run at (566,30) width 190: "Extra text is included for"
+          text run at (0,57) width 349: "the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,504.33) size 769x80
+        LayoutText {#text} at (0,4) size 726x44
+          text run at (0,4) width 705: "This element should be in a cursive font, 'small' in size, with a line-height 200% the height of the text's actual size. "
+          text run at (705,4) width 21: "For"
+          text run at (0,30) width 189: "example, if the font-size value "
+        LayoutInline {CODE} at (0,0) size 30x12
+          LayoutText {#text} at (189,35) size 30x12
+            text run at (189,35) width 30: "small"
+        LayoutText {#text} at (219,30) size 753x46
+          text run at (219,30) width 359: " is calculated at 10px, then the line-height should be 20px. "
+          text run at (578,30) width 175: "The actual value of the font-"
+          text run at (0,58) width 136: "size is UA-dependent. "
+          text run at (136,58) width 434: "Extra text is included for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,602.33) size 769x135
+        LayoutText {#text} at (0,0) size 755x134
+          text run at (0,0) width 720: "This element should be in a sans-serif font, italicized and small caps,"
+          text run at (0,27) width 221: "with a weight of 900. "
+          text run at (221,27) width 534: "Its font-size should be 150% the base font size, and"
+          text run at (0,54) width 623: "its line-height should be 150% of that value (18px and 27px,"
+          text run at (0,81) width 149: "respectively). "
+          text run at (148,81) width 570: "Extra text is included for the purposes of testing this"
+          text run at (0,108) width 177: "more effectively."
+      LayoutBlockFlow {P} at (0,755.33) size 769x216
+        LayoutText {#text} at (0,16) size 760x184
+          text run at (0,16) width 760: "This element should be in a sans-serif font, italicized and small caps, with a weight of"
+          text run at (0,70) width 40: "100. "
+          text run at (40,70) width 681: "Its font-size should be 150% the base font size, and its line-height should be"
+          text run at (0,124) width 439: "300% of that value (18px and 54px, respectively). "
+          text run at (438,124) width 269: "Extra text is included for the"
+          text run at (0,178) width 377: "purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,989.33) size 769x144
+        LayoutText {#text} at (0,8) size 750x128
+          text run at (0,8) width 750: "This element should be in a monospace font, italicized and small caps, with a weight of"
+          text run at (0,44) width 55: "900. "
+          text run at (55,44) width 687: "Its font-size should be 150% the base font size, and its line-height should be"
+          text run at (0,80) width 618: "2em, or twice the element's font size (18px and 36px, respectively). "
+          text run at (618,80) width 113: "Extra text is"
+          text run at (0,116) width 499: "included for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,1151.33) size 769x384
+        LayoutText {#text} at (0,37) size 760x310
+          text run at (0,37) width 760: "This element should be in a sans-serif font, italicized and small caps, with a weight of"
+          text run at (0,133) width 40: "500. "
+          text run at (40,133) width 666: "Its font-size should be 150% the base font size, or 18px, and its line-height"
+          text run at (0,229) width 128: "should be 1in. "
+          text run at (128,229) width 543: "Extra text is included for the purposes of testing this more"
+          text run at (0,325) width 102: "effectively."
+      LayoutBlockFlow {P} at (0,1553.33) size 769x144
+        LayoutText {#text} at (0,7) size 763x129
+          text run at (0,7) width 763: "This element should be in a sans-serif font, oblique and not small-caps, with a weight of"
+          text run at (0,43) width 40: "700. "
+          text run at (40,43) width 674: "Its font-size should be 18 pixels, and its line-height should be 36px (200% this"
+          text run at (0,79) width 181: "element's font size). "
+          text run at (181,79) width 509: "Extra text is included for the purposes of testing this more"
+          text run at (0,115) width 97: "effectively."
+      LayoutBlockFlow {P} at (0,1715.33) size 769x46
+        LayoutText {#text} at (0,5) size 760x36
+          text run at (0,5) width 305: "This element should be in a sans-serif font, with a weight of 400. "
+          text run at (305,5) width 455: "Its font-size should be 80% of 12px, or 9.6px, and its line-height shoud be 2.5 times that, or 24px."
+          text run at (0,28) width 321: "Extra text is included for the purposes of testing this more effectively."
+      LayoutBlockFlow {P} at (0,1779.33) size 769x270
+        LayoutInline {SPAN} at (0,0) size 760x238 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,16) size 760x238
+            text run at (0,16) width 760: "This element should be in a sans-serif font, italicized and small caps, with a weight of"
+            text run at (0,70) width 40: "100. "
+            text run at (40,70) width 681: "Its font-size should be 150% the base font size, and its line-height should be"
+            text run at (0,124) width 699: "300% of that value (18px and 54px, respectively). The text should have a silver"
+            text run at (0,178) width 728: "background. The background color has been set on an inline element and should"
+            text run at (0,232) width 510: "therefore only cover the text, not the interline spacing."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,2067.33) size 769x2640 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x2638
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x2610
+            LayoutTableCell {TD} at (0,1319) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x2610.33 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 738x39
+                  text run at (0,0) width 531: "This element is unstyled, and should inherit a font-size of 12px from the BODY element. "
+                  text run at (531,0) width 207: "This is the \"base font size\" referred"
+                  text run at (0,20) width 141: "to in the following tests."
+              LayoutBlockFlow {P} at (4,61.33) size 747x21
+                LayoutText {#text} at (0,0) size 559x20
+                  text run at (0,0) width 559: "This element should be 13pt. Helvetica which is in small-cap italics."
+              LayoutBlockFlow {P} at (4,106.33) size 747x144
+                LayoutText {#text} at (0,4) size 725x135
+                  text run at (0,4) width 367: "This element should be in a serif font. "
+                  text run at (367,4) width 358: "Its font-size should be 150% the base"
+                  text run at (0,40) width 685: "font size, and its line-height should 150% of that value (18px and 27px,"
+                  text run at (0,76) width 136: "respectively). "
+                  text run at (136,76) width 556: "Extra text is included for the purposes of testing this more"
+                  text run at (0,112) width 107: "effectively."
+              LayoutBlockFlow {P} at (4,274.33) size 747x144
+                LayoutText {#text} at (0,4) size 708x135
+                  text run at (0,4) width 471: "This element should be in a sans-serif font. "
+                  text run at (471,4) width 237: "Its font-size should be"
+                  text run at (0,40) width 685: "150% the base font size, and its line-height should 150% of that"
+                  text run at (0,76) width 391: "value (18px and 27px, respectively). "
+                  text run at (391,76) width 299: "Extra text is included for the"
+                  text run at (0,112) width 430: "purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,442.33) size 747x80
+                LayoutText {#text} at (0,4) size 726x44
+                  text run at (0,4) width 705: "This element should be in a cursive font, 'small' in size, with a line-height 200% the height of the text's actual size. "
+                  text run at (705,4) width 21: "For"
+                  text run at (0,30) width 189: "example, if the font-size value "
+                LayoutInline {CODE} at (0,0) size 30x12
+                  LayoutText {#text} at (189,35) size 30x12
+                    text run at (189,35) width 30: "small"
+                LayoutText {#text} at (219,30) size 718x46
+                  text run at (219,30) width 359: " is calculated at 10px, then the line-height should be 20px. "
+                  text run at (578,30) width 140: "The actual value of the"
+                  text run at (0,58) width 167: "font-size is UA-dependent. "
+                  text run at (167,58) width 434: "Extra text is included for the purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,546.33) size 747x216
+                LayoutText {#text} at (0,1) size 744x213
+                  text run at (0,1) width 738: "This element should be in a sans-serif font, italicized"
+                  text run at (0,37) width 516: "and small caps, with a weight of 900. "
+                  text run at (515,37) width 169: "Its font-size"
+                  text run at (0,73) width 744: "should be 150% the base font size, and its line-height"
+                  text run at (0,109) width 622: "should be 150% of that value (18px and 27px,"
+                  text run at (0,145) width 198: "respectively). "
+                  text run at (197,145) width 547: "Extra text is included for the purposes"
+                  text run at (0,181) width 446: "of testing this more effectively."
+              LayoutBlockFlow {P} at (4,786.33) size 747x360
+                LayoutText {#text} at (0,22) size 736x316
+                  text run at (0,22) width 683: "This element should be in a sans-serif font, italicized and"
+                  text run at (0,94) width 394: "small caps, with a weight of 100. "
+                  text run at (394,94) width 338: "Its font-size should be 150%"
+                  text run at (0,166) width 731: "the base font size, and its line-height should be 300% of that"
+                  text run at (0,238) width 423: "value (18px and 54px, respectively). "
+                  text run at (422,238) width 314: "Extra text is included for"
+                  text run at (0,310) width 550: "the purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,1170.33) size 747x156
+                LayoutText {#text} at (0,8) size 740x140
+                  text run at (0,8) width 740: "This element should be in a monospace font, italicized and small caps, with a weight"
+                  text run at (0,47) width 88: "of 900. "
+                  text run at (88,47) width 620: "Its font-size should be 150% the base font size, and its line-height"
+                  text run at (0,86) width 716: "should be 2em, or twice the element's font size (18px and 36px, respectively)."
+                  text run at (0,125) width 636: "Extra text is included for the purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,1350.33) size 747x480
+                LayoutText {#text} at (0,34) size 732x412
+                  text run at (0,34) width 683: "This element should be in a sans-serif font, italicized and"
+                  text run at (0,130) width 394: "small caps, with a weight of 500. "
+                  text run at (394,130) width 338: "Its font-size should be 150%"
+                  text run at (0,226) width 723: "the base font size, or 18px, and its line-height should be 1in."
+                  text run at (0,322) width 728: "Extra text is included for the purposes of testing this more"
+                  text run at (0,418) width 135: "effectively."
+              LayoutBlockFlow {P} at (4,1854.33) size 747x144
+                LayoutText {#text} at (0,7) size 741x129
+                  text run at (0,7) width 741: "This element should be in a sans-serif font, oblique and not small-caps, with a weight"
+                  text run at (0,43) width 62: "of 700. "
+                  text run at (62,43) width 674: "Its font-size should be 18 pixels, and its line-height should be 36px (200% this"
+                  text run at (0,79) width 181: "element's font size). "
+                  text run at (181,79) width 509: "Extra text is included for the purposes of testing this more"
+                  text run at (0,115) width 97: "effectively."
+              LayoutBlockFlow {P} at (4,2016.33) size 747x62
+                LayoutText {#text} at (0,7) size 742x47
+                  text run at (0,7) width 374: "This element should be in a sans-serif font, with a weight of 400. "
+                  text run at (374,7) width 368: "Its font-size should be 80% of 12px, or 9.6px, and its line-height"
+                  text run at (0,38) width 196: "shoud be 2.5 times that, or 24px. "
+                  text run at (196,38) width 398: "Extra text is included for the purposes of testing this more effectively."
+              LayoutBlockFlow {P} at (4,2102.33) size 747x504
+                LayoutInline {SPAN} at (0,0) size 742x460 [bgcolor=#C0C0C0]
+                  LayoutText {#text} at (0,22) size 742x460
+                    text run at (0,22) width 683: "This element should be in a sans-serif font, italicized and"
+                    text run at (0,94) width 394: "small caps, with a weight of 100. "
+                    text run at (394,94) width 338: "Its font-size should be 150%"
+                    text run at (0,166) width 731: "the base font size, and its line-height should be 300% of that"
+                    text run at (0,238) width 695: "value (18px and 54px, respectively). The text should have a"
+                    text run at (0,310) width 742: "silver background. The background color has been set on an"
+                    text run at (0,382) width 737: "inline element and should therefore only cover the text, not"
+                    text run at (0,454) width 256: "the interline spacing."
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,228) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,220) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_family-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_family-expected.txt
new file mode 100644
index 0000000..8a4db8e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_family-expected.txt
@@ -0,0 +1,140 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1324
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1324 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1324
+    LayoutBlockFlow {BODY} at (8,8) size 769x1308 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x144
+        LayoutText {#text} at (0,0) size 312x144
+          text run at (0,0) width 216: "DIV.a {font-family: serif;}"
+          text run at (216,0) width 0: " "
+          text run at (0,16) width 248: "DIV.b {font-family: monospace;}"
+          text run at (248,16) width 0: " "
+          text run at (0,32) width 208: ".one {font-family: serif;}"
+          text run at (208,32) width 0: " "
+          text run at (0,48) width 248: ".two {font-family: sans-serif;}"
+          text run at (248,48) width 0: " "
+          text run at (0,64) width 240: ".three {font-family: cursive;}"
+          text run at (240,64) width 0: " "
+          text run at (0,80) width 232: ".four {font-family: fantasy;}"
+          text run at (232,80) width 0: " "
+          text run at (0,96) width 248: ".five {font-family: monospace;}"
+          text run at (248,96) width 0: " "
+          text run at (0,112) width 312: ".six {font-family: sans-serif,cursive;}"
+          text run at (312,112) width 0: " "
+          text run at (0,128) width 304: ".seven {font-family: monospace,serif;}"
+          text run at (304,128) width 0: " "
+      LayoutBlockFlow {DIV} at (0,211) size 769x198
+        LayoutBlockFlow {P} at (0,0) size 769x20
+          LayoutText {#text} at (0,0) size 599x19
+            text run at (0,0) width 599: "This sentence is normal for the first division, which is the next five sentences; it should be a serif font."
+        LayoutBlockFlow {P} at (0,36) size 769x20
+          LayoutText {#text} at (0,0) size 228x19
+            text run at (0,0) width 228: "This sentence should be in a serif font."
+        LayoutBlockFlow {P} at (0,72) size 769x19
+          LayoutText {#text} at (0,0) size 301x18
+            text run at (0,0) width 301: "This sentence should be in a sans-serif font."
+        LayoutBlockFlow {P} at (0,107) size 769x23
+          LayoutText {#text} at (0,0) size 299x23
+            text run at (0,0) width 299: "This sentence should be in a cursive font."
+        LayoutBlockFlow {P} at (0,146) size 769x20
+          LayoutText {#text} at (0,0) size 268x20
+            text run at (0,0) width 268: "This sentence should be in a fantasy font."
+        LayoutBlockFlow {P} at (0,182) size 769x16
+          LayoutText {#text} at (0,0) size 352x16
+            text run at (0,0) width 352: "This sentence should be in a monospace font."
+      LayoutBlockFlow {P} at (0,440) size 769x19
+        LayoutText {#text} at (0,0) size 383x18
+          text run at (0,0) width 383: "This sentence should be in a sans-serif font, not cursive."
+      LayoutBlockFlow {P} at (0,475) size 769x18
+        LayoutText {#text} at (0,0) size 550x18
+          text run at (0,0) width 550: "This sentence should be in a monospace font, not serif."
+      LayoutBlockFlow {DIV} at (0,524) size 769x210
+        LayoutBlockFlow {P} at (0,0) size 769x32
+          LayoutText {#text} at (0,0) size 768x32
+            text run at (0,0) width 768: "This sentence is normal for the first division, which is the next five sentences; it should be a"
+            text run at (0,16) width 120: "monospace font."
+        LayoutBlockFlow {P} at (0,48) size 769x20
+          LayoutText {#text} at (0,0) size 228x19
+            text run at (0,0) width 228: "This sentence should be in a serif font."
+        LayoutBlockFlow {P} at (0,84) size 769x19
+          LayoutText {#text} at (0,0) size 301x18
+            text run at (0,0) width 301: "This sentence should be in a sans-serif font."
+        LayoutBlockFlow {P} at (0,119) size 769x23
+          LayoutText {#text} at (0,0) size 299x23
+            text run at (0,0) width 299: "This sentence should be in a cursive font."
+        LayoutBlockFlow {P} at (0,158) size 769x20
+          LayoutText {#text} at (0,0) size 268x20
+            text run at (0,0) width 268: "This sentence should be in a fantasy font."
+        LayoutBlockFlow {P} at (0,194) size 769x16
+          LayoutText {#text} at (0,0) size 352x16
+            text run at (0,0) width 352: "This sentence should be in a monospace font."
+      LayoutTable {TABLE} at (0,747) size 769x561 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x559
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x531
+            LayoutTableCell {TD} at (0,279) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x531 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (4,4) size 747x198
+                LayoutBlockFlow {P} at (0,0) size 747x20
+                  LayoutText {#text} at (0,0) size 599x19
+                    text run at (0,0) width 599: "This sentence is normal for the first division, which is the next five sentences; it should be a serif font."
+                LayoutBlockFlow {P} at (0,36) size 747x20
+                  LayoutText {#text} at (0,0) size 228x19
+                    text run at (0,0) width 228: "This sentence should be in a serif font."
+                LayoutBlockFlow {P} at (0,72) size 747x19
+                  LayoutText {#text} at (0,0) size 301x18
+                    text run at (0,0) width 301: "This sentence should be in a sans-serif font."
+                LayoutBlockFlow {P} at (0,107) size 747x23
+                  LayoutText {#text} at (0,0) size 299x23
+                    text run at (0,0) width 299: "This sentence should be in a cursive font."
+                LayoutBlockFlow {P} at (0,146) size 747x20
+                  LayoutText {#text} at (0,0) size 268x20
+                    text run at (0,0) width 268: "This sentence should be in a fantasy font."
+                LayoutBlockFlow {P} at (0,182) size 747x16
+                  LayoutText {#text} at (0,0) size 352x16
+                    text run at (0,0) width 352: "This sentence should be in a monospace font."
+              LayoutBlockFlow {P} at (4,233) size 747x19
+                LayoutText {#text} at (0,0) size 383x18
+                  text run at (0,0) width 383: "This sentence should be in a sans-serif font, not cursive."
+              LayoutBlockFlow {P} at (4,268) size 747x18
+                LayoutText {#text} at (0,0) size 550x18
+                  text run at (0,0) width 550: "This sentence should be in a monospace font, not serif."
+              LayoutBlockFlow {DIV} at (4,317) size 747x210
+                LayoutBlockFlow {P} at (0,0) size 747x32
+                  LayoutText {#text} at (0,0) size 728x32
+                    text run at (0,0) width 728: "This sentence is normal for the first division, which is the next five sentences; it should"
+                    text run at (0,16) width 160: "be a monospace font."
+                LayoutBlockFlow {P} at (0,48) size 747x20
+                  LayoutText {#text} at (0,0) size 228x19
+                    text run at (0,0) width 228: "This sentence should be in a serif font."
+                LayoutBlockFlow {P} at (0,84) size 747x19
+                  LayoutText {#text} at (0,0) size 301x18
+                    text run at (0,0) width 301: "This sentence should be in a sans-serif font."
+                LayoutBlockFlow {P} at (0,119) size 747x23
+                  LayoutText {#text} at (0,0) size 299x23
+                    text run at (0,0) width 299: "This sentence should be in a cursive font."
+                LayoutBlockFlow {P} at (0,158) size 747x20
+                  LayoutText {#text} at (0,0) size 268x20
+                    text run at (0,0) width 268: "This sentence should be in a fantasy font."
+                LayoutBlockFlow {P} at (0,194) size 747x16
+                  LayoutText {#text} at (0,0) size 352x16
+                    text run at (0,0) width 352: "This sentence should be in a monospace font."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,430) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,422) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,517) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,509) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (25,999) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,215) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1086) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,302) size 747x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_size-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_size-expected.txt
new file mode 100644
index 0000000..3b027f6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_size-expected.txt
@@ -0,0 +1,257 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2820
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2820 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2820.27
+    LayoutBlockFlow {BODY} at (8,8) size 769x2804.27 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x320
+        LayoutText {#text} at (0,0) size 224x320
+          text run at (0,0) width 200: ".one {font-size: medium;}"
+          text run at (200,0) width 0: " "
+          text run at (0,16) width 200: ".two {font-size: larger;}"
+          text run at (200,16) width 0: " "
+          text run at (0,32) width 224: ".three {font-size: smaller;}"
+          text run at (224,32) width 0: " "
+          text run at (0,48) width 224: ".four {font-size: xx-small;}"
+          text run at (224,48) width 0: " "
+          text run at (0,64) width 216: ".five {font-size: x-small;}"
+          text run at (216,64) width 0: " "
+          text run at (0,80) width 192: ".six {font-size: small;}"
+          text run at (192,80) width 0: " "
+          text run at (0,96) width 208: ".seven {font-size: large;}"
+          text run at (208,96) width 0: " "
+          text run at (0,112) width 224: ".eight {font-size: x-large;}"
+          text run at (224,112) width 0: " "
+          text run at (0,128) width 224: ".nine {font-size: xx-large;}"
+          text run at (224,128) width 0: " "
+          text run at (0,144) width 176: ".a {font-size: 0.5in;}"
+          text run at (176,144) width 0: " "
+          text run at (0,160) width 160: ".b {font-size: 1cm;}"
+          text run at (160,160) width 0: " "
+          text run at (0,176) width 168: ".c {font-size: 10mm;}"
+          text run at (168,176) width 0: " "
+          text run at (0,192) width 168: ".d {font-size: 18pt;}"
+          text run at (168,192) width 0: " "
+          text run at (0,208) width 176: ".e {font-size: 1.5pc;}"
+          text run at (176,208) width 0: " "
+          text run at (0,224) width 160: ".f {font-size: 2em;}"
+          text run at (160,224) width 0: " "
+          text run at (0,240) width 160: ".g {font-size: 3ex;}"
+          text run at (160,240) width 0: " "
+          text run at (0,256) width 168: ".h {font-size: 25px;}"
+          text run at (168,256) width 0: " "
+          text run at (0,272) width 168: ".i {font-size: 200%;}"
+          text run at (168,272) width 0: " "
+          text run at (0,288) width 184: ".j {font-size: -0.5in;}"
+          text run at (184,288) width 0: " "
+          text run at (0,304) width 0: " "
+      LayoutBlockFlow {P} at (0,387) size 769x20
+        LayoutText {#text} at (0,0) size 648x19
+          text run at (0,0) width 648: "This paragraph element is unstyled, so the size of the font in this element is the default size for this user agent."
+      LayoutBlockFlow {P} at (0,423) size 769x20
+        LayoutText {#text} at (0,0) size 179x19
+          text run at (0,0) width 179: "This sentence has been set to "
+        LayoutInline {CODE} at (0,0) size 48x16
+          LayoutText {#text} at (179,3) size 48x16
+            text run at (179,3) width 48: "medium"
+        LayoutText {#text} at (227,0) size 343x19
+          text run at (227,0) width 343: ", which may or may not be the same size as unstyled text."
+      LayoutBlockFlow {P} at (0,462.19) size 769x22
+        LayoutText {#text} at (0,0) size 366x21
+          text run at (0,0) width 366: "This sentence should be larger than unstyled text."
+      LayoutBlockFlow {P} at (0,503.38) size 769x16
+        LayoutText {#text} at (0,0) size 273x15
+          text run at (0,0) width 273: "This sentence should be smaller than unstyled text."
+      LayoutBlockFlow {P} at (0,532.70) size 769x20
+        LayoutText {#text} at (0,5) size 303x12
+          text run at (0,5) width 303: "This sentence should be very small, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 47x19
+          LayoutText {#text} at (303,0) size 47x19
+            text run at (303,0) width 47: "medium"
+        LayoutText {#text} at (350,5) size 2x12
+          text run at (350,5) width 2: "."
+      LayoutBlockFlow {P} at (0,562.70) size 769x20
+        LayoutText {#text} at (0,5) size 328x12
+          text run at (0,5) width 328: "This sentence should be rather small, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 47x19
+          LayoutText {#text} at (328,0) size 47x19
+            text run at (328,0) width 47: "medium"
+        LayoutText {#text} at (375,5) size 3x12
+          text run at (375,5) width 3: "."
+      LayoutBlockFlow {P} at (0,595.70) size 769x20
+        LayoutText {#text} at (0,3) size 400x15
+          text run at (0,3) width 400: "This sentence should be small, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 47x19
+          LayoutText {#text} at (400,0) size 47x19
+            text run at (400,0) width 47: "medium"
+        LayoutText {#text} at (447,3) size 3x15
+          text run at (447,3) width 3: "."
+      LayoutBlockFlow {P} at (0,633.70) size 769x21
+        LayoutText {#text} at (0,0) size 534x20
+          text run at (0,0) width 534: "This sentence should be large, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 48x19
+          LayoutText {#text} at (533,1) size 48x19
+            text run at (533,1) width 48: "medium"
+        LayoutText {#text} at (580,0) size 6x20
+          text run at (580,0) width 6: "."
+      LayoutBlockFlow {P} at (0,678.70) size 769x56
+        LayoutText {#text} at (0,0) size 766x27
+          text run at (0,0) width 766: "This sentence should be rather large, but the last word in the sentence should be"
+        LayoutInline {SPAN} at (0,0) size 47x19
+          LayoutText {#text} at (0,34) size 47x19
+            text run at (0,34) width 47: "medium"
+        LayoutText {#text} at (47,28) size 6x27
+          text run at (47,28) width 6: "."
+      LayoutBlockFlow {P} at (0,766.70) size 769x74
+        LayoutText {#text} at (0,0) size 735x73
+          text run at (0,0) width 735: "This sentence should be very large, but the last word in the"
+          text run at (0,37) width 242: "sentence should be "
+        LayoutInline {SPAN} at (0,0) size 47x19
+          LayoutText {#text} at (242,50) size 47x19
+            text run at (242,50) width 47: "medium"
+        LayoutText {#text} at (289,37) size 8x36
+          text run at (289,37) width 8: "."
+      LayoutBlockFlow {P} at (0,888.70) size 769x57
+        LayoutText {#text} at (0,1) size 763x55
+          text run at (0,1) width 763: "This sentence should be half an inch tall."
+      LayoutBlockFlow {P} at (0,993.70) size 769x45
+        LayoutText {#text} at (0,1) size 671x43
+          text run at (0,1) width 671: "This sentence should be one centimeter tall."
+      LayoutBlockFlow {P} at (0,1076.48) size 769x45
+        LayoutText {#text} at (0,1) size 678x43
+          text run at (0,1) width 678: "This sentence should be ten millimeters tall."
+      LayoutBlockFlow {P} at (0,1159.27) size 769x28
+        LayoutText {#text} at (0,0) size 422x27
+          text run at (0,0) width 422: "This sentence should be eighteen points tall."
+      LayoutBlockFlow {P} at (0,1211.27) size 769x28
+        LayoutText {#text} at (0,0) size 492x27
+          text run at (0,0) width 492: "This sentence should be one and one half picas tall."
+      LayoutBlockFlow {P} at (0,1271.27) size 769x37
+        LayoutText {#text} at (0,0) size 454x36
+          text run at (0,0) width 454: "This sentence should be two em tall."
+      LayoutBlockFlow {P} at (0,1340.27) size 769x24
+        LayoutText {#text} at (0,0) size 303x23
+          text run at (0,0) width 303: "This sentence should be three ex tall."
+      LayoutBlockFlow {P} at (0,1389.27) size 769x30
+        LayoutText {#text} at (0,0) size 467x29
+          text run at (0,0) width 467: "This sentence should be twenty-five pixels tall."
+      LayoutBlockFlow {P} at (0,1451.27) size 769x37
+        LayoutText {#text} at (0,0) size 533x36
+          text run at (0,0) width 533: "This sentence should be twice normal size."
+      LayoutBlockFlow {P} at (0,1520.27) size 769x20
+        LayoutText {#text} at (0,0) size 638x19
+          text run at (0,0) width 638: "This sentence should be normal size, since no negative values are allowed and therefore should be ignored."
+      LayoutTable {TABLE} at (0,1556.27) size 769x1248 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1246
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1218
+            LayoutTableCell {TD} at (0,623) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1218.27 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 648x19
+                  text run at (0,0) width 648: "This paragraph element is unstyled, so the size of the font in this element is the default size for this user agent."
+              LayoutBlockFlow {P} at (4,40) size 747x20
+                LayoutText {#text} at (0,0) size 179x19
+                  text run at (0,0) width 179: "This sentence has been set to "
+                LayoutInline {CODE} at (0,0) size 48x16
+                  LayoutText {#text} at (179,3) size 48x16
+                    text run at (179,3) width 48: "medium"
+                LayoutText {#text} at (227,0) size 343x19
+                  text run at (227,0) width 343: ", which may or may not be the same size as unstyled text."
+              LayoutBlockFlow {P} at (4,79.19) size 747x22
+                LayoutText {#text} at (0,0) size 366x21
+                  text run at (0,0) width 366: "This sentence should be larger than unstyled text."
+              LayoutBlockFlow {P} at (4,120.38) size 747x16
+                LayoutText {#text} at (0,0) size 273x15
+                  text run at (0,0) width 273: "This sentence should be smaller than unstyled text."
+              LayoutBlockFlow {P} at (4,149.70) size 747x20
+                LayoutText {#text} at (0,5) size 303x12
+                  text run at (0,5) width 303: "This sentence should be very small, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 47x19
+                  LayoutText {#text} at (303,0) size 47x19
+                    text run at (303,0) width 47: "medium"
+                LayoutText {#text} at (350,5) size 2x12
+                  text run at (350,5) width 2: "."
+              LayoutBlockFlow {P} at (4,179.70) size 747x20
+                LayoutText {#text} at (0,5) size 328x12
+                  text run at (0,5) width 328: "This sentence should be rather small, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 47x19
+                  LayoutText {#text} at (328,0) size 47x19
+                    text run at (328,0) width 47: "medium"
+                LayoutText {#text} at (375,5) size 3x12
+                  text run at (375,5) width 3: "."
+              LayoutBlockFlow {P} at (4,212.70) size 747x20
+                LayoutText {#text} at (0,3) size 400x15
+                  text run at (0,3) width 400: "This sentence should be small, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 47x19
+                  LayoutText {#text} at (400,0) size 47x19
+                    text run at (400,0) width 47: "medium"
+                LayoutText {#text} at (447,3) size 3x15
+                  text run at (447,3) width 3: "."
+              LayoutBlockFlow {P} at (4,250.70) size 747x21
+                LayoutText {#text} at (0,0) size 534x20
+                  text run at (0,0) width 534: "This sentence should be large, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 48x19
+                  LayoutText {#text} at (533,1) size 48x19
+                    text run at (533,1) width 48: "medium"
+                LayoutText {#text} at (580,0) size 6x20
+                  text run at (580,0) width 6: "."
+              LayoutBlockFlow {P} at (4,295.70) size 747x56
+                LayoutText {#text} at (0,0) size 737x55
+                  text run at (0,0) width 737: "This sentence should be rather large, but the last word in the sentence should"
+                  text run at (0,28) width 29: "be "
+                LayoutInline {SPAN} at (0,0) size 47x19
+                  LayoutText {#text} at (29,34) size 47x19
+                    text run at (29,34) width 47: "medium"
+                LayoutText {#text} at (76,28) size 6x27
+                  text run at (76,28) width 6: "."
+              LayoutBlockFlow {P} at (4,383.70) size 747x74
+                LayoutText {#text} at (0,0) size 735x73
+                  text run at (0,0) width 735: "This sentence should be very large, but the last word in the"
+                  text run at (0,37) width 242: "sentence should be "
+                LayoutInline {SPAN} at (0,0) size 47x19
+                  LayoutText {#text} at (242,50) size 47x19
+                    text run at (242,50) width 47: "medium"
+                LayoutText {#text} at (289,37) size 8x36
+                  text run at (289,37) width 8: "."
+              LayoutBlockFlow {P} at (4,505.70) size 747x114
+                LayoutText {#text} at (0,1) size 681x112
+                  text run at (0,1) width 681: "This sentence should be half an inch"
+                  text run at (0,58) width 70: "tall."
+              LayoutBlockFlow {P} at (4,667.70) size 747x45
+                LayoutText {#text} at (0,1) size 671x43
+                  text run at (0,1) width 671: "This sentence should be one centimeter tall."
+              LayoutBlockFlow {P} at (4,750.48) size 747x45
+                LayoutText {#text} at (0,1) size 678x43
+                  text run at (0,1) width 678: "This sentence should be ten millimeters tall."
+              LayoutBlockFlow {P} at (4,833.27) size 747x28
+                LayoutText {#text} at (0,0) size 422x27
+                  text run at (0,0) width 422: "This sentence should be eighteen points tall."
+              LayoutBlockFlow {P} at (4,885.27) size 747x28
+                LayoutText {#text} at (0,0) size 492x27
+                  text run at (0,0) width 492: "This sentence should be one and one half picas tall."
+              LayoutBlockFlow {P} at (4,945.27) size 747x37
+                LayoutText {#text} at (0,0) size 454x36
+                  text run at (0,0) width 454: "This sentence should be two em tall."
+              LayoutBlockFlow {P} at (4,1014.27) size 747x24
+                LayoutText {#text} at (0,0) size 303x23
+                  text run at (0,0) width 303: "This sentence should be three ex tall."
+              LayoutBlockFlow {P} at (4,1063.27) size 747x30
+                LayoutText {#text} at (0,0) size 467x29
+                  text run at (0,0) width 467: "This sentence should be twenty-five pixels tall."
+              LayoutBlockFlow {P} at (4,1125.27) size 747x37
+                LayoutText {#text} at (0,0) size 533x36
+                  text run at (0,0) width 533: "This sentence should be twice normal size."
+              LayoutBlockFlow {P} at (4,1194.27) size 747x20
+                LayoutText {#text} at (0,0) size 638x19
+                  text run at (0,0) width 638: "This sentence should be normal size, since no negative values are allowed and therefore should be ignored."
+layer at (8,377) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,369) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_style-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_style-expected.txt
new file mode 100644
index 0000000..d4776c9a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_style-expected.txt
@@ -0,0 +1,63 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 248x64
+          text run at (0,0) width 208: ".one {font-style: italic;}"
+          text run at (208,0) width 0: " "
+          text run at (0,16) width 216: ".two {font-style: oblique;}"
+          text run at (216,16) width 0: " "
+          text run at (0,32) width 248: ".three, I {font-style: normal;}"
+          text run at (248,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x20
+        LayoutText {#text} at (0,0) size 508x19
+          text run at (0,0) width 508: "This paragraph should be in italics, but the last word of the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 42x19
+          LayoutText {#text} at (507,0) size 42x19
+            text run at (507,0) width 42: "normal"
+        LayoutText {#text} at (548,0) size 5x19
+          text run at (548,0) width 5: "."
+      LayoutBlockFlow {P} at (0,167) size 784x20
+        LayoutText {#text} at (0,0) size 204x19
+          text run at (0,0) width 204: "This paragraph should be oblique."
+      LayoutBlockFlow {P} at (0,203) size 784x20
+        LayoutInline {I} at (0,0) size 201x19
+          LayoutText {#text} at (0,0) size 201x19
+            text run at (0,0) width 201: "This paragraph should be normal."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,239) size 575x130 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 573x128
+          LayoutTableRow {TR} at (0,0) size 573x28
+            LayoutTableCell {TD} at (0,0) size 573x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 573x100
+            LayoutTableCell {TD} at (0,64) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 561x100 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 553x20
+                LayoutText {#text} at (0,0) size 508x19
+                  text run at (0,0) width 508: "This paragraph should be in italics, but the last word of the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 42x19
+                  LayoutText {#text} at (507,0) size 42x19
+                    text run at (507,0) width 42: "normal"
+                LayoutText {#text} at (548,0) size 5x19
+                  text run at (548,0) width 5: "."
+              LayoutBlockFlow {P} at (4,40) size 553x20
+                LayoutText {#text} at (0,0) size 204x19
+                  text run at (0,0) width 204: "This paragraph should be oblique."
+              LayoutBlockFlow {P} at (4,76) size 553x20
+                LayoutInline {I} at (0,0) size 201x19
+                  LayoutText {#text} at (0,0) size 201x19
+                    text run at (0,0) width 201: "This paragraph should be normal."
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt
new file mode 100644
index 0000000..41cec6e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt
@@ -0,0 +1,51 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x48
+        LayoutText {#text} at (0,0) size 256x48
+          text run at (0,0) width 256: ".one {font-variant: small-caps;}"
+          text run at (256,0) width 0: " "
+          text run at (0,16) width 224: ".two {font-variant: normal;}"
+          text run at (224,16) width 0: " "
+          text run at (0,32) width 0: " "
+      LayoutBlockFlow {P} at (0,115) size 784x20
+        LayoutText {#text} at (0,0) size 282x19
+          text run at (0,0) width 282: "This Paragraph should be in Small Caps."
+      LayoutBlockFlow {P} at (0,151) size 784x20
+        LayoutText {#text} at (0,0) size 610x19
+          text run at (0,0) width 610: "This Paragraph should be in Small Caps, but the Last Word in the Sentence should be "
+        LayoutInline {SPAN} at (0,0) size 47x19
+          LayoutText {#text} at (609,0) size 47x19
+            text run at (609,0) width 47: "Normal"
+        LayoutText {#text} at (655,0) size 5x19
+          text run at (655,0) width 5: "."
+      LayoutTable {TABLE} at (0,187) size 682x94 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 680x92
+          LayoutTableRow {TR} at (0,0) size 680x28
+            LayoutTableCell {TD} at (0,0) size 680x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 680x64
+            LayoutTableCell {TD} at (0,46) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 668x64 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 660x20
+                LayoutText {#text} at (0,0) size 282x19
+                  text run at (0,0) width 282: "This Paragraph should be in Small Caps."
+              LayoutBlockFlow {P} at (4,40) size 660x20
+                LayoutText {#text} at (0,0) size 610x19
+                  text run at (0,0) width 610: "This Paragraph should be in Small Caps, but the Last Word in the Sentence should be "
+                LayoutInline {SPAN} at (0,0) size 47x19
+                  LayoutText {#text} at (609,0) size 47x19
+                    text run at (609,0) width 47: "Normal"
+                LayoutText {#text} at (655,0) size 5x19
+                  text run at (655,0) width 5: "."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_weight-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_weight-expected.txt
new file mode 100644
index 0000000..e939c4d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/font_properties/font_weight-expected.txt
@@ -0,0 +1,125 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1105
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1105 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1104.80
+    LayoutBlockFlow {BODY} at (8,8) size 769x1088.80 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x176
+        LayoutText {#text} at (0,0) size 240x176
+          text run at (0,0) width 200: ".one {font-weight: bold;}"
+          text run at (200,0) width 0: " "
+          text run at (0,16) width 216: ".two {font-weight: bolder;}"
+          text run at (216,16) width 0: " "
+          text run at (0,32) width 240: ".three {font-weight: lighter;}"
+          text run at (240,32) width 0: " "
+          text run at (0,48) width 200: ".four {font-weight: 100;}"
+          text run at (200,48) width 0: " "
+          text run at (0,64) width 200: ".five {font-weight: 300;}"
+          text run at (200,64) width 0: " "
+          text run at (0,80) width 192: ".six {font-weight: 500;}"
+          text run at (192,80) width 0: " "
+          text run at (0,96) width 208: ".seven {font-weight: 700;}"
+          text run at (208,96) width 0: " "
+          text run at (0,112) width 208: ".eight {font-weight: 900;}"
+          text run at (208,112) width 0: " "
+          text run at (0,128) width 224: ".nine {font-weight: normal;}"
+          text run at (224,128) width 0: " "
+          text run at (0,144) width 200: "B {font-weight: lighter;}"
+          text run at (200,144) width 0: " "
+          text run at (0,160) width 0: " "
+      LayoutBlockFlow {P} at (0,243) size 769x20
+        LayoutText {#text} at (0,0) size 195x19
+          text run at (0,0) width 195: "This sentence should be bold."
+      LayoutBlockFlow {P} at (0,279) size 769x20
+        LayoutText {#text} at (0,0) size 292x19
+          text run at (0,0) width 292: "This sentence should be bolder than normal."
+      LayoutBlockFlow {H4} at (0,320.27) size 769x20
+        LayoutText {#text} at (0,0) size 129x19
+          text run at (0,0) width 129: "This is a heading-4."
+      LayoutBlockFlow {H4} at (0,361.53) size 769x20
+        LayoutText {#text} at (0,0) size 175x19
+          text run at (0,0) width 175: "This is a bolder heading-4."
+      LayoutBlockFlow {P} at (0,402.80) size 769x20
+        LayoutInline {B} at (0,0) size 335x19
+          LayoutText {#text} at (0,0) size 335x19
+            text run at (0,0) width 335: "This sentence should be normal (boldface made lighter)."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,438.80) size 769x20
+        LayoutText {#text} at (0,0) size 218x19
+          text run at (0,0) width 218: "This sentence should be weight 100."
+      LayoutBlockFlow {P} at (0,474.80) size 769x20
+        LayoutText {#text} at (0,0) size 218x19
+          text run at (0,0) width 218: "This sentence should be weight 300."
+      LayoutBlockFlow {P} at (0,510.80) size 769x20
+        LayoutText {#text} at (0,0) size 218x19
+          text run at (0,0) width 218: "This sentence should be weight 500."
+      LayoutBlockFlow {P} at (0,546.80) size 769x20
+        LayoutText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "This sentence should be weight 700."
+      LayoutBlockFlow {P} at (0,582.80) size 769x20
+        LayoutText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "This sentence should be weight 900."
+      LayoutBlockFlow {P} at (0,618.80) size 769x20
+        LayoutText {#text} at (0,0) size 484x19
+          text run at (0,0) width 484: "This sentence should be bold, but the last word in the sentence should be "
+        LayoutInline {SPAN} at (0,0) size 41x19
+          LayoutText {#text} at (484,0) size 41x19
+            text run at (484,0) width 41: "normal"
+        LayoutText {#text} at (525,0) size 4x19
+          text run at (525,0) width 4: "."
+      LayoutTable {TABLE} at (0,654.80) size 551x434 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 549x432
+          LayoutTableRow {TR} at (0,0) size 549x28
+            LayoutTableCell {TD} at (0,0) size 549x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 549x404
+            LayoutTableCell {TD} at (0,216) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 537x403.80 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 529x20
+                LayoutText {#text} at (0,0) size 195x19
+                  text run at (0,0) width 195: "This sentence should be bold."
+              LayoutBlockFlow {P} at (4,40) size 529x20
+                LayoutText {#text} at (0,0) size 292x19
+                  text run at (0,0) width 292: "This sentence should be bolder than normal."
+              LayoutBlockFlow {H4} at (4,81.27) size 529x20
+                LayoutText {#text} at (0,0) size 129x19
+                  text run at (0,0) width 129: "This is a heading-4."
+              LayoutBlockFlow {H4} at (4,122.53) size 529x20
+                LayoutText {#text} at (0,0) size 175x19
+                  text run at (0,0) width 175: "This is a bolder heading-4."
+              LayoutBlockFlow {P} at (4,163.80) size 529x20
+                LayoutInline {B} at (0,0) size 335x19
+                  LayoutText {#text} at (0,0) size 335x19
+                    text run at (0,0) width 335: "This sentence should be normal (boldface made lighter)."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,199.80) size 529x20
+                LayoutText {#text} at (0,0) size 218x19
+                  text run at (0,0) width 218: "This sentence should be weight 100."
+              LayoutBlockFlow {P} at (4,235.80) size 529x20
+                LayoutText {#text} at (0,0) size 218x19
+                  text run at (0,0) width 218: "This sentence should be weight 300."
+              LayoutBlockFlow {P} at (4,271.80) size 529x20
+                LayoutText {#text} at (0,0) size 218x19
+                  text run at (0,0) width 218: "This sentence should be weight 500."
+              LayoutBlockFlow {P} at (4,307.80) size 529x20
+                LayoutText {#text} at (0,0) size 238x19
+                  text run at (0,0) width 238: "This sentence should be weight 700."
+              LayoutBlockFlow {P} at (4,343.80) size 529x20
+                LayoutText {#text} at (0,0) size 238x19
+                  text run at (0,0) width 238: "This sentence should be weight 900."
+              LayoutBlockFlow {P} at (4,379.80) size 529x20
+                LayoutText {#text} at (0,0) size 484x19
+                  text run at (0,0) width 484: "This sentence should be bold, but the last word in the sentence should be "
+                LayoutInline {SPAN} at (0,0) size 41x19
+                  LayoutText {#text} at (484,0) size 41x19
+                    text run at (484,0) width 41: "normal"
+                LayoutText {#text} at (525,0) size 4x19
+                  text run at (525,0) width 4: "."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/canvas-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/canvas-expected.txt
new file mode 100644
index 0000000..56881719
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/canvas-expected.txt
@@ -0,0 +1,42 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (25,25) size 750x550 [bgcolor=#008000]
+      LayoutBlockFlow {P} at (0,0) size 750x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 750x32
+        LayoutText {#text} at (0,0) size 552x32
+          text run at (0,0) width 240: "HTML {background-color: aqua;}"
+          text run at (240,0) width 0: " "
+          text run at (0,16) width 552: "BODY {background-color: green; background-image: none; margin: 25px;}"
+          text run at (552,16) width 0: " "
+      LayoutBlockFlow {P} at (0,99) size 750x60
+        LayoutText {#text} at (0,0) size 735x59
+          text run at (0,0) width 368: "The body of this document should have a green background. "
+          text run at (368,0) width 367: "It also has a margin of 25 pixels, so the light blue background"
+          text run at (0,20) width 333: "set for the HTML element should surround the BODY. "
+          text run at (332,20) width 373: "If the BODY content is significantly shorter than the browser's"
+          text run at (0,40) width 411: "window height, then the bottom border may be larger than 25 pixels."
+      LayoutTable {TABLE} at (0,175) size 750x98 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 748x96
+          LayoutTableRow {TR} at (0,0) size 748x28
+            LayoutTableCell {TD} at (0,0) size 748x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 748x68
+            LayoutTableCell {TD} at (0,48) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 736x68 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 728x60
+                LayoutText {#text} at (0,0) size 718x59
+                  text run at (0,0) width 368: "The body of this document should have a green background. "
+                  text run at (368,0) width 291: "It also has a margin of 25 pixels, so the light blue"
+                  text run at (0,20) width 409: "background set for the HTML element should surround the BODY. "
+                  text run at (408,20) width 310: "If the BODY content is significantly shorter than the"
+                  text run at (0,40) width 474: "browser's window height, then the bottom border may be larger than 25 pixels."
+layer at (25,106) size 750x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,81) size 750x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/floating_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/floating_elements-expected.txt
new file mode 100644
index 0000000..56157fac
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/floating_elements-expected.txt
@@ -0,0 +1,725 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 6461
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x6461 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x6461
+    LayoutBlockFlow {BODY} at (8,8) size 769x6445 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x144
+        LayoutText {#text} at (0,0) size 480x144
+          text run at (0,0) width 272: "HR.minor {clear: both; width: 5%;}"
+          text run at (272,0) width 0: " "
+          text run at (0,16) width 400: "HR.major {clear: both; width: 75%; margin: 1.5em;}"
+          text run at (400,16) width 0: " "
+          text run at (0,32) width 480: "DIV {border: 5px solid purple; padding: 0; margin: 0.125em;}"
+          text run at (480,32) width 0: " "
+          text run at (0,48) width 432: "P.left, P.right {width: 10em; padding: 1em; margin: 0;"
+          text run at (432,48) width 0: " "
+          text run at (0,64) width 424: "   border: 1px solid lime; background-color: silver;}"
+          text run at (424,64) width 0: " "
+          text run at (0,80) width 456: "IMG.left, IMG.right {margin: 0; border: 3px solid black;}"
+          text run at (456,80) width 0: " "
+          text run at (0,96) width 160: ".left {float: left;}"
+          text run at (160,96) width 0: " "
+          text run at (0,112) width 176: ".right {float: right;}"
+          text run at (176,112) width 0: " "
+          text run at (0,128) width 0: " "
+      LayoutBlockFlow {P} at (0,211) size 769x40
+        LayoutText {#text} at (0,0) size 731x39
+          text run at (0,0) width 645: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. "
+          text run at (645,0) width 86: "Other than the"
+          text run at (0,20) width 690: "substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the floats."
+      LayoutBlockFlow {DIV} at (2,301) size 765x90 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 159x39
+            text run at (17,17) width 120: "This is a left-floating"
+            text run at (17,37) width 159: "paragraph (first in source)."
+        LayoutBlockFlow (floating) {P} at (566,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 128x59
+            text run at (17,17) width 128: "This is a right-floating"
+            text run at (17,37) width 127: "paragraph (second in"
+            text run at (17,57) width 49: "source)."
+        LayoutText {#text} at (199,5) size 358x79
+          text run at (199,5) width 162: "This is text within the DIV. "
+          text run at (360,5) width 190: "The floating elements within this"
+          text run at (199,25) width 358: "DIV should not go beyond the left or right inner edge of this"
+          text run at (199,45) width 350: "DIV, which means that the borders of the floating elements"
+          text run at (199,65) width 324: "should not overlap the top or side borders of the DIV."
+      LayoutBlockFlow {DIV} at (2,410) size 765x50 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (20,5) size 702x39
+          text run at (20,5) width 162: "This is text within the DIV. "
+          text run at (181,5) width 541: "The floating images within this DIV should not go beyond the left or right inner edge of this"
+          text run at (20,25) width 667: "DIV, which means that the borders of the floating images should not overlap the top or side borders of the DIV."
+      LayoutBlockFlow {DIV} at (2,510) size 442x230 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 157x39
+            text run at (17,17) width 157: "This is the first left-floating"
+            text run at (17,37) width 65: "paragraph."
+        LayoutBlockFlow (floating) {P} at (199,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 135x39
+            text run at (17,17) width 135: "This is the second left-"
+            text run at (17,37) width 112: "floating paragraph."
+        LayoutBlockFlow (floating) {P} at (5,79) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 119x39
+            text run at (17,17) width 119: "This is the third left-"
+            text run at (17,37) width 112: "floating paragraph."
+        LayoutText {#text} at (393,5) size 426x219
+          text run at (393,5) width 38: "This is"
+          text run at (393,25) width 22: "text"
+          text run at (393,45) width 35: "within"
+          text run at (393,65) width 18: "the"
+          text run at (199,85) width 33: "DIV. "
+          text run at (231,85) width 190: "The floating elements within this"
+          text run at (199,105) width 222: "DIV should not go beyond the left or"
+          text run at (199,125) width 204: "right inner edge of this DIV, which"
+          text run at (199,145) width 222: "means that the borders of the floating"
+          text run at (5,165) width 417: "elements should not overlap the top or side borders of the DIV in any"
+          text run at (5,185) width 32: "way. "
+          text run at (36,185) width 288: "In addition, they should not overlap each other. "
+          text run at (323,185) width 77: "The first two"
+          text run at (5,205) width 414: "should be side by side, whereas the third should be on the next \"line.\""
+      LayoutBlockFlow {DIV} at (2,758) size 360x210 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (317,5) size 350x199
+          text run at (317,5) width 38: "This is"
+          text run at (317,25) width 22: "text"
+          text run at (161,45) width 94: "within the DIV. "
+          text run at (254,45) width 71: "The floating"
+          text run at (161,65) width 178: "images within this DIV should"
+          text run at (5,85) width 317: "not go beyond the left or right inner edge of this DIV,"
+          text run at (5,105) width 349: "which means that the borders of the floating images should"
+          text run at (5,125) width 350: "not overlap the top or side borders of the DIV in any way."
+          text run at (5,145) width 287: "In addition, they should not overlap each other. "
+          text run at (291,145) width 50: "The first"
+          text run at (5,165) width 333: "two should be side by side, whereas the third should be"
+          text run at (5,185) width 104: "on the next \"line.\""
+      LayoutBlockFlow {DIV} at (2,1018) size 314x364 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 159x39
+            text run at (17,17) width 120: "This is a left-floating"
+            text run at (17,37) width 159: "paragraph (first in source)."
+        LayoutBlockFlow (floating) {P} at (115,79) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 128x59
+            text run at (17,17) width 128: "This is a right-floating"
+            text run at (17,37) width 127: "paragraph (second in"
+            text run at (17,57) width 49: "source)."
+        LayoutText {#text} at (199,5) size 303x353
+          text run at (199,5) width 103: "This is text within"
+          text run at (199,25) width 55: "the DIV. "
+          text run at (253,25) width 24: "The"
+          text run at (199,45) width 99: "floating elements"
+          text run at (5,79) width 90: "within this DIV"
+          text run at (5,99) width 81: "should not go"
+          text run at (5,119) width 106: "beyond the left or"
+          text run at (5,139) width 108: "right inner edge of"
+          text run at (5,159) width 92: "this DIV, which"
+          text run at (5,179) width 278: "means that the borders of the floating elements"
+          text run at (5,199) width 291: "should not overlap the top or side borders of the"
+          text run at (5,219) width 102: "DIV in any way. "
+          text run at (106,219) width 164: "In addition, they should not"
+          text run at (5,239) width 272: "overlap each other in any way, nor should the"
+          text run at (5,259) width 290: "floated elements be overwritten by the DIV text."
+          text run at (5,279) width 276: "In addition, the floated elements should not be"
+          text run at (5,299) width 303: "side-by-side, but instead the first should be floated"
+          text run at (5,319) width 293: "left, and the second floated to the right below the"
+          text run at (5,339) width 26: "first."
+      LayoutBlockFlow {DIV} at (2,1400) size 410x226 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (261,5) size 399x215
+          text run at (261,5) width 125: "This is text within the"
+          text run at (5,41) width 33: "DIV. "
+          text run at (37,41) width 71: "The floating"
+          text run at (5,61) width 135: "images within this DIV"
+          text run at (5,81) width 399: "should not go beyond the left or right inner edge of this DIV, which"
+          text run at (5,101) width 382: "means that the borders of the floating images should not overlap"
+          text run at (5,121) width 282: "the top or side borders of the DIV in any way. "
+          text run at (286,121) width 98: "In addition, they"
+          text run at (5,141) width 383: "should not overlap each other in any way, nor should the floated"
+          text run at (5,161) width 249: "elements be overwritten by the DIV text. "
+          text run at (254,161) width 135: "In addition, the floated"
+          text run at (5,181) width 388: "images should not be side-by-side, but instead the first should be"
+          text run at (5,201) width 368: "floated left, and the second floated to the right below the first."
+      LayoutBlockFlow {DIV} at (2,1676) size 765x130 [border: (5px solid #800080)]
+        LayoutBlockFlow (floating) {P} at (566,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 159x39
+            text run at (17,17) width 128: "This is a right-floating"
+            text run at (17,37) width 159: "paragraph (first in source)."
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 127x59
+            text run at (17,17) width 120: "This is a left-floating"
+            text run at (17,37) width 127: "paragraph (second in"
+            text run at (17,57) width 49: "source)."
+        LayoutText {#text} at (199,5) size 745x119
+          text run at (199,5) width 162: "This is text within the DIV. "
+          text run at (360,5) width 190: "The floating elements within this"
+          text run at (199,25) width 347: "DIV should not go beyond the top side of this DIV, which"
+          text run at (199,45) width 344: "means that the borders of the floating elements should not"
+          text run at (199,65) width 331: "overlap the top or side borders of the DIV in any way. "
+          text run at (529,65) width 13: "In"
+          text run at (199,85) width 551: "addition, the top of the left-floating box should not be higher than the top of the right-floating"
+          text run at (5,105) width 27: "box."
+      LayoutBlockFlow {DIV} at (2,1824) size 765x70 [border: (5px solid #800080)]
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutImage (floating) {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (20,5) size 706x59
+          text run at (20,5) width 162: "This is text within the DIV. "
+          text run at (181,5) width 530: "The floating images within this DIV should not go beyond the top side of this DIV, which"
+          text run at (20,25) width 668: "means that the borders of the floating images should not overlap the top or side borders of the DIV in any way. "
+          text run at (687,25) width 13: "In"
+          text run at (5,45) width 606: "addition, the top of the left-floating image should not be higher than the top of the right-floating image."
+      LayoutBlockFlow {DIV} at (2,1944) size 765x130 [border: (5px solid #800080)]
+        LayoutText {#text} at (199,5) size 170x19
+          text run at (199,5) width 162: "This is text within the DIV. "
+          text run at (360,5) width 9: "*"
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 159x39
+            text run at (17,17) width 120: "This is a left-floating"
+            text run at (17,37) width 159: "paragraph (first in source)."
+        LayoutText {#text} at (368,5) size 544x39
+          text run at (368,5) width 375: " The floating elements within this DIV should not go any higher"
+          text run at (199,25) width 407: "than the line-box containing the inline content which precedes them. "
+          text run at (606,25) width 12: "* "
+        LayoutBlockFlow (floating) {P} at (566,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 128x59
+            text run at (17,17) width 128: "This is a right-floating"
+            text run at (17,37) width 127: "paragraph (second in"
+            text run at (17,57) width 49: "source)."
+        LayoutText {#text} at (618,25) size 752x99
+          text run at (618,25) width 139: "This means that the top"
+          text run at (199,45) width 359: "side of each float can be, at most, as high as the top edge of"
+          text run at (199,65) width 326: "the inline element containing the content just before the"
+          text run at (5,85) width 225: "floating elements occur in the source. "
+          text run at (230,85) width 313: "In order to mark these points clearly, an asterisk has"
+          text run at (5,105) width 279: "been inserted just before each floated element."
+      LayoutBlockFlow {DIV} at (2,2093) size 765x90 [border: (5px solid #800080)]
+        LayoutText {#text} at (20,5) size 170x19
+          text run at (20,5) width 162: "This is text within the DIV. "
+          text run at (181,5) width 9: "*"
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (189,5) size 723x39
+          text run at (189,5) width 554: " The floating images within this DIV should not go any higher than the line-box containing the"
+          text run at (20,25) width 217: "inline content which precedes them. "
+          text run at (237,25) width 12: "* "
+        LayoutImage (floating) {IMG} at (745,25) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (249,25) size 735x59
+          text run at (249,25) width 486: "This means that the top side of each float can be, at most, as high as the top edge"
+          text run at (5,45) width 560: "of the inline element containing the content just before the floating images occur in the source. "
+          text run at (565,45) width 175: "In order to mark these points"
+          text run at (5,65) width 406: "clearly, an asterisk has been inserted just before each floated image."
+      LayoutBlockFlow {DIV} at (2,2233) size 765x230 [border: (5px solid #800080)]
+        LayoutText {#text} at (199,5) size 170x19
+          text run at (199,5) width 162: "This is text within the DIV. "
+          text run at (360,5) width 9: "*"
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 159x39
+            text run at (17,17) width 120: "This is a left-floating"
+            text run at (17,37) width 159: "paragraph (first in source)."
+        LayoutText {#text} at (368,5) size 544x39
+          text run at (368,5) width 375: " The floating elements within this DIV should not go any higher"
+          text run at (199,25) width 407: "than the line-box containing the inline content which precedes them. "
+          text run at (606,25) width 12: "* "
+        LayoutBlockFlow (floating) {P} at (566,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 128x59
+            text run at (17,17) width 128: "This is a right-floating"
+            text run at (17,37) width 127: "paragraph (second in"
+            text run at (17,57) width 49: "source)."
+        LayoutText {#text} at (618,25) size 364x39
+          text run at (618,25) width 139: "This means that the top"
+          text run at (393,45) width 158: "side of each float can be,*"
+        LayoutBlockFlow (floating) {P} at (199,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 120x59
+            text run at (17,17) width 120: "This is a left-floating"
+            text run at (17,37) width 111: "paragraph (third in"
+            text run at (17,57) width 49: "source)."
+        LayoutText {#text} at (551,45) size 367x119
+          text run at (551,45) width 15: " at"
+          text run at (393,65) width 141: "most, as high as the top"
+          text run at (393,85) width 151: "edge of the inline element"
+          text run at (393,105) width 155: "containing the content just"
+          text run at (393,125) width 164: "before the floating elements"
+          text run at (199,145) width 122: "occur in the source. "
+          text run at (321,145) width 8: "*"
+        LayoutBlockFlow (floating) {P} at (5,145) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 120x59
+            text run at (17,17) width 120: "This is a left-floating"
+            text run at (17,37) width 119: "paragraph (fourth in"
+            text run at (17,57) width 49: "source)."
+        LayoutText {#text} at (329,145) size 556x79
+          text run at (329,145) width 426: " In order to mark these points clearly, an asterisk has been inserted just"
+          text run at (199,165) width 174: "before each floated element. "
+          text run at (373,165) width 379: "If a line has room for a floated element, then the element should"
+          text run at (199,185) width 517: "float so that its top is aligned with the top of the line-box in which the asterisk appears."
+          text run at (199,205) width 380: "Otherwise, its top should align with the top of the next line-box."
+      LayoutBlockFlow {DIV} at (2,2482) size 765x130 [border: (5px solid #800080)]
+        LayoutText {#text} at (20,5) size 170x19
+          text run at (20,5) width 162: "This is text within the DIV. "
+          text run at (181,5) width 9: "*"
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (189,5) size 708x39
+          text run at (189,5) width 554: " The floating images within this DIV should not go any higher than the line-box containing the"
+          text run at (35,25) width 217: "inline content which precedes them. "
+          text run at (252,25) width 12: "* "
+        LayoutImage (floating) {IMG} at (745,25) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (264,25) size 305x19
+          text run at (264,25) width 297: "This means that the top side of each float can be, "
+          text run at (561,25) width 8: "*"
+        LayoutImage (floating) {IMG} at (20,25) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (569,25) size 679x39
+          text run at (569,25) width 160: " at most, as high as the top"
+          text run at (50,45) width 593: "edge of the inline element containing the content just before the floating images occur in the source. "
+          text run at (643,45) width 8: "*"
+        LayoutImage (floating) {IMG} at (35,45) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (651,45) size 746x79
+          text run at (651,45) width 69: " In order to"
+          text run at (50,65) width 520: "mark these points clearly, an asterisk has been inserted just before each floated image. "
+          text run at (569,65) width 182: "If a line has room for a floated"
+          text run at (5,85) width 693: "image, then the image should float so that its top is aligned with the top of the line-box in which the asterisk appears."
+          text run at (5,105) width 380: "Otherwise, its top should align with the top of the next line-box."
+      LayoutBlockFlow {DIV} at (2,2662) size 490x310 [border: (5px solid #800080)]
+        LayoutText {#text} at (199,5) size 50x19
+          text run at (199,5) width 50: "This is *"
+        LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 159x39
+            text run at (17,17) width 120: "This is a left-floating"
+            text run at (17,37) width 159: "paragraph (first in source)."
+        LayoutText {#text} at (249,5) size 12x19
+          text run at (249,5) width 12: " *"
+        LayoutBlockFlow (floating) {P} at (291,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+          LayoutText {#text} at (17,17) size 128x59
+            text run at (17,17) width 128: "This is a right-floating"
+            text run at (17,37) width 127: "paragraph (second in"
+            text run at (17,57) width 49: "source)."
+        LayoutText {#text} at (261,5) size 478x299
+          text run at (261,5) width 26: " text"
+          text run at (199,25) width 90: "within the DIV."
+          text run at (199,45) width 83: "Under CSS1,"
+          text run at (199,65) width 87: "the left floating"
+          text run at (5,85) width 249: "element should be placed in the upper left"
+          text run at (5,105) width 446: "corner of the DIV, and the purple border of the DIV should abut the green"
+          text run at (5,125) width 184: "border of the floating element. "
+          text run at (189,125) width 265: "Similarly, the right floating element should be"
+          text run at (5,145) width 463: "placed in the upper right corner of the DIV, and the purple border of the DIV"
+          text run at (5,165) width 434: "should abut the green border of the floating element. The text of the DIV"
+          text run at (5,185) width 448: "element should flow between and under the two floating elements. The two"
+          text run at (5,205) width 434: "asterisk characters mark the insertion points of the floating elements. It is"
+          text run at (5,225) width 460: "expected that, under future specifications, it may be acceptable for the top of"
+          text run at (5,245) width 478: "floated elements to align with the top of the line-box following the insertion point"
+          text run at (5,265) width 456: "of the floated element to avoid floating elements appearing before text which"
+          text run at (5,285) width 213: "precedes it in the source document."
+      LayoutBlockFlow {DIV} at (2,2990) size 490x230 [border: (5px solid #800080)]
+        LayoutText {#text} at (20,5) size 50x19
+          text run at (20,5) width 50: "This is *"
+        LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (70,5) size 12x19
+          text run at (70,5) width 12: " *"
+        LayoutImage (floating) {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
+        LayoutText {#text} at (82,5) size 479x219
+          text run at (82,5) width 124: " text within the DIV. "
+          text run at (205,5) width 257: "Under CSS1, the left floating image should"
+          text run at (20,25) width 443: "be placed in the upper left corner of the DIV, and the purple border of the"
+          text run at (5,45) width 336: "DIV should abut the green border of the floating image. "
+          text run at (341,45) width 106: "Similarly, the right"
+          text run at (5,65) width 455: "floating image should be placed in the upper right corner of the DIV, and the"
+          text run at (5,85) width 457: "purple border of the DIV should abut the green border of the floating image."
+          text run at (5,105) width 456: "The text of the DIV element should flow between and under the two floating"
+          text run at (5,125) width 445: "image. The two asterisk characters mark the insertion points of the floating"
+          text run at (5,145) width 43: "image. "
+          text run at (48,145) width 424: "It is expected that, under future specifications, it may be acceptable for"
+          text run at (5,165) width 452: "the top of floated elements to align with the top of the line-box following the"
+          text run at (5,185) width 479: "insertion point of the floated element to avoid floating elements appearing before"
+          text run at (5,205) width 278: "text which precedes it in the source document."
+      LayoutTable {TABLE} at (0,3270) size 769x3175 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x3173
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x3145
+            LayoutTableCell {TD} at (0,1586) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x3145 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 731x39
+                  text run at (0,0) width 645: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. "
+                  text run at (645,0) width 86: "Other than the"
+                  text run at (0,20) width 690: "substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the floats."
+              LayoutBlockFlow {DIV} at (6,94) size 743x110 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 159x39
+                    text run at (17,17) width 120: "This is a left-floating"
+                    text run at (17,37) width 159: "paragraph (first in source)."
+                LayoutBlockFlow (floating) {P} at (544,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 128x59
+                    text run at (17,17) width 128: "This is a right-floating"
+                    text run at (17,37) width 127: "paragraph (second in"
+                    text run at (17,57) width 49: "source)."
+                LayoutText {#text} at (199,5) size 536x99
+                  text run at (199,5) width 162: "This is text within the DIV. "
+                  text run at (360,5) width 166: "The floating elements within"
+                  text run at (199,25) width 342: "this DIV should not go beyond the left or right inner edge"
+                  text run at (199,45) width 334: "of this DIV, which means that the borders of the floating"
+                  text run at (199,65) width 325: "elements should not overlap the top or side borders of"
+                  text run at (5,85) width 51: "the DIV."
+              LayoutBlockFlow {DIV} at (6,222) size 743x50 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (20,5) size 702x39
+                  text run at (20,5) width 162: "This is text within the DIV. "
+                  text run at (181,5) width 541: "The floating images within this DIV should not go beyond the left or right inner edge of this"
+                  text run at (20,25) width 667: "DIV, which means that the borders of the floating images should not overlap the top or side borders of the DIV."
+              LayoutBlockFlow {DIV} at (6,322) size 442x230 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 157x39
+                    text run at (17,17) width 157: "This is the first left-floating"
+                    text run at (17,37) width 65: "paragraph."
+                LayoutBlockFlow (floating) {P} at (199,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 135x39
+                    text run at (17,17) width 135: "This is the second left-"
+                    text run at (17,37) width 112: "floating paragraph."
+                LayoutBlockFlow (floating) {P} at (5,79) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 119x39
+                    text run at (17,17) width 119: "This is the third left-"
+                    text run at (17,37) width 112: "floating paragraph."
+                LayoutText {#text} at (393,5) size 426x219
+                  text run at (393,5) width 38: "This is"
+                  text run at (393,25) width 22: "text"
+                  text run at (393,45) width 35: "within"
+                  text run at (393,65) width 18: "the"
+                  text run at (199,85) width 33: "DIV. "
+                  text run at (231,85) width 190: "The floating elements within this"
+                  text run at (199,105) width 222: "DIV should not go beyond the left or"
+                  text run at (199,125) width 204: "right inner edge of this DIV, which"
+                  text run at (199,145) width 222: "means that the borders of the floating"
+                  text run at (5,165) width 417: "elements should not overlap the top or side borders of the DIV in any"
+                  text run at (5,185) width 32: "way. "
+                  text run at (36,185) width 288: "In addition, they should not overlap each other. "
+                  text run at (323,185) width 77: "The first two"
+                  text run at (5,205) width 414: "should be side by side, whereas the third should be on the next \"line.\""
+              LayoutBlockFlow {DIV} at (6,570) size 360x210 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (317,5) size 350x199
+                  text run at (317,5) width 38: "This is"
+                  text run at (317,25) width 22: "text"
+                  text run at (161,45) width 94: "within the DIV. "
+                  text run at (254,45) width 71: "The floating"
+                  text run at (161,65) width 178: "images within this DIV should"
+                  text run at (5,85) width 317: "not go beyond the left or right inner edge of this DIV,"
+                  text run at (5,105) width 349: "which means that the borders of the floating images should"
+                  text run at (5,125) width 350: "not overlap the top or side borders of the DIV in any way."
+                  text run at (5,145) width 287: "In addition, they should not overlap each other. "
+                  text run at (291,145) width 50: "The first"
+                  text run at (5,165) width 333: "two should be side by side, whereas the third should be"
+                  text run at (5,185) width 104: "on the next \"line.\""
+              LayoutBlockFlow {DIV} at (6,830) size 314x364 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 159x39
+                    text run at (17,17) width 120: "This is a left-floating"
+                    text run at (17,37) width 159: "paragraph (first in source)."
+                LayoutBlockFlow (floating) {P} at (115,79) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 128x59
+                    text run at (17,17) width 128: "This is a right-floating"
+                    text run at (17,37) width 127: "paragraph (second in"
+                    text run at (17,57) width 49: "source)."
+                LayoutText {#text} at (199,5) size 303x353
+                  text run at (199,5) width 103: "This is text within"
+                  text run at (199,25) width 55: "the DIV. "
+                  text run at (253,25) width 24: "The"
+                  text run at (199,45) width 99: "floating elements"
+                  text run at (5,79) width 90: "within this DIV"
+                  text run at (5,99) width 81: "should not go"
+                  text run at (5,119) width 106: "beyond the left or"
+                  text run at (5,139) width 108: "right inner edge of"
+                  text run at (5,159) width 92: "this DIV, which"
+                  text run at (5,179) width 278: "means that the borders of the floating elements"
+                  text run at (5,199) width 291: "should not overlap the top or side borders of the"
+                  text run at (5,219) width 102: "DIV in any way. "
+                  text run at (106,219) width 164: "In addition, they should not"
+                  text run at (5,239) width 272: "overlap each other in any way, nor should the"
+                  text run at (5,259) width 290: "floated elements be overwritten by the DIV text."
+                  text run at (5,279) width 276: "In addition, the floated elements should not be"
+                  text run at (5,299) width 303: "side-by-side, but instead the first should be floated"
+                  text run at (5,319) width 293: "left, and the second floated to the right below the"
+                  text run at (5,339) width 26: "first."
+              LayoutBlockFlow {DIV} at (6,1212) size 410x226 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (261,5) size 399x215
+                  text run at (261,5) width 125: "This is text within the"
+                  text run at (5,41) width 33: "DIV. "
+                  text run at (37,41) width 71: "The floating"
+                  text run at (5,61) width 135: "images within this DIV"
+                  text run at (5,81) width 399: "should not go beyond the left or right inner edge of this DIV, which"
+                  text run at (5,101) width 382: "means that the borders of the floating images should not overlap"
+                  text run at (5,121) width 282: "the top or side borders of the DIV in any way. "
+                  text run at (286,121) width 98: "In addition, they"
+                  text run at (5,141) width 383: "should not overlap each other in any way, nor should the floated"
+                  text run at (5,161) width 249: "elements be overwritten by the DIV text. "
+                  text run at (254,161) width 135: "In addition, the floated"
+                  text run at (5,181) width 388: "images should not be side-by-side, but instead the first should be"
+                  text run at (5,201) width 368: "floated left, and the second floated to the right below the first."
+              LayoutBlockFlow {DIV} at (6,1488) size 743x130 [border: (5px solid #800080)]
+                LayoutBlockFlow (floating) {P} at (544,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 159x39
+                    text run at (17,17) width 128: "This is a right-floating"
+                    text run at (17,37) width 159: "paragraph (first in source)."
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 127x59
+                    text run at (17,17) width 120: "This is a left-floating"
+                    text run at (17,37) width 127: "paragraph (second in"
+                    text run at (17,57) width 49: "source)."
+                LayoutText {#text} at (199,5) size 717x119
+                  text run at (199,5) width 162: "This is text within the DIV. "
+                  text run at (360,5) width 166: "The floating elements within"
+                  text run at (199,25) width 332: "this DIV should not go beyond the top side of this DIV,"
+                  text run at (199,45) width 317: "which means that the borders of the floating elements"
+                  text run at (199,65) width 336: "should not overlap the top or side borders of the DIV in"
+                  text run at (199,85) width 57: "any way. "
+                  text run at (255,85) width 467: "In addition, the top of the left-floating box should not be higher than the top of"
+                  text run at (5,105) width 128: "the right-floating box."
+              LayoutBlockFlow {DIV} at (6,1636) size 743x70 [border: (5px solid #800080)]
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutImage (floating) {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (20,5) size 706x59
+                  text run at (20,5) width 162: "This is text within the DIV. "
+                  text run at (181,5) width 530: "The floating images within this DIV should not go beyond the top side of this DIV, which"
+                  text run at (20,25) width 668: "means that the borders of the floating images should not overlap the top or side borders of the DIV in any way. "
+                  text run at (687,25) width 13: "In"
+                  text run at (5,45) width 606: "addition, the top of the left-floating image should not be higher than the top of the right-floating image."
+              LayoutBlockFlow {DIV} at (6,1756) size 743x130 [border: (5px solid #800080)]
+                LayoutText {#text} at (199,5) size 170x19
+                  text run at (199,5) width 162: "This is text within the DIV. "
+                  text run at (360,5) width 9: "*"
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 159x39
+                    text run at (17,17) width 120: "This is a left-floating"
+                    text run at (17,37) width 159: "paragraph (first in source)."
+                LayoutText {#text} at (368,5) size 504x39
+                  text run at (368,5) width 335: " The floating elements within this DIV should not go any"
+                  text run at (199,25) width 447: "higher than the line-box containing the inline content which precedes them. "
+                  text run at (646,25) width 12: "* "
+                LayoutBlockFlow (floating) {P} at (544,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 128x59
+                    text run at (17,17) width 128: "This is a right-floating"
+                    text run at (17,37) width 127: "paragraph (second in"
+                    text run at (17,57) width 49: "source)."
+                LayoutText {#text} at (658,25) size 720x99
+                  text run at (658,25) width 67: "This means"
+                  text run at (199,45) width 336: "that the top side of each float can be, at most, as high as"
+                  text run at (199,65) width 331: "the top edge of the inline element containing the content"
+                  text run at (5,85) width 315: "just before the floating elements occur in the source. "
+                  text run at (320,85) width 221: "In order to mark these points clearly,"
+                  text run at (5,105) width 371: "an asterisk has been inserted just before each floated element."
+              LayoutBlockFlow {DIV} at (6,1905) size 743x90 [border: (5px solid #800080)]
+                LayoutText {#text} at (20,5) size 170x19
+                  text run at (20,5) width 162: "This is text within the DIV. "
+                  text run at (181,5) width 9: "*"
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (189,5) size 701x39
+                  text run at (189,5) width 532: " The floating images within this DIV should not go any higher than the line-box containing"
+                  text run at (20,25) width 239: "the inline content which precedes them. "
+                  text run at (259,25) width 12: "* "
+                LayoutImage (floating) {IMG} at (723,25) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (271,25) size 717x59
+                  text run at (271,25) width 429: "This means that the top side of each float can be, at most, as high as the"
+                  text run at (5,45) width 617: "top edge of the inline element containing the content just before the floating images occur in the source. "
+                  text run at (622,45) width 100: "In order to mark"
+                  text run at (5,65) width 481: "these points clearly, an asterisk has been inserted just before each floated image."
+              LayoutBlockFlow {DIV} at (6,2045) size 743x290 [border: (5px solid #800080)]
+                LayoutText {#text} at (199,5) size 170x19
+                  text run at (199,5) width 162: "This is text within the DIV. "
+                  text run at (360,5) width 9: "*"
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 159x39
+                    text run at (17,17) width 120: "This is a left-floating"
+                    text run at (17,37) width 159: "paragraph (first in source)."
+                LayoutText {#text} at (368,5) size 504x39
+                  text run at (368,5) width 335: " The floating elements within this DIV should not go any"
+                  text run at (199,25) width 447: "higher than the line-box containing the inline content which precedes them. "
+                  text run at (646,25) width 12: "* "
+                LayoutBlockFlow (floating) {P} at (544,45) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 128x59
+                    text run at (17,17) width 128: "This is a right-floating"
+                    text run at (17,37) width 127: "paragraph (second in"
+                    text run at (17,57) width 49: "source)."
+                LayoutText {#text} at (658,25) size 526x39
+                  text run at (658,25) width 67: "This means"
+                  text run at (199,45) width 230: "that the top side of each float can be,*"
+                LayoutBlockFlow (floating) {P} at (199,65) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 120x59
+                    text run at (17,17) width 120: "This is a left-floating"
+                    text run at (17,37) width 111: "paragraph (third in"
+                    text run at (17,57) width 49: "source)."
+                LayoutText {#text} at (429,45) size 272x119
+                  text run at (429,45) width 114: " at most, as high as"
+                  text run at (393,65) width 147: "the top edge of the inline"
+                  text run at (393,85) width 132: "element containing the"
+                  text run at (393,105) width 134: "content just before the"
+                  text run at (393,125) width 151: "floating elements occur in"
+                  text run at (587,145) width 70: "the source. "
+                  text run at (657,145) width 8: "*"
+                LayoutBlockFlow (floating) {P} at (393,145) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 120x59
+                    text run at (17,17) width 120: "This is a left-floating"
+                    text run at (17,37) width 119: "paragraph (fourth in"
+                    text run at (17,57) width 49: "source)."
+                LayoutText {#text} at (665,145) size 733x139
+                  text run at (665,145) width 69: " In order to"
+                  text run at (587,165) width 106: "mark these points"
+                  text run at (587,185) width 134: "clearly, an asterisk has"
+                  text run at (587,205) width 148: "been inserted just before"
+                  text run at (587,225) width 131: "each floated element. "
+                  text run at (718,225) width 20: "If a"
+                  text run at (5,245) width 709: "line has room for a floated element, then the element should float so that its top is aligned with the top of the line-box in"
+                  text run at (5,265) width 167: "which the asterisk appears. "
+                  text run at (172,265) width 380: "Otherwise, its top should align with the top of the next line-box."
+              LayoutBlockFlow {DIV} at (6,2353) size 743x130 [border: (5px solid #800080)]
+                LayoutText {#text} at (20,5) size 170x19
+                  text run at (20,5) width 162: "This is text within the DIV. "
+                  text run at (181,5) width 9: "*"
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (189,5) size 686x39
+                  text run at (189,5) width 532: " The floating images within this DIV should not go any higher than the line-box containing"
+                  text run at (35,25) width 239: "the inline content which precedes them. "
+                  text run at (274,25) width 12: "* "
+                LayoutImage (floating) {IMG} at (723,25) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (286,25) size 305x19
+                  text run at (286,25) width 297: "This means that the top side of each float can be, "
+                  text run at (583,25) width 8: "*"
+                LayoutImage (floating) {IMG} at (20,25) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (591,25) size 655x39
+                  text run at (591,25) width 114: " at most, as high as"
+                  text run at (50,45) width 639: "the top edge of the inline element containing the content just before the floating images occur in the source. "
+                  text run at (689,45) width 8: "*"
+                LayoutImage (floating) {IMG} at (35,45) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (697,45) size 722x79
+                  text run at (697,45) width 16: " In"
+                  text run at (50,65) width 573: "order to mark these points clearly, an asterisk has been inserted just before each floated image. "
+                  text run at (622,65) width 105: "If a line has room"
+                  text run at (5,85) width 714: "for a floated image, then the image should float so that its top is aligned with the top of the line-box in which the asterisk"
+                  text run at (5,105) width 56: "appears. "
+                  text run at (61,105) width 380: "Otherwise, its top should align with the top of the next line-box."
+              LayoutBlockFlow {DIV} at (6,2533) size 490x310 [border: (5px solid #800080)]
+                LayoutText {#text} at (199,5) size 50x19
+                  text run at (199,5) width 50: "This is *"
+                LayoutBlockFlow (floating) {P} at (5,5) size 194x74 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 159x39
+                    text run at (17,17) width 120: "This is a left-floating"
+                    text run at (17,37) width 159: "paragraph (first in source)."
+                LayoutText {#text} at (249,5) size 12x19
+                  text run at (249,5) width 12: " *"
+                LayoutBlockFlow (floating) {P} at (291,5) size 194x94 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
+                  LayoutText {#text} at (17,17) size 128x59
+                    text run at (17,17) width 128: "This is a right-floating"
+                    text run at (17,37) width 127: "paragraph (second in"
+                    text run at (17,57) width 49: "source)."
+                LayoutText {#text} at (261,5) size 478x299
+                  text run at (261,5) width 26: " text"
+                  text run at (199,25) width 90: "within the DIV."
+                  text run at (199,45) width 83: "Under CSS1,"
+                  text run at (199,65) width 87: "the left floating"
+                  text run at (5,85) width 249: "element should be placed in the upper left"
+                  text run at (5,105) width 446: "corner of the DIV, and the purple border of the DIV should abut the green"
+                  text run at (5,125) width 184: "border of the floating element. "
+                  text run at (189,125) width 265: "Similarly, the right floating element should be"
+                  text run at (5,145) width 463: "placed in the upper right corner of the DIV, and the purple border of the DIV"
+                  text run at (5,165) width 434: "should abut the green border of the floating element. The text of the DIV"
+                  text run at (5,185) width 448: "element should flow between and under the two floating elements. The two"
+                  text run at (5,205) width 434: "asterisk characters mark the insertion points of the floating elements. It is"
+                  text run at (5,225) width 460: "expected that, under future specifications, it may be acceptable for the top of"
+                  text run at (5,245) width 478: "floated elements to align with the top of the line-box following the insertion point"
+                  text run at (5,265) width 456: "of the floated element to avoid floating elements appearing before text which"
+                  text run at (5,285) width 213: "precedes it in the source document."
+              LayoutBlockFlow {DIV} at (6,2861) size 490x230 [border: (5px solid #800080)]
+                LayoutText {#text} at (20,5) size 50x19
+                  text run at (20,5) width 50: "This is *"
+                LayoutImage (floating) {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (70,5) size 12x19
+                  text run at (70,5) width 12: " *"
+                LayoutImage (floating) {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
+                LayoutText {#text} at (82,5) size 479x219
+                  text run at (82,5) width 124: " text within the DIV. "
+                  text run at (205,5) width 257: "Under CSS1, the left floating image should"
+                  text run at (20,25) width 443: "be placed in the upper left corner of the DIV, and the purple border of the"
+                  text run at (5,45) width 336: "DIV should abut the green border of the floating image. "
+                  text run at (341,45) width 106: "Similarly, the right"
+                  text run at (5,65) width 455: "floating image should be placed in the upper right corner of the DIV, and the"
+                  text run at (5,85) width 457: "purple border of the DIV should abut the green border of the floating image."
+                  text run at (5,105) width 456: "The text of the DIV element should flow between and under the two floating"
+                  text run at (5,125) width 445: "image. The two asterisk characters mark the insertion points of the floating"
+                  text run at (5,145) width 43: "image. "
+                  text run at (48,145) width 424: "It is expected that, under future specifications, it may be acceptable for"
+                  text run at (5,165) width 452: "the top of floated elements to align with the top of the line-box following the"
+                  text run at (5,185) width 479: "insertion point of the floated element to avoid floating elements appearing before"
+                  text run at (5,205) width 278: "text which precedes it in the source document."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (32,283) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,275) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,408) size 41x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,400) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,492) size 579x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,484) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,756) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,748) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1000) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,992) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1398) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1390) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1658) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1650) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,1822) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,1814) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,1926) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,1918) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2091) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2083) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2215) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2207) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2480) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2472) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,2644) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,2636) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (372,2988) size 41x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (364.28,2980) size 40.44x2 [border: (1px inset #EEEEEE)]
+layer at (32,3252) size 579x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (24,3244) size 578.75x2 [border: (1px inset #EEEEEE)]
+layer at (49,3375) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,68) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,3519) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,212) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,3603) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,296) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,3867) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,560) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,4111) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,804) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4509) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1202) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,4769) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1462) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,4933) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1626) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5037) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,1730) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5202) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,1895) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5326) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2019) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,5650) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2343) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,5814) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,2507) size 562.25x2 [border: (1px inset #EEEEEE)]
+layer at (379,6158) size 39x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (357.83,2851) size 39.34x2 [border: (1px inset #EEEEEE)]
+layer at (49,6422) size 562x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (28,3115) size 562.25x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/height_of_lines-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/height_of_lines-expected.txt
new file mode 100644
index 0000000..caae818
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/height_of_lines-expected.txt
@@ -0,0 +1,135 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2345
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2345 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2345
+    LayoutBlockFlow {BODY} at (8,8) size 769x2329 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x288
+        LayoutText {#text} at (0,0) size 536x288
+          text run at (0,0) width 344: "P.one {font-size: 14px; line-height: 20px;}"
+          text run at (344,0) width 0: " "
+          text run at (0,16) width 304: "IMG.onea {vertical-align: text-bottom;"
+          text run at (304,16) width 0: " "
+          text run at (0,32) width 272: "     width: 200px; height: 200px;}"
+          text run at (272,32) width 0: " "
+          text run at (0,48) width 520: "IMG.oneb {vertical-align: text-top; width: 200px; height: 200px;}"
+          text run at (520,48) width 0: " "
+          text run at (0,64) width 0: " "
+          text run at (0,80) width 344: "P.two {font-size: 14px; line-height: 20px;}"
+          text run at (344,80) width 0: " "
+          text run at (0,96) width 536: "IMG.twoa {vertical-align: text-bottom; width: 100px; height: 100px;"
+          text run at (536,96) width 0: " "
+          text run at (0,112) width 312: "     padding: 5px; border-style: solid;"
+          text run at (312,112) width 0: " "
+          text run at (0,128) width 312: "     border-width: 10px; margin: 15px;}"
+          text run at (312,128) width 0: " "
+          text run at (0,144) width 280: "IMG.twob {vertical-align: text-top;"
+          text run at (280,144) width 0: " "
+          text run at (0,160) width 304: "          width: 100px; height: 100px;"
+          text run at (304,160) width 0: " "
+          text run at (0,176) width 312: "     padding: 5px; border-style: solid;"
+          text run at (312,176) width 0: " "
+          text run at (0,192) width 312: "     border-width: 10px; margin: 15px;}"
+          text run at (312,192) width 0: " "
+          text run at (0,208) width 0: " "
+          text run at (0,224) width 480: "IMG.twoc {vertical-align: middle; width: 50px; height: 50px;"
+          text run at (480,224) width 0: " "
+          text run at (0,240) width 312: "     padding: 5px; border-style: solid;"
+          text run at (312,240) width 0: " "
+          text run at (0,256) width 320: "     border-width: 10px; margin: -10px;}"
+          text run at (320,256) width 0: " "
+          text run at (0,272) width 0: " "
+      LayoutBlockFlow {P} at (0,353) size 769x464
+        LayoutText {#text} at (0,2) size 763x238
+          text run at (0,2) width 417: "This paragraph should have a font size of 14px and a line height of 20px. "
+          text run at (417,2) width 346: "This means that the lines of text within it should be separated"
+          text run at (0,22) width 371: "by six pixels, three of which are part of the line-box of each line. "
+          text run at (371,22) width 373: "Any images within the paragraph should increase the height of the"
+          text run at (0,224) width 294: "line-box so that they fit within the line box, such as "
+        LayoutImage {IMG} at (294,40) size 200x200
+        LayoutText {#text} at (494,224) size 28x16
+          text run at (494,224) width 28: " and "
+        LayoutImage {IMG} at (522,224) size 200x200
+        LayoutText {#text} at (722,224) size 768x238
+          text run at (722,224) width 8: ". "
+          text run at (730,224) width 38: "This is"
+          text run at (0,426) width 725: "additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-top"
+          text run at (0,446) width 43: "aligned."
+      LayoutBlockFlow {P} at (0,831) size 769x484
+        LayoutText {#text} at (0,2) size 763x198
+          text run at (0,2) width 417: "This paragraph should have a font size of 14px and a line height of 20px. "
+          text run at (417,2) width 346: "This means that the lines of text within it should be separated"
+          text run at (0,22) width 78: "by six pixels. "
+          text run at (78,22) width 683: "Any images within the paragraph should increase the height of the line-box so that they fit, including their padding (5px),"
+          text run at (0,184) width 357: "border (10px) and margins (15px) within the line box, such as "
+        LayoutImage {IMG} at (371.73,55) size 130x130 [border: (10px solid #000000)]
+        LayoutText {#text} at (516,184) size 29x16
+          text run at (516,184) width 29: " and "
+        LayoutImage {IMG} at (559.73,199) size 130x130 [border: (10px solid #000000)]
+        LayoutText {#text} at (704,184) size 768x256
+          text run at (704,184) width 9: ". "
+          text run at (712,184) width 39: "This is"
+          text run at (0,346) width 725: "additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-top"
+          text run at (0,366) width 47: "aligned. "
+          text run at (47,366) width 700: "It is the outer edge of the margin that should be text-bottom and text-top aligned in this paragraph, so for the first image the"
+          text run at (0,386) width 768: "bottom border of the image should begin 15px above the bottom of the text, and for the second image the top border should begin 15px"
+          text run at (0,424) width 143: "below the top of the text "
+        LayoutImage {IMG} at (133,394) size 80x80 [border: (10px solid #000000)]
+        LayoutText {#text} at (203,424) size 764x58
+          text run at (203,424) width 8: ". "
+          text run at (211,424) width 553: "The last image in this paragraph has -10px margins set on it, so that should pull the text in toward"
+          text run at (0,466) width 392: "the image in the vertical direction, and also in the horizontal direction."
+      LayoutTable {TABLE} at (0,1329) size 769x1000 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x998
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x970
+            LayoutTableCell {TD} at (0,499) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x970 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x464
+                LayoutText {#text} at (0,2) size 726x238
+                  text run at (0,2) width 417: "This paragraph should have a font size of 14px and a line height of 20px. "
+                  text run at (417,2) width 289: "This means that the lines of text within it should be"
+                  text run at (0,22) width 428: "separated by six pixels, three of which are part of the line-box of each line. "
+                  text run at (428,22) width 298: "Any images within the paragraph should increase the"
+                  text run at (0,224) width 369: "height of the line-box so that they fit within the line box, such as "
+                LayoutImage {IMG} at (369,40) size 200x200
+                LayoutText {#text} at (569,224) size 28x16
+                  text run at (569,224) width 28: " and "
+                LayoutImage {IMG} at (0,244) size 200x200
+                LayoutText {#text} at (200,244) size 738x218
+                  text run at (200,244) width 8: ". "
+                  text run at (208,244) width 530: "This is additional text to make sure that there is enough room left below the image so that this"
+                  text run at (0,446) width 280: "line does not hit the image that is text-top aligned."
+              LayoutBlockFlow {P} at (4,482) size 747x484
+                LayoutText {#text} at (0,2) size 731x198
+                  text run at (0,2) width 417: "This paragraph should have a font size of 14px and a line height of 20px. "
+                  text run at (417,2) width 289: "This means that the lines of text within it should be"
+                  text run at (0,22) width 135: "separated by six pixels. "
+                  text run at (135,22) width 596: "Any images within the paragraph should increase the height of the line-box so that they fit, including their"
+                  text run at (0,184) width 444: "padding (5px), border (10px) and margins (15px) within the line box, such as "
+                LayoutImage {IMG} at (458.73,55) size 130x130 [border: (10px solid #000000)]
+                LayoutText {#text} at (603,184) size 29x16
+                  text run at (603,184) width 29: " and "
+                LayoutImage {IMG} at (15,219) size 130x130 [border: (10px solid #000000)]
+                LayoutText {#text} at (160,204) size 729x236
+                  text run at (160,204) width 8: ". "
+                  text run at (168,204) width 553: "This is additional text to make sure that there is enough room left below the image so that this line"
+                  text run at (0,366) width 261: "does not hit the image that is text-top aligned. "
+                  text run at (261,366) width 468: "It is the outer edge of the margin that should be text-bottom and text-top aligned in"
+                  text run at (0,386) width 728: "this paragraph, so for the first image the bottom border of the image should begin 15px above the bottom of the text, and for the"
+                  text run at (0,424) width 415: "second image the top border should begin 15px below the top of the text "
+                LayoutImage {IMG} at (405,394) size 80x80 [border: (10px solid #000000)]
+                LayoutText {#text} at (475,424) size 723x58
+                  text run at (475,424) width 8: ". "
+                  text run at (483,424) width 240: "The last image in this paragraph has -10px"
+                  text run at (0,466) width 705: "margins set on it, so that should pull the text in toward the image in the vertical direction, and also in the horizontal direction."
+layer at (8,345) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,337) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/inline_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/inline_elements-expected.txt
new file mode 100644
index 0000000..ef1ee75
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/inline_elements-expected.txt
@@ -0,0 +1,97 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 791
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x790 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x790.33
+    LayoutBlockFlow {BODY} at (8,8) size 769x774.33 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x112
+        LayoutText {#text} at (0,0) size 560x112
+          text run at (0,0) width 208: "P.one {line-height: 200%;}"
+          text run at (208,0) width 0: " "
+          text run at (0,16) width 552: "SPAN.two {border-style: solid; border-width: 10px; border-color: red;"
+          text run at (552,16) width 0: " "
+          text run at (0,32) width 304: "          padding: 2pt; margin: 30pt;}"
+          text run at (304,32) width 0: " "
+          text run at (0,48) width 360: "P.three {font-size: 10pt; line-height: 12pt;}"
+          text run at (360,48) width 0: " "
+          text run at (0,64) width 560: "SPAN.four {border-style: solid; border-width: 12px; border-color: red;"
+          text run at (560,64) width 0: " "
+          text run at (0,80) width 192: "          padding: 2pt;}"
+          text run at (192,80) width 0: " "
+          text run at (0,96) width 0: " "
+      LayoutBlockFlow {P} at (0,179) size 769x192
+        LayoutText {#text} at (0,6) size 179x19
+          text run at (0,6) width 179: "This is a paragraph that has a "
+        LayoutInline {SPAN} at (0,0) size 763x173 [border: (10px solid #FF0000)]
+          LayoutText {#text} at (231,6) size 763x147
+            text run at (231,6) width 531: "very long span in it, and the span has a 10px red border separated from the span by 2pt,"
+            text run at (0,38) width 133: "and a margin of 30pt. "
+            text run at (132,38) width 622: "The padding and border should be present on all sides of the span (although vertical lines should appear"
+            text run at (0,70) width 421: "only at the beginning and the end of the whole span, not on each line). "
+            text run at (421,70) width 342: "The padding, border, and margin should all be noticeable"
+            text run at (0,102) width 223: "at the beginning and end of the span. "
+            text run at (223,102) width 527: "However, the line height should not be changed by any of them, so the margin should be"
+            text run at (0,134) width 374: "unnoticeable and the border should overlap text on other lines."
+        LayoutText {#text} at (426,134) size 729x51
+          text run at (426,134) width 4: " "
+          text run at (430,134) width 299: "The line spacing in the whole paragraph should be"
+          text run at (0,166) width 132: "200% of the font size."
+      LayoutBlockFlow {P} at (0,387) size 769x64
+        LayoutText {#text} at (0,0) size 160x15
+          text run at (0,0) width 160: "This is a paragraph that has a "
+        LayoutInline {SPAN} at (0,0) size 757x93 [border: (12px solid #FF0000)]
+          LayoutText {#text} at (174,0) size 757x63
+            text run at (174,0) width 547: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
+            text run at (0,16) width 752: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the padding"
+            text run at (0,32) width 237: "and border should not effect the line height. "
+            text run at (236,32) width 521: "The span's border should have vertical lines only at the beginning and end of the whole span, not"
+            text run at (0,48) width 67: "on each line."
+        LayoutText {#text} at (81,48) size 405x15
+          text run at (81,48) width 3: " "
+          text run at (84,48) width 402: "The line spacing in the whole paragraph should be 12pt, with font-size 10pt."
+      LayoutTable {TABLE} at (0,464.33) size 769x310 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x308
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x280
+            LayoutTableCell {TD} at (0,154) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x280 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x192
+                LayoutText {#text} at (0,6) size 179x19
+                  text run at (0,6) width 179: "This is a paragraph that has a "
+                LayoutInline {SPAN} at (0,0) size 744x173 [border: (10px solid #FF0000)]
+                  LayoutText {#text} at (231,6) size 744x147
+                    text run at (231,6) width 503: "very long span in it, and the span has a 10px red border separated from the span by"
+                    text run at (0,38) width 161: "2pt, and a margin of 30pt. "
+                    text run at (160,38) width 576: "The padding and border should be present on all sides of the span (although vertical lines should"
+                    text run at (0,70) width 467: "appear only at the beginning and the end of the whole span, not on each line). "
+                    text run at (467,70) width 277: "The padding, border, and margin should all be"
+                    text run at (0,102) width 288: "noticeable at the beginning and end of the span. "
+                    text run at (288,102) width 421: "However, the line height should not be changed by any of them, so the"
+                    text run at (0,134) width 480: "margin should be unnoticeable and the border should overlap text on other lines."
+                LayoutText {#text} at (531,134) size 708x51
+                  text run at (531,134) width 5: " "
+                  text run at (535,134) width 173: "The line spacing in the whole"
+                  text run at (0,166) width 259: "paragraph should be 200% of the font size."
+              LayoutBlockFlow {P} at (4,212) size 747x64
+                LayoutText {#text} at (0,0) size 160x15
+                  text run at (0,0) width 160: "This is a paragraph that has a "
+                LayoutInline {SPAN} at (0,0) size 721x93 [border: (12px solid #FF0000)]
+                  LayoutText {#text} at (174,0) size 721x63
+                    text run at (174,0) width 547: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
+                    text run at (0,16) width 705: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the"
+                    text run at (0,32) width 284: "padding and border should not effect the line height. "
+                    text run at (283,32) width 433: "The span's border should have vertical lines only at the beginning and end of the"
+                    text run at (0,48) width 155: "whole span, not on each line."
+                LayoutText {#text} at (169,48) size 405x15
+                  text run at (169,48) width 3: " "
+                  text run at (172,48) width 402: "The line spacing in the whole paragraph should be 12pt, with font-size 10pt."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/replaced_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/replaced_elements-expected.txt
new file mode 100644
index 0000000..c30297f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/replaced_elements-expected.txt
@@ -0,0 +1,88 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2377
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2377 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2377
+    LayoutBlockFlow {BODY} at (8,8) size 769x2361 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x128
+        LayoutText {#text} at (0,0) size 504x128
+          text run at (0,0) width 208: "IMG.one {display: inline;}"
+          text run at (208,0) width 0: " "
+          text run at (0,16) width 200: "IMG.two {display: block;}"
+          text run at (200,16) width 0: " "
+          text run at (0,32) width 208: "IMG.three {display: block;"
+          text run at (208,32) width 0: " "
+          text run at (0,48) width 504: "           margin-right: auto; margin-left: auto; width: auto;}"
+          text run at (504,48) width 0: " "
+          text run at (0,64) width 200: "IMG.four {display: block;"
+          text run at (200,64) width 0: " "
+          text run at (0,80) width 488: "          margin-right: auto; margin-left: auto; width: 50%;}"
+          text run at (488,80) width 0: " "
+          text run at (0,96) width 200: "IMG.five {display: block;"
+          text run at (200,96) width 0: " "
+          text run at (0,112) width 464: "          margin-right: 0; margin-left: auto; width: 50%;}"
+          text run at (464,112) width 0: " "
+      LayoutBlockFlow {P} at (0,195) size 769x20
+        LayoutImage {IMG} at (0,0) size 15x15
+        LayoutText {#text} at (15,0) size 411x19
+          text run at (15,0) width 411: "The image at the beginning of this sentence should be a 15px square."
+      LayoutImage {IMG} at (0,231) size 15x15
+      LayoutBlockFlow {P} at (0,262) size 769x20
+        LayoutText {#text} at (0,0) size 467x19
+          text run at (0,0) width 467: "The above image should be a 15px square with the same left edge as this text."
+      LayoutImage {IMG} at (377,298) size 15x15
+      LayoutBlockFlow {P} at (0,329) size 769x20
+        LayoutText {#text} at (0,0) size 383x19
+          text run at (0,0) width 383: "The above image should be a 15px square aligned at the center."
+      LayoutImage {IMG} at (192.25,365) size 384.50x384.50
+      LayoutBlockFlow {P} at (0,765.50) size 769x40
+        LayoutText {#text} at (0,0) size 750x39
+          text run at (0,0) width 750: "The above image should be a square resized so its width is 50% of the its parent element, and centered horizontally within the"
+          text run at (0,20) width 95: "parent element: "
+          text run at (95,20) width 375: "the document body in the first half, and the table in the second."
+      LayoutImage {IMG} at (384.50,821.50) size 384.50x384.50
+      LayoutBlockFlow {P} at (0,1222) size 769x40
+        LayoutText {#text} at (0,0) size 765x39
+          text run at (0,0) width 765: "The above image should be a square resized so its width is 50% of its parent element, and aligned at the right edge of the parent"
+          text run at (0,20) width 53: "element: "
+          text run at (53,20) width 375: "the document body in the first half, and the table in the second."
+      LayoutTable {TABLE} at (0,1278) size 769x1083 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1081
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1053
+            LayoutTableCell {TD} at (0,540) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1053 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutImage {IMG} at (0,0) size 15x15
+                LayoutText {#text} at (15,0) size 411x19
+                  text run at (15,0) width 411: "The image at the beginning of this sentence should be a 15px square."
+              LayoutImage {IMG} at (4,40) size 15x15
+              LayoutBlockFlow {P} at (4,71) size 747x20
+                LayoutText {#text} at (0,0) size 467x19
+                  text run at (0,0) width 467: "The above image should be a 15px square with the same left edge as this text."
+              LayoutImage {IMG} at (370,107) size 15x15
+              LayoutBlockFlow {P} at (4,138) size 747x20
+                LayoutText {#text} at (0,0) size 383x19
+                  text run at (0,0) width 383: "The above image should be a 15px square aligned at the center."
+              LayoutImage {IMG} at (190.75,174) size 373.50x373.50
+              LayoutBlockFlow {P} at (4,563.50) size 747x40
+                LayoutText {#text} at (0,0) size 728x39
+                  text run at (0,0) width 728: "The above image should be a square resized so its width is 50% of the its parent element, and centered horizontally within"
+                  text run at (0,20) width 117: "the parent element: "
+                  text run at (117,20) width 375: "the document body in the first half, and the table in the second."
+              LayoutImage {IMG} at (377.50,619.50) size 373.50x373.50
+              LayoutBlockFlow {P} at (4,1009) size 747x40
+                LayoutText {#text} at (0,0) size 723x39
+                  text run at (0,0) width 723: "The above image should be a square resized so its width is 50% of its parent element, and aligned at the right edge of the"
+                  text run at (0,20) width 95: "parent element: "
+                  text run at (95,20) width 375: "the document body in the first half, and the table in the second."
+layer at (8,185) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/vertical_formatting-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/vertical_formatting-expected.txt
new file mode 100644
index 0000000..c7b80db3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/formatting_model/vertical_formatting-expected.txt
@@ -0,0 +1,172 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2579
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2579 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2578.78
+    LayoutBlockFlow {BODY} at (8,8) size 769x2562.78 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x320
+        LayoutText {#text} at (0,0) size 496x320
+          text run at (0,0) width 368: "P.one {margin-bottom: 2cm; padding-bottom: 0;}"
+          text run at (368,0) width 0: " "
+          text run at (0,16) width 320: "P.two {margin-top: 2cm; padding-top: 0;}"
+          text run at (320,16) width 0: " "
+          text run at (0,32) width 320: "P.three {margin-top: 0; padding-top: 0;}"
+          text run at (320,32) width 0: " "
+          text run at (0,48) width 344: "P.four {margin-top: -1cm; margin-bottom: 0;"
+          text run at (344,48) width 0: " "
+          text run at (0,64) width 344: "        padding-top: 0; padding-bottom: 0;}"
+          text run at (344,64) width 0: " "
+          text run at (0,80) width 368: "DIV.five {margin-top: 1cm; margin-bottom: 1cm;"
+          text run at (368,80) width 0: " "
+          text run at (0,96) width 376: "          padding-top: 1cm; padding-bottom: 0;}"
+          text run at (376,96) width 0: " "
+          text run at (0,112) width 344: "P.six {margin-top: 1cm; margin-bottom: 1cm;"
+          text run at (344,112) width 0: " "
+          text run at (0,128) width 336: "       padding-top: 0; padding-bottom: 0;}"
+          text run at (336,128) width 0: " "
+          text run at (0,144) width 336: "P.seven {margin-top: 1cm; padding-top: 0;}"
+          text run at (336,144) width 0: " "
+          text run at (0,160) width 408: "P.eight {margin-bottom: -1cm; padding-bottom: 2cm;}"
+          text run at (408,160) width 0: " "
+          text run at (0,176) width 344: "P.nine {margin-top: -1cm; padding-top: 1cm;"
+          text run at (344,176) width 0: " "
+          text run at (0,192) width 376: "        padding-bottom: 0; margin-bottom: 1cm;}"
+          text run at (376,192) width 0: " "
+          text run at (0,208) width 304: "P.ten {margin-top: 1cm;padding-top: 0;"
+          text run at (304,208) width 0: " "
+          text run at (0,224) width 248: "       float: left;width: 50%;}"
+          text run at (248,224) width 0: " "
+          text run at (0,240) width 448: "P.eleven {margin-top: 1cm; padding-top: 0; clear: none;}"
+          text run at (448,240) width 0: " "
+          text run at (0,256) width 496: "P.twelve {margin-bottom: 0; padding-bottom: 1cm; clear: both;}"
+          text run at (496,256) width 0: " "
+          text run at (0,272) width 360: "P.thirteen {margin-top: 0; padding-top: 1cm;}"
+          text run at (360,272) width 0: " "
+          text run at (0,288) width 160: "TABLE {clear: both;}"
+          text run at (160,288) width 0: " "
+          text run at (0,304) width 0: " "
+      LayoutBlockFlow {P} at (0,387) size 769x40
+        LayoutText {#text} at (0,0) size 720x39
+          text run at (0,0) width 720: "There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins should"
+          text run at (0,20) width 240: "collapse to the maximum of the margins."
+      LayoutBlockFlow {P} at (0,502.58) size 769x20
+        LayoutText {#text} at (0,0) size 156x19
+          text run at (0,0) width 156: "This is another paragraph."
+      LayoutBlockFlow {P} at (0,538.58) size 769x20
+        LayoutText {#text} at (0,0) size 472x19
+          text run at (0,0) width 472: "There should be a two-centimeter margin between this paragraph and the next."
+      LayoutBlockFlow {P} at (0,634.16) size 769x20
+        LayoutText {#text} at (0,0) size 156x19
+          text run at (0,0) width 156: "This is another paragraph."
+      LayoutBlockFlow {P} at (0,670.16) size 769x40
+        LayoutText {#text} at (0,0) size 756x39
+          text run at (0,0) width 756: "There should be a one-centimeter margin between this paragraph and the next, because when there is one negative margin, the"
+          text run at (0,20) width 371: "two margins should be added (the minus sign should be kept)."
+      LayoutBlockFlow {P} at (0,747.95) size 769x20
+        LayoutText {#text} at (0,0) size 156x19
+          text run at (0,0) width 156: "This is another paragraph."
+      LayoutBlockFlow {DIV} at (0,805.73) size 769x115.56
+        LayoutBlockFlow {P} at (0,75.56) size 769x40
+          LayoutText {#text} at (0,0) size 752x39
+            text run at (0,0) width 750: "There should be three centimeters between this text and the text above, but only one centimeter between this text and the text"
+            text run at (0,20) width 752: "below, because vertical margins of nested elements should collapse only if there is no border or padding between the margins."
+      LayoutBlockFlow {P} at (0,959.08) size 769x20
+        LayoutText {#text} at (0,0) size 103x19
+          text run at (0,0) width 103: "This is more text."
+      LayoutBlockFlow {P} at (0,995.08) size 769x115.58
+        LayoutText {#text} at (0,0) size 747x39
+          text run at (0,0) width 747: "There should be two centimeters between this paragraph and the one below, because negative margins collapse to a negative"
+          text run at (0,20) width 376: "margin with the largest absolute value of the margins collapsed."
+      LayoutBlockFlow {P} at (0,1072.88) size 769x77.78
+        LayoutText {#text} at (0,38) size 753x39
+          text run at (0,38) width 753: "This is a paragraph, which I should make very long so that you can easily see how much space there is between it and the one"
+          text run at (0,58) width 146: "below it and to the right."
+      LayoutBlockFlow (floating) {P} at (0,1226.22) size 384.50x60
+        LayoutText {#text} at (0,0) size 366x59
+          text run at (0,0) width 366: "There should be two centimeters between this paragraph and"
+          text run at (0,20) width 346: "the one above it, since margins do not collapse on floating"
+          text run at (0,40) width 56: "elements."
+      LayoutBlockFlow {P} at (0,1188.44) size 769x60
+        LayoutText {#text} at (384,0) size 382x59
+          text run at (384,0) width 382: "There should be one centimeter between this paragraph and the"
+          text run at (384,20) width 375: "(non-floating) one above it, since the float should not effect the"
+          text run at (384,40) width 115: "paragraph spacing."
+      LayoutBlockFlow {P} at (0,1302.22) size 769x77.78
+        LayoutText {#text} at (0,0) size 765x39
+          text run at (0,0) width 530: "There should be two centimeters of padding between this paragraph and the one below. "
+          text run at (529,0) width 236: "Padding does not collapse, and there is"
+          text run at (0,20) width 177: "1cm of padding on each side."
+      LayoutBlockFlow {P} at (0,1380) size 769x57.78
+        LayoutText {#text} at (0,38) size 158x19
+          text run at (0,38) width 158: "This is the next paragraph."
+      LayoutTable {TABLE} at (0,1453.78) size 769x1109 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1107
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1079
+            LayoutTableCell {TD} at (0,553) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1078.78 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 720x39
+                  text run at (0,0) width 720: "There should be a two-centimeter margin between this paragraph and the next, because adjacent vertical margins should"
+                  text run at (0,20) width 240: "collapse to the maximum of the margins."
+              LayoutBlockFlow {P} at (4,119.58) size 747x20
+                LayoutText {#text} at (0,0) size 156x19
+                  text run at (0,0) width 156: "This is another paragraph."
+              LayoutBlockFlow {P} at (4,155.58) size 747x20
+                LayoutText {#text} at (0,0) size 472x19
+                  text run at (0,0) width 472: "There should be a two-centimeter margin between this paragraph and the next."
+              LayoutBlockFlow {P} at (4,251.16) size 747x20
+                LayoutText {#text} at (0,0) size 156x19
+                  text run at (0,0) width 156: "This is another paragraph."
+              LayoutBlockFlow {P} at (4,287.16) size 747x40
+                LayoutText {#text} at (0,0) size 734x39
+                  text run at (0,0) width 734: "There should be a one-centimeter margin between this paragraph and the next, because when there is one negative margin,"
+                  text run at (0,20) width 393: "the two margins should be added (the minus sign should be kept)."
+              LayoutBlockFlow {P} at (4,364.95) size 747x20
+                LayoutText {#text} at (0,0) size 156x19
+                  text run at (0,0) width 156: "This is another paragraph."
+              LayoutBlockFlow {DIV} at (4,422.73) size 747x135.56
+                LayoutBlockFlow {P} at (0,75.56) size 747x60
+                  LayoutText {#text} at (0,0) size 724x59
+                    text run at (0,0) width 724: "There should be three centimeters between this text and the text above, but only one centimeter between this text and the"
+                    text run at (0,20) width 724: "text below, because vertical margins of nested elements should collapse only if there is no border or padding between the"
+                    text run at (0,40) width 50: "margins."
+              LayoutBlockFlow {P} at (4,596.08) size 747x20
+                LayoutText {#text} at (0,0) size 103x19
+                  text run at (0,0) width 103: "This is more text."
+              LayoutBlockFlow {P} at (4,632.08) size 747x115.58
+                LayoutText {#text} at (0,0) size 747x39
+                  text run at (0,0) width 747: "There should be two centimeters between this paragraph and the one below, because negative margins collapse to a negative"
+                  text run at (0,20) width 376: "margin with the largest absolute value of the margins collapsed."
+              LayoutBlockFlow {P} at (4,709.88) size 747x77.78
+                LayoutText {#text} at (0,38) size 727x39
+                  text run at (0,38) width 727: "This is a paragraph, which I should make very long so that you can easily see how much space there is between it and the"
+                  text run at (0,58) width 172: "one below it and to the right."
+              LayoutBlockFlow (floating) {P} at (4,863.22) size 373.50x60
+                LayoutText {#text} at (0,0) size 366x59
+                  text run at (0,0) width 366: "There should be two centimeters between this paragraph and"
+                  text run at (0,20) width 346: "the one above it, since margins do not collapse on floating"
+                  text run at (0,40) width 56: "elements."
+              LayoutBlockFlow {P} at (4,825.44) size 747x60
+                LayoutText {#text} at (373,0) size 360x59
+                  text run at (373,0) width 360: "There should be one centimeter between this paragraph and"
+                  text run at (373,20) width 338: "the (non-floating) one above it, since the float should not"
+                  text run at (373,40) width 174: "effect the paragraph spacing."
+              LayoutBlockFlow {P} at (4,939.22) size 747x77.78
+                LayoutText {#text} at (0,0) size 718x39
+                  text run at (0,0) width 530: "There should be two centimeters of padding between this paragraph and the one below. "
+                  text run at (529,0) width 189: "Padding does not collapse, and"
+                  text run at (0,20) width 224: "there is 1cm of padding on each side."
+              LayoutBlockFlow {P} at (4,1017) size 747x57.78
+                LayoutText {#text} at (0,38) size 158x19
+                  text run at (0,38) width 158: "This is the next paragraph."
+layer at (8,377) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,369) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/anchor-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/anchor-expected.txt
new file mode 100644
index 0000000..623f025
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/anchor-expected.txt
@@ -0,0 +1,163 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 737
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x737 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x737
+    LayoutBlockFlow {BODY} at (8,8) size 769x721 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x96
+        LayoutText {#text} at (0,0) size 200x96
+          text run at (0,0) width 136: "A {color: green;}"
+          text run at (136,0) width 0: " "
+          text run at (0,16) width 184: "A:link {color: purple;}"
+          text run at (184,16) width 0: " "
+          text run at (0,32) width 192: "A:visited {color: lime;}"
+          text run at (192,32) width 0: " "
+          text run at (0,48) width 200: "A:active {color: maroon;}"
+          text run at (200,48) width 0: " "
+          text run at (0,64) width 176: "#one {color: #006600;}"
+          text run at (176,64) width 0: " "
+          text run at (0,80) width 0: " "
+      LayoutBlockFlow {P} at (0,163) size 769x20
+        LayoutText {#text} at (0,0) size 477x19
+          text run at (0,0) width 477: "The following anchors should appear as described; none of them should be red."
+      LayoutBlockFlow {UL} at (0,199) size 769x160
+        LayoutListItem {LI} at (40,0) size 729x120
+          LayoutBlockFlow (anonymous) at (0,0) size 729x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 534x19
+              text run at (0,0) width 534: "Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):"
+          LayoutBlockFlow {UL} at (0,20) size 729x100
+            LayoutListItem {LI} at (40,0) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 108x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 108x19
+                  text run at (0,0) width 108: "W3C Web server"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,20) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 109x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 109x19
+                  text run at (0,0) width 109: "NIST Web server"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,40) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 121x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 121x19
+                  text run at (0,0) width 121: "CWRU Web server"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,60) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 45x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 45x19
+                  text run at (0,0) width 45: "Yahoo!"
+              LayoutText {#text} at (0,0) size 0x0
+            LayoutListItem {LI} at (40,80) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 54x19 [color=#800080]
+                LayoutText {#text} at (0,0) size 54x19
+                  text run at (0,0) width 54: "Erewhon"
+              LayoutText {#text} at (54,0) size 209x19
+                text run at (54,0) width 209: " (don't click on it, it goes nowhere)"
+        LayoutListItem {LI} at (40,120) size 729x40
+          LayoutBlockFlow (anonymous) at (0,0) size 729x20
+            LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+            LayoutText {#text} at (0,0) size 192x19
+              text run at (0,0) width 192: "Dark green in any circumstance:"
+          LayoutBlockFlow {UL} at (0,20) size 729x20
+            LayoutListItem {LI} at (40,0) size 689x20
+              LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+              LayoutInline {A} at (0,0) size 121x19 [color=#006600]
+                LayoutText {#text} at (0,0) size 121x19
+                  text run at (0,0) width 121: "CWRU Web server"
+              LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,375) size 769x40
+        LayoutText {#text} at (0,0) size 114x19
+          text run at (0,0) width 114: "The quoted word \""
+        LayoutInline {A} at (0,0) size 41x19 [color=#008000]
+          LayoutText {#text} at (114,0) size 41x19
+            text run at (114,0) width 41: "anchor"
+        LayoutText {#text} at (155,0) size 755x39
+          text run at (155,0) width 360: "\" should be green, NOT purple, since it's part of an anchor. "
+          text run at (514,0) width 241: "It's a named anchor, and styles declared"
+          text run at (0,20) width 283: "for the A tag are applied to them under CSS1. "
+          text run at (283,20) width 310: "It also should NOT turn orange when clicked upon."
+      LayoutTable {TABLE} at (0,431) size 769x290 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x288
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x260
+            LayoutTableCell {TD} at (0,144) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x260 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 477x19
+                  text run at (0,0) width 477: "The following anchors should appear as described; none of them should be red."
+              LayoutBlockFlow {UL} at (4,40) size 747x160
+                LayoutListItem {LI} at (40,0) size 707x120
+                  LayoutBlockFlow (anonymous) at (0,0) size 707x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 534x19
+                      text run at (0,0) width 534: "Purple unvisited, lime (light green) visited, maroon (dark red) while active (being clicked):"
+                  LayoutBlockFlow {UL} at (0,20) size 707x100
+                    LayoutListItem {LI} at (40,0) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 108x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 108x19
+                          text run at (0,0) width 108: "W3C Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,20) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 109x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 109x19
+                          text run at (0,0) width 109: "NIST Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,40) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 121x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 121x19
+                          text run at (0,0) width 121: "CWRU Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,60) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 45x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 45x19
+                          text run at (0,0) width 45: "Yahoo!"
+                      LayoutText {#text} at (0,0) size 0x0
+                    LayoutListItem {LI} at (40,80) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 54x19 [color=#800080]
+                        LayoutText {#text} at (0,0) size 54x19
+                          text run at (0,0) width 54: "Erewhon"
+                      LayoutText {#text} at (54,0) size 209x19
+                        text run at (54,0) width 209: " (don't click on it, it goes nowhere)"
+                LayoutListItem {LI} at (40,120) size 707x40
+                  LayoutBlockFlow (anonymous) at (0,0) size 707x20
+                    LayoutListMarker (anonymous) at (-18,0) size 7x19: bullet
+                    LayoutText {#text} at (0,0) size 192x19
+                      text run at (0,0) width 192: "Dark green in any circumstance:"
+                  LayoutBlockFlow {UL} at (0,20) size 707x20
+                    LayoutListItem {LI} at (40,0) size 667x20
+                      LayoutListMarker (anonymous) at (-18,0) size 7x19: white bullet
+                      LayoutInline {A} at (0,0) size 121x19 [color=#006600]
+                        LayoutText {#text} at (0,0) size 121x19
+                          text run at (0,0) width 121: "CWRU Web server"
+                      LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,216) size 747x40
+                LayoutText {#text} at (0,0) size 114x19
+                  text run at (0,0) width 114: "The quoted word \""
+                LayoutInline {A} at (0,0) size 41x19 [color=#008000]
+                  LayoutText {#text} at (114,0) size 41x19
+                    text run at (114,0) width 41: "anchor"
+                LayoutText {#text} at (155,0) size 699x39
+                  text run at (155,0) width 360: "\" should be green, NOT purple, since it's part of an anchor. "
+                  text run at (514,0) width 185: "It's a named anchor, and styles"
+                  text run at (0,20) width 339: "declared for the A tag are applied to them under CSS1. "
+                  text run at (339,20) width 310: "It also should NOT turn orange when clicked upon."
+layer at (8,153) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,145) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/firstletter-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/firstletter-expected.txt
new file mode 100644
index 0000000..8b383a45
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/firstletter-expected.txt
@@ -0,0 +1,94 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 751
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x751 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x751
+    LayoutBlockFlow {BODY} at (8,8) size 769x735 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 9x19
+            text run at (0,0) width 9: "T"
+        LayoutTextFragment {#text} at (9,0) size 328x19
+          text run at (9,0) width 328: "he style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 312x64
+          text run at (0,0) width 248: "P:first-letter {color: maroon;}"
+          text run at (248,0) width 0: " "
+          text run at (0,16) width 288: ".two:first-letter {font-size: 200%;}"
+          text run at (288,16) width 0: " "
+          text run at (0,32) width 312: "P.three:first-letter {font-size: 350%;}"
+          text run at (312,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x60
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 9x19
+            text run at (0,0) width 9: "T"
+        LayoutTextFragment {#text} at (9,0) size 758x59
+          text run at (9,0) width 414: "he first letter of this paragraph, and only that one, should be maroon. "
+          text run at (423,0) width 335: "If this precise combination does not occur, then the user"
+          text run at (0,20) width 149: "agent has failed this test. "
+          text run at (149,20) width 609: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one"
+          text run at (0,40) width 24: "line."
+      LayoutBlockFlow {P} at (0,207) size 769x77
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 19x36 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 19x36
+            text run at (0,0) width 19: "T"
+        LayoutTextFragment {#text} at (19,13) size 766x63
+          text run at (19,13) width 582: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
+          text run at (600,13) width 158: "If this precise combination"
+          text run at (0,37) width 327: "does not occur, then the user agent has failed this test. "
+          text run at (326,37) width 440: "Remember that in order to ensure a complete test, the paragraph must be"
+          text run at (0,57) width 194: "displayed on more than one line."
+      LayoutBlockFlow {P} at (0,300) size 769x106
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 75x64 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,1) size 75x64
+            text run at (0,1) width 75: "\"W"
+        LayoutTextFragment {#text} at (75,36) size 768x69
+          text run at (75,36) width 305: "e should check for quotation support,\" it was said. "
+          text run at (380,36) width 388: "The first two characters in this paragraph-- a double-quote mark"
+          text run at (0,66) width 525: "and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
+          text run at (525,66) width 209: "Note that this is not required under"
+          text run at (0,86) width 182: "CSS1, but it is recommended."
+      LayoutTable {TABLE} at (0,422) size 769x313 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x311
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x283
+            LayoutTableCell {TD} at (0,155) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x283 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x60
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 9x19
+                    text run at (0,0) width 9: "T"
+                LayoutTextFragment {#text} at (9,0) size 732x59
+                  text run at (9,0) width 414: "he first letter of this paragraph, and only that one, should be maroon. "
+                  text run at (423,0) width 306: "If this precise combination does not occur, then the"
+                  text run at (0,20) width 178: "user agent has failed this test. "
+                  text run at (178,20) width 554: "Remember that in order to ensure a complete test, the paragraph must be displayed on more"
+                  text run at (0,40) width 79: "than one line."
+              LayoutBlockFlow {P} at (4,80) size 747x77
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 19x36 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 19x36
+                    text run at (0,0) width 19: "T"
+                LayoutTextFragment {#text} at (19,13) size 727x63
+                  text run at (19,13) width 582: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
+                  text run at (600,13) width 81: "If this precise"
+                  text run at (0,37) width 404: "combination does not occur, then the user agent has failed this test. "
+                  text run at (403,37) width 324: "Remember that in order to ensure a complete test, the"
+                  text run at (0,57) width 310: "paragraph must be displayed on more than one line."
+              LayoutBlockFlow {P} at (4,173) size 747x106
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 75x64 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,1) size 75x64
+                    text run at (0,1) width 75: "\"W"
+                LayoutTextFragment {#text} at (75,36) size 733x69
+                  text run at (75,36) width 305: "e should check for quotation support,\" it was said. "
+                  text run at (380,36) width 353: "The first two characters in this paragraph-- a double-quote"
+                  text run at (0,66) width 560: "mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
+                  text run at (560,66) width 171: "Note that this is not required"
+                  text run at (0,86) width 220: "under CSS1, but it is recommended."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/firstline-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/firstline-expected.txt
new file mode 100644
index 0000000..8600fd1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/firstline-expected.txt
@@ -0,0 +1,84 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 699
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x699 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x699
+    LayoutBlockFlow {BODY} at (8,8) size 769x683 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 360x64
+          text run at (0,0) width 224: "P:first-line {color: green;}"
+          text run at (224,0) width 0: " "
+          text run at (0,16) width 272: ".two:first-line {font-size: 200%;}"
+          text run at (272,16) width 0: " "
+          text run at (0,32) width 360: ".three:first-line {font-variant: small-caps;}"
+          text run at (360,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x60
+        LayoutText {#text} at (0,0) size 758x59
+          text run at (0,0) width 400: "The first line of this paragraph, and only that one, should be green. "
+          text run at (400,0) width 335: "If this precise combination does not occur, then the user"
+          text run at (0,20) width 149: "agent has failed this test. "
+          text run at (149,20) width 609: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one"
+          text run at (0,40) width 24: "line."
+      LayoutBlockFlow {P} at (0,207) size 769x77
+        LayoutText {#text} at (0,0) size 759x76
+          text run at (0,0) width 749: "The first line of this paragraph, and only that one, should be"
+          text run at (0,37) width 205: "a larger font size as well as green. "
+          text run at (204,37) width 489: "If this precise combination does not occur, then the user agent has failed this test. "
+          text run at (692,37) width 67: "Remember"
+          text run at (0,57) width 567: "that in order to ensure a complete test, the paragraph must be displayed on more than one line."
+      LayoutBlockFlow {P} at (0,300) size 769x80
+        LayoutText {#text} at (0,0) size 763x59
+          text run at (0,0) width 646: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
+          text run at (645,0) width 118: "Thus, if the first"
+          text run at (0,20) width 760: "line is not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test (although"
+          text run at (0,40) width 157: "the problem might be that "
+        LayoutInline {CODE} at (0,0) size 80x16
+          LayoutText {#text} at (157,43) size 80x16
+            text run at (157,43) width 80: "small-caps"
+        LayoutText {#text} at (237,40) size 725x39
+          text run at (237,40) width 218: " is not supported by your browser). "
+          text run at (455,40) width 270: "This is extra text included for the purposes of"
+          text run at (0,60) width 372: "making the paragraph long enough to have more than one line."
+      LayoutTable {TABLE} at (0,396) size 769x287 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x285
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x257
+            LayoutTableCell {TD} at (0,142) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x257 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x60
+                LayoutText {#text} at (0,0) size 735x59
+                  text run at (0,0) width 400: "The first line of this paragraph, and only that one, should be green. "
+                  text run at (400,0) width 335: "If this precise combination does not occur, then the user"
+                  text run at (0,20) width 149: "agent has failed this test. "
+                  text run at (149,20) width 583: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than"
+                  text run at (0,40) width 50: "one line."
+              LayoutBlockFlow {P} at (4,80) size 747x77
+                LayoutText {#text} at (0,0) size 711x76
+                  text run at (0,0) width 711: "The first line of this paragraph, and only that one, should"
+                  text run at (0,37) width 224: "be a larger font size as well as green. "
+                  text run at (223,37) width 485: "If this precise combination does not occur, then the user agent has failed this test."
+                  text run at (0,57) width 637: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
+              LayoutBlockFlow {P} at (4,173) size 747x80
+                LayoutText {#text} at (0,0) size 727x59
+                  text run at (0,0) width 646: "The first line of this paragraph, and only that one, should be displayed in small-caps style. "
+                  text run at (645,0) width 81: "Thus, if the"
+                  text run at (0,20) width 727: "first line is not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test"
+                  text run at (0,40) width 216: "(although the problem might be that "
+                LayoutInline {CODE} at (0,0) size 80x16
+                  LayoutText {#text} at (216,43) size 80x16
+                    text run at (216,43) width 80: "small-caps"
+                LayoutText {#text} at (296,40) size 709x39
+                  text run at (296,40) width 218: " is not supported by your browser). "
+                  text run at (514,40) width 195: "This is extra text included for the"
+                  text run at (0,60) width 447: "purposes of making the paragraph long enough to have more than one line."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt
new file mode 100644
index 0000000..dd895dd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -0,0 +1,103 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1069
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1069 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1069
+    LayoutBlockFlow {BODY} at (8,8) size 769x1053 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 9x19
+            text run at (0,0) width 9: "T"
+        LayoutTextFragment {#text} at (9,0) size 328x19
+          text run at (9,0) width 328: "he style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x112
+        LayoutText {#text} at (0,0) size 368x112
+          text run at (0,0) width 224: "P:first-line {color: green;}"
+          text run at (224,0) width 0: " "
+          text run at (0,16) width 248: "P:first-letter {color: maroon;}"
+          text run at (248,16) width 0: " "
+          text run at (0,32) width 272: ".two:first-line {font-size: 200%;}"
+          text run at (272,32) width 0: " "
+          text run at (0,48) width 288: ".two:first-letter {font-size: 350%;}"
+          text run at (288,48) width 0: " "
+          text run at (0,64) width 312: "P.three:first-letter {font-size: 350%;}"
+          text run at (312,64) width 0: " "
+          text run at (0,80) width 368: "P.three:first-line {font-variant: small-caps;}"
+          text run at (368,80) width 0: " "
+          text run at (0,96) width 0: " "
+      LayoutBlockFlow {P} at (0,179) size 769x60
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,0) size 9x19
+            text run at (0,0) width 9: "T"
+        LayoutTextFragment {#text} at (9,0) size 769x59
+          text run at (9,0) width 727: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be green. "
+          text run at (736,0) width 33: "If this"
+          text run at (0,20) width 451: "precise combination does not occur, then the user agent has failed this test. "
+          text run at (450,20) width 302: "Remember that in order to ensure a complete test,"
+          text run at (0,40) width 332: "the paragraph must be displayed on more than one line."
+      LayoutBlockFlow {P} at (0,255) size 769x192
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 68x127 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,2) size 68x127
+            text run at (0,2) width 68: "T"
+        LayoutTextFragment {#text} at (68,74) size 762x117
+          text run at (68,74) width 621: "he first letter of this paragraph, and only that one,"
+          text run at (0,132) width 762: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line should be"
+          text run at (0,152) width 223: "200% bigger than normal and green. "
+          text run at (223,152) width 484: "If this precise combination does not occur, then the user agent has failed this test."
+          text run at (0,172) width 637: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
+      LayoutBlockFlow {P} at (0,463) size 769x126
+        LayoutInline {<pseudo:first-letter>} at (0,0) size 75x64 [color=#800000]
+          LayoutTextFragment (anonymous) at (0,1) size 75x64
+            text run at (0,1) width 75: "\"W"
+        LayoutTextFragment {#text} at (75,36) size 769x89
+          text run at (75,36) width 359: "e should check for quotation support,\" it was said. "
+          text run at (433,36) width 327: "The first two characters in this paragraph-- a"
+          text run at (0,66) width 711: "double-quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red). "
+          text run at (711,66) width 57: "Note that"
+          text run at (0,86) width 757: "the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it is recommended. "
+          text run at (757,86) width 12: "In"
+          text run at (0,106) width 410: "addition, the entire first line should be in a small-caps font and green."
+      LayoutTable {TABLE} at (0,605) size 769x448 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x446
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x418
+            LayoutTableCell {TD} at (0,223) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x418 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x60
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,0) size 9x19
+                    text run at (0,0) width 9: "T"
+                LayoutTextFragment {#text} at (9,0) size 747x59
+                  text run at (9,0) width 727: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be green. "
+                  text run at (736,0) width 9: "If"
+                  text run at (0,20) width 475: "this precise combination does not occur, then the user agent has failed this test. "
+                  text run at (474,20) width 273: "Remember that in order to ensure a complete"
+                  text run at (0,40) width 361: "test, the paragraph must be displayed on more than one line."
+              LayoutBlockFlow {P} at (4,80) size 747x192
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 68x127 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,2) size 68x127
+                    text run at (0,2) width 68: "T"
+                LayoutTextFragment {#text} at (68,74) size 743x117
+                  text run at (68,74) width 621: "he first letter of this paragraph, and only that one,"
+                  text run at (0,132) width 743: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line should"
+                  text run at (0,152) width 242: "be 200% bigger than normal and green. "
+                  text run at (242,152) width 484: "If this precise combination does not occur, then the user agent has failed this test."
+                  text run at (0,172) width 637: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
+              LayoutBlockFlow {P} at (4,288) size 747x126
+                LayoutInline {<pseudo:first-letter>} at (0,0) size 75x64 [color=#800000]
+                  LayoutTextFragment (anonymous) at (0,1) size 75x64
+                    text run at (0,1) width 75: "\"W"
+                LayoutTextFragment {#text} at (75,36) size 742x89
+                  text run at (75,36) width 359: "e should check for quotation support,\" it was said. "
+                  text run at (433,36) width 309: "The first two characters in this paragraph-"
+                  text run at (0,66) width 728: "- a double-quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red)."
+                  text run at (0,86) width 720: "Note that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it is"
+                  text run at (0,106) width 94: "recommended. "
+                  text run at (94,106) width 426: "In addition, the entire first line should be in a small-caps font and green."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/pseudo_elements_in_selectors-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/pseudo_elements_in_selectors-expected.txt
new file mode 100644
index 0000000..3db0314
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/pseudo/pseudo_elements_in_selectors-expected.txt
@@ -0,0 +1,78 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 605
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x605 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x605
+    LayoutBlockFlow {BODY} at (8,8) size 769x589 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 373x19
+          text run at (0,0) width 373: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x64
+        LayoutText {#text} at (0,0) size 264x64
+          text run at (0,0) width 264: "P:first-line {font-weight: bold;}"
+          text run at (264,0) width 0: " "
+          text run at (0,16) width 256: "P.two:first-line {color: green;}"
+          text run at (256,16) width 0: " "
+          text run at (0,32) width 256: "P:first-line.three {color: red;}"
+          text run at (256,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 769x40
+        LayoutText {#text} at (0,0) size 714x39
+          text run at (0,0) width 336: "The first line of this sentence should be boldfaced. "
+          text run at (336,0) width 378: "This test is included simply to establish a baseline for the"
+          text run at (0,20) width 604: "following tests, since if this test fails, then the rest of the tests on this page are expected to fail as well."
+      LayoutBlockFlow {P} at (0,187) size 769x40
+        LayoutText {#text} at (0,0) size 752x39
+          text run at (0,0) width 552: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
+          text run at (551,0) width 201: "If this is not the case, then the"
+          text run at (0,20) width 541: "user agent may have failed to properly parse the selector, or it may simply not support the "
+        LayoutInline {TT} at (0,0) size 89x16
+          LayoutText {#text} at (540,23) size 89x16
+            text run at (540,23) width 89: ":first-line"
+        LayoutText {#text} at (628,20) size 105x19
+          text run at (628,20) width 105: " pseudo-element."
+      LayoutBlockFlow {P} at (0,243) size 769x80
+        LayoutText {#text} at (0,0) size 757x79
+          text run at (0,0) width 336: "The first line of this sentence should be boldfaced. "
+          text run at (336,0) width 413: "If it is red, then the user agent has violated the specification in"
+          text run at (0,20) width 413: "allowing pseudo-elements at a point other than the end of a selector. "
+          text run at (412,20) width 321: "If neither is the case, then the user agent has correctly"
+          text run at (0,40) width 757: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have failed"
+          text run at (0,60) width 47: "the test."
+      LayoutTable {TABLE} at (0,339) size 769x250 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x248
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x220
+            LayoutTableCell {TD} at (0,124) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x220 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 714x39
+                  text run at (0,0) width 336: "The first line of this sentence should be boldfaced. "
+                  text run at (336,0) width 378: "This test is included simply to establish a baseline for the"
+                  text run at (0,20) width 604: "following tests, since if this test fails, then the rest of the tests on this page are expected to fail as well."
+              LayoutBlockFlow {P} at (4,60) size 747x60
+                LayoutText {#text} at (0,0) size 727x39
+                  text run at (0,0) width 552: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
+                  text run at (551,0) width 176: "If this is not the case, then"
+                  text run at (0,20) width 563: "the user agent may have failed to properly parse the selector, or it may simply not support the "
+                LayoutInline {TT} at (0,0) size 89x16
+                  LayoutText {#text} at (562,23) size 89x16
+                    text run at (562,23) width 89: ":first-line"
+                LayoutText {#text} at (650,20) size 705x39
+                  text run at (650,20) width 55: " pseudo-"
+                  text run at (0,40) width 50: "element."
+              LayoutBlockFlow {P} at (4,136) size 747x80
+                LayoutText {#text} at (0,0) size 747x79
+                  text run at (0,0) width 336: "The first line of this sentence should be boldfaced. "
+                  text run at (336,0) width 397: "If it is red, then the user agent has violated the specification"
+                  text run at (0,20) width 427: "in allowing pseudo-elements at a point other than the end of a selector. "
+                  text run at (426,20) width 321: "If neither is the case, then the user agent has correctly"
+                  text run at (0,40) width 721: "ignored the incorrect selector, but has suppressed other styles which are valid, and therefore must be considered to have"
+                  text run at (0,60) width 83: "failed the test."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/letter_spacing-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/letter_spacing-expected.txt
new file mode 100644
index 0000000..28a3cd6e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/letter_spacing-expected.txt
@@ -0,0 +1,139 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1461
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1461 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1461
+    LayoutBlockFlow {BODY} at (8,8) size 769x1445 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x176
+        LayoutText {#text} at (0,0) size 264x176
+          text run at (0,0) width 232: ".one {letter-spacing: 0.3in;}"
+          text run at (232,0) width 0: " "
+          text run at (0,16) width 232: ".two {letter-spacing: 0.5cm;}"
+          text run at (232,16) width 0: " "
+          text run at (0,32) width 232: ".three {letter-spacing: 5mm;}"
+          text run at (232,32) width 0: " "
+          text run at (0,48) width 224: ".four {letter-spacing: 3pt;}"
+          text run at (224,48) width 0: " "
+          text run at (0,64) width 248: ".five {letter-spacing: 0.25pc;}"
+          text run at (248,64) width 0: " "
+          text run at (0,80) width 216: ".six {letter-spacing: 1em;}"
+          text run at (216,80) width 0: " "
+          text run at (0,96) width 232: ".seven {letter-spacing: 1ex;}"
+          text run at (232,96) width 0: " "
+          text run at (0,112) width 232: ".eight {letter-spacing: 5px;}"
+          text run at (232,112) width 0: " "
+          text run at (0,128) width 248: ".nine {letter-spacing: normal;}"
+          text run at (248,128) width 0: " "
+          text run at (0,144) width 224: ".ten {letter-spacing: 300%;}"
+          text run at (224,144) width 0: " "
+          text run at (0,160) width 264: ".eleven {letter-spacing: -0.1em;}"
+          text run at (264,160) width 0: " "
+      LayoutBlockFlow {P} at (0,243) size 769x80
+        LayoutText {#text} at (0,0) size 703x79
+          text run at (0,0) width 679: "This letters in this"
+          text run at (0,20) width 703: "sentence should have"
+          text run at (0,40) width 672: "extra space between"
+          text run at (0,60) width 177: "them."
+      LayoutBlockFlow {P} at (0,339) size 769x60
+        LayoutText {#text} at (0,0) size 708x59
+          text run at (0,0) width 708: "This letters in this sentence"
+          text run at (0,20) width 579: "should have extra space"
+          text run at (0,40) width 334: "between them."
+      LayoutBlockFlow {P} at (0,415) size 769x60
+        LayoutText {#text} at (0,0) size 708x59
+          text run at (0,0) width 708: "This letters in this sentence"
+          text run at (0,20) width 579: "should have extra space"
+          text run at (0,40) width 334: "between them."
+      LayoutBlockFlow {P} at (0,491) size 769x20
+        LayoutText {#text} at (0,0) size 667x19
+          text run at (0,0) width 667: "This letters in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,527) size 769x20
+        LayoutText {#text} at (0,0) size 667x19
+          text run at (0,0) width 667: "This letters in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,563) size 769x60
+        LayoutText {#text} at (0,0) size 695x59
+          text run at (0,0) width 623: "This letters in this sentence"
+          text run at (0,20) width 695: "should have extra space between"
+          text run at (0,40) width 113: "them."
+      LayoutBlockFlow {P} at (0,639) size 769x40
+        LayoutText {#text} at (0,0) size 678x39
+          text run at (0,0) width 678: "This letters in this sentence should have extra space"
+          text run at (0,20) width 179: "between them."
+      LayoutBlockFlow {P} at (0,695) size 769x40
+        LayoutText {#text} at (0,0) size 734x39
+          text run at (0,0) width 734: "This letters in this sentence should have extra space between them,"
+          text run at (0,20) width 424: "but the last few words in the sentence "
+        LayoutInline {SPAN} at (0,0) size 169x19
+          LayoutText {#text} at (424,20) size 169x19
+            text run at (424,20) width 169: "should show normal spacing"
+        LayoutText {#text} at (593,20) size 9x19
+          text run at (593,20) width 9: "."
+      LayoutBlockFlow {P} at (0,751) size 769x20
+        LayoutText {#text} at (0,0) size 754x19
+          text run at (0,0) width 754: "This letters in this sentence should have normal space between them, since percentage values are not allowed on this property."
+      LayoutBlockFlow {P} at (0,787) size 769x20
+        LayoutText {#text} at (0,0) size 529x19
+          text run at (0,0) width 529: "This letters in this sentence should have reduced space between them, since negative values are allowed on this property."
+      LayoutTable {TABLE} at (0,823) size 769x622 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x620
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x592
+            LayoutTableCell {TD} at (0,310) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x592 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x80
+                LayoutText {#text} at (0,0) size 703x79
+                  text run at (0,0) width 679: "This letters in this"
+                  text run at (0,20) width 703: "sentence should have"
+                  text run at (0,40) width 672: "extra space between"
+                  text run at (0,60) width 177: "them."
+              LayoutBlockFlow {P} at (4,100) size 747x60
+                LayoutText {#text} at (0,0) size 708x59
+                  text run at (0,0) width 708: "This letters in this sentence"
+                  text run at (0,20) width 579: "should have extra space"
+                  text run at (0,40) width 334: "between them."
+              LayoutBlockFlow {P} at (4,176) size 747x60
+                LayoutText {#text} at (0,0) size 708x59
+                  text run at (0,0) width 708: "This letters in this sentence"
+                  text run at (0,20) width 579: "should have extra space"
+                  text run at (0,40) width 334: "between them."
+              LayoutBlockFlow {P} at (4,252) size 747x20
+                LayoutText {#text} at (0,0) size 667x19
+                  text run at (0,0) width 667: "This letters in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,288) size 747x20
+                LayoutText {#text} at (0,0) size 667x19
+                  text run at (0,0) width 667: "This letters in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,324) size 747x60
+                LayoutText {#text} at (0,0) size 695x59
+                  text run at (0,0) width 623: "This letters in this sentence"
+                  text run at (0,20) width 695: "should have extra space between"
+                  text run at (0,40) width 113: "them."
+              LayoutBlockFlow {P} at (4,400) size 747x40
+                LayoutText {#text} at (0,0) size 678x39
+                  text run at (0,0) width 678: "This letters in this sentence should have extra space"
+                  text run at (0,20) width 179: "between them."
+              LayoutBlockFlow {P} at (4,456) size 747x40
+                LayoutText {#text} at (0,0) size 734x39
+                  text run at (0,0) width 734: "This letters in this sentence should have extra space between them,"
+                  text run at (0,20) width 424: "but the last few words in the sentence "
+                LayoutInline {SPAN} at (0,0) size 169x19
+                  LayoutText {#text} at (424,20) size 169x19
+                    text run at (424,20) width 169: "should show normal spacing"
+                LayoutText {#text} at (593,20) size 9x19
+                  text run at (593,20) width 9: "."
+              LayoutBlockFlow {P} at (4,512) size 747x40
+                LayoutText {#text} at (0,0) size 695x39
+                  text run at (0,0) width 695: "This letters in this sentence should have normal space between them, since percentage values are not allowed on this"
+                  text run at (0,20) width 55: "property."
+              LayoutBlockFlow {P} at (4,568) size 747x20
+                LayoutText {#text} at (0,0) size 529x19
+                  text run at (0,0) width 529: "This letters in this sentence should have reduced space between them, since negative values are allowed on this property."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/line_height-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/line_height-expected.txt
new file mode 100644
index 0000000..db9bcba
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/line_height-expected.txt
@@ -0,0 +1,182 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 2641
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x2641 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x2641
+    LayoutBlockFlow {BODY} at (8,8) size 769x2625 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x224
+        LayoutText {#text} at (0,0) size 400x224
+          text run at (0,0) width 344: ".one {line-height: 0.5in; font-size: 12px;}"
+          text run at (344,0) width 0: " "
+          text run at (0,16) width 328: ".two {line-height: 2cm; font-size: 12px;}"
+          text run at (328,16) width 0: " "
+          text run at (0,32) width 352: ".three {line-height: 20mm; font-size: 12px;}"
+          text run at (352,32) width 0: " "
+          text run at (0,48) width 344: ".four {line-height: 24pt; font-size: 12px;}"
+          text run at (344,48) width 0: " "
+          text run at (0,64) width 336: ".five {line-height: 2pc; font-size: 12px;}"
+          text run at (336,64) width 0: " "
+          text run at (0,80) width 328: ".six {line-height: 2em; font-size: 12px;}"
+          text run at (328,80) width 0: " "
+          text run at (0,96) width 344: ".seven {line-height: 3ex; font-size: 12px;}"
+          text run at (344,96) width 0: " "
+          text run at (0,112) width 352: ".eight {line-height: 200%; font-size: 12px;}"
+          text run at (352,112) width 0: " "
+          text run at (0,128) width 320: ".nine {line-height: 2; font-size: 12px;}"
+          text run at (320,128) width 0: " "
+          text run at (0,144) width 336: ".ten {line-height: 50px; font-size: 12px;}"
+          text run at (336,144) width 0: " "
+          text run at (0,160) width 360: ".eleven {line-height: -1em; font-size: 12px;}"
+          text run at (360,160) width 0: " "
+          text run at (0,176) width 400: "TABLE .ten {line-height: normal; font-size: 12px;}"
+          text run at (400,176) width 0: " "
+          text run at (0,192) width 248: "DIV {background-color: silver;}"
+          text run at (248,192) width 0: " "
+          text run at (0,208) width 304: "SPAN.color {background-color: silver;}"
+          text run at (304,208) width 0: " "
+      LayoutBlockFlow {P} at (0,287) size 769x48
+        LayoutText {#text} at (0,16) size 511x15
+          text run at (0,16) width 511: "This sentence should have a line-height of half an inch, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,347) size 769x75
+        LayoutText {#text} at (0,30) size 533x15
+          text run at (0,30) width 533: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,434) size 769x75
+        LayoutText {#text} at (0,30) size 547x15
+          text run at (0,30) width 547: "This sentence should have a line-height of twenty millimeters, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,521) size 769x32
+        LayoutText {#text} at (0,8) size 549x15
+          text run at (0,8) width 549: "This sentence should have a line-height of twenty-four points, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,565) size 769x32
+        LayoutText {#text} at (0,8) size 503x15
+          text run at (0,8) width 503: "This sentence should have a line-height of two picas, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,609) size 769x24
+        LayoutText {#text} at (0,4) size 492x15
+          text run at (0,4) width 492: "This sentence should have a line-height of two em, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,645) size 769x14
+        LayoutText {#text} at (0,-1) size 493x15
+          text run at (0,-1) width 493: "This sentence should have a line-height of three ex, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,671) size 769x24
+        LayoutText {#text} at (0,4) size 545x15
+          text run at (0,4) width 545: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {DIV} at (0,707) size 769x168 [bgcolor=#C0C0C0]
+        LayoutBlockFlow (anonymous) at (0,0) size 769x24
+          LayoutText {#text} at (0,4) size 602x15
+            text run at (0,4) width 602: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+        LayoutBlockFlow {P} at (0,48) size 769x72
+          LayoutText {#text} at (0,-2) size 752x75
+            text run at (0,-2) width 737: "This sentence should have a line-height of twice the DIV's font size, or 28px;"
+            text run at (0,22) width 752: "this should not cause extra spacing between the lines, since the line-height and"
+            text run at (0,46) width 359: "font-size should have the same value."
+        LayoutBlockFlow (anonymous) at (0,144) size 769x24
+          LayoutText {#text} at (0,4) size 615x15
+            text run at (0,4) width 615: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,887) size 769x24
+        LayoutText {#text} at (0,4) size 545x15
+          text run at (0,4) width 545: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {DIV} at (0,923) size 769x240 [bgcolor=#C0C0C0]
+        LayoutBlockFlow (anonymous) at (0,0) size 769x24
+          LayoutText {#text} at (0,4) size 602x15
+            text run at (0,4) width 602: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+        LayoutBlockFlow {P} at (0,48) size 769x144
+          LayoutText {#text} at (0,10) size 737x123
+            text run at (0,10) width 737: "This sentence should have a line-height of twice the font size, which is 200%"
+            text run at (0,58) width 732: "normal thanks to an inline style; this should cause extra spacing between the"
+            text run at (0,106) width 640: "lines, as the font-size will be 28px and the line-height will be 56px."
+        LayoutBlockFlow (anonymous) at (0,216) size 769x24
+          LayoutText {#text} at (0,4) size 615x15
+            text run at (0,4) width 615: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+      LayoutBlockFlow {P} at (0,1175) size 769x100
+        LayoutText {#text} at (0,17) size 756x65
+          text run at (0,17) width 599: "This paragraph should have a line-height of 50 pixels in the first section, which should cause extra spacing between the lines. "
+          text run at (599,17) width 157: "In the second section (within the"
+          text run at (0,67) width 183: "table) its line-height should be normal."
+      LayoutBlockFlow {P} at (0,1287) size 769x16
+        LayoutText {#text} at (0,0) size 515x15
+          text run at (0,0) width 515: "This sentence should have a normal line-height, because negative values are not permitted for this property."
+      LayoutBlockFlow {P} at (0,1315) size 769x150
+        LayoutInline {SPAN} at (0,0) size 767x90 [bgcolor=#C0C0C0]
+          LayoutText {#text} at (0,30) size 767x90
+            text run at (0,30) width 767: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines. The text has a background color of silver, but no"
+            text run at (0,105) width 672: "padding or border. The background color has been set on an inline element and should therefore only cover the text, not the interline spacing."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,1477) size 769x1148 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x1146
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x1118
+            LayoutTableCell {TD} at (0,573) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x1118 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x48
+                LayoutText {#text} at (0,16) size 511x15
+                  text run at (0,16) width 511: "This sentence should have a line-height of half an inch, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,64) size 747x75
+                LayoutText {#text} at (0,30) size 533x15
+                  text run at (0,30) width 533: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,151) size 747x75
+                LayoutText {#text} at (0,30) size 547x15
+                  text run at (0,30) width 547: "This sentence should have a line-height of twenty millimeters, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,238) size 747x32
+                LayoutText {#text} at (0,8) size 549x15
+                  text run at (0,8) width 549: "This sentence should have a line-height of twenty-four points, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,282) size 747x32
+                LayoutText {#text} at (0,8) size 503x15
+                  text run at (0,8) width 503: "This sentence should have a line-height of two picas, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,326) size 747x24
+                LayoutText {#text} at (0,4) size 492x15
+                  text run at (0,4) width 492: "This sentence should have a line-height of two em, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,362) size 747x14
+                LayoutText {#text} at (0,-1) size 493x15
+                  text run at (0,-1) width 493: "This sentence should have a line-height of three ex, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,388) size 747x24
+                LayoutText {#text} at (0,4) size 545x15
+                  text run at (0,4) width 545: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {DIV} at (4,424) size 747x168 [bgcolor=#C0C0C0]
+                LayoutBlockFlow (anonymous) at (0,0) size 747x24
+                  LayoutText {#text} at (0,4) size 602x15
+                    text run at (0,4) width 602: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+                LayoutBlockFlow {P} at (0,48) size 747x72
+                  LayoutText {#text} at (0,-2) size 737x75
+                    text run at (0,-2) width 737: "This sentence should have a line-height of twice the DIV's font size, or 28px;"
+                    text run at (0,22) width 711: "this should not cause extra spacing between the lines, since the line-height"
+                    text run at (0,46) width 400: "and font-size should have the same value."
+                LayoutBlockFlow (anonymous) at (0,144) size 747x24
+                  LayoutText {#text} at (0,4) size 615x15
+                    text run at (0,4) width 615: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,604) size 747x24
+                LayoutText {#text} at (0,4) size 545x15
+                  text run at (0,4) width 545: "This sentence should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {DIV} at (4,640) size 747x240 [bgcolor=#C0C0C0]
+                LayoutBlockFlow (anonymous) at (0,0) size 747x24
+                  LayoutText {#text} at (0,4) size 602x15
+                    text run at (0,4) width 602: "This first part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+                LayoutBlockFlow {P} at (0,48) size 747x144
+                  LayoutText {#text} at (0,10) size 737x123
+                    text run at (0,10) width 737: "This sentence should have a line-height of twice the font size, which is 200%"
+                    text run at (0,58) width 732: "normal thanks to an inline style; this should cause extra spacing between the"
+                    text run at (0,106) width 640: "lines, as the font-size will be 28px and the line-height will be 56px."
+                LayoutBlockFlow (anonymous) at (0,216) size 747x24
+                  LayoutText {#text} at (0,4) size 615x15
+                    text run at (0,4) width 615: "This second part of the DIV should have a line-height of twice the font size, which should cause extra spacing between the lines."
+              LayoutBlockFlow {P} at (4,892) size 747x32
+                LayoutText {#text} at (0,0) size 738x31
+                  text run at (0,0) width 599: "This paragraph should have a line-height of 50 pixels in the first section, which should cause extra spacing between the lines. "
+                  text run at (599,0) width 139: "In the second section (within"
+                  text run at (0,16) width 201: "the table) its line-height should be normal."
+              LayoutBlockFlow {P} at (4,936) size 747x16
+                LayoutText {#text} at (0,0) size 515x15
+                  text run at (0,0) width 515: "This sentence should have a normal line-height, because negative values are not permitted for this property."
+              LayoutBlockFlow {P} at (4,964) size 747x150
+                LayoutInline {SPAN} at (0,0) size 733x90 [bgcolor=#C0C0C0]
+                  LayoutText {#text} at (0,30) size 733x90
+                    text run at (0,30) width 733: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines. The text has a background color of silver,"
+                    text run at (0,105) width 706: "but no padding or border. The background color has been set on an inline element and should therefore only cover the text, not the interline spacing."
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,281) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,273) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_align-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_align-expected.txt
new file mode 100644
index 0000000..6943d4b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_align-expected.txt
@@ -0,0 +1,59 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x80
+        LayoutText {#text} at (0,0) size 224x80
+          text run at (0,0) width 192: ".one {text-align: left;}"
+          text run at (192,0) width 0: " "
+          text run at (0,16) width 200: ".two {text-align: right;}"
+          text run at (200,16) width 0: " "
+          text run at (0,32) width 224: ".three {text-align: center;}"
+          text run at (224,32) width 0: " "
+          text run at (0,48) width 224: ".four {text-align: justify;}"
+          text run at (224,48) width 0: " "
+          text run at (0,64) width 0: " "
+      LayoutBlockFlow {P} at (0,147) size 784x20
+        LayoutText {#text} at (0,0) size 221x19
+          text run at (0,0) width 221: "This sentence should be left-justified."
+      LayoutBlockFlow {P} at (0,183) size 784x20
+        LayoutText {#text} at (555,0) size 229x19
+          text run at (555,0) width 229: "This sentence should be right-justified."
+      LayoutBlockFlow {P} at (0,219) size 784x20
+        LayoutText {#text} at (290,0) size 204x19
+          text run at (290,0) width 204: "This sentence should be centered."
+      LayoutBlockFlow {P} at (0,255) size 784x40
+        LayoutText {#text} at (0,0) size 784x39
+          text run at (0,0) width 784: "This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no matter how"
+          text run at (0,20) width 722: "long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in Western languages."
+      LayoutTable {TABLE} at (0,311) size 784x186 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x184
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x156
+            LayoutTableCell {TD} at (0,92) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x156 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x20
+                LayoutText {#text} at (0,0) size 221x19
+                  text run at (0,0) width 221: "This sentence should be left-justified."
+              LayoutBlockFlow {P} at (4,40) size 762x20
+                LayoutText {#text} at (533,0) size 229x19
+                  text run at (533,0) width 229: "This sentence should be right-justified."
+              LayoutBlockFlow {P} at (4,76) size 762x20
+                LayoutText {#text} at (279,0) size 204x19
+                  text run at (279,0) width 204: "This sentence should be centered."
+              LayoutBlockFlow {P} at (4,112) size 762x40
+                LayoutText {#text} at (0,0) size 762x39
+                  text run at (0,0) width 762: "This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no matter"
+                  text run at (0,20) width 752: "how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in Western languages."
+layer at (8,137) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_decoration-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_decoration-expected.txt
new file mode 100644
index 0000000..48475740
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_decoration-expected.txt
@@ -0,0 +1,199 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1205
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1205 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1205
+    LayoutBlockFlow {BODY} at (8,8) size 769x1189 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x128
+        LayoutText {#text} at (0,0) size 464x128
+          text run at (0,0) width 272: ".one {text-decoration: underline;}"
+          text run at (272,0) width 0: " "
+          text run at (0,16) width 264: ".two {text-decoration: overline;}"
+          text run at (264,16) width 0: " "
+          text run at (0,32) width 312: ".three {text-decoration: line-through;}"
+          text run at (312,32) width 0: " "
+          text run at (0,48) width 248: ".four {text-decoration: blink;}"
+          text run at (248,48) width 0: " "
+          text run at (0,64) width 248: "B.five {text-decoration: none;}"
+          text run at (248,64) width 0: " "
+          text run at (0,80) width 344: ".six {text-decoration: underline overline;}"
+          text run at (344,80) width 0: " "
+          text run at (0,96) width 464: ".seven {text-decoration: underline overline line-through;}"
+          text run at (464,96) width 0: " "
+          text run at (0,112) width 0: " "
+      LayoutBlockFlow {P} at (0,195) size 769x20
+        LayoutText {#text} at (0,0) size 213x19
+          text run at (0,0) width 213: "This sentence should be underlined."
+      LayoutBlockFlow {P} at (0,231) size 769x20
+        LayoutText {#text} at (0,0) size 206x19
+          text run at (0,0) width 206: "This sentence should be overlined."
+      LayoutBlockFlow {P} at (0,267) size 769x20
+        LayoutText {#text} at (0,0) size 316x19
+          text run at (0,0) width 316: "This sentence should have stricken text (linethrough)."
+      LayoutBlockFlow {P} at (0,303) size 769x20
+        LayoutText {#text} at (0,0) size 559x19
+          text run at (0,0) width 195: "This element should be blinking. "
+          text run at (195,0) width 364: "(It is not required, however, that UAs support this behavior.)"
+      LayoutBlockFlow {P} at (0,339) size 769x40
+        LayoutText {#text} at (0,0) size 478x19
+          text run at (0,0) width 273: "The text in this element should be underlined. "
+          text run at (273,0) width 205: "The boldfaced text in this element "
+        LayoutInline {B} at (0,0) size 168x19
+          LayoutText {#text} at (478,0) size 168x19
+            text run at (478,0) width 168: "should also be underlined"
+        LayoutText {#text} at (646,0) size 767x39
+          text run at (646,0) width 8: ". "
+          text run at (654,0) width 113: "This is because the"
+          text run at (0,20) width 600: "parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own."
+      LayoutBlockFlow {P} at (0,395) size 769x20
+        LayoutText {#text} at (0,0) size 298x19
+          text run at (0,0) width 298: "This sentence should be underlined and overlined."
+      LayoutBlockFlow {P} at (0,431) size 769x20
+        LayoutText {#text} at (0,0) size 357x19
+          text run at (0,0) width 357: "This sentence should be underlined, overlined, and stricken."
+      LayoutBlockFlow {P} at (0,467) size 769x0
+      LayoutBlockFlow {P} at (0,467) size 769x40
+        LayoutText {#text} at (0,0) size 739x39
+          text run at (0,0) width 739: "There should be nothing visible between this sentence and the one above (there is an empty paragraph element with class of"
+          text run at (0,20) width 43: "seven)."
+      LayoutBlockFlow {P} at (0,523) size 769x40
+        LayoutText {#text} at (0,0) size 603x19
+          text run at (0,0) width 603: "Text decorations only apply to the text of an element, so the image at the end of this sentence should "
+        LayoutInline {EM} at (0,0) size 22x19
+          LayoutText {#text} at (602,0) size 22x19
+            text run at (602,0) width 22: "not"
+        LayoutText {#text} at (623,0) size 86x19
+          text run at (623,0) width 86: " be overlined: "
+        LayoutImage {IMG} at (708.88,0) size 15x15
+        LayoutText {#text} at (723,0) size 755x39
+          text run at (723,0) width 9: ". "
+          text run at (731,0) width 24: "The"
+          text run at (0,20) width 726: "underline of the parent element should hold true beneath the image, however, since text-decoration 'spans' child elements."
+      LayoutBlockFlow {P} at (0,579) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 95x19
+          text run at (0,0) width 95: "The underlining "
+        LayoutInline {SPAN} at (0,0) size 90x19 [color=#0000FF]
+          LayoutText {#text} at (95,0) size 90x19
+            text run at (95,0) width 90: "in this sentence"
+        LayoutText {#text} at (185,0) size 223x19
+          text run at (185,0) width 223: " should be green, no matter what the "
+        LayoutInline {SPAN} at (0,0) size 105x19 [color=#000000]
+          LayoutText {#text} at (408,0) size 105x19
+            text run at (408,0) width 105: "text color may be"
+        LayoutText {#text} at (513,0) size 4x19
+          text run at (513,0) width 4: "."
+      LayoutBlockFlow {P} at (0,615) size 769x40
+        LayoutText {#text} at (0,0) size 106x19
+          text run at (0,0) width 106: "The colors of the "
+        LayoutInline {SPAN} at (0,0) size 64x19 [color=#800080]
+          LayoutText {#text} at (106,0) size 64x19
+            text run at (106,0) width 64: "underlining"
+        LayoutText {#text} at (170,0) size 18x19
+          text run at (170,0) width 18: " in "
+        LayoutInline {SPAN} at (0,0) size 76x19 [color=#0000FF]
+          LayoutText {#text} at (188,0) size 76x19
+            text run at (188,0) width 76: "this sentence"
+        LayoutText {#text} at (264,0) size 66x19
+          text run at (264,0) width 66: " should be "
+        LayoutInline {SPAN} at (0,0) size 202x19 [color=#808080]
+          LayoutText {#text} at (330,0) size 202x19
+            text run at (330,0) width 202: "the same as that of the parent text"
+        LayoutText {#text} at (532,0) size 760x39
+          text run at (532,0) width 228: " (that is, the first word in the sentence,"
+          text run at (0,20) width 143: "which should be black)."
+      LayoutTable {TABLE} at (0,671) size 769x518 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x516
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x488
+            LayoutTableCell {TD} at (0,258) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x488 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 213x19
+                  text run at (0,0) width 213: "This sentence should be underlined."
+              LayoutBlockFlow {P} at (4,40) size 747x20
+                LayoutText {#text} at (0,0) size 206x19
+                  text run at (0,0) width 206: "This sentence should be overlined."
+              LayoutBlockFlow {P} at (4,76) size 747x20
+                LayoutText {#text} at (0,0) size 316x19
+                  text run at (0,0) width 316: "This sentence should have stricken text (linethrough)."
+              LayoutBlockFlow {P} at (4,112) size 747x20
+                LayoutText {#text} at (0,0) size 559x19
+                  text run at (0,0) width 195: "This element should be blinking. "
+                  text run at (195,0) width 364: "(It is not required, however, that UAs support this behavior.)"
+              LayoutBlockFlow {P} at (4,148) size 747x40
+                LayoutText {#text} at (0,0) size 478x19
+                  text run at (0,0) width 273: "The text in this element should be underlined. "
+                  text run at (273,0) width 205: "The boldfaced text in this element "
+                LayoutInline {B} at (0,0) size 168x19
+                  LayoutText {#text} at (478,0) size 168x19
+                    text run at (478,0) width 168: "should also be underlined"
+                LayoutText {#text} at (646,0) size 745x39
+                  text run at (646,0) width 8: ". "
+                  text run at (654,0) width 91: "This is because"
+                  text run at (0,20) width 622: "the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own."
+              LayoutBlockFlow {P} at (4,204) size 747x20
+                LayoutText {#text} at (0,0) size 298x19
+                  text run at (0,0) width 298: "This sentence should be underlined and overlined."
+              LayoutBlockFlow {P} at (4,240) size 747x20
+                LayoutText {#text} at (0,0) size 357x19
+                  text run at (0,0) width 357: "This sentence should be underlined, overlined, and stricken."
+              LayoutBlockFlow {P} at (4,276) size 747x0
+              LayoutBlockFlow {P} at (4,276) size 747x40
+                LayoutText {#text} at (0,0) size 739x39
+                  text run at (0,0) width 739: "There should be nothing visible between this sentence and the one above (there is an empty paragraph element with class of"
+                  text run at (0,20) width 43: "seven)."
+              LayoutBlockFlow {P} at (4,332) size 747x60
+                LayoutText {#text} at (0,0) size 603x19
+                  text run at (0,0) width 603: "Text decorations only apply to the text of an element, so the image at the end of this sentence should "
+                LayoutInline {EM} at (0,0) size 22x19
+                  LayoutText {#text} at (602,0) size 22x19
+                    text run at (602,0) width 22: "not"
+                LayoutText {#text} at (623,0) size 86x19
+                  text run at (623,0) width 86: " be overlined: "
+                LayoutImage {IMG} at (708.88,0) size 15x15
+                LayoutText {#text} at (723,0) size 728x59
+                  text run at (723,0) width 5: "."
+                  text run at (0,20) width 693: "The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans' child"
+                  text run at (0,40) width 56: "elements."
+              LayoutBlockFlow {P} at (4,408) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 95x19
+                  text run at (0,0) width 95: "The underlining "
+                LayoutInline {SPAN} at (0,0) size 90x19 [color=#0000FF]
+                  LayoutText {#text} at (95,0) size 90x19
+                    text run at (95,0) width 90: "in this sentence"
+                LayoutText {#text} at (185,0) size 223x19
+                  text run at (185,0) width 223: " should be green, no matter what the "
+                LayoutInline {SPAN} at (0,0) size 105x19 [color=#000000]
+                  LayoutText {#text} at (408,0) size 105x19
+                    text run at (408,0) width 105: "text color may be"
+                LayoutText {#text} at (513,0) size 4x19
+                  text run at (513,0) width 4: "."
+              LayoutBlockFlow {P} at (4,444) size 747x40
+                LayoutText {#text} at (0,0) size 106x19
+                  text run at (0,0) width 106: "The colors of the "
+                LayoutInline {SPAN} at (0,0) size 64x19 [color=#800080]
+                  LayoutText {#text} at (106,0) size 64x19
+                    text run at (106,0) width 64: "underlining"
+                LayoutText {#text} at (170,0) size 18x19
+                  text run at (170,0) width 18: " in "
+                LayoutInline {SPAN} at (0,0) size 76x19 [color=#0000FF]
+                  LayoutText {#text} at (188,0) size 76x19
+                    text run at (188,0) width 76: "this sentence"
+                LayoutText {#text} at (264,0) size 66x19
+                  text run at (264,0) width 66: " should be "
+                LayoutInline {SPAN} at (0,0) size 202x19 [color=#808080]
+                  LayoutText {#text} at (330,0) size 202x19
+                    text run at (330,0) width 202: "the same as that of the parent text"
+                LayoutText {#text} at (532,0) size 700x39
+                  text run at (532,0) width 168: " (that is, the first word in the"
+                  text run at (0,20) width 203: "sentence, which should be black)."
+layer at (8,185) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,177) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_indent-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_indent-expected.txt
new file mode 100644
index 0000000..0a5fff13
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_indent-expected.txt
@@ -0,0 +1,137 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1329
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1329 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1329
+    LayoutBlockFlow {BODY} at (8,8) size 769x1313 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x176
+        LayoutText {#text} at (0,0) size 384x176
+          text run at (0,0) width 352: ".one {text-indent: 0.5in; background: aqua;}"
+          text run at (352,0) width 0: " "
+          text run at (0,16) width 336: ".two {text-indent: 2cm; background: aqua;}"
+          text run at (336,16) width 0: " "
+          text run at (0,32) width 360: ".three {text-indent: 20mm; background: aqua;}"
+          text run at (360,32) width 0: " "
+          text run at (0,48) width 352: ".four {text-indent: 24pt; background: aqua;}"
+          text run at (352,48) width 0: " "
+          text run at (0,64) width 344: ".five {text-indent: 2pc; background: aqua;}"
+          text run at (344,64) width 0: " "
+          text run at (0,80) width 336: ".six {text-indent: 2em; background: aqua;}"
+          text run at (336,80) width 0: " "
+          text run at (0,96) width 352: ".seven {text-indent: 2ex; background: aqua;}"
+          text run at (352,96) width 0: " "
+          text run at (0,112) width 352: ".eight {text-indent: 50%; background: aqua;}"
+          text run at (352,112) width 0: " "
+          text run at (0,128) width 352: ".nine {text-indent: 25px; background: aqua;}"
+          text run at (352,128) width 0: " "
+          text run at (0,144) width 384: "blockquote {text-indent: 50%; background: aqua;}"
+          text run at (384,144) width 0: " "
+          text run at (0,160) width 0: " "
+      LayoutBlockFlow {P} at (0,243) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,0) size 361x19
+          text run at (48,0) width 361: "The first line of this sentence should be indented half an inch."
+      LayoutBlockFlow {P} at (0,279) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (75,0) size 390x19
+          text run at (75,0) width 390: "The first line of this sentence should be indented two centimeters."
+      LayoutBlockFlow {P} at (0,315) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (75,0) size 402x19
+          text run at (75,0) width 402: "The first line of this sentence should be indented twenty millimeters."
+      LayoutBlockFlow {P} at (0,351) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (32,0) size 404x19
+          text run at (32,0) width 404: "The first line of this sentence should be indented twenty-four points."
+      LayoutBlockFlow {P} at (0,387) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (32,0) size 352x19
+          text run at (32,0) width 352: "The first line of this sentence should be indented two picas."
+      LayoutBlockFlow {P} at (0,423) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (32,0) size 339x19
+          text run at (32,0) width 339: "The first line of this sentence should be indented two em."
+      LayoutBlockFlow {P} at (0,459) size 769x20 [bgcolor=#00FFFF]
+        LayoutText {#text} at (14,0) size 335x19
+          text run at (14,0) width 335: "The first line of this sentence should be indented two ex."
+      LayoutBlockFlow {P} at (0,495) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (384,0) size 764x39
+          text run at (384,0) width 380: "The first line of this sentence should be indented halfway across"
+          text run at (0,20) width 483: "the page, but the rest of it should be flush with the normal left margin of the page."
+      LayoutBlockFlow {P} at (0,551) size 769x40 [bgcolor=#00FFFF]
+        LayoutText {#text} at (25,0) size 764x39
+          text run at (25,0) width 739: "The first line of this sentence should be indented 25 pixels, but the rest of it should be flush with the normal left margin of the"
+          text run at (0,20) width 33: "page."
+      LayoutBlockFlow {P} at (0,607) size 769x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (48,0) size 389x19
+          text run at (48,0) width 389: "Only the first line of this sentence should be indented half an inch,"
+        LayoutBR {BR} at (437,15) size 0x0
+        LayoutText {#text} at (0,20) size 246x19
+          text run at (0,20) width 246: "no matter where the lines might start, and"
+        LayoutBR {BR} at (246,35) size 0x0
+        LayoutInline {EM} at (0,0) size 201x19
+          LayoutText {#text} at (0,40) size 201x19
+            text run at (0,40) width 201: "regardless of any other markup"
+        LayoutText {#text} at (200,40) size 140x19
+          text run at (200,40) width 140: " which may be present."
+      LayoutBlockFlow {BLOCKQUOTE} at (40,683) size 689x60 [bgcolor=#00FFFF]
+        LayoutText {#text} at (384,0) size 614x59
+          text run at (384,0) width 210: "In the first half of the test page, this"
+          text run at (0,20) width 614: "BLOCKQUOTE element should have a text indent equal to 50% of the BODY element's width, since"
+          text run at (0,40) width 480: "BLOCKQUOTE is a child of BODY; in the second half, it is a child of TABLE."
+      LayoutTable {TABLE} at (0,759) size 769x554 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x552
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x524
+            LayoutTableCell {TD} at (0,276) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x524 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,0) size 361x19
+                  text run at (48,0) width 361: "The first line of this sentence should be indented half an inch."
+              LayoutBlockFlow {P} at (4,40) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (75,0) size 390x19
+                  text run at (75,0) width 390: "The first line of this sentence should be indented two centimeters."
+              LayoutBlockFlow {P} at (4,76) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (75,0) size 402x19
+                  text run at (75,0) width 402: "The first line of this sentence should be indented twenty millimeters."
+              LayoutBlockFlow {P} at (4,112) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (32,0) size 404x19
+                  text run at (32,0) width 404: "The first line of this sentence should be indented twenty-four points."
+              LayoutBlockFlow {P} at (4,148) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (32,0) size 352x19
+                  text run at (32,0) width 352: "The first line of this sentence should be indented two picas."
+              LayoutBlockFlow {P} at (4,184) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (32,0) size 339x19
+                  text run at (32,0) width 339: "The first line of this sentence should be indented two em."
+              LayoutBlockFlow {P} at (4,220) size 747x20 [bgcolor=#00FFFF]
+                LayoutText {#text} at (14,0) size 335x19
+                  text run at (14,0) width 335: "The first line of this sentence should be indented two ex."
+              LayoutBlockFlow {P} at (4,256) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (373,0) size 710x39
+                  text run at (373,0) width 337: "The first line of this sentence should be indented halfway"
+                  text run at (0,20) width 526: "across the page, but the rest of it should be flush with the normal left margin of the page."
+              LayoutBlockFlow {P} at (4,312) size 747x40 [bgcolor=#00FFFF]
+                LayoutText {#text} at (25,0) size 742x39
+                  text run at (25,0) width 717: "The first line of this sentence should be indented 25 pixels, but the rest of it should be flush with the normal left margin of"
+                  text run at (0,20) width 55: "the page."
+              LayoutBlockFlow {P} at (4,368) size 747x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (48,0) size 389x19
+                  text run at (48,0) width 389: "Only the first line of this sentence should be indented half an inch,"
+                LayoutBR {BR} at (437,15) size 0x0
+                LayoutText {#text} at (0,20) size 246x19
+                  text run at (0,20) width 246: "no matter where the lines might start, and"
+                LayoutBR {BR} at (246,35) size 0x0
+                LayoutInline {EM} at (0,0) size 201x19
+                  LayoutText {#text} at (0,40) size 201x19
+                    text run at (0,40) width 201: "regardless of any other markup"
+                LayoutText {#text} at (200,40) size 140x19
+                  text run at (200,40) width 140: " which may be present."
+              LayoutBlockFlow {BLOCKQUOTE} at (44,444) size 667x60 [bgcolor=#00FFFF]
+                LayoutText {#text} at (373,0) size 614x59
+                  text run at (373,0) width 210: "In the first half of the test page, this"
+                  text run at (0,20) width 614: "BLOCKQUOTE element should have a text indent equal to 50% of the BODY element's width, since"
+                  text run at (0,40) width 480: "BLOCKQUOTE is a child of BODY; in the second half, it is a child of TABLE."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_transform-expected.txt
new file mode 100644
index 0000000..a074378b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/text_transform-expected.txt
@@ -0,0 +1,105 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 745
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x745 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x745
+    LayoutBlockFlow {BODY} at (8,8) size 769x729 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x80
+        LayoutText {#text} at (0,0) size 272x80
+          text run at (0,0) width 224: ".ttn {text-transform: none;}"
+          text run at (224,0) width 0: " "
+          text run at (0,16) width 272: ".cap {text-transform: capitalize;}"
+          text run at (272,16) width 0: " "
+          text run at (0,32) width 264: ".upp {text-transform: uppercase;}"
+          text run at (264,32) width 0: " "
+          text run at (0,48) width 264: ".low {text-transform: lowercase;}"
+          text run at (264,48) width 0: " "
+          text run at (0,64) width 0: " "
+      LayoutBlockFlow {P} at (0,147) size 769x20
+        LayoutText {#text} at (0,0) size 740x19
+          text run at (0,0) width 740: "This page tests the 'text-transform' property of CSS1. This paragraph has no text transformation and should appear normal."
+      LayoutBlockFlow {P} at (0,183) size 769x60
+        LayoutText {#text} at (0,0) size 762x59
+          text run at (0,0) width 762: "This Paragraph Is Capitalized And The First Letter In Each Word Should Therefore Appear In Uppercase. Words That Are In"
+          text run at (0,20) width 744: "Uppercase In The Source (E.G. USA) Should Remain So. There Should Be A Capital Letter After A Non-Breaking Space"
+          text run at (0,40) width 420: "(&Nbsp;). Both Those Characters Appear In The Previous Sentence."
+      LayoutBlockFlow {P} at (0,259) size 769x40
+        LayoutText {#text} at (0,0) size 765x39
+          text run at (0,0) width 765: "Words with inline elements inside them should only capitalize the first letter of the word. Therefore, the last word in this sentence"
+          text run at (0,20) width 233: "should have one, and only one, capital "
+        LayoutInline {SPAN} at (0,0) size 36x19
+          LayoutText {#text} at (233,20) size 16x19
+            text run at (233,20) width 16: "Le"
+          LayoutInline {SPAN} at (0,0) size 8x19
+            LayoutText {#text} at (249,20) size 8x19
+              text run at (249,20) width 8: "tt"
+          LayoutText {#text} at (257,20) size 12x19
+            text run at (257,20) width 12: "er"
+        LayoutText {#text} at (269,20) size 4x19
+          text run at (269,20) width 4: "."
+      LayoutBlockFlow {P} at (0,315) size 769x60
+        LayoutText {#text} at (0,0) size 748x39
+          text run at (0,0) width 748: "THIS PARAGRAPH IS UPPERCASED AND SMALL CHARACTERS IN THE SOURCE (E.G. A AND \x{C5}) SHOULD"
+          text run at (0,20) width 272: "THEREFORE APPEAR IN UPPERCASE. "
+          text run at (272,20) width 269: "IN THE LAST SENTENCE, HOWEVER, "
+        LayoutInline {SPAN} at (0,0) size 742x39
+          LayoutText {#text} at (541,20) size 742x39
+            text run at (541,20) width 201: "the last eight words should not be"
+            text run at (0,40) width 62: "uppercase"
+        LayoutText {#text} at (62,40) size 4x19
+          text run at (62,40) width 4: "."
+      LayoutBlockFlow {P} at (0,391) size 769x20
+        LayoutText {#text} at (0,0) size 700x19
+          text run at (0,0) width 700: "this paragraph is lowercased and capital characters in the source (e.g. a and \x{E5}) should therefore appear in lowercase."
+      LayoutTable {TABLE} at (0,427) size 769x302 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x300
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x272
+            LayoutTableCell {TD} at (0,150) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x272 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 740x19
+                  text run at (0,0) width 740: "This page tests the 'text-transform' property of CSS1. This paragraph has no text transformation and should appear normal."
+              LayoutBlockFlow {P} at (4,40) size 747x60
+                LayoutText {#text} at (0,0) size 746x59
+                  text run at (0,0) width 746: "This Paragraph Is Capitalized And The First Letter In Each Word Should Therefore Appear In Uppercase. Words That Are"
+                  text run at (0,20) width 664: "In Uppercase In The Source (E.G. USA) Should Remain So. There Should Be A Capital Letter After A Non-"
+                  text run at (0,40) width 520: "Breaking Space (&Nbsp;). Both Those Characters Appear In The Previous Sentence."
+              LayoutBlockFlow {P} at (4,116) size 747x40
+                LayoutText {#text} at (0,0) size 709x39
+                  text run at (0,0) width 709: "Words with inline elements inside them should only capitalize the first letter of the word. Therefore, the last word in this"
+                  text run at (0,20) width 289: "sentence should have one, and only one, capital "
+                LayoutInline {SPAN} at (0,0) size 36x19
+                  LayoutText {#text} at (289,20) size 16x19
+                    text run at (289,20) width 16: "Le"
+                  LayoutInline {SPAN} at (0,0) size 8x19
+                    LayoutText {#text} at (305,20) size 8x19
+                      text run at (305,20) width 8: "tt"
+                  LayoutText {#text} at (313,20) size 12x19
+                    text run at (313,20) width 12: "er"
+                LayoutText {#text} at (325,20) size 4x19
+                  text run at (325,20) width 4: "."
+              LayoutBlockFlow {P} at (4,172) size 747x60
+                LayoutText {#text} at (0,0) size 681x39
+                  text run at (0,0) width 681: "THIS PARAGRAPH IS UPPERCASED AND SMALL CHARACTERS IN THE SOURCE (E.G. A AND \x{C5})"
+                  text run at (0,20) width 339: "SHOULD THEREFORE APPEAR IN UPPERCASE. "
+                  text run at (339,20) width 269: "IN THE LAST SENTENCE, HOWEVER, "
+                LayoutInline {SPAN} at (0,0) size 724x39
+                  LayoutText {#text} at (608,20) size 724x39
+                    text run at (608,20) width 116: "the last eight words"
+                    text run at (0,40) width 147: "should not be uppercase"
+                LayoutText {#text} at (147,40) size 4x19
+                  text run at (147,40) width 4: "."
+              LayoutBlockFlow {P} at (4,248) size 747x20
+                LayoutText {#text} at (0,0) size 700x19
+                  text run at (0,0) width 700: "this paragraph is lowercased and capital characters in the source (e.g. a and \x{E5}) should therefore appear in lowercase."
+layer at (8,137) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/vertical_align-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/vertical_align-expected.txt
new file mode 100644
index 0000000..8722c3c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/vertical_align-expected.txt
@@ -0,0 +1,717 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 4501
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x4501 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x4501.31
+    LayoutBlockFlow {BODY} at (8,8) size 769x4485.31 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x288
+        LayoutText {#text} at (0,0) size 512x288
+          text run at (0,0) width 160: "P {font-size: 12pt;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 216: ".one {vertical-align: sub;}"
+          text run at (216,16) width 0: " "
+          text run at (0,32) width 232: ".two {vertical-align: super;}"
+          text run at (232,32) width 0: " "
+          text run at (0,48) width 368: ".three {vertical-align: top; font-size: 12pt;}"
+          text run at (368,48) width 0: " "
+          text run at (0,64) width 400: ".four {vertical-align: text-top; font-size: 12pt;}"
+          text run at (400,64) width 0: " "
+          text run at (0,80) width 384: ".five {vertical-align: middle; font-size: 12pt;}"
+          text run at (384,80) width 0: " "
+          text run at (0,96) width 376: ".six {vertical-align: bottom; font-size: 12pt;}"
+          text run at (376,96) width 0: " "
+          text run at (0,112) width 432: ".seven {vertical-align: text-bottom; font-size: 12pt;}"
+          text run at (432,112) width 0: " "
+          text run at (0,128) width 408: ".eight {vertical-align: baseline; font-size: 12pt;}"
+          text run at (408,128) width 0: " "
+          text run at (0,144) width 512: ".nine {vertical-align: 50%; font-size: 12px; line-height: 16px;}"
+          text run at (512,144) width 0: " "
+          text run at (0,160) width 0: " "
+          text run at (0,176) width 224: "P.example {font-size: 14pt;}"
+          text run at (224,176) width 0: " "
+          text run at (0,192) width 176: "BIG {font-size: 16pt;}"
+          text run at (176,192) width 0: " "
+          text run at (0,208) width 192: "SMALL {font-size: 12pt;}"
+          text run at (192,208) width 0: " "
+          text run at (0,224) width 304: ".ttopalign {vertical-align: text-top;}"
+          text run at (304,224) width 0: " "
+          text run at (0,240) width 256: ".topalign {vertical-align: top;}"
+          text run at (256,240) width 0: " "
+          text run at (0,256) width 280: ".midalign {vertical-align: middle;}"
+          text run at (280,256) width 0: " "
+          text run at (0,272) width 0: " "
+      LayoutBlockFlow {P} at (0,355) size 769x79
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 119x19
+          LayoutText {#text} at (15,39) size 119x19
+            text run at (15,39) width 119: "The first four words"
+        LayoutText {#text} at (134,35) size 767x43
+          text run at (134,35) width 270: " in this sentence should be subscript-aligned. "
+          text run at (404,35) width 363: "The font size of the superscripted text should not be different"
+          text run at (0,59) width 188: "from that of the parent element."
+      LayoutBlockFlow {P} at (0,450) size 769x75
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 119x19
+          LayoutText {#text} at (15,29) size 119x19
+            text run at (15,29) width 119: "The first four words"
+        LayoutText {#text} at (134,35) size 767x39
+          text run at (134,35) width 282: " in this sentence should be superscript-aligned. "
+          text run at (416,35) width 351: "The font size of the subscripted text should not be different"
+          text run at (0,55) width 188: "from that of the parent element."
+      LayoutBlockFlow {P} at (0,541) size 769x75
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 119x19
+          LayoutText {#text} at (15,0) size 119x19
+            text run at (15,0) width 119: "The first four words"
+        LayoutText {#text} at (134,35) size 757x39
+          text run at (134,35) width 623: " in this sentence should be top-aligned, which will align their tops with the top of the tallest element in the"
+          text run at (0,55) width 217: "line (probably the orange rectangle)."
+      LayoutBlockFlow {P} at (0,632) size 769x133
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,35) size 4x19
+          text run at (15,35) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 764x110
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 119x19
+            LayoutText {#text} at (19,22) size 119x19
+              text run at (19,22) width 119: "The first four words"
+          LayoutText {#text} at (138,22) size 764x110
+            text run at (138,22) width 626: " in this sentence should be text-top-aligned, which"
+            text run at (0,59) width 733: "should align their tops with the top of the tallest text in the"
+            text run at (0,96) width 55: "line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,781) size 769x70
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,13) size 756x56
+          text run at (15,13) width 741: " The image at the beginning of this sentence should be middle-aligned, which should align its middle with the point defined as"
+          text run at (0,50) width 227: "the text baseline plus half the x-height."
+      LayoutBlockFlow {P} at (0,867) size 769x124
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,13) size 4x19
+          text run at (15,13) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 716x123
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 119x19
+            LayoutText {#text} at (19,30) size 119x19
+              text run at (19,30) width 119: "The first four words"
+          LayoutText {#text} at (138,0) size 716x123
+            text run at (138,0) width 532: " in this sentence should be 12pt in size and"
+            text run at (0,50) width 716: "bottom-aligned, which should align their bottom with the"
+            text run at (0,87) width 506: "bottom of the lowest element in the line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,1007) size 769x161
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,13) size 4x19
+          text run at (15,13) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 718x160
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 276x19
+            LayoutText {#text} at (19,16) size 276x19
+              text run at (19,16) width 276: "The first eight words (\"eight\" has a descender)"
+          LayoutText {#text} at (295,0) size 718x160
+            text run at (295,0) width 423: " in this sentence should be 12pt in"
+            text run at (0,50) width 675: "size and text-bottom-aligned, which should align their"
+            text run at (0,87) width 657: "bottom with the bottom of the lowest text (including"
+            text run at (0,124) width 288: "descenders) in the line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,1184) size 769x133
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutText {#text} at (15,35) size 4x19
+          text run at (15,35) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 742x110
+          LayoutText {#text} at (0,0) size 0x0
+          LayoutInline {SPAN} at (0,0) size 119x19
+            LayoutText {#text} at (19,35) size 119x19
+              text run at (19,35) width 119: "The first four words"
+          LayoutText {#text} at (138,22) size 742x110
+            text run at (138,22) width 532: " in this sentence should be 12pt in size and"
+            text run at (0,59) width 742: "baseline-aligned, which should align their baseline with the"
+            text run at (0,96) width 511: "baseline of the rest of the text in the line."
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,1333) size 769x75
+        LayoutImage {IMG} at (0,0) size 15x50
+        LayoutInline {SPAN} at (0,0) size 98x15
+          LayoutText {#text} at (15,30) size 98x15
+            text run at (15,30) width 98: "The first four words"
+        LayoutText {#text} at (113,35) size 760x39
+          text run at (113,35) width 647: " in this sentence should have a font-size of 12px and a line-height of 16px; they are also 50%-aligned, which"
+          text run at (0,55) width 316: "should raise them 8px relative to the natural baseline."
+      LayoutBlockFlow {P} at (0,1424) size 769x40
+        LayoutText {#text} at (0,0) size 761x39
+          text run at (0,0) width 761: "In the following paragraph, all images should be aligned with the top of the 14-point text, which is identical to the first section of"
+          text run at (0,20) width 561: "text, whereas any size text should be aligned with the text baseline (which is the default value)."
+      LayoutBlockFlow {P} at (0,1482.66) size 769x328
+        LayoutText {#text} at (0,27) size 117x21
+          text run at (0,27) width 117: "This paragraph "
+        LayoutImage {IMG} at (117,27) size 9x30
+        LayoutText {#text} at (126,27) size 5x21
+          text run at (126,27) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 413x53
+          LayoutText {#text} at (131,1) size 413x53
+            text run at (131,1) width 413: "contains many images"
+        LayoutText {#text} at (544,27) size 5x21
+          text run at (544,27) width 5: " "
+        LayoutImage {IMG} at (549,27) size 15x50
+        LayoutText {#text} at (564,27) size 5x21
+          text run at (564,27) width 5: " "
+        LayoutInline {BIG} at (0,0) size 148x23
+          LayoutText {#text} at (569,25) size 148x23
+            text run at (569,25) width 148: "of varying heights"
+        LayoutText {#text} at (717,27) size 5x21
+          text run at (717,27) width 5: " "
+        LayoutImage {IMG} at (722,27) size 3x10
+        LayoutText {#text} at (725,27) size 5x21
+          text run at (725,27) width 5: " "
+        LayoutInline {SMALL} at (0,0) size 752x117
+          LayoutText {#text} at (730,28) size 752x117
+            text run at (730,28) width 22: "and"
+            text run at (0,126) width 39: "widths"
+        LayoutText {#text} at (39,125) size 5x21
+          text run at (39,125) width 5: " "
+        LayoutImage {IMG} at (44,125) size 6x20
+        LayoutText {#text} at (50,125) size 96x21
+          text run at (50,125) width 96: " all of which "
+        LayoutImage {IMG} at (146,125) size 19.50x65
+        LayoutText {#text} at (165,125) size 6x21
+          text run at (165,125) width 6: " "
+        LayoutInline {SPAN} at (0,0) size 255x42
+          LayoutText {#text} at (170,108) size 255x42
+            text run at (170,108) width 255: "should be aligned"
+        LayoutText {#text} at (424,125) size 6x21
+          text run at (424,125) width 6: " "
+        LayoutImage {IMG} at (429.50,125) size 10.50x35
+        LayoutText {#text} at (440,125) size 119x21
+          text run at (440,125) width 119: " with the top of "
+        LayoutImage {IMG} at (559,125) size 9x30
+        LayoutText {#text} at (568,125) size 5x21
+          text run at (568,125) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 685x146
+          LayoutText {#text} at (573,115) size 19x33
+            text run at (573,115) width 19: "a "
+          LayoutInline {SPAN} at (0,0) size 685x193
+            LayoutText {#text} at (592,78) size 685x193
+              text run at (592,78) width 93: "14-"
+              text run at (0,191) width 142: "point"
+          LayoutText {#text} at (142,228) size 142x33
+            text run at (142,228) width 142: " text element"
+        LayoutText {#text} at (284,238) size 5x21
+          text run at (284,238) width 5: " "
+        LayoutImage {IMG} at (289,238) size 15x50
+        LayoutText {#text} at (304,238) size 5x21
+          text run at (304,238) width 5: " "
+        LayoutInline {SMALL} at (0,0) size 176x19
+          LayoutText {#text} at (309,239) size 176x19
+            text run at (309,239) width 176: "regardless of the line in which"
+        LayoutText {#text} at (485,238) size 5x21
+          text run at (485,238) width 5: " "
+        LayoutImage {IMG} at (490,238) size 4.50x15
+        LayoutText {#text} at (494,238) size 6x21
+          text run at (494,238) width 6: " "
+        LayoutInline {BIG} at (0,0) size 152x23
+          LayoutText {#text} at (499,236) size 152x23
+            text run at (499,236) width 152: "the images appear."
+        LayoutText {#text} at (650,238) size 6x21
+          text run at (650,238) width 6: " "
+        LayoutImage {IMG} at (655.31,238) size 27x90
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,1829.31) size 769x40
+        LayoutText {#text} at (0,0) size 751x39
+          text run at (0,0) width 751: "In the following paragraph, all images should be aligned with the middle of the default text, whereas any text should be aligned"
+          text run at (0,20) width 292: "with the text baseline (which is the default value)."
+      LayoutBlockFlow {P} at (0,1885.31) size 769x233
+        LayoutText {#text} at (0,22) size 94x19
+          text run at (0,22) width 94: "This paragraph "
+        LayoutImage {IMG} at (94,19) size 9x30
+        LayoutText {#text} at (103,22) size 4x19
+          text run at (103,22) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 352x46
+          LayoutText {#text} at (107,1) size 352x46
+            text run at (107,1) width 352: "contains many images"
+        LayoutText {#text} at (459,22) size 4x19
+          text run at (459,22) width 4: " "
+        LayoutImage {IMG} at (463,9) size 15x50
+        LayoutText {#text} at (478,22) size 112x19
+          text run at (478,22) width 112: " of varying heights "
+        LayoutImage {IMG} at (590,29) size 3x10
+        LayoutText {#text} at (593,22) size 4x19
+          text run at (593,22) width 4: " "
+        LayoutInline {SMALL} at (0,0) size 65x19
+          LayoutText {#text} at (597,22) size 65x19
+            text run at (597,22) width 65: "and widths"
+        LayoutText {#text} at (662,22) size 4x19
+          text run at (662,22) width 4: " "
+        LayoutImage {IMG} at (666,24) size 6x20
+        LayoutText {#text} at (672,22) size 76x19
+          text run at (672,22) width 76: " all of which "
+        LayoutImage {IMG} at (748,1) size 19.50x65
+        LayoutText {#text} at (0,106) size 108x19
+          text run at (0,106) width 108: "should be aligned "
+        LayoutImage {IMG} at (108,100) size 10.50x35
+        LayoutText {#text} at (118,106) size 5x19
+          text run at (118,106) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 232x36
+          LayoutText {#text} at (122,93) size 232x36
+            text run at (122,93) width 232: "with the middle of"
+        LayoutText {#text} at (353,106) size 5x19
+          text run at (353,106) width 5: " "
+        LayoutImage {IMG} at (357.50,93) size 15x50
+        LayoutText {#text} at (372,106) size 5x19
+          text run at (372,106) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 346x27
+          LayoutText {#text} at (376,100) size 18x27
+            text run at (376,100) width 18: "a "
+          LayoutInline {SPAN} at (0,0) size 204x68
+            LayoutText {#text} at (393,67) size 204x68
+              text run at (393,67) width 204: "14-point"
+          LayoutText {#text} at (596,100) size 126x27
+            text run at (596,100) width 126: " text element"
+        LayoutText {#text} at (721,106) size 5x19
+          text run at (721,106) width 5: " "
+        LayoutImage {IMG} at (725.50,93) size 15x50
+        LayoutText {#text} at (0,0) size 0x0
+        LayoutInline {SMALL} at (0,0) size 176x19
+          LayoutText {#text} at (0,176) size 176x19
+            text run at (0,176) width 176: "regardless of the line in which"
+        LayoutText {#text} at (176,176) size 4x19
+          text run at (176,176) width 4: " "
+        LayoutImage {IMG} at (180,180) size 4.50x15
+        LayoutText {#text} at (184,176) size 5x19
+          text run at (184,176) width 5: " "
+        LayoutInline {BIG} at (0,0) size 152x23
+          LayoutText {#text} at (188,173) size 152x23
+            text run at (188,173) width 152: "the images appear."
+        LayoutText {#text} at (339,176) size 5x19
+          text run at (339,176) width 5: " "
+        LayoutImage {IMG} at (343.31,143) size 27x90
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutBlockFlow {P} at (0,2134.31) size 769x40
+        LayoutText {#text} at (0,0) size 753x39
+          text run at (0,0) width 753: "In the following paragraph, all elements should be aligned with the top of the tallest element on the line, whether that element is"
+          text run at (0,20) width 101: "an image or not. "
+          text run at (101,20) width 532: "Each fragment of text has been SPANned appropriately in order to cause this to happen."
+      LayoutBlockFlow {P} at (0,2190.31) size 769x203
+        LayoutInline {SPAN} at (0,0) size 90x19
+          LayoutText {#text} at (0,0) size 90x19
+            text run at (0,0) width 90: "This paragraph"
+        LayoutText {#text} at (90,0) size 4x19
+          text run at (90,0) width 4: " "
+        LayoutImage {IMG} at (94,0) size 3x10
+        LayoutText {#text} at (97,0) size 4x19
+          text run at (97,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 352x46
+          LayoutText {#text} at (101,1) size 352x46
+            text run at (101,1) width 352: "contains many images"
+        LayoutText {#text} at (453,0) size 4x19
+          text run at (453,0) width 4: " "
+        LayoutImage {IMG} at (457,0) size 3x10
+        LayoutText {#text} at (460,0) size 4x19
+          text run at (460,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 84x19
+          LayoutText {#text} at (464,0) size 84x19
+            text run at (464,0) width 84: "and some text"
+        LayoutText {#text} at (548,0) size 4x19
+          text run at (548,0) width 4: " "
+        LayoutImage {IMG} at (552,0) size 3x10
+        LayoutText {#text} at (555,0) size 4x19
+          text run at (555,0) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 104x19
+          LayoutText {#text} at (559,0) size 104x19
+            text run at (559,0) width 104: "of varying heights"
+        LayoutText {#text} at (663,0) size 4x19
+          text run at (663,0) width 4: " "
+        LayoutImage {IMG} at (667,0) size 3x10
+        LayoutText {#text} at (670,0) size 4x19
+          text run at (670,0) width 4: " "
+        LayoutInline {BIG} at (0,0) size 89x23
+          LayoutText {#text} at (674,0) size 89x23
+            text run at (674,0) width 89: "and widths"
+        LayoutText {#text} at (763,0) size 4x19
+          text run at (763,0) width 4: " "
+        LayoutImage {IMG} at (0,48) size 6x20
+        LayoutText {#text} at (6,48) size 4x19
+          text run at (6,48) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 68x19
+          LayoutText {#text} at (10,48) size 68x19
+            text run at (10,48) width 68: "all of which"
+        LayoutText {#text} at (78,48) size 4x19
+          text run at (78,48) width 4: " "
+        LayoutImage {IMG} at (82,48) size 19.50x65
+        LayoutText {#text} at (101,48) size 5x19
+          text run at (101,48) width 5: " "
+        LayoutInline {SPAN} at (0,0) size 105x19
+          LayoutText {#text} at (105,48) size 105x19
+            text run at (105,48) width 105: "should be aligned"
+        LayoutText {#text} at (209,48) size 5x19
+          text run at (209,48) width 5: " "
+        LayoutImage {IMG} at (213.50,48) size 10.50x35
+        LayoutText {#text} at (224,48) size 4x19
+          text run at (224,48) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 185x36
+          LayoutText {#text} at (228,48) size 185x36
+            text run at (228,48) width 185: "with the top of"
+        LayoutText {#text} at (413,48) size 4x19
+          text run at (413,48) width 4: " "
+        LayoutImage {IMG} at (417,48) size 15x50
+        LayoutText {#text} at (432,48) size 4x19
+          text run at (432,48) width 4: " "
+        LayoutInline {SPAN} at (0,0) size 120x19
+          LayoutText {#text} at (436,48) size 120x19
+            text run at (436,48) width 120: "the tallest element in"
+        LayoutText {#text} at (556,48) size 4x19
+          text run at (556,48) width 4: " "
+        LayoutImage {IMG} at (560,48) size 4.50x15
+        LayoutText {#text} at (564,48) size 5x19
+          text run at (564,48) width 5: " "
+        LayoutInline {BIG} at (0,0) size 720x88
+          LayoutText {#text} at (568,48) size 720x88
+            text run at (568,48) width 152: "whichever line the"
+            text run at (0,113) width 136: "elements appear."
+        LayoutText {#text} at (135,113) size 5x19
+          text run at (135,113) width 5: " "
+        LayoutImage {IMG} at (139.81,113) size 27x90
+        LayoutText {#text} at (0,0) size 0x0
+      LayoutTable {TABLE} at (0,2409.31) size 769x2076 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x2074
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x2046
+            LayoutTableCell {TD} at (0,1037) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x2046.31 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x79
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 119x19
+                  LayoutText {#text} at (15,39) size 119x19
+                    text run at (15,39) width 119: "The first four words"
+                LayoutText {#text} at (134,35) size 714x43
+                  text run at (134,35) width 270: " in this sentence should be subscript-aligned. "
+                  text run at (404,35) width 310: "The font size of the superscripted text should not be"
+                  text run at (0,59) width 241: "different from that of the parent element."
+              LayoutBlockFlow {P} at (4,99) size 747x75
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 119x19
+                  LayoutText {#text} at (15,29) size 119x19
+                    text run at (15,29) width 119: "The first four words"
+                LayoutText {#text} at (134,35) size 714x39
+                  text run at (134,35) width 282: " in this sentence should be superscript-aligned. "
+                  text run at (416,35) width 298: "The font size of the subscripted text should not be"
+                  text run at (0,55) width 241: "different from that of the parent element."
+              LayoutBlockFlow {P} at (4,190) size 747x75
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 119x19
+                  LayoutText {#text} at (15,0) size 119x19
+                    text run at (15,0) width 119: "The first four words"
+                LayoutText {#text} at (134,35) size 735x39
+                  text run at (134,35) width 601: " in this sentence should be top-aligned, which will align their tops with the top of the tallest element in"
+                  text run at (0,55) width 239: "the line (probably the orange rectangle)."
+              LayoutBlockFlow {P} at (4,281) size 747x133
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,35) size 4x19
+                  text run at (15,35) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 739x110
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 119x19
+                    LayoutText {#text} at (19,22) size 119x19
+                      text run at (19,22) width 119: "The first four words"
+                  LayoutText {#text} at (138,22) size 739x110
+                    text run at (138,22) width 542: " in this sentence should be text-top-aligned,"
+                    text run at (0,59) width 739: "which should align their tops with the top of the tallest text"
+                    text run at (0,96) width 133: "in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,430) size 747x70
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,13) size 739x56
+                  text run at (15,13) width 724: " The image at the beginning of this sentence should be middle-aligned, which should align its middle with the point defined"
+                  text run at (0,50) width 244: "as the text baseline plus half the x-height."
+              LayoutBlockFlow {P} at (4,516) size 747x124
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,13) size 4x19
+                  text run at (15,13) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 716x123
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 119x19
+                    LayoutText {#text} at (19,30) size 119x19
+                      text run at (19,30) width 119: "The first four words"
+                  LayoutText {#text} at (138,0) size 716x123
+                    text run at (138,0) width 532: " in this sentence should be 12pt in size and"
+                    text run at (0,50) width 716: "bottom-aligned, which should align their bottom with the"
+                    text run at (0,87) width 506: "bottom of the lowest element in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,656) size 747x161
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,13) size 4x19
+                  text run at (15,13) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 718x160
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 276x19
+                    LayoutText {#text} at (19,16) size 276x19
+                      text run at (19,16) width 276: "The first eight words (\"eight\" has a descender)"
+                  LayoutText {#text} at (295,0) size 718x160
+                    text run at (295,0) width 423: " in this sentence should be 12pt in"
+                    text run at (0,50) width 675: "size and text-bottom-aligned, which should align their"
+                    text run at (0,87) width 657: "bottom with the bottom of the lowest text (including"
+                    text run at (0,124) width 288: "descenders) in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,833) size 747x133
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutText {#text} at (15,35) size 4x19
+                  text run at (15,35) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 742x110
+                  LayoutText {#text} at (0,0) size 0x0
+                  LayoutInline {SPAN} at (0,0) size 119x19
+                    LayoutText {#text} at (19,35) size 119x19
+                      text run at (19,35) width 119: "The first four words"
+                  LayoutText {#text} at (138,22) size 742x110
+                    text run at (138,22) width 532: " in this sentence should be 12pt in size and"
+                    text run at (0,59) width 742: "baseline-aligned, which should align their baseline with the"
+                    text run at (0,96) width 511: "baseline of the rest of the text in the line."
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,982) size 747x75
+                LayoutImage {IMG} at (0,0) size 15x50
+                LayoutInline {SPAN} at (0,0) size 98x15
+                  LayoutText {#text} at (15,30) size 98x15
+                    text run at (15,30) width 98: "The first four words"
+                LayoutText {#text} at (113,35) size 721x39
+                  text run at (113,35) width 608: " in this sentence should have a font-size of 12px and a line-height of 16px; they are also 50%-aligned,"
+                  text run at (0,55) width 355: "which should raise them 8px relative to the natural baseline."
+              LayoutBlockFlow {P} at (4,1073) size 747x40
+                LayoutText {#text} at (0,0) size 745x39
+                  text run at (0,0) width 745: "In the following paragraph, all images should be aligned with the top of the 14-point text, which is identical to the first section"
+                  text run at (0,20) width 577: "of text, whereas any size text should be aligned with the text baseline (which is the default value)."
+              LayoutBlockFlow {P} at (4,1131.66) size 747x328
+                LayoutText {#text} at (0,27) size 117x21
+                  text run at (0,27) width 117: "This paragraph "
+                LayoutImage {IMG} at (117,27) size 9x30
+                LayoutText {#text} at (126,27) size 5x21
+                  text run at (126,27) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 413x53
+                  LayoutText {#text} at (131,1) size 413x53
+                    text run at (131,1) width 413: "contains many images"
+                LayoutText {#text} at (544,27) size 5x21
+                  text run at (544,27) width 5: " "
+                LayoutImage {IMG} at (549,27) size 15x50
+                LayoutText {#text} at (564,27) size 5x21
+                  text run at (564,27) width 5: " "
+                LayoutInline {BIG} at (0,0) size 148x23
+                  LayoutText {#text} at (569,25) size 148x23
+                    text run at (569,25) width 148: "of varying heights"
+                LayoutText {#text} at (717,27) size 5x21
+                  text run at (717,27) width 5: " "
+                LayoutImage {IMG} at (722,27) size 3x10
+                LayoutText {#text} at (0,0) size 0x0
+                LayoutInline {SMALL} at (0,0) size 65x19
+                  LayoutText {#text} at (0,126) size 65x19
+                    text run at (0,126) width 65: "and widths"
+                LayoutText {#text} at (65,125) size 5x21
+                  text run at (65,125) width 5: " "
+                LayoutImage {IMG} at (70,125) size 6x20
+                LayoutText {#text} at (76,125) size 96x21
+                  text run at (76,125) width 96: " all of which "
+                LayoutImage {IMG} at (172,125) size 19.50x65
+                LayoutText {#text} at (191,125) size 6x21
+                  text run at (191,125) width 6: " "
+                LayoutInline {SPAN} at (0,0) size 255x42
+                  LayoutText {#text} at (196,108) size 255x42
+                    text run at (196,108) width 255: "should be aligned"
+                LayoutText {#text} at (450,125) size 6x21
+                  text run at (450,125) width 6: " "
+                LayoutImage {IMG} at (455.50,125) size 10.50x35
+                LayoutText {#text} at (466,125) size 119x21
+                  text run at (466,125) width 119: " with the top of "
+                LayoutImage {IMG} at (585,125) size 9x30
+                LayoutText {#text} at (594,125) size 5x21
+                  text run at (594,125) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 711x146
+                  LayoutText {#text} at (599,115) size 19x33
+                    text run at (599,115) width 19: "a "
+                  LayoutInline {SPAN} at (0,0) size 711x193
+                    LayoutText {#text} at (618,78) size 711x193
+                      text run at (618,78) width 93: "14-"
+                      text run at (0,191) width 142: "point"
+                  LayoutText {#text} at (142,228) size 142x33
+                    text run at (142,228) width 142: " text element"
+                LayoutText {#text} at (284,238) size 5x21
+                  text run at (284,238) width 5: " "
+                LayoutImage {IMG} at (289,238) size 15x50
+                LayoutText {#text} at (304,238) size 5x21
+                  text run at (304,238) width 5: " "
+                LayoutInline {SMALL} at (0,0) size 176x19
+                  LayoutText {#text} at (309,239) size 176x19
+                    text run at (309,239) width 176: "regardless of the line in which"
+                LayoutText {#text} at (485,238) size 5x21
+                  text run at (485,238) width 5: " "
+                LayoutImage {IMG} at (490,238) size 4.50x15
+                LayoutText {#text} at (494,238) size 6x21
+                  text run at (494,238) width 6: " "
+                LayoutInline {BIG} at (0,0) size 152x23
+                  LayoutText {#text} at (499,236) size 152x23
+                    text run at (499,236) width 152: "the images appear."
+                LayoutText {#text} at (650,238) size 6x21
+                  text run at (650,238) width 6: " "
+                LayoutImage {IMG} at (655.31,238) size 27x90
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,1478.31) size 747x40
+                LayoutText {#text} at (0,0) size 705x39
+                  text run at (0,0) width 705: "In the following paragraph, all images should be aligned with the middle of the default text, whereas any text should be"
+                  text run at (0,20) width 338: "aligned with the text baseline (which is the default value)."
+              LayoutBlockFlow {P} at (4,1534.31) size 747x233
+                LayoutText {#text} at (0,22) size 94x19
+                  text run at (0,22) width 94: "This paragraph "
+                LayoutImage {IMG} at (94,19) size 9x30
+                LayoutText {#text} at (103,22) size 4x19
+                  text run at (103,22) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 352x46
+                  LayoutText {#text} at (107,1) size 352x46
+                    text run at (107,1) width 352: "contains many images"
+                LayoutText {#text} at (459,22) size 4x19
+                  text run at (459,22) width 4: " "
+                LayoutImage {IMG} at (463,9) size 15x50
+                LayoutText {#text} at (478,22) size 112x19
+                  text run at (478,22) width 112: " of varying heights "
+                LayoutImage {IMG} at (590,29) size 3x10
+                LayoutText {#text} at (593,22) size 4x19
+                  text run at (593,22) width 4: " "
+                LayoutInline {SMALL} at (0,0) size 65x19
+                  LayoutText {#text} at (597,22) size 65x19
+                    text run at (597,22) width 65: "and widths"
+                LayoutText {#text} at (662,22) size 4x19
+                  text run at (662,22) width 4: " "
+                LayoutImage {IMG} at (666,24) size 6x20
+                LayoutText {#text} at (672,22) size 72x19
+                  text run at (672,22) width 72: " all of which"
+                LayoutImage {IMG} at (0,78) size 19.50x65
+                LayoutText {#text} at (19,99) size 113x19
+                  text run at (19,99) width 113: " should be aligned "
+                LayoutImage {IMG} at (131.50,93) size 10.50x35
+                LayoutText {#text} at (142,99) size 4x19
+                  text run at (142,99) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 231x36
+                  LayoutText {#text} at (146,86) size 231x36
+                    text run at (146,86) width 231: "with the middle of"
+                LayoutText {#text} at (377,99) size 4x19
+                  text run at (377,99) width 4: " "
+                LayoutImage {IMG} at (381,86) size 15x50
+                LayoutText {#text} at (396,99) size 4x19
+                  text run at (396,99) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 345x27
+                  LayoutText {#text} at (400,93) size 17x27
+                    text run at (400,93) width 17: "a "
+                  LayoutInline {SPAN} at (0,0) size 203x68
+                    LayoutText {#text} at (417,60) size 203x68
+                      text run at (417,60) width 203: "14-point"
+                  LayoutText {#text} at (620,93) size 125x27
+                    text run at (620,93) width 125: " text element"
+                LayoutText {#text} at (0,0) size 0x0
+                LayoutImage {IMG} at (0,163) size 15x50
+                LayoutText {#text} at (15,176) size 4x19
+                  text run at (15,176) width 4: " "
+                LayoutInline {SMALL} at (0,0) size 176x19
+                  LayoutText {#text} at (19,176) size 176x19
+                    text run at (19,176) width 176: "regardless of the line in which"
+                LayoutText {#text} at (195,176) size 4x19
+                  text run at (195,176) width 4: " "
+                LayoutImage {IMG} at (199,180) size 4.50x15
+                LayoutText {#text} at (203,176) size 5x19
+                  text run at (203,176) width 5: " "
+                LayoutInline {BIG} at (0,0) size 152x23
+                  LayoutText {#text} at (207,173) size 152x23
+                    text run at (207,173) width 152: "the images appear."
+                LayoutText {#text} at (358,176) size 5x19
+                  text run at (358,176) width 5: " "
+                LayoutImage {IMG} at (362.31,143) size 27x90
+                LayoutText {#text} at (0,0) size 0x0
+              LayoutBlockFlow {P} at (4,1783.31) size 747x40
+                LayoutText {#text} at (0,0) size 740x39
+                  text run at (0,0) width 740: "In the following paragraph, all elements should be aligned with the top of the tallest element on the line, whether that element"
+                  text run at (0,20) width 114: "is an image or not. "
+                  text run at (114,20) width 532: "Each fragment of text has been SPANned appropriately in order to cause this to happen."
+              LayoutBlockFlow {P} at (4,1839.31) size 747x203
+                LayoutInline {SPAN} at (0,0) size 90x19
+                  LayoutText {#text} at (0,0) size 90x19
+                    text run at (0,0) width 90: "This paragraph"
+                LayoutText {#text} at (90,0) size 4x19
+                  text run at (90,0) width 4: " "
+                LayoutImage {IMG} at (94,0) size 3x10
+                LayoutText {#text} at (97,0) size 4x19
+                  text run at (97,0) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 352x46
+                  LayoutText {#text} at (101,1) size 352x46
+                    text run at (101,1) width 352: "contains many images"
+                LayoutText {#text} at (453,0) size 4x19
+                  text run at (453,0) width 4: " "
+                LayoutImage {IMG} at (457,0) size 3x10
+                LayoutText {#text} at (460,0) size 4x19
+                  text run at (460,0) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 84x19
+                  LayoutText {#text} at (464,0) size 84x19
+                    text run at (464,0) width 84: "and some text"
+                LayoutText {#text} at (548,0) size 4x19
+                  text run at (548,0) width 4: " "
+                LayoutImage {IMG} at (552,0) size 3x10
+                LayoutText {#text} at (555,0) size 4x19
+                  text run at (555,0) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 104x19
+                  LayoutText {#text} at (559,0) size 104x19
+                    text run at (559,0) width 104: "of varying heights"
+                LayoutText {#text} at (663,0) size 4x19
+                  text run at (663,0) width 4: " "
+                LayoutImage {IMG} at (667,0) size 3x10
+                LayoutText {#text} at (670,0) size 4x19
+                  text run at (670,0) width 4: " "
+                LayoutInline {BIG} at (0,0) size 703x71
+                  LayoutText {#text} at (674,0) size 703x71
+                    text run at (674,0) width 29: "and"
+                    text run at (0,48) width 55: "widths"
+                LayoutText {#text} at (55,48) size 4x19
+                  text run at (55,48) width 4: " "
+                LayoutImage {IMG} at (59,48) size 6x20
+                LayoutText {#text} at (65,48) size 4x19
+                  text run at (65,48) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 68x19
+                  LayoutText {#text} at (69,48) size 68x19
+                    text run at (69,48) width 68: "all of which"
+                LayoutText {#text} at (137,48) size 4x19
+                  text run at (137,48) width 4: " "
+                LayoutImage {IMG} at (141,48) size 19.50x65
+                LayoutText {#text} at (160,48) size 5x19
+                  text run at (160,48) width 5: " "
+                LayoutInline {SPAN} at (0,0) size 105x19
+                  LayoutText {#text} at (164,48) size 105x19
+                    text run at (164,48) width 105: "should be aligned"
+                LayoutText {#text} at (268,48) size 5x19
+                  text run at (268,48) width 5: " "
+                LayoutImage {IMG} at (272.50,48) size 10.50x35
+                LayoutText {#text} at (283,48) size 4x19
+                  text run at (283,48) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 185x36
+                  LayoutText {#text} at (287,48) size 185x36
+                    text run at (287,48) width 185: "with the top of"
+                LayoutText {#text} at (472,48) size 4x19
+                  text run at (472,48) width 4: " "
+                LayoutImage {IMG} at (476,48) size 15x50
+                LayoutText {#text} at (491,48) size 4x19
+                  text run at (491,48) width 4: " "
+                LayoutInline {SPAN} at (0,0) size 120x19
+                  LayoutText {#text} at (495,48) size 120x19
+                    text run at (495,48) width 120: "the tallest element in"
+                LayoutText {#text} at (615,48) size 4x19
+                  text run at (615,48) width 4: " "
+                LayoutImage {IMG} at (619,48) size 4.50x15
+                LayoutText {#text} at (623,48) size 5x19
+                  text run at (623,48) width 5: " "
+                LayoutInline {BIG} at (0,0) size 713x88
+                  LayoutText {#text} at (627,48) size 713x88
+                    text run at (627,48) width 86: "whichever"
+                    text run at (0,113) width 202: "line the elements appear."
+                LayoutText {#text} at (201,113) size 5x19
+                  text run at (201,113) width 5: " "
+                LayoutImage {IMG} at (205.81,113) size 27x90
+                LayoutText {#text} at (0,0) size 0x0
+layer at (8,345) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,337) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/word_spacing-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/word_spacing-expected.txt
new file mode 100644
index 0000000..de9319d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/text_properties/word_spacing-expected.txt
@@ -0,0 +1,118 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1057
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1057 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1057
+    LayoutBlockFlow {BODY} at (8,8) size 769x1041 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x192
+        LayoutText {#text} at (0,0) size 248x192
+          text run at (0,0) width 216: ".one {word-spacing: 0.3in;}"
+          text run at (216,0) width 0: " "
+          text run at (0,16) width 216: ".two {word-spacing: 0.5cm;}"
+          text run at (216,16) width 0: " "
+          text run at (0,32) width 216: ".three {word-spacing: 5mm;}"
+          text run at (216,32) width 0: " "
+          text run at (0,48) width 208: ".four {word-spacing: 3pt;}"
+          text run at (208,48) width 0: " "
+          text run at (0,64) width 232: ".five {word-spacing: 0.25pc;}"
+          text run at (232,64) width 0: " "
+          text run at (0,80) width 200: ".six {word-spacing: 1em;}"
+          text run at (200,80) width 0: " "
+          text run at (0,96) width 216: ".seven {word-spacing: 1ex;}"
+          text run at (216,96) width 0: " "
+          text run at (0,112) width 216: ".eight {word-spacing: 5px;}"
+          text run at (216,112) width 0: " "
+          text run at (0,128) width 232: ".nine {word-spacing: normal;}"
+          text run at (232,128) width 0: " "
+          text run at (0,144) width 208: ".ten {word-spacing: 300%;}"
+          text run at (208,144) width 0: " "
+          text run at (0,160) width 248: ".eleven {word-spacing: -0.2em;}"
+          text run at (248,160) width 0: " "
+          text run at (0,176) width 0: " "
+      LayoutBlockFlow {P} at (0,259) size 769x20
+        LayoutText {#text} at (0,0) size 689x19
+          text run at (0,0) width 689: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,295) size 769x20
+        LayoutText {#text} at (0,0) size 590x19
+          text run at (0,0) width 590: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,331) size 769x20
+        LayoutText {#text} at (0,0) size 590x19
+          text run at (0,0) width 590: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,367) size 769x20
+        LayoutText {#text} at (0,0) size 441x19
+          text run at (0,0) width 441: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,403) size 769x20
+        LayoutText {#text} at (0,0) size 441x19
+          text run at (0,0) width 441: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,439) size 769x20
+        LayoutText {#text} at (0,0) size 561x19
+          text run at (0,0) width 561: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,475) size 769x20
+        LayoutText {#text} at (0,0) size 471x19
+          text run at (0,0) width 471: "This words in this sentence should have extra space between them."
+      LayoutBlockFlow {P} at (0,511) size 769x40
+        LayoutText {#text} at (0,0) size 729x19
+          text run at (0,0) width 729: "This words in this sentence should have extra space between them, but the last few words in the sentence "
+        LayoutInline {SPAN} at (0,0) size 768x39
+          LayoutText {#text} at (729,0) size 768x39
+            text run at (729,0) width 39: "should"
+            text run at (0,20) width 122: "have normal spacing"
+        LayoutText {#text} at (122,20) size 4x19
+          text run at (122,20) width 4: "."
+      LayoutBlockFlow {P} at (0,567) size 769x20
+        LayoutText {#text} at (0,0) size 636x19
+          text run at (0,0) width 636: "This sentence should have normal word-spacing, since percentage values are not allowed on this property."
+      LayoutBlockFlow {P} at (0,603) size 769x20
+        LayoutText {#text} at (0,0) size 667x19
+          text run at (0,0) width 667: "This words in this sentence should have reduced space between them, since negative values are allowed on this property."
+      LayoutTable {TABLE} at (0,639) size 769x402 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x400
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x372
+            LayoutTableCell {TD} at (0,200) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x372 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 689x19
+                  text run at (0,0) width 689: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,40) size 747x20
+                LayoutText {#text} at (0,0) size 590x19
+                  text run at (0,0) width 590: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,76) size 747x20
+                LayoutText {#text} at (0,0) size 590x19
+                  text run at (0,0) width 590: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,112) size 747x20
+                LayoutText {#text} at (0,0) size 441x19
+                  text run at (0,0) width 441: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,148) size 747x20
+                LayoutText {#text} at (0,0) size 441x19
+                  text run at (0,0) width 441: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,184) size 747x20
+                LayoutText {#text} at (0,0) size 561x19
+                  text run at (0,0) width 561: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,220) size 747x20
+                LayoutText {#text} at (0,0) size 471x19
+                  text run at (0,0) width 471: "This words in this sentence should have extra space between them."
+              LayoutBlockFlow {P} at (4,256) size 747x40
+                LayoutText {#text} at (0,0) size 720x19
+                  text run at (0,0) width 720: "This words in this sentence should have extra space between them, but the last few words in the sentence"
+                LayoutInline {SPAN} at (0,0) size 165x19
+                  LayoutText {#text} at (0,20) size 165x19
+                    text run at (0,20) width 165: "should have normal spacing"
+                LayoutText {#text} at (165,20) size 4x19
+                  text run at (165,20) width 4: "."
+              LayoutBlockFlow {P} at (4,312) size 747x20
+                LayoutText {#text} at (0,0) size 636x19
+                  text run at (0,0) width 636: "This sentence should have normal word-spacing, since percentage values are not allowed on this property."
+              LayoutBlockFlow {P} at (4,348) size 747x20
+                LayoutText {#text} at (0,0) size 667x19
+                  text run at (0,0) width 667: "This words in this sentence should have reduced space between them, since negative values are allowed on this property."
+layer at (8,249) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/color_units-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/color_units-expected.txt
new file mode 100644
index 0000000..6d7f0f2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/color_units-expected.txt
@@ -0,0 +1,236 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1745
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1745 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1745
+    LayoutBlockFlow {BODY} at (8,8) size 769x1729 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x192
+        LayoutText {#text} at (0,0) size 288x192
+          text run at (0,0) width 160: "BODY {color: black;}"
+          text run at (160,0) width 0: " "
+          text run at (0,16) width 152: ".one {color: #080;}"
+          text run at (152,16) width 0: " "
+          text run at (0,32) width 176: ".two {color: #008000;}"
+          text run at (176,32) width 0: " "
+          text run at (0,48) width 232: ".three {color: rgb(0,128,0);}"
+          text run at (232,48) width 0: " "
+          text run at (0,64) width 240: ".four {color: rgb(0%,50%,0%);}"
+          text run at (240,64) width 0: " "
+          text run at (0,80) width 288: ".five {color: rgb(0.0%,50.0%,0.0%);}"
+          text run at (288,80) width 0: " "
+          text run at (0,96) width 160: ".six {color: green;}"
+          text run at (160,96) width 0: " "
+          text run at (0,112) width 232: ".seven {color: invalidValue;}"
+          text run at (232,112) width 0: " "
+          text run at (0,128) width 256: ".eight {color: rgb(0,128,1280);}"
+          text run at (256,128) width 0: " "
+          text run at (0,144) width 240: ".nine {color: rgb(0,128,255);}"
+          text run at (240,144) width 0: " "
+          text run at (0,160) width 264: ".ten {color: rgb(50%,-500%,60%);}"
+          text run at (264,160) width 0: " "
+          text run at (0,176) width 264: ".eleven {color: rgb(50%,0%,60%);}"
+          text run at (264,176) width 0: " "
+      LayoutBlockFlow {P} at (0,259) size 769x20
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,295) size 769x20 [color=#008800]
+        LayoutText {#text} at (0,0) size 473x19
+          text run at (0,0) width 473: "This sentence should be green, although slightly different from those that follow."
+      LayoutBlockFlow {P} at (0,331) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,367) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,403) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,439) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,475) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be green."
+      LayoutBlockFlow {P} at (0,511) size 769x20
+        LayoutText {#text} at (0,0) size 387x19
+          text run at (0,0) width 387: "This sentence should be black, because the value given for class "
+        LayoutInline {CODE} at (0,0) size 48x16
+          LayoutText {#text} at (387,3) size 48x16
+            text run at (387,3) width 48: ".seven"
+        LayoutText {#text} at (435,0) size 59x19
+          text run at (435,0) width 59: " is invalid."
+      LayoutBlockFlow {P} at (0,547) size 769x20 [color=#0080FF]
+        LayoutText {#text} at (0,0) size 757x19
+          text run at (0,0) width 757: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next paragraph."
+      LayoutBlockFlow {P} at (0,583) size 769x40 [color=#0080FF]
+        LayoutText {#text} at (0,0) size 714x39
+          text run at (0,0) width 714: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the previous"
+          text run at (0,20) width 65: "paragraph."
+      LayoutBlockFlow {P} at (0,639) size 769x20 [color=#800099]
+        LayoutText {#text} at (0,0) size 731x19
+          text run at (0,0) width 731: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next paragraph."
+      LayoutBlockFlow {P} at (0,675) size 769x20 [color=#800099]
+        LayoutText {#text} at (0,0) size 757x19
+          text run at (0,0) width 757: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous paragraph."
+      LayoutBlockFlow {P} at (0,711) size 769x20
+        LayoutText {#text} at (0,0) size 184x19
+          text run at (0,0) width 184: "This sentence should be black."
+      LayoutBlockFlow {P} at (0,747) size 769x20 [color=#008800]
+        LayoutText {#text} at (0,0) size 376x19
+          text run at (0,0) width 376: "This sentence should be a slightly different green, and used the "
+        LayoutInline {TT} at (0,0) size 41x16
+          LayoutText {#text} at (375,3) size 41x16
+            text run at (375,3) width 41: "style"
+        LayoutText {#text} at (415,0) size 58x19
+          text run at (415,0) width 58: " attribute."
+      LayoutBlockFlow {P} at (0,783) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 268x19
+          text run at (0,0) width 268: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (268,3) size 40x16
+            text run at (268,3) width 40: "style"
+        LayoutText {#text} at (308,0) size 57x19
+          text run at (308,0) width 57: " attribute."
+      LayoutBlockFlow {P} at (0,819) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 268x19
+          text run at (0,0) width 268: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (268,3) size 40x16
+            text run at (268,3) width 40: "style"
+        LayoutText {#text} at (308,0) size 57x19
+          text run at (308,0) width 57: " attribute."
+      LayoutBlockFlow {P} at (0,855) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 268x19
+          text run at (0,0) width 268: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (268,3) size 40x16
+            text run at (268,3) width 40: "style"
+        LayoutText {#text} at (308,0) size 57x19
+          text run at (308,0) width 57: " attribute."
+      LayoutBlockFlow {P} at (0,891) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 268x19
+          text run at (0,0) width 268: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (268,3) size 40x16
+            text run at (268,3) width 40: "style"
+        LayoutText {#text} at (308,0) size 57x19
+          text run at (308,0) width 57: " attribute."
+      LayoutBlockFlow {P} at (0,927) size 769x20 [color=#008000]
+        LayoutText {#text} at (0,0) size 268x19
+          text run at (0,0) width 268: "This sentence should be green, and used the "
+        LayoutInline {TT} at (0,0) size 40x16
+          LayoutText {#text} at (268,3) size 40x16
+            text run at (268,3) width 40: "style"
+        LayoutText {#text} at (308,0) size 57x19
+          text run at (308,0) width 57: " attribute."
+      LayoutTable {TABLE} at (0,963) size 769x766 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x764
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x736
+            LayoutTableCell {TD} at (0,382) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x736 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x20
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,40) size 747x20 [color=#008800]
+                LayoutText {#text} at (0,0) size 473x19
+                  text run at (0,0) width 473: "This sentence should be green, although slightly different from those that follow."
+              LayoutBlockFlow {P} at (4,76) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,112) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,148) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,184) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,220) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be green."
+              LayoutBlockFlow {P} at (4,256) size 747x20
+                LayoutText {#text} at (0,0) size 387x19
+                  text run at (0,0) width 387: "This sentence should be black, because the value given for class "
+                LayoutInline {CODE} at (0,0) size 48x16
+                  LayoutText {#text} at (387,3) size 48x16
+                    text run at (387,3) width 48: ".seven"
+                LayoutText {#text} at (435,0) size 59x19
+                  text run at (435,0) width 59: " is invalid."
+              LayoutBlockFlow {P} at (4,292) size 747x40 [color=#0080FF]
+                LayoutText {#text} at (0,0) size 688x39
+                  text run at (0,0) width 688: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next"
+                  text run at (0,20) width 65: "paragraph."
+              LayoutBlockFlow {P} at (4,348) size 747x40 [color=#0080FF]
+                LayoutText {#text} at (0,0) size 714x39
+                  text run at (0,0) width 714: "This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the previous"
+                  text run at (0,20) width 65: "paragraph."
+              LayoutBlockFlow {P} at (4,404) size 747x20 [color=#800099]
+                LayoutText {#text} at (0,0) size 731x19
+                  text run at (0,0) width 731: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next paragraph."
+              LayoutBlockFlow {P} at (4,440) size 747x40 [color=#800099]
+                LayoutText {#text} at (0,0) size 688x39
+                  text run at (0,0) width 688: "This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous"
+                  text run at (0,20) width 65: "paragraph."
+              LayoutBlockFlow {P} at (4,496) size 747x20
+                LayoutText {#text} at (0,0) size 184x19
+                  text run at (0,0) width 184: "This sentence should be black."
+              LayoutBlockFlow {P} at (4,532) size 747x20 [color=#008800]
+                LayoutText {#text} at (0,0) size 376x19
+                  text run at (0,0) width 376: "This sentence should be a slightly different green, and used the "
+                LayoutInline {TT} at (0,0) size 41x16
+                  LayoutText {#text} at (375,3) size 41x16
+                    text run at (375,3) width 41: "style"
+                LayoutText {#text} at (415,0) size 58x19
+                  text run at (415,0) width 58: " attribute."
+              LayoutBlockFlow {P} at (4,568) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 268x19
+                  text run at (0,0) width 268: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (268,3) size 40x16
+                    text run at (268,3) width 40: "style"
+                LayoutText {#text} at (308,0) size 57x19
+                  text run at (308,0) width 57: " attribute."
+              LayoutBlockFlow {P} at (4,604) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 268x19
+                  text run at (0,0) width 268: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (268,3) size 40x16
+                    text run at (268,3) width 40: "style"
+                LayoutText {#text} at (308,0) size 57x19
+                  text run at (308,0) width 57: " attribute."
+              LayoutBlockFlow {P} at (4,640) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 268x19
+                  text run at (0,0) width 268: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (268,3) size 40x16
+                    text run at (268,3) width 40: "style"
+                LayoutText {#text} at (308,0) size 57x19
+                  text run at (308,0) width 57: " attribute."
+              LayoutBlockFlow {P} at (4,676) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 268x19
+                  text run at (0,0) width 268: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (268,3) size 40x16
+                    text run at (268,3) width 40: "style"
+                LayoutText {#text} at (308,0) size 57x19
+                  text run at (308,0) width 57: " attribute."
+              LayoutBlockFlow {P} at (4,712) size 747x20 [color=#008000]
+                LayoutText {#text} at (0,0) size 268x19
+                  text run at (0,0) width 268: "This sentence should be green, and used the "
+                LayoutInline {TT} at (0,0) size 40x16
+                  LayoutText {#text} at (268,3) size 40x16
+                    text run at (268,3) width 40: "style"
+                LayoutText {#text} at (308,0) size 57x19
+                  text run at (308,0) width 57: " attribute."
+layer at (8,249) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,241) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/length_units-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/length_units-expected.txt
new file mode 100644
index 0000000..9aa43b4f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/length_units-expected.txt
@@ -0,0 +1,173 @@
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1673
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 785x1673 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
+  LayoutBlockFlow {HTML} at (0,0) size 785x1673
+    LayoutBlockFlow {BODY} at (8,8) size 769x1657 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 769x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 769x176
+        LayoutText {#text} at (0,0) size 624x176
+          text run at (0,0) width 184: ".zero {margin-left: 0;}"
+          text run at (184,0) width 0: " "
+          text run at (0,16) width 192: ".one {margin-left: 3em;}"
+          text run at (192,16) width 0: " "
+          text run at (0,32) width 192: ".two {margin-left: 3ex;}"
+          text run at (192,32) width 0: " "
+          text run at (0,48) width 216: ".three {margin-left: 36px;}"
+          text run at (216,48) width 0: " "
+          text run at (0,64) width 216: ".four {margin-left: 0.5in;}"
+          text run at (216,64) width 0: " "
+          text run at (0,80) width 224: ".five {margin-left: 1.27cm;}"
+          text run at (224,80) width 0: " "
+          text run at (0,96) width 216: ".six {margin-left: 12.7mm;}"
+          text run at (216,96) width 0: " "
+          text run at (0,112) width 216: ".seven {margin-left: 36pt;}"
+          text run at (216,112) width 0: " "
+          text run at (0,128) width 208: ".eight {margin-left: 3pc;}"
+          text run at (208,128) width 0: " "
+          text run at (0,144) width 208: ".nine {margin-left: +3pc;}"
+          text run at (208,144) width 0: " "
+          text run at (0,160) width 624: ".ten {font-size: 40px; border-left: 1ex solid purple; background-color: aqua;}"
+          text run at (624,160) width 0: " "
+      LayoutBlockFlow {P} at (0,243) size 769x40
+        LayoutText {#text} at (0,0) size 758x39
+          text run at (0,0) width 758: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer) edges should"
+          text run at (0,20) width 288: "therefore be appropriately shifted to the right of "
+        LayoutInline {EM} at (0,0) size 23x19
+          LayoutText {#text} at (288,20) size 23x19
+            text run at (288,20) width 23: "this"
+        LayoutText {#text} at (311,20) size 133x19
+          text run at (311,20) width 133: " paragraph's left edge."
+      LayoutBlockFlow {P} at (48,299) size 721x20
+        LayoutText {#text} at (0,0) size 292x19
+          text run at (0,0) width 292: "This paragraph should have a left margin of 3em."
+      LayoutBlockFlow {P} at (21,335) size 748x20
+        LayoutText {#text} at (0,0) size 288x19
+          text run at (0,0) width 288: "This paragraph should have a left margin of 3ex."
+      LayoutBlockFlow {P} at (36,371) size 733x20
+        LayoutText {#text} at (0,0) size 320x19
+          text run at (0,0) width 320: "This paragraph should have a left margin of 36 pixels."
+      LayoutBlockFlow {P} at (48,407) size 721x20
+        LayoutText {#text} at (0,0) size 333x19
+          text run at (0,0) width 333: "This paragraph should have a left margin of half an inch."
+      LayoutBlockFlow {P} at (48,443) size 721x20
+        LayoutText {#text} at (0,0) size 312x19
+          text run at (0,0) width 312: "This paragraph should have a left margin of 1.27cm."
+      LayoutBlockFlow {P} at (48,479) size 721x20
+        LayoutText {#text} at (0,0) size 316x19
+          text run at (0,0) width 316: "This paragraph should have a left margin of 12.7mm."
+      LayoutBlockFlow {P} at (48,515) size 721x20
+        LayoutText {#text} at (0,0) size 322x19
+          text run at (0,0) width 322: "This paragraph should have a left margin of 36 points."
+      LayoutBlockFlow {P} at (48,551) size 721x20
+        LayoutText {#text} at (0,0) size 309x19
+          text run at (0,0) width 309: "This paragraph should have a left margin of 3 picas."
+      LayoutBlockFlow {P} at (48,587) size 721x20
+        LayoutText {#text} at (0,0) size 558x19
+          text run at (0,0) width 558: "This paragraph should have a left margin of 3 picas (the plus sign should make no difference)."
+      LayoutBlockFlow {P} at (0,647) size 769x240 [bgcolor=#00FFFF] [border: none (18px solid #800080)]
+        LayoutText {#text} at (18,1) size 306x46
+          text run at (18,1) width 306: "This element has a "
+        LayoutInline {CODE} at (0,0) size 216x42
+          LayoutText {#text} at (324,6) size 216x42
+            text run at (324,6) width 216: "font-size"
+        LayoutText {#text} at (540,1) size 51x46
+          text run at (540,1) width 51: " of "
+        LayoutInline {CODE} at (0,0) size 96x42
+          LayoutText {#text} at (591,6) size 96x42
+            text run at (591,6) width 96: "40px"
+        LayoutText {#text} at (687,1) size 737x94
+          text run at (687,1) width 68: " and"
+          text run at (18,49) width 28: "a "
+        LayoutInline {CODE} at (0,0) size 264x42
+          LayoutText {#text} at (46,54) size 264x42
+            text run at (46,54) width 264: "border-left"
+        LayoutText {#text} at (310,49) size 51x46
+          text run at (310,49) width 51: " of "
+        LayoutInline {CODE} at (0,0) size 384x42
+          LayoutText {#text} at (361,54) size 384x42
+            text run at (361,54) width 384: "1ex solid purple"
+        LayoutText {#text} at (745,49) size 737x190
+          text run at (745,49) width 10: "."
+          text run at (18,97) width 663: "This should make the left border the same"
+          text run at (18,145) width 700: "number of pixels as the lower-case 'x' in this"
+          text run at (18,193) width 603: "element's font, as well as solid purple."
+      LayoutTable {TABLE} at (0,927) size 769x730 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 767x728
+          LayoutTableRow {TR} at (0,0) size 767x28
+            LayoutTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 767x700
+            LayoutTableCell {TD} at (0,364) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 755x700 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 747x40
+                LayoutText {#text} at (0,0) size 715x39
+                  text run at (0,0) width 715: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer) edges"
+                  text run at (0,20) width 331: "should therefore be appropriately shifted to the right of "
+                LayoutInline {EM} at (0,0) size 23x19
+                  LayoutText {#text} at (331,20) size 23x19
+                    text run at (331,20) width 23: "this"
+                LayoutText {#text} at (354,20) size 133x19
+                  text run at (354,20) width 133: " paragraph's left edge."
+              LayoutBlockFlow {P} at (52,60) size 699x20
+                LayoutText {#text} at (0,0) size 292x19
+                  text run at (0,0) width 292: "This paragraph should have a left margin of 3em."
+              LayoutBlockFlow {P} at (25,96) size 726x20
+                LayoutText {#text} at (0,0) size 288x19
+                  text run at (0,0) width 288: "This paragraph should have a left margin of 3ex."
+              LayoutBlockFlow {P} at (40,132) size 711x20
+                LayoutText {#text} at (0,0) size 320x19
+                  text run at (0,0) width 320: "This paragraph should have a left margin of 36 pixels."
+              LayoutBlockFlow {P} at (52,168) size 699x20
+                LayoutText {#text} at (0,0) size 333x19
+                  text run at (0,0) width 333: "This paragraph should have a left margin of half an inch."
+              LayoutBlockFlow {P} at (52,204) size 699x20
+                LayoutText {#text} at (0,0) size 312x19
+                  text run at (0,0) width 312: "This paragraph should have a left margin of 1.27cm."
+              LayoutBlockFlow {P} at (52,240) size 699x20
+                LayoutText {#text} at (0,0) size 316x19
+                  text run at (0,0) width 316: "This paragraph should have a left margin of 12.7mm."
+              LayoutBlockFlow {P} at (52,276) size 699x20
+                LayoutText {#text} at (0,0) size 322x19
+                  text run at (0,0) width 322: "This paragraph should have a left margin of 36 points."
+              LayoutBlockFlow {P} at (52,312) size 699x20
+                LayoutText {#text} at (0,0) size 309x19
+                  text run at (0,0) width 309: "This paragraph should have a left margin of 3 picas."
+              LayoutBlockFlow {P} at (52,348) size 699x20
+                LayoutText {#text} at (0,0) size 558x19
+                  text run at (0,0) width 558: "This paragraph should have a left margin of 3 picas (the plus sign should make no difference)."
+              LayoutBlockFlow {P} at (4,408) size 747x288 [bgcolor=#00FFFF] [border: none (18px solid #800080)]
+                LayoutText {#text} at (18,1) size 306x46
+                  text run at (18,1) width 306: "This element has a "
+                LayoutInline {CODE} at (0,0) size 216x42
+                  LayoutText {#text} at (324,6) size 216x42
+                    text run at (324,6) width 216: "font-size"
+                LayoutText {#text} at (540,1) size 51x46
+                  text run at (540,1) width 51: " of "
+                LayoutInline {CODE} at (0,0) size 96x42
+                  LayoutText {#text} at (591,6) size 96x42
+                    text run at (591,6) width 96: "40px"
+                LayoutText {#text} at (18,49) size 96x46
+                  text run at (18,49) width 96: "and a "
+                LayoutInline {CODE} at (0,0) size 264x42
+                  LayoutText {#text} at (114,54) size 264x42
+                    text run at (114,54) width 264: "border-left"
+                LayoutText {#text} at (378,49) size 51x46
+                  text run at (378,49) width 51: " of "
+                LayoutInline {CODE} at (0,0) size 627x90
+                  LayoutText {#text} at (429,54) size 627x90
+                    text run at (429,54) width 216: "1ex solid"
+                    text run at (18,102) width 144: "purple"
+                LayoutText {#text} at (162,97) size 698x190
+                  text run at (162,97) width 20: ". "
+                  text run at (182,97) width 513: "This should make the left border"
+                  text run at (18,145) width 698: "the same number of pixels as the lower-case"
+                  text run at (18,193) width 634: "'x' in this element's font, as well as solid"
+                  text run at (18,241) width 111: "purple."
+layer at (8,233) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,225) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/percentage_units-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/percentage_units-expected.txt
new file mode 100644
index 0000000..fd94554
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/percentage_units-expected.txt
@@ -0,0 +1,65 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC]
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x80
+        LayoutText {#text} at (0,0) size 504x80
+          text run at (0,0) width 224: ".zero { background: yellow }"
+          text run at (224,0) width 0: " "
+          text run at (0,16) width 504: ".one { margin-left: 25%; margin-right: 25%; background: white }"
+          text run at (504,16) width 0: " "
+          text run at (0,32) width 496: ".two { margin-left: 50%; margin-right: 0%; background: white }"
+          text run at (496,32) width 0: " "
+          text run at (0,48) width 208: ".three {margin-left: 25%;}"
+          text run at (208,48) width 0: " "
+          text run at (0,64) width 0: " "
+      LayoutBlockFlow {DIV} at (0,147) size 784x116 [bgcolor=#FFFF00]
+        LayoutBlockFlow {DIV} at (196,0) size 392x40 [bgcolor=#FFFFFF]
+          LayoutBlockFlow {P} at (0,0) size 392x40
+            LayoutText {#text} at (0,0) size 371x39
+              text run at (0,0) width 371: "This paragraph should be centered within its yellow containing"
+              text run at (0,20) width 345: "block and its width should be half of the containing block."
+        LayoutBlockFlow {DIV} at (392,56) size 392x60 [bgcolor=#FFFFFF]
+          LayoutBlockFlow {P} at (0,0) size 392x60
+            LayoutText {#text} at (0,0) size 367x59
+              text run at (0,0) width 329: "This paragraph should be right-aligned within its yellow"
+              text run at (0,20) width 367: "containing block and its width should be half of the containing"
+              text run at (0,40) width 38: "block."
+      LayoutBlockFlow {P} at (196,279) size 588x40
+        LayoutText {#text} at (0,0) size 561x39
+          text run at (0,0) width 561: "This paragraph should have a left margin of 25% the width of its parent element, which should"
+          text run at (0,20) width 297: "require some extra text in order to test effectively."
+      LayoutTable {TABLE} at (0,335) size 784x210 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x208
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x180
+            LayoutTableCell {TD} at (0,104) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x180 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {DIV} at (4,4) size 762x116 [bgcolor=#FFFF00]
+                LayoutBlockFlow {DIV} at (190.50,0) size 381x40 [bgcolor=#FFFFFF]
+                  LayoutBlockFlow {P} at (0,0) size 381x40
+                    LayoutText {#text} at (0,0) size 371x39
+                      text run at (0,0) width 371: "This paragraph should be centered within its yellow containing"
+                      text run at (0,20) width 345: "block and its width should be half of the containing block."
+                LayoutBlockFlow {DIV} at (381,56) size 381x60 [bgcolor=#FFFFFF]
+                  LayoutBlockFlow {P} at (0,0) size 381x60
+                    LayoutText {#text} at (0,0) size 367x59
+                      text run at (0,0) width 329: "This paragraph should be right-aligned within its yellow"
+                      text run at (0,20) width 367: "containing block and its width should be half of the containing"
+                      text run at (0,40) width 38: "block."
+              LayoutBlockFlow {P} at (194.50,136) size 571.50x40
+                LayoutText {#text} at (0,0) size 561x39
+                  text run at (0,0) width 561: "This paragraph should have a left margin of 25% the width of its parent element, which should"
+                  text run at (0,20) width 297: "require some extra text in order to test effectively."
+layer at (8,137) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,129) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/urls-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/urls-expected.txt
new file mode 100644
index 0000000..be5b6ee
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/units/urls-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x600
+  LayoutView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  LayoutBlockFlow {HTML} at (0,0) size 800x600
+    LayoutBlockFlow {BODY} at (8,8) size 784x584
+      LayoutBlockFlow {P} at (0,0) size 784x20
+        LayoutText {#text} at (0,0) size 337x19
+          text run at (0,0) width 337: "The style declarations which apply to the text below are:"
+      LayoutBlockFlow {PRE} at (0,36) size 784x64
+        LayoutText {#text} at (0,0) size 648x64
+          text run at (0,0) width 648: "<LINK rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"../resources/bg.gif\">"
+          text run at (648,0) width 0: " "
+          text run at (0,16) width 296: "@import url(../resources/sec642.css);"
+          text run at (296,16) width 0: " "
+          text run at (0,32) width 352: "BODY {background: url(../resources/bg.gif);}"
+          text run at (352,32) width 0: " "
+          text run at (0,48) width 0: " "
+      LayoutBlockFlow {P} at (0,131) size 784x20
+        LayoutText {#text} at (0,0) size 368x19
+          text run at (0,0) width 368: "This page should have a green grid pattern as its background."
+      LayoutBlockFlow {P} at (0,167) size 784x60 [bgcolor=#FFFFFF]
+        LayoutText {#text} at (0,0) size 778x59
+          text run at (0,0) width 591: "This paragraph should have a white background, but NO image should appear in the background. "
+          text run at (591,0) width 174: "If an image, in this case a red"
+          text run at (0,20) width 778: "square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the document's"
+          text run at (0,40) width 188: "URL, not the stylesheet's URL."
+      LayoutBlockFlow {P} at (0,243) size 784x60 [bgcolor=#FFFFFF]
+        LayoutText {#text} at (0,0) size 778x59
+          text run at (0,0) width 591: "This paragraph should have a white background, but NO image should appear in the background. "
+          text run at (591,0) width 174: "If an image, in this case a red"
+          text run at (0,20) width 778: "square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the document's"
+          text run at (0,40) width 188: "URL, not the stylesheet's URL."
+      LayoutTable {TABLE} at (0,319) size 784x210 [border: (1px outset #808080)]
+        LayoutTableSection {TBODY} at (1,1) size 782x208
+          LayoutTableRow {TR} at (0,0) size 782x28
+            LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
+              LayoutInline {STRONG} at (0,0) size 157x19
+                LayoutText {#text} at (4,4) size 157x19
+                  text run at (4,4) width 157: "TABLE Testing Section"
+          LayoutTableRow {TR} at (0,28) size 782x180
+            LayoutTableCell {TD} at (0,104) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              LayoutText {#text} at (4,4) size 4x19
+                text run at (4,4) width 4: " "
+            LayoutTableCell {TD} at (12,28) size 770x180 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              LayoutBlockFlow {P} at (4,4) size 762x20
+                LayoutText {#text} at (0,0) size 368x19
+                  text run at (0,0) width 368: "This page should have a green grid pattern as its background."
+              LayoutBlockFlow {P} at (4,40) size 762x60 [bgcolor=#FFFFFF]
+                LayoutText {#text} at (0,0) size 741x59
+                  text run at (0,0) width 591: "This paragraph should have a white background, but NO image should appear in the background. "
+                  text run at (591,0) width 150: "If an image, in this case a"
+                  text run at (0,20) width 730: "red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
+                  text run at (0,40) width 260: "document's URL, not the stylesheet's URL."
+              LayoutBlockFlow {P} at (4,116) size 762x60 [bgcolor=#FFFFFF]
+                LayoutText {#text} at (0,0) size 741x59
+                  text run at (0,0) width 591: "This paragraph should have a white background, but NO image should appear in the background. "
+                  text run at (591,0) width 150: "If an image, in this case a"
+                  text run at (0,20) width 730: "red square-- or, indeed, any red at all-- is seen there, then the browser has incorrectly interpreted a URL in relation to the"
+                  text run at (0,40) width 260: "document's URL, not the stylesheet's URL."
+layer at (8,121) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt
index df3d852..c2582fa6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt
@@ -1,241 +1,243 @@
-layer at (0,0) size 1046x799 scrollHeight 2567
+layer at (0,0) size 1046x799 scrollHeight 2685
   LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2567 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2567
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2535
-      LayoutBlockFlow {P} at (0,0) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,34) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,68) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,102) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,136) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,170) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,204) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,238) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,272) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,306) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,340) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,374) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,408) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,442) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,476) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,510) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,544) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,578) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,646) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,680) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,714) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,748) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,817) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,851) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,885) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,919) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,953) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,987) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1021) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1055) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1089) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1123) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1157) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1191) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1225) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1259) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1293) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1327) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1361) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1429) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1463) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1497) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1531) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1616) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1650) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1684) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1718) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1752) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1786) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1820) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1854) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1888) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1922) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1956) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1990) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2024) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2058) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2092) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2126) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2160) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2228) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2262) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2296) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2330) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2415) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2449) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2483) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2517) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-layer at (8,0) size 615x36
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 615.39x36
-    LayoutBlockFlow {DIV} at (0,0) size 615.39x28
-      LayoutBlockFlow (anonymous) at (0,0) size 615.39x18
-        LayoutText {#text} at (0,0) size 616x17
-          text run at (0,0) width 616: "crbug.com/303728: Header Line is absolute positioned so should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 615.39x2 [border: (1px inset #EEEEEE)]
-layer at (8,763) size 611x36
-  LayoutBlockFlow (positioned) {DIV} at (8,763) size 610.98x36
-    LayoutBlockFlow {DIV} at (0,8) size 610.98x28
-      LayoutBlockFlow {HR} at (0,0) size 610.98x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 610.98x18
-        LayoutText {#text} at (0,0) size 611x17
-          text run at (0,0) width 611: "crbug.com/303728: Footer Line is absolute positioned so should not be repeated on every page."
+layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
+    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
+      LayoutBlockFlow {P} at (0,0) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,36) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,72) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,108) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,144) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,180) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,216) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,252) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,288) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,324) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,360) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,396) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,432) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,468) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,504) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,540) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,576) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,612) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,648) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,684) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,720) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,756) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,783) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,819) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,855) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,891) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,927) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,963) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,999) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1035) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1071) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1107) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1143) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1179) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1215) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1251) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1287) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1323) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1359) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1395) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1431) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1467) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1503) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1539) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1582) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1618) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1654) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1690) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1726) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1762) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1798) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1834) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1870) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1906) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1942) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1978) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2014) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2050) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2086) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2122) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2158) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2194) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2230) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2266) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2302) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2338) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2381) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2417) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2453) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2489) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2525) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2561) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2597) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2633) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+layer at (8,0) size 584x38
+  LayoutBlockFlow (positioned) {DIV} at (8,0) size 584x38
+    LayoutBlockFlow {DIV} at (0,0) size 584x30
+      LayoutBlockFlow (anonymous) at (0,0) size 584x20
+        LayoutText {#text} at (0,0) size 584x19
+          text run at (0,0) width 584: "crbug.com/303728: Header Line is absolute positioned so should not be repeated on every page."
+layer at (8,28) size 584x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 584x2 [border: (1px inset #EEEEEE)]
+layer at (8,761) size 580x38
+  LayoutBlockFlow (positioned) {DIV} at (8,761) size 580x38
+    LayoutBlockFlow {DIV} at (0,8) size 580x30
+      LayoutBlockFlow (anonymous) at (0,10) size 580x20
+        LayoutText {#text} at (0,0) size 580x19
+          text run at (0,0) width 580: "crbug.com/303728: Footer Line is absolute positioned so should not be repeated on every page."
+layer at (8,769) size 580x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 580x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
index bcd0a47..3b43ace 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
@@ -1,241 +1,243 @@
-layer at (0,0) size 1046x799 scrollHeight 2567
+layer at (0,0) size 1046x799 scrollHeight 2685
   LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2567 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2567
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2535
-      LayoutBlockFlow {P} at (0,0) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,34) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,68) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,102) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,136) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,170) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,204) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,238) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,272) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,306) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,340) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,374) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,408) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,442) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,476) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,510) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,544) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,578) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,646) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,680) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,714) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,748) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,817) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,851) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,885) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,919) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,953) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,987) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1021) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1055) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1089) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1123) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1157) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1191) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1225) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1259) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1293) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1327) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1361) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1429) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1463) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1497) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1531) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1616) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1650) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1684) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1718) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1752) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1786) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1820) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1854) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1888) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1922) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1956) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1990) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2024) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2058) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2092) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2126) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2160) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2228) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2262) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2296) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2330) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2415) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2449) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2483) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2517) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-layer at (8,16) size 680x36
-  LayoutBlockFlow (positioned) {DIV} at (8,16) size 680.27x36
-    LayoutBlockFlow {DIV} at (0,0) size 680.27x28
-      LayoutBlockFlow (anonymous) at (0,0) size 680.27x18
-        LayoutText {#text} at (0,0) size 681x17
-          text run at (0,0) width 681: "crbug.com/303728: Fixed-position header Line is statically positioned and will be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 680.27x2 [border: (1px inset #EEEEEE)]
-layer at (8,2567) size 624x36 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,2567) size 624.30x36
-    LayoutBlockFlow {DIV} at (0,8) size 624.30x28
-      LayoutBlockFlow {HR} at (0,0) size 624.30x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 624.30x18
-        LayoutText {#text} at (0,0) size 625x17
-          text run at (0,0) width 625: "crbug.com/303728: Footer Line is statically positioned and should not be repeated on every page."
+layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
+    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
+      LayoutBlockFlow {P} at (0,0) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,36) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,72) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,108) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,144) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,180) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,216) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,252) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,288) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,324) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,360) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,396) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,432) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,468) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,504) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,540) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,576) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,612) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,648) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,684) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,720) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,756) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,783) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,819) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,855) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,891) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,927) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,963) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,999) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1035) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1071) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1107) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1143) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1179) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1215) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1251) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1287) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1323) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1359) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1395) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1431) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1467) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1503) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1539) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1582) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1618) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1654) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1690) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1726) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1762) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1798) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1834) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1870) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1906) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1942) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1978) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2014) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2050) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2086) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2122) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2158) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2194) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2230) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2266) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2302) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2338) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2381) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2417) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2453) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2489) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2525) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2561) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2597) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2633) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+layer at (8,16) size 638x38
+  LayoutBlockFlow (positioned) {DIV} at (8,16) size 638x38
+    LayoutBlockFlow {DIV} at (0,0) size 638x30
+      LayoutBlockFlow (anonymous) at (0,0) size 638x20
+        LayoutText {#text} at (0,0) size 638x19
+          text run at (0,0) width 638: "crbug.com/303728: Fixed-position header Line is statically positioned and will be repeated on every page."
+layer at (8,44) size 638x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 638x2 [border: (1px inset #EEEEEE)]
+layer at (8,2685) size 589x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow (positioned) {DIV} at (8,2685) size 589x38
+    LayoutBlockFlow {DIV} at (0,8) size 589x30
+      LayoutBlockFlow (anonymous) at (0,10) size 589x20
+        LayoutText {#text} at (0,0) size 589x19
+          text run at (0,0) width 589: "crbug.com/303728: Footer Line is statically positioned and should not be repeated on every page."
+layer at (8,2693) size 589x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 589x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
index c86a393..4ceb0d1 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-absolute-covering-some-pages-expected.txt
@@ -11,7 +11,8 @@
         LayoutText {#text} at (0,0) size 491x39
           text run at (0,0) width 491: "crbug.com/303728: Header Line should be repeated on every page except where"
           text run at (0,20) width 321: "it's clipped by the absolute element on pages 3 and 4."
-      LayoutBlockFlow {HR} at (0,48) size 500x2 [border: (1px inset #EEEEEE)]
+layer at (5,53) size 500x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,48) size 500x2 [border: (1px inset #EEEEEE)]
 layer at (0,1000) size 600x2000 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
   LayoutBlockFlow (positioned) zI: 2 {DIV} at (0,1000) size 600x2000 [bgcolor=#000000]
     LayoutText zI: 2 {#text} at (0,0) size 54x19
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt
index 4829fd4..cfd751b 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt
@@ -1,241 +1,243 @@
-layer at (0,0) size 1046x799 scrollHeight 2567
+layer at (0,0) size 1046x799 scrollHeight 2685
   LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2567 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2567
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2535
-      LayoutBlockFlow {P} at (0,0) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,34) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,68) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,102) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,136) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,170) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,204) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,238) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,272) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,306) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,340) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,374) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,408) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,442) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,476) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,510) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,544) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,578) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,646) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,680) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,714) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,748) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,817) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,851) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,885) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,919) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,953) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,987) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1021) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1055) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1089) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1123) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1157) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1191) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1225) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1259) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1293) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1327) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1361) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1429) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1463) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1497) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1531) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1616) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1650) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1684) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1718) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1752) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1786) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1820) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1854) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1888) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1922) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1956) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1990) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2024) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2058) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2092) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2126) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2160) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2228) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2262) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2296) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2330) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2415) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2449) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2483) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2517) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-layer at (8,0) size 524x36
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 523.84x36
-    LayoutBlockFlow {DIV} at (0,0) size 523.84x28
-      LayoutBlockFlow (anonymous) at (0,0) size 523.84x18
-        LayoutText {#text} at (0,0) size 524x17
-          text run at (0,0) width 524: "crbug.com/303728: Fixed-position header Line should be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 523.84x2 [border: (1px inset #EEEEEE)]
-layer at (8,763) size 426x36
-  LayoutBlockFlow (positioned) {DIV} at (8,763) size 425.66x36
-    LayoutBlockFlow {DIV} at (0,8) size 425.66x28
-      LayoutBlockFlow {HR} at (0,0) size 425.66x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 425.66x18
-        LayoutText {#text} at (0,0) size 426x17
-          text run at (0,0) width 426: "crbug.com/303728: Footer Line should be repeated on every page."
+layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
+    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
+      LayoutBlockFlow {P} at (0,0) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,36) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,72) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,108) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,144) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,180) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,216) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,252) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,288) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,324) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,360) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,396) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,432) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,468) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,504) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,540) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,576) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,612) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,648) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,684) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,720) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,756) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,783) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,819) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,855) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,891) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,927) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,963) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,999) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1035) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1071) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1107) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1143) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1179) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1215) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1251) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1287) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1323) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1359) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1395) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1431) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1467) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1503) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1539) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1582) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1618) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1654) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1690) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1726) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1762) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1798) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1834) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1870) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1906) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1942) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1978) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2014) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2050) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2086) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2122) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2158) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2194) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2230) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2266) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2302) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2338) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2381) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2417) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2453) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2489) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2525) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2561) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2597) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2633) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+layer at (8,0) size 497x38
+  LayoutBlockFlow (positioned) {DIV} at (8,0) size 497x38
+    LayoutBlockFlow {DIV} at (0,0) size 497x30
+      LayoutBlockFlow (anonymous) at (0,0) size 497x20
+        LayoutText {#text} at (0,0) size 497x19
+          text run at (0,0) width 497: "crbug.com/303728: Fixed-position header Line should be repeated on every page."
+layer at (8,28) size 497x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 497x2 [border: (1px inset #EEEEEE)]
+layer at (8,761) size 406x38
+  LayoutBlockFlow (positioned) {DIV} at (8,761) size 406x38
+    LayoutBlockFlow {DIV} at (0,8) size 406x30
+      LayoutBlockFlow (anonymous) at (0,10) size 406x20
+        LayoutText {#text} at (0,0) size 406x19
+          text run at (0,0) width 406: "crbug.com/303728: Footer Line should be repeated on every page."
+layer at (8,769) size 406x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 406x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
index 87eac940..756b9bc 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
@@ -1,245 +1,247 @@
-layer at (0,0) size 1046x799 scrollHeight 2567
+layer at (0,0) size 1046x799 scrollHeight 2685
   LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2567 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2567
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2535
-      LayoutBlockFlow {P} at (0,0) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,34) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,68) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,102) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,136) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,170) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,204) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,238) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,272) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,306) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,340) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,374) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,408) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,442) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,476) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,510) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,544) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,578) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,646) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,680) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,714) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,748) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,817) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,851) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,885) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,919) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,953) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,987) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1021) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1055) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1089) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1123) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1157) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1191) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1225) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1259) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1293) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1327) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1361) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1429) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1463) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1497) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1531) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1616) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1650) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1684) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1718) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1752) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1786) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1820) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1854) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1888) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1922) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1956) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1990) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2024) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2058) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2092) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2126) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2160) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2228) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2262) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2296) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2330) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2415) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2449) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2483) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2517) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
+layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
+    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
+      LayoutBlockFlow {P} at (0,0) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,36) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,72) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,108) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,144) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,180) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,216) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,252) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,288) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,324) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,360) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,396) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,432) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,468) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,504) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,540) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,576) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,612) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,648) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,684) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,720) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,756) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,783) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,819) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,855) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,891) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,927) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,963) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,999) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1035) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1071) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1107) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1143) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1179) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1215) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1251) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1287) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1323) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1359) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1395) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1431) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1467) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1503) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1539) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1582) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1618) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1654) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1690) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1726) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1762) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1798) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1834) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1870) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1906) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1942) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1978) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2014) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2050) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2086) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2122) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2158) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2194) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2230) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2266) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2302) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2338) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2381) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2417) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2453) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2489) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2525) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2561) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2597) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2633) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
 layer at (8,16) size 1030x0
   LayoutBlockFlow {DIV} at (0,0) size 1030x0
-layer at (8,16) size 455x36
-  LayoutBlockFlow (positioned) {DIV} at (0,0) size 454.52x36
-    LayoutBlockFlow {DIV} at (0,0) size 454.52x28
-      LayoutBlockFlow (anonymous) at (0,0) size 454.52x18
-        LayoutText {#text} at (0,0) size 455x17
-          text run at (0,0) width 455: "crbug.com/303728: Header Line should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,26) size 454.52x2 [border: (1px inset #EEEEEE)]
-layer at (8,2567) size 1030x0
-  LayoutBlockFlow {DIV} at (0,2551) size 1030x0
-layer at (8,2531) size 450x36 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (0,-36) size 450.09x36
-    LayoutBlockFlow {DIV} at (0,8) size 450.09x28
-      LayoutBlockFlow {HR} at (0,0) size 450.09x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 450.09x18
-        LayoutText {#text} at (0,0) size 451x17
-          text run at (0,0) width 451: "crbug.com/303728: Footer Line should not be repeated on every page."
+layer at (8,16) size 433x38
+  LayoutBlockFlow (positioned) {DIV} at (0,0) size 433x38
+    LayoutBlockFlow {DIV} at (0,0) size 433x30
+      LayoutBlockFlow (anonymous) at (0,0) size 433x20
+        LayoutText {#text} at (0,0) size 433x19
+          text run at (0,0) width 433: "crbug.com/303728: Header Line should not be repeated on every page."
+layer at (8,44) size 433x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 433x2 [border: (1px inset #EEEEEE)]
+layer at (8,2685) size 1030x0
+  LayoutBlockFlow {DIV} at (0,2669) size 1030x0
+layer at (8,2647) size 429x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow (positioned) {DIV} at (0,-38) size 429x38
+    LayoutBlockFlow {DIV} at (0,8) size 429x30
+      LayoutBlockFlow (anonymous) at (0,10) size 429x20
+        LayoutText {#text} at (0,0) size 429x19
+          text run at (0,0) width 429: "crbug.com/303728: Footer Line should not be repeated on every page."
+layer at (8,2655) size 429x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 429x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
index 442a95a..d06aef6 100644
--- a/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
@@ -1,241 +1,243 @@
-layer at (0,0) size 1046x799 scrollHeight 2567
+layer at (0,0) size 1046x799 scrollHeight 2685
   LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2567 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2567
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2535
-      LayoutBlockFlow {P} at (0,0) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,34) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,68) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,102) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,136) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,170) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,204) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,238) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,272) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,306) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,340) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,374) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,408) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,442) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,476) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,510) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,544) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,578) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,646) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,680) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,714) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,748) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,817) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,851) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,885) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,919) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,953) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,987) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1021) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1055) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1089) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1123) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1157) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1191) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1225) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1259) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1293) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1327) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1361) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1429) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1463) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1497) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1531) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1616) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1650) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1684) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1718) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1752) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1786) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1820) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1854) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1888) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1922) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1956) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,1990) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2024) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2058) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2092) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2126) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2160) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2228) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2262) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2296) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2330) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2415) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2449) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2483) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-      LayoutBlockFlow {P} at (0,2517) size 1030x18
-        LayoutText {#text} at (0,0) size 69x17
-          text run at (0,0) width 69: "Filler lines"
-layer at (8,0) size 2010x46 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 2010x46 [border: (5px solid #000000)]
-    LayoutBlockFlow {DIV} at (5,5) size 2000x28
-      LayoutBlockFlow (anonymous) at (0,0) size 2000x18
-        LayoutText {#text} at (0,0) size 706x17
-          text run at (0,0) width 706: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
-      LayoutBlockFlow {HR} at (0,26) size 2000x2 [border: (1px inset #EEEEEE)]
-layer at (8,753) size 2010x46 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,753) size 2010x46 [border: (5px solid #000000)]
-    LayoutBlockFlow {DIV} at (5,13) size 2000x28
-      LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 2000x18
-        LayoutText {#text} at (0,0) size 706x17
-          text run at (0,0) width 706: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
+layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
+    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
+      LayoutBlockFlow {P} at (0,0) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,36) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,72) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,108) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,144) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,180) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,216) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,252) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,288) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,324) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,360) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,396) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,432) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,468) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,504) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,540) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,576) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,612) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,648) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,684) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,720) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,756) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,783) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,819) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,855) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,891) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,927) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,963) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,999) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1035) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1071) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1107) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1143) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1179) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1215) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1251) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1287) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1323) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1359) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1395) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1431) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1467) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1503) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1539) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1582) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1618) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1654) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1690) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1726) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1762) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1798) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1834) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1870) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1906) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1942) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,1978) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2014) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2050) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2086) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2122) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2158) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2194) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2230) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2266) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2302) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2338) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2381) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2417) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2453) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2489) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2525) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2561) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2597) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+      LayoutBlockFlow {P} at (0,2633) size 1030x20
+        LayoutText {#text} at (0,0) size 60x19
+          text run at (0,0) width 60: "Filler lines"
+layer at (8,0) size 2010x48 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow (positioned) {DIV} at (8,0) size 2010x48 [border: (5px solid #000000)]
+    LayoutBlockFlow {DIV} at (5,5) size 2000x30
+      LayoutBlockFlow (anonymous) at (0,0) size 2000x20
+        LayoutText {#text} at (0,0) size 672x19
+          text run at (0,0) width 672: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
+layer at (13,33) size 2000x2 backgroundClip at (13,33) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,28) size 2000x2 [border: (1px inset #EEEEEE)]
+layer at (8,751) size 2010x48 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
+  LayoutBlockFlow (positioned) {DIV} at (8,751) size 2010x48 [border: (5px solid #000000)]
+    LayoutBlockFlow {DIV} at (5,13) size 2000x30
+      LayoutBlockFlow (anonymous) at (0,10) size 2000x20
+        LayoutText {#text} at (0,0) size 672x19
+          text run at (0,0) width 672: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
+layer at (13,764) size 2000x2 backgroundClip at (13,764) size 1033x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.txt
index 91b42a96..faf3ecca 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/firstline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 360: ".three:first-line {font-variant: small-caps;}"
           text run at (360,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x60
         LayoutText {#text} at (0,0) size 758x59
           text run at (0,0) width 400: "The first line of this paragraph, and only that one, should be green. "
@@ -81,3 +80,5 @@
                   text run at (237,40) width 218: " is not supported by your browser). "
                   text run at (455,40) width 270: "This is extra text included for the purposes of"
                   text run at (0,60) width 372: "making the paragraph long enough to have more than one line."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/multiple_pseudo_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/multiple_pseudo_elements-expected.txt
index 1e6de73..cbd9e20 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/multiple_pseudo_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -24,7 +24,6 @@
           text run at (0,80) width 368: "P.three:first-line {font-variant: small-caps;}"
           text run at (368,80) width 0: " "
           text run at (0,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,179) size 769x60
         LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
           LayoutTextFragment (anonymous) at (0,0) size 9x19
@@ -101,3 +100,5 @@
                   text run at (0,86) width 685: "that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it is"
                   text run at (0,106) width 94: "recommended. "
                   text run at (94,106) width 426: "In addition, the entire first line should be in a small-caps font and green."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/encoding/invalid-UTF-8-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/fast/encoding/invalid-UTF-8-expected.txt
index ed54beb..93bfa46 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/encoding/invalid-UTF-8-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/fast/encoding/invalid-UTF-8-expected.txt
@@ -9,7 +9,8 @@
       LayoutBlockFlow {P} at (0,36) size 784x20
         LayoutText {#text} at (0,0) size 475x19
           text run at (0,0) width 475: "The output should be: \"\x{442}??\x{442}\" (with black diamonds in place of question marks)."
-      LayoutBlockFlow {HR} at (0,72) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,90) size 784x21
         LayoutText {#text} at (0,1) size 46x19
           text run at (0,1) width 46: "\x{442}\x{FFFD}\x{FFFD}\x{442}"
+layer at (8,80) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,72) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/select/menulist-appearance-rtl-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/fast/forms/select/menulist-appearance-rtl-expected.txt
deleted file mode 100644
index 5a2e4ff..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/fast/forms/select/menulist-appearance-rtl-expected.txt
+++ /dev/null
@@ -1,168 +0,0 @@
-layer at (0,0) size 800x600
-  LayoutView at (0,0) size 800x600
-layer at (0,0) size 800x563
-  LayoutBlockFlow {HTML} at (0,0) size 800x563
-    LayoutBlockFlow {BODY} at (8,16) size 784x539
-      LayoutBlockFlow {P} at (0,0) size 784x40
-        LayoutText {#text} at (0,0) size 755x39
-          text run at (0,0) width 755: "This tests that bidirectional text is correctly rendered in popup controls. The order of the text below each popup button should"
-          text run at (0,20) width 520: "match the order of the select's option text, and the order of the text in the popup menu."
-      LayoutBlockFlow {DL} at (0,56) size 784x180
-        LayoutBlockFlow {DT} at (0,0) size 784x20
-          LayoutText {#text} at (0,0) size 262x19
-            text run at (0,0) width 262: "1) direction: rtl; -webkit-rtl-ordering: logical"
-        LayoutBlockFlow {DD} at (40,20) size 744x40
-          LayoutBlockFlow (anonymous) at (0,0) size 744x20
-            LayoutMenuList {SELECT} at (0,0) size 100x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-              LayoutBlockFlow (anonymous) at (1,1) size 98x18
-                LayoutText (anonymous) at (31,1) size 63x16
-                  text run at (31,1) width 42 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-                  text run at (73,1) width 21: "abc"
-            LayoutText {#text} at (0,0) size 0x0
-          LayoutBlockFlow {DIV} at (0,20) size 100x20
-            LayoutText {#text} at (31,0) size 69x19
-              text run at (31,0) width 47 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-              text run at (78,0) width 22: "abc"
-        LayoutBlockFlow {DT} at (0,60) size 784x20
-          LayoutText {#text} at (0,0) size 105x19
-            text run at (0,0) width 105: "2) text-align: right"
-        LayoutBlockFlow {DD} at (40,80) size 744x40
-          LayoutBlockFlow (anonymous) at (0,0) size 744x20
-            LayoutMenuList {SELECT} at (0,0) size 200x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-              LayoutBlockFlow (anonymous) at (1,1) size 198x18
-                LayoutText (anonymous) at (4,1) size 63x16
-                  text run at (4,1) width 21: "abc"
-                  text run at (25,1) width 42 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-            LayoutText {#text} at (0,0) size 0x0
-          LayoutBlockFlow {DIV} at (0,20) size 200x20
-            LayoutText {#text} at (0,0) size 69x19
-              text run at (0,0) width 22: "abc"
-              text run at (22,0) width 47 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-        LayoutBlockFlow {DT} at (0,120) size 784x20
-          LayoutText {#text} at (0,0) size 68x19
-            text run at (0,0) width 68: "3) No style"
-        LayoutBlockFlow {DD} at (40,140) size 744x40
-          LayoutBlockFlow (anonymous) at (0,0) size 744x20
-            LayoutMenuList {SELECT} at (0,0) size 100x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-              LayoutBlockFlow (anonymous) at (1,1) size 98x18
-                LayoutText (anonymous) at (4,1) size 63x16
-                  text run at (4,1) width 21: "abc"
-                  text run at (25,1) width 42 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-            LayoutText {#text} at (0,0) size 0x0
-          LayoutBlockFlow {DIV} at (0,20) size 100x20
-            LayoutText {#text} at (0,0) size 69x19
-              text run at (0,0) width 22: "abc"
-              text run at (22,0) width 47 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
-      LayoutBlockFlow {HR} at (0,252) size 784x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow {DIV} at (0,262) size 784x55
-        LayoutBlockFlow (anonymous) at (0,0) size 784x20
-          LayoutText {#text} at (0,0) size 587x19
-            text run at (0,0) width 587: "The following line and the SELECT element should have same text, and no characters are lacking."
-        LayoutBlockFlow {DIV} at (0,20) size 784x15
-          LayoutText {#text} at (0,0) size 97x15
-            text run at (0,0) width 97 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
-        LayoutBlockFlow (anonymous) at (0,35) size 784x20
-          LayoutMenuList {SELECT} at (0,0) size 113x20 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-            LayoutBlockFlow (anonymous) at (1,1) size 111x18
-              LayoutText (anonymous) at (4,1) size 91x16
-                text run at (4,1) width 91 RTL: "\x{627}\x{644}\x{627}\x{642}\x{62A}\x{631}\x{627}\x{62D}\x{627}\x{62A} / \x{627}\x{644}\x{634}\x{643}\x{627}\x{648}\x{64A}"
-          LayoutText {#text} at (0,0) size 0x0
-      LayoutBlockFlow {HR} at (0,325) size 784x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow {P} at (0,343) size 784x20
-        LayoutText {#text} at (0,0) size 659x19
-          text run at (0,0) width 659: "Verify that the alignment and writing direction of each selected item matches the one below the pop-up button."
-layer at (8,395) size 784x160
-  LayoutBlockFlow {DIV} at (0,379) size 784x160
-    LayoutMultiColumnSet (anonymous) at (0,0) size 784x160
-layer at (8,395) size 384x320 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
-  LayoutMultiColumnFlowThread (anonymous) at (0,0) size 384x320
-    LayoutBlockFlow {DIV} at (0,0) size 384x160
-      LayoutMenuList {SELECT} at (0,0) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x21
-          LayoutText (anonymous) at (4,1) size 170x18
-            text run at (4,1) width 35: "First "
-            text run at (39,1) width 50 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA}"
-            text run at (89,1) width 18: "03"
-            text run at (107,1) width 39 RTL: "\x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-            text run at (146,1) width 28: " fifth"
-      LayoutBlockFlow {DIV} at (0,22) size 352x18
-        LayoutText {#text} at (1,1) size 130x15
-          text run at (1,1) width 27: "First "
-          text run at (28,1) width 38 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA}"
-          text run at (66,1) width 12: "03"
-          text run at (78,1) width 28 RTL: "\x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-          text run at (106,1) width 25: " fifth"
-      LayoutMenuList {SELECT} at (0,40) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x21
-          LayoutText (anonymous) at (4,1) size 170x18
-            text run at (4,1) width 24: "fifth"
-            text run at (28,1) width 54 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} "
-            text run at (82,1) width 18: "03"
-            text run at (100,1) width 43 RTL: " \x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-            text run at (143,1) width 31: "First"
-      LayoutBlockFlow {DIV} at (0,62) size 352x18
-        LayoutText {#text} at (1,1) size 130x15
-          text run at (1,1) width 22: "fifth"
-          text run at (23,1) width 41 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} "
-          text run at (64,1) width 12: "03"
-          text run at (76,1) width 31 RTL: " \x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-          text run at (107,1) width 24: "First"
-      LayoutMenuList {SELECT} at (0,80) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x21
-          LayoutText (anonymous) at (4,1) size 170x18
-            text run at (4,1) width 170 LTR override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutBlockFlow {DIV} at (0,102) size 352x18
-        LayoutText {#text} at (1,1) size 130x15
-          text run at (1,1) width 130 LTR override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutMenuList {SELECT} at (0,120) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x21
-          LayoutText (anonymous) at (4,1) size 170x18
-            text run at (4,1) width 170 RTL override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutBlockFlow {DIV} at (0,142) size 352x18
-        LayoutText {#text} at (1,1) size 130x15
-          text run at (1,1) width 130 RTL override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-    LayoutBlockFlow {DIV} at (0,160) size 384x160
-      LayoutMenuList {SELECT} at (0,0) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x21
-          LayoutText (anonymous) at (174,1) size 170x18
-            text run at (174,1) width 35: "First "
-            text run at (209,1) width 50 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA}"
-            text run at (259,1) width 18: "03"
-            text run at (277,1) width 39 RTL: "\x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-            text run at (316,1) width 28: " fifth"
-      LayoutBlockFlow {DIV} at (0,22) size 352x18
-        LayoutText {#text} at (221,1) size 130x15
-          text run at (221,1) width 27: "First "
-          text run at (248,1) width 38 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA}"
-          text run at (286,1) width 12: "03"
-          text run at (298,1) width 28 RTL: "\x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-          text run at (326,1) width 25: " fifth"
-      LayoutMenuList {SELECT} at (0,40) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x21
-          LayoutText (anonymous) at (174,1) size 170x18
-            text run at (174,1) width 24: "fifth"
-            text run at (198,1) width 54 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} "
-            text run at (252,1) width 18: "03"
-            text run at (270,1) width 43 RTL: " \x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-            text run at (313,1) width 31: "First"
-      LayoutBlockFlow {DIV} at (0,62) size 352x18
-        LayoutText {#text} at (221,1) size 130x15
-          text run at (221,1) width 22: "fifth"
-          text run at (243,1) width 41 RTL: ") \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} "
-          text run at (284,1) width 12: "03"
-          text run at (296,1) width 31 RTL: " \x{5E9}\x{5E0}\x{5D9}\x{5D4} ("
-          text run at (327,1) width 24: "First"
-      LayoutMenuList {SELECT} at (0,80) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x21
-          LayoutText (anonymous) at (174,1) size 170x18
-            text run at (174,1) width 170 LTR override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutBlockFlow {DIV} at (0,102) size 352x18
-        LayoutText {#text} at (221,1) size 130x15
-          text run at (221,1) width 130 LTR override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutMenuList {SELECT} at (0,120) size 350x22 [bgcolor=#FFFFFF] [border: (1px solid #A9A9A9)]
-        LayoutBlockFlow (anonymous) at (1,1) size 348x21
-          LayoutText (anonymous) at (174,1) size 170x18
-            text run at (174,1) width 170 RTL override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
-      LayoutBlockFlow {DIV} at (0,142) size 352x18
-        LayoutText {#text} at (221,1) size 130x15
-          text run at (221,1) width 130 RTL override: "First \x{5E9}\x{5E0}\x{5D9}\x{5D4} (03) \x{5E8}\x{5D1}\x{5D9}\x{5E2}\x{5D9}\x{5EA} fifth"
diff --git a/third_party/WebKit/LayoutTests/platform/win7/printing/absolute-position-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/printing/absolute-position-headers-and-footers-expected.txt
deleted file mode 100644
index 39d1f589..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/printing/absolute-position-headers-and-footers-expected.txt
+++ /dev/null
@@ -1,241 +0,0 @@
-layer at (0,0) size 1046x799 scrollHeight 2685
-  LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
-      LayoutBlockFlow {P} at (0,0) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,36) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,72) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,108) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,144) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,180) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,216) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,252) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,288) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,324) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,360) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,396) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,432) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,468) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,504) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,540) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,576) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,648) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,684) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,720) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,756) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,819) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,855) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,891) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,927) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,963) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,999) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1035) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1071) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1107) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1143) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1179) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1215) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1251) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1287) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1323) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1359) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1431) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1467) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1503) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1539) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1618) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1654) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1690) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1726) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1762) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1798) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1834) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1870) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1906) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1942) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1978) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2014) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2050) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2086) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2122) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2158) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2230) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2266) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2302) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2338) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2417) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2453) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2489) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2525) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2561) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2597) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2633) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-layer at (8,0) size 584x38
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 584x38
-    LayoutBlockFlow {DIV} at (0,0) size 584x30
-      LayoutBlockFlow (anonymous) at (0,0) size 584x20
-        LayoutText {#text} at (0,0) size 584x19
-          text run at (0,0) width 584: "crbug.com/303728: Header Line is absolute positioned so should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 584x2 [border: (1px inset #EEEEEE)]
-layer at (8,761) size 580x38
-  LayoutBlockFlow (positioned) {DIV} at (8,761) size 580x38
-    LayoutBlockFlow {DIV} at (0,8) size 580x30
-      LayoutBlockFlow {HR} at (0,0) size 580x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 580x20
-        LayoutText {#text} at (0,0) size 580x19
-          text run at (0,0) width 580: "crbug.com/303728: Footer Line is absolute positioned so should not be repeated on every page."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-but-static-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
deleted file mode 100644
index 952bf3b..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
+++ /dev/null
@@ -1,241 +0,0 @@
-layer at (0,0) size 1046x799 scrollHeight 2685
-  LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
-      LayoutBlockFlow {P} at (0,0) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,36) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,72) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,108) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,144) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,180) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,216) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,252) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,288) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,324) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,360) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,396) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,432) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,468) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,504) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,540) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,576) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,648) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,684) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,720) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,756) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,819) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,855) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,891) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,927) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,963) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,999) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1035) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1071) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1107) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1143) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1179) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1215) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1251) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1287) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1323) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1359) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1431) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1467) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1503) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1539) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1618) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1654) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1690) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1726) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1762) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1798) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1834) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1870) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1906) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1942) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1978) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2014) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2050) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2086) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2122) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2158) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2230) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2266) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2302) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2338) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2417) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2453) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2489) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2525) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2561) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2597) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2633) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-layer at (8,16) size 638x38
-  LayoutBlockFlow (positioned) {DIV} at (8,16) size 638x38
-    LayoutBlockFlow {DIV} at (0,0) size 638x30
-      LayoutBlockFlow (anonymous) at (0,0) size 638x20
-        LayoutText {#text} at (0,0) size 638x19
-          text run at (0,0) width 638: "crbug.com/303728: Fixed-position header Line is statically positioned and will be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 638x2 [border: (1px inset #EEEEEE)]
-layer at (8,2685) size 589x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,2685) size 589x38
-    LayoutBlockFlow {DIV} at (0,8) size 589x30
-      LayoutBlockFlow {HR} at (0,0) size 589x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 589x20
-        LayoutText {#text} at (0,0) size 589x19
-          text run at (0,0) width 589: "crbug.com/303728: Footer Line is statically positioned and should not be repeated on every page."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-headers-and-footers-expected.txt
deleted file mode 100644
index a8404c5a..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-headers-and-footers-expected.txt
+++ /dev/null
@@ -1,241 +0,0 @@
-layer at (0,0) size 1046x799 scrollHeight 2685
-  LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
-      LayoutBlockFlow {P} at (0,0) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,36) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,72) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,108) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,144) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,180) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,216) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,252) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,288) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,324) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,360) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,396) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,432) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,468) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,504) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,540) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,576) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,648) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,684) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,720) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,756) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,819) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,855) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,891) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,927) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,963) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,999) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1035) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1071) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1107) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1143) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1179) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1215) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1251) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1287) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1323) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1359) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1431) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1467) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1503) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1539) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1618) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1654) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1690) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1726) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1762) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1798) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1834) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1870) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1906) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1942) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1978) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2014) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2050) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2086) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2122) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2158) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2230) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2266) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2302) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2338) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2417) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2453) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2489) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2525) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2561) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2597) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2633) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-layer at (8,0) size 497x38
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 497x38
-    LayoutBlockFlow {DIV} at (0,0) size 497x30
-      LayoutBlockFlow (anonymous) at (0,0) size 497x20
-        LayoutText {#text} at (0,0) size 497x19
-          text run at (0,0) width 497: "crbug.com/303728: Fixed-position header Line should be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 497x2 [border: (1px inset #EEEEEE)]
-layer at (8,761) size 406x38
-  LayoutBlockFlow (positioned) {DIV} at (8,761) size 406x38
-    LayoutBlockFlow {DIV} at (0,8) size 406x30
-      LayoutBlockFlow {HR} at (0,0) size 406x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 406x20
-        LayoutText {#text} at (0,0) size 406x19
-          text run at (0,0) width 406: "crbug.com/303728: Footer Line should be repeated on every page."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
deleted file mode 100644
index 7b8805af..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
+++ /dev/null
@@ -1,245 +0,0 @@
-layer at (0,0) size 1046x799 scrollHeight 2685
-  LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
-      LayoutBlockFlow {P} at (0,0) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,36) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,72) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,108) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,144) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,180) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,216) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,252) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,288) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,324) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,360) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,396) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,432) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,468) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,504) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,540) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,576) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,648) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,684) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,720) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,756) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,819) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,855) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,891) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,927) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,963) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,999) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1035) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1071) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1107) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1143) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1179) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1215) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1251) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1287) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1323) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1359) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1431) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1467) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1503) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1539) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1618) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1654) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1690) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1726) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1762) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1798) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1834) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1870) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1906) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1942) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1978) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2014) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2050) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2086) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2122) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2158) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2230) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2266) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2302) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2338) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2417) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2453) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2489) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2525) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2561) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2597) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2633) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-layer at (8,16) size 1030x0
-  LayoutBlockFlow {DIV} at (0,0) size 1030x0
-layer at (8,16) size 433x38
-  LayoutBlockFlow (positioned) {DIV} at (0,0) size 433x38
-    LayoutBlockFlow {DIV} at (0,0) size 433x30
-      LayoutBlockFlow (anonymous) at (0,0) size 433x20
-        LayoutText {#text} at (0,0) size 433x19
-          text run at (0,0) width 433: "crbug.com/303728: Header Line should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 433x2 [border: (1px inset #EEEEEE)]
-layer at (8,2685) size 1030x0
-  LayoutBlockFlow {DIV} at (0,2669) size 1030x0
-layer at (8,2647) size 429x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (0,-38) size 429x38
-    LayoutBlockFlow {DIV} at (0,8) size 429x30
-      LayoutBlockFlow {HR} at (0,0) size 429x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 429x20
-        LayoutText {#text} at (0,0) size 429x19
-          text run at (0,0) width 429: "crbug.com/303728: Footer Line should not be repeated on every page."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
deleted file mode 100644
index dfba2f27..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
+++ /dev/null
@@ -1,241 +0,0 @@
-layer at (0,0) size 1046x799 scrollHeight 2685
-  LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
-      LayoutBlockFlow {P} at (0,0) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,36) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,72) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,108) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,144) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,180) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,216) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,252) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,288) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,324) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,360) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,396) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,432) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,468) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,504) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,540) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,576) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,648) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,684) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,720) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,756) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,819) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,855) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,891) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,927) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,963) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,999) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1035) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1071) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1107) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1143) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1179) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1215) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1251) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1287) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1323) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1359) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1431) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1467) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1503) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1539) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1618) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1654) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1690) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1726) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1762) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1798) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1834) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1870) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1906) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1942) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1978) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2014) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2050) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2086) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2122) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2158) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2230) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2266) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2302) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2338) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2417) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2453) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2489) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2525) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2561) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2597) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2633) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-layer at (8,0) size 2010x48 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 2010x48 [border: (5px solid #000000)]
-    LayoutBlockFlow {DIV} at (5,5) size 2000x30
-      LayoutBlockFlow (anonymous) at (0,0) size 2000x20
-        LayoutText {#text} at (0,0) size 672x19
-          text run at (0,0) width 672: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
-      LayoutBlockFlow {HR} at (0,28) size 2000x2 [border: (1px inset #EEEEEE)]
-layer at (8,751) size 2010x48 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,751) size 2010x48 [border: (5px solid #000000)]
-    LayoutBlockFlow {DIV} at (5,13) size 2000x30
-      LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 2000x20
-        LayoutText {#text} at (0,0) size 672x19
-          text run at (0,0) width 672: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font-expected.txt
index 8da4ee6..e61c2b3 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font-expected.txt
@@ -32,7 +32,6 @@
           text run at (301,150) width 0: " "
           text run at (0,165) width 266: "SPAN.color {background-color: silver;}"
           text run at (266,165) width 0: " "
-      LayoutBlockFlow {HR} at (0,220) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,234) size 769x16
         LayoutText {#text} at (0,0) size 721x15
           text run at (0,0) width 431: "This element is unstyled, and should inherit a font-size of 12px from the BODY element. "
@@ -228,3 +227,5 @@
                     text run at (0,310) width 743: "color has been set on an inline element and should therefore only cover"
                     text run at (0,382) width 353: "the text, not the interline spacing."
                 LayoutText {#text} at (0,0) size 0x0
+layer at (8,228) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,220) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font_family-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font_family-expected.txt
index 98da0f0..49f9c24 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font_family-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font_family-expected.txt
@@ -26,7 +26,6 @@
           text run at (312,112) width 0: " "
           text run at (0,128) width 304: ".seven {font-family: monospace,serif;}"
           text run at (304,128) width 0: " "
-      LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,211) size 769x198
         LayoutBlockFlow {P} at (0,0) size 769x20
           LayoutText {#text} at (0,0) size 599x19
@@ -46,14 +45,12 @@
         LayoutBlockFlow {P} at (0,182) size 769x16
           LayoutText {#text} at (0,0) size 352x16
             text run at (0,0) width 352: "This sentence should be in a monospace font."
-      LayoutBlockFlow {HR} at (0,422) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,440) size 769x19
         LayoutText {#text} at (0,0) size 383x18
           text run at (0,0) width 383: "This sentence should be in a sans-serif font, not cursive."
       LayoutBlockFlow {P} at (0,475) size 769x18
         LayoutText {#text} at (0,0) size 550x18
           text run at (0,0) width 550: "This sentence should be in a monospace font, not serif."
-      LayoutBlockFlow {HR} at (0,509) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {DIV} at (0,524) size 769x210
         LayoutBlockFlow {P} at (0,0) size 769x32
           LayoutText {#text} at (0,0) size 768x32
@@ -105,14 +102,12 @@
                 LayoutBlockFlow {P} at (0,182) size 747x16
                   LayoutText {#text} at (0,0) size 352x16
                     text run at (0,0) width 352: "This sentence should be in a monospace font."
-              LayoutBlockFlow {HR} at (4,215) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {P} at (4,233) size 747x19
                 LayoutText {#text} at (0,0) size 383x18
                   text run at (0,0) width 383: "This sentence should be in a sans-serif font, not cursive."
               LayoutBlockFlow {P} at (4,268) size 747x18
                 LayoutText {#text} at (0,0) size 550x18
                   text run at (0,0) width 550: "This sentence should be in a monospace font, not serif."
-              LayoutBlockFlow {HR} at (4,302) size 747x2 [border: (1px inset #EEEEEE)]
               LayoutBlockFlow {DIV} at (4,317) size 747x210
                 LayoutBlockFlow {P} at (0,0) size 747x32
                   LayoutText {#text} at (0,0) size 728x32
@@ -133,3 +128,13 @@
                 LayoutBlockFlow {P} at (0,194) size 747x16
                   LayoutText {#text} at (0,0) size 352x16
                     text run at (0,0) width 352: "This sentence should be in a monospace font."
+layer at (8,201) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,193) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,430) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,422) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (8,517) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,509) size 769x2 [border: (1px inset #EEEEEE)]
+layer at (25,999) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,215) size 747x2 [border: (1px inset #EEEEEE)]
+layer at (25,1086) size 747x2 backgroundClip at (0,0) size 0x0 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (4,302) size 747x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt
index e28d2df..788c3da 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/font_properties/font_variant-expected.txt
@@ -13,7 +13,6 @@
           text run at (0,16) width 224: ".two {font-variant: normal;}"
           text run at (224,16) width 0: " "
           text run at (0,32) width 0: " "
-      LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,115) size 784x20
         LayoutText {#text} at (0,0) size 265x19
           text run at (0,0) width 265: "This Paragraph should be in Small Caps."
@@ -48,3 +47,5 @@
                     text run at (573,0) width 46: "Normal"
                 LayoutText {#text} at (619,0) size 4x19
                   text run at (619,0) width 4: "."
+layer at (8,105) size 784x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/pseudo/firstline-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/pseudo/firstline-expected.txt
index 91b42a96..faf3ecca 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/pseudo/firstline-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/pseudo/firstline-expected.txt
@@ -15,7 +15,6 @@
           text run at (0,32) width 360: ".three:first-line {font-variant: small-caps;}"
           text run at (360,32) width 0: " "
           text run at (0,48) width 0: " "
-      LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,131) size 769x60
         LayoutText {#text} at (0,0) size 758x59
           text run at (0,0) width 400: "The first line of this paragraph, and only that one, should be green. "
@@ -81,3 +80,5 @@
                   text run at (237,40) width 218: " is not supported by your browser). "
                   text run at (455,40) width 270: "This is extra text included for the purposes of"
                   text run at (0,60) width 372: "making the paragraph long enough to have more than one line."
+layer at (8,121) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,113) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt
index 1e6de73..cbd9e20 100644
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/win7/virtual/mojo-loading/css1/pseudo/multiple_pseudo_elements-expected.txt
@@ -24,7 +24,6 @@
           text run at (0,80) width 368: "P.three:first-line {font-variant: small-caps;}"
           text run at (368,80) width 0: " "
           text run at (0,96) width 0: " "
-      LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
       LayoutBlockFlow {P} at (0,179) size 769x60
         LayoutInline {<pseudo:first-letter>} at (0,0) size 9x19 [color=#800000]
           LayoutTextFragment (anonymous) at (0,0) size 9x19
@@ -101,3 +100,5 @@
                   text run at (0,86) width 685: "that the inclusion of both the quotation mark and the 'W' in the first-letter style is not required under CSS1, but it is"
                   text run at (0,106) width 94: "recommended. "
                   text run at (94,106) width 426: "In addition, the entire first line should be in a small-caps font and green."
+layer at (8,169) size 769x2 clip at (0,0) size 0x0
+  LayoutBlockFlow {HR} at (0,161) size 769x2 [border: (1px inset #EEEEEE)]
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt
deleted file mode 100644
index 39d1f589..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/absolute-position-headers-and-footers-expected.txt
+++ /dev/null
@@ -1,241 +0,0 @@
-layer at (0,0) size 1046x799 scrollHeight 2685
-  LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
-      LayoutBlockFlow {P} at (0,0) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,36) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,72) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,108) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,144) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,180) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,216) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,252) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,288) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,324) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,360) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,396) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,432) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,468) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,504) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,540) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,576) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,648) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,684) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,720) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,756) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,819) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,855) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,891) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,927) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,963) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,999) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1035) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1071) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1107) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1143) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1179) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1215) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1251) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1287) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1323) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1359) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1431) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1467) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1503) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1539) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1618) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1654) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1690) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1726) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1762) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1798) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1834) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1870) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1906) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1942) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1978) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2014) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2050) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2086) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2122) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2158) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2230) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2266) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2302) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2338) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2417) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2453) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2489) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2525) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2561) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2597) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2633) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-layer at (8,0) size 584x38
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 584x38
-    LayoutBlockFlow {DIV} at (0,0) size 584x30
-      LayoutBlockFlow (anonymous) at (0,0) size 584x20
-        LayoutText {#text} at (0,0) size 584x19
-          text run at (0,0) width 584: "crbug.com/303728: Header Line is absolute positioned so should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 584x2 [border: (1px inset #EEEEEE)]
-layer at (8,761) size 580x38
-  LayoutBlockFlow (positioned) {DIV} at (8,761) size 580x38
-    LayoutBlockFlow {DIV} at (0,8) size 580x30
-      LayoutBlockFlow {HR} at (0,0) size 580x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 580x20
-        LayoutText {#text} at (0,0) size 580x19
-          text run at (0,0) width 580: "crbug.com/303728: Footer Line is absolute positioned so should not be repeated on every page."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
deleted file mode 100644
index 952bf3b..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-but-static-headers-and-footers-expected.txt
+++ /dev/null
@@ -1,241 +0,0 @@
-layer at (0,0) size 1046x799 scrollHeight 2685
-  LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
-      LayoutBlockFlow {P} at (0,0) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,36) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,72) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,108) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,144) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,180) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,216) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,252) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,288) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,324) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,360) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,396) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,432) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,468) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,504) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,540) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,576) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,648) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,684) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,720) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,756) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,819) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,855) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,891) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,927) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,963) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,999) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1035) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1071) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1107) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1143) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1179) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1215) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1251) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1287) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1323) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1359) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1431) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1467) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1503) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1539) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1618) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1654) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1690) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1726) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1762) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1798) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1834) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1870) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1906) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1942) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1978) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2014) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2050) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2086) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2122) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2158) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2230) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2266) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2302) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2338) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2417) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2453) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2489) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2525) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2561) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2597) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2633) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-layer at (8,16) size 638x38
-  LayoutBlockFlow (positioned) {DIV} at (8,16) size 638x38
-    LayoutBlockFlow {DIV} at (0,0) size 638x30
-      LayoutBlockFlow (anonymous) at (0,0) size 638x20
-        LayoutText {#text} at (0,0) size 638x19
-          text run at (0,0) width 638: "crbug.com/303728: Fixed-position header Line is statically positioned and will be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 638x2 [border: (1px inset #EEEEEE)]
-layer at (8,2685) size 589x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,2685) size 589x38
-    LayoutBlockFlow {DIV} at (0,8) size 589x30
-      LayoutBlockFlow {HR} at (0,0) size 589x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 589x20
-        LayoutText {#text} at (0,0) size 589x19
-          text run at (0,0) width 589: "crbug.com/303728: Footer Line is statically positioned and should not be repeated on every page."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt
deleted file mode 100644
index a8404c5a..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-headers-and-footers-expected.txt
+++ /dev/null
@@ -1,241 +0,0 @@
-layer at (0,0) size 1046x799 scrollHeight 2685
-  LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
-      LayoutBlockFlow {P} at (0,0) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,36) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,72) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,108) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,144) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,180) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,216) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,252) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,288) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,324) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,360) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,396) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,432) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,468) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,504) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,540) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,576) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,648) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,684) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,720) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,756) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,819) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,855) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,891) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,927) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,963) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,999) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1035) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1071) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1107) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1143) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1179) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1215) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1251) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1287) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1323) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1359) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1431) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1467) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1503) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1539) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1618) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1654) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1690) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1726) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1762) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1798) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1834) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1870) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1906) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1942) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1978) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2014) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2050) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2086) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2122) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2158) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2230) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2266) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2302) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2338) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2417) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2453) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2489) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2525) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2561) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2597) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2633) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-layer at (8,0) size 497x38
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 497x38
-    LayoutBlockFlow {DIV} at (0,0) size 497x30
-      LayoutBlockFlow (anonymous) at (0,0) size 497x20
-        LayoutText {#text} at (0,0) size 497x19
-          text run at (0,0) width 497: "crbug.com/303728: Fixed-position header Line should be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 497x2 [border: (1px inset #EEEEEE)]
-layer at (8,761) size 406x38
-  LayoutBlockFlow (positioned) {DIV} at (8,761) size 406x38
-    LayoutBlockFlow {DIV} at (0,8) size 406x30
-      LayoutBlockFlow {HR} at (0,0) size 406x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 406x20
-        LayoutText {#text} at (0,0) size 406x19
-          text run at (0,0) width 406: "crbug.com/303728: Footer Line should be repeated on every page."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
deleted file mode 100644
index 7b8805af..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-headers-and-footers-inside-transform-expected.txt
+++ /dev/null
@@ -1,245 +0,0 @@
-layer at (0,0) size 1046x799 scrollHeight 2685
-  LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
-      LayoutBlockFlow {P} at (0,0) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,36) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,72) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,108) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,144) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,180) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,216) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,252) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,288) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,324) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,360) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,396) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,432) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,468) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,504) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,540) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,576) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,648) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,684) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,720) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,756) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,819) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,855) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,891) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,927) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,963) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,999) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1035) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1071) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1107) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1143) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1179) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1215) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1251) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1287) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1323) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1359) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1431) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1467) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1503) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1539) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1618) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1654) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1690) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1726) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1762) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1798) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1834) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1870) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1906) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1942) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1978) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2014) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2050) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2086) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2122) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2158) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2230) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2266) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2302) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2338) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2417) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2453) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2489) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2525) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2561) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2597) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2633) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-layer at (8,16) size 1030x0
-  LayoutBlockFlow {DIV} at (0,0) size 1030x0
-layer at (8,16) size 433x38
-  LayoutBlockFlow (positioned) {DIV} at (0,0) size 433x38
-    LayoutBlockFlow {DIV} at (0,0) size 433x30
-      LayoutBlockFlow (anonymous) at (0,0) size 433x20
-        LayoutText {#text} at (0,0) size 433x19
-          text run at (0,0) width 433: "crbug.com/303728: Header Line should not be repeated on every page."
-      LayoutBlockFlow {HR} at (0,28) size 433x2 [border: (1px inset #EEEEEE)]
-layer at (8,2685) size 1030x0
-  LayoutBlockFlow {DIV} at (0,2669) size 1030x0
-layer at (8,2647) size 429x38 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (0,-38) size 429x38
-    LayoutBlockFlow {DIV} at (0,8) size 429x30
-      LayoutBlockFlow {HR} at (0,0) size 429x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 429x20
-        LayoutText {#text} at (0,0) size 429x19
-          text run at (0,0) width 429: "crbug.com/303728: Footer Line should not be repeated on every page."
diff --git a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt b/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
deleted file mode 100644
index dfba2f27..0000000
--- a/third_party/WebKit/LayoutTests/platform/win7/virtual/threaded/printing/fixed-positioned-headers-and-footers-larger-than-page-expected.txt
+++ /dev/null
@@ -1,241 +0,0 @@
-layer at (0,0) size 1046x799 scrollHeight 2685
-  LayoutView at (0,0) size 1046x799
-layer at (0,0) size 1046x2685 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow {HTML} at (0,0) size 1046x2685
-    LayoutBlockFlow {BODY} at (8,16) size 1030x2653
-      LayoutBlockFlow {P} at (0,0) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,36) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,72) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,108) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,144) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,180) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,216) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,252) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,288) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,324) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,360) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,396) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,432) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,468) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,504) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,540) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,576) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,612) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,648) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,684) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,720) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,756) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,783) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,819) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,855) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,891) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,927) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,963) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,999) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1035) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1071) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1107) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1143) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1179) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1215) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1251) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1287) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1323) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1359) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1395) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1431) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1467) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1503) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1539) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1582) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1618) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1654) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1690) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1726) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1762) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1798) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1834) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1870) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1906) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1942) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,1978) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2014) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2050) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2086) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2122) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2158) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2194) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2230) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2266) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2302) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2338) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2381) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2417) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2453) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2489) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2525) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2561) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2597) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-      LayoutBlockFlow {P} at (0,2633) size 1030x20
-        LayoutText {#text} at (0,0) size 60x19
-          text run at (0,0) width 60: "Filler lines"
-layer at (8,0) size 2010x48 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,0) size 2010x48 [border: (5px solid #000000)]
-    LayoutBlockFlow {DIV} at (5,5) size 2000x30
-      LayoutBlockFlow (anonymous) at (0,0) size 2000x20
-        LayoutText {#text} at (0,0) size 672x19
-          text run at (0,0) width 672: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
-      LayoutBlockFlow {HR} at (0,28) size 2000x2 [border: (1px inset #EEEEEE)]
-layer at (8,751) size 2010x48 backgroundClip at (0,0) size 1046x799 clip at (0,0) size 1046x799
-  LayoutBlockFlow (positioned) {DIV} at (8,751) size 2010x48 [border: (5px solid #000000)]
-    LayoutBlockFlow {DIV} at (5,13) size 2000x30
-      LayoutBlockFlow {HR} at (0,0) size 2000x2 [border: (1px inset #EEEEEE)]
-      LayoutBlockFlow (anonymous) at (0,10) size 2000x20
-        LayoutText {#text} at (0,0) size 672x19
-          text run at (0,0) width 672: "crbug.com/303728: Footer Line should be repeated on every page and should be clipped because it's too wide."
diff --git a/third_party/WebKit/Source/core/css/html.css b/third_party/WebKit/Source/core/css/html.css
index 854abfa4..9e38e56 100644
--- a/third_party/WebKit/Source/core/css/html.css
+++ b/third_party/WebKit/Source/core/css/html.css
@@ -132,6 +132,8 @@
 
 hr {
     display: block;
+    overflow: hidden;
+    unicode-bidi: isolate;
     -webkit-margin-before: 0.5em;
     -webkit-margin-after: 0.5em;
     -webkit-margin-start: auto;
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
index 476208f..0e5c7ea 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
@@ -4286,14 +4286,6 @@
     return true;
   }
 
-  if (IsHR()) {
-    // Not mentioned in the spec, but we want HR elements to be pushed to the
-    // side by floats (and all engines seem to do that), since we use borders to
-    // render HR (and it would just ugly to let those borders be painted under
-    // the float).
-    return true;
-  }
-
   if (IsLegend()) {
     // This is wrong; see crbug.com/727378 . It may be that our current
     // implementation requires the rendered legend inside a FIELDSET to create a