[Qt] Unreviewed holiday gardening after r98852.

CSS 2.1 failure: background-intrinsic-*
https://bugs.webkit.org/show_bug.cgi?id=47156

* platform/qt/css1/text_properties/vertical_align-expected.png:
* platform/qt/css1/text_properties/vertical_align-expected.txt:
* platform/qt/css2.1/20110323/background-intrinsic-001-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-001-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-002-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-002-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-003-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-003-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-004-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-004-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-005-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-005-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-006-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-006-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-007-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-007-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-008-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-008-expected.txt: Added.
* platform/qt/css2.1/20110323/background-intrinsic-009-expected.png: Added.
* platform/qt/css2.1/20110323/background-intrinsic-009-expected.txt: Added.
* platform/qt/fast/block/float/015-expected.png:
* platform/qt/fast/block/float/015-expected.txt:
* platform/qt/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png:
* platform/qt/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt: Added.
* platform/qt/fast/repaint/block-layout-inline-children-replaced-expected.png:
* platform/qt/fast/repaint/block-layout-inline-children-replaced-expected.txt:
* platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png: Added.
* platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.txt: Added.
* platform/qt/svg/as-background-image/background-image-tiled-expected.png: Added.
* platform/qt/svg/as-background-image/background-image-tiled-expected.txt: Added.
* platform/qt/svg/as-background-image/same-image-two-instances-background-image-expected.png: Added.
* platform/qt/svg/as-background-image/same-image-two-instances-background-image-expected.txt: Added.
* platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.png: Added.
* platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.txt: Added.
* platform/qt/svg/as-image/same-image-two-instances-expected.png: Added.
* platform/qt/svg/as-image/same-image-two-instances-expected.txt: Added.
* platform/qt/svg/as-image/svg-as-relative-image-with-explicit-size-expected.png: Added.
* platform/qt/svg/as-image/svg-as-relative-image-with-explicit-size-expected.txt: Added.
* platform/qt/svg/as-image/svg-image-change-content-size-expected.png: Added.
* platform/qt/svg/as-image/svg-image-change-content-size-expected.txt: Added.
* platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.png: Added.
* platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-foreignObject-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-foreignObject-expected.txt:
* platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-svg-as-image-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-as-image-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-svg-as-relative-image-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-as-relative-image-expected.txt: Added.
* platform/qt/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
* platform/qt/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png b/LayoutTests/platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png
new file mode 100644
index 0000000..1a422fb
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.txt b/LayoutTests/platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.txt
new file mode 100644
index 0000000..6a835b0
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.txt
@@ -0,0 +1,94 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x515
+  RenderBlock {HTML} at (0,0) size 800x515
+    RenderBody {BODY} at (8,8) size 784x499
+      RenderTable {TABLE} at (0,0) size 670x499
+        RenderTableSection {TBODY} at (0,0) size 670x499
+          RenderTableRow {TR} at (0,2) size 670x23
+            RenderTableCell {TH} at (2,2) size 93x23 [bgcolor=#DDDD99] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (9,1) size 75x21
+                text run at (9,1) width 75: "viewBox?"
+            RenderTableCell {TH} at (97,2) size 163x23 [bgcolor=#DDDD99] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 169x21
+                text run at (1,1) width 169: "preserve\x{AD}Aspect\x{AD}Ratio"
+            RenderTableCell {TH} at (262,2) size 202x23 [bgcolor=#DDDD99] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (78,1) size 46x21
+                text run at (78,1) width 46: "<img>"
+            RenderTableCell {TH} at (466,2) size 202x23 [bgcolor=#DDDD99] [r=0 c=3 rs=1 cs=1]
+              RenderText {#text} at (80,1) size 42x21
+                text run at (80,1) width 42: "<div>"
+          RenderTableRow {TR} at (0,27) size 670x57
+            RenderTableCell {TH} at (2,132) size 93x23 [bgcolor=#DDDD99] [r=1 c=0 rs=4 cs=1]
+              RenderText {#text} at (1,1) size 91x21
+                text run at (1,1) width 91: "No viewBox"
+            RenderTableCell {TH} at (97,54) size 163x2 [bgcolor=#DDDD99] [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (262,27) size 202x57 [r=1 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,29) size 202x52 [r=1 c=3 rs=1 cs=1]
+              RenderBlock {DIV} at (1,1) size 200x50 [border: (2px dashed #800000)]
+          RenderTableRow {TR} at (0,86) size 670x57
+            RenderTableCell {TH} at (97,103) size 163x23 [bgcolor=#DDDD99] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (62,1) size 39x21
+                text run at (62,1) width 39: "none"
+            RenderTableCell {TD} at (262,86) size 202x57 [r=2 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,88) size 202x52 [r=2 c=3 rs=1 cs=1]
+              RenderBlock {DIV} at (1,1) size 200x50 [border: (2px dashed #800000)]
+          RenderTableRow {TR} at (0,145) size 670x57
+            RenderTableCell {TH} at (97,162) size 163x23 [bgcolor=#DDDD99] [r=3 c=1 rs=1 cs=1]
+              RenderText {#text} at (63,1) size 37x21
+                text run at (63,1) width 37: "meet"
+            RenderTableCell {TD} at (262,145) size 202x57 [r=3 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,147) size 202x52 [r=3 c=3 rs=1 cs=1]
+              RenderBlock {DIV} at (1,1) size 200x50 [border: (2px dashed #800000)]
+          RenderTableRow {TR} at (0,204) size 670x57
+            RenderTableCell {TH} at (97,221) size 163x23 [bgcolor=#DDDD99] [r=4 c=1 rs=1 cs=1]
+              RenderText {#text} at (64,1) size 35x21
+                text run at (64,1) width 35: "slice"
+            RenderTableCell {TD} at (262,204) size 202x57 [r=4 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,206) size 202x52 [r=4 c=3 rs=1 cs=1]
+              RenderBlock {DIV} at (1,1) size 200x50 [border: (2px dashed #800000)]
+          RenderTableRow {TR} at (0,263) size 670x57
+            RenderTableCell {TH} at (2,368) size 93x23 [bgcolor=#DDDD99] [r=5 c=0 rs=4 cs=1]
+              RenderText {#text} at (14,1) size 65x21
+                text run at (14,1) width 65: "viewBox"
+            RenderTableCell {TH} at (97,290) size 163x2 [bgcolor=#DDDD99] [r=5 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (262,263) size 202x57 [r=5 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,265) size 202x52 [r=5 c=3 rs=1 cs=1]
+              RenderBlock {DIV} at (1,1) size 200x50 [border: (2px dashed #800000)]
+          RenderTableRow {TR} at (0,322) size 670x57
+            RenderTableCell {TH} at (97,339) size 163x23 [bgcolor=#DDDD99] [r=6 c=1 rs=1 cs=1]
+              RenderText {#text} at (62,1) size 39x21
+                text run at (62,1) width 39: "none"
+            RenderTableCell {TD} at (262,322) size 202x57 [r=6 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,324) size 202x52 [r=6 c=3 rs=1 cs=1]
+              RenderBlock {DIV} at (1,1) size 200x50 [border: (2px dashed #800000)]
+          RenderTableRow {TR} at (0,381) size 670x57
+            RenderTableCell {TH} at (97,398) size 163x23 [bgcolor=#DDDD99] [r=7 c=1 rs=1 cs=1]
+              RenderText {#text} at (63,1) size 37x21
+                text run at (63,1) width 37: "meet"
+            RenderTableCell {TD} at (262,381) size 202x57 [r=7 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,383) size 202x52 [r=7 c=3 rs=1 cs=1]
+              RenderBlock {DIV} at (1,1) size 200x50 [border: (2px dashed #800000)]
+          RenderTableRow {TR} at (0,440) size 670x57
+            RenderTableCell {TH} at (97,457) size 163x23 [bgcolor=#DDDD99] [r=8 c=1 rs=1 cs=1]
+              RenderText {#text} at (64,1) size 35x21
+                text run at (64,1) width 35: "slice"
+            RenderTableCell {TD} at (262,440) size 202x57 [r=8 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,442) size 202x52 [r=8 c=3 rs=1 cs=1]
+              RenderBlock {DIV} at (1,1) size 200x50 [border: (2px dashed #800000)]
diff --git a/LayoutTests/platform/qt/svg/as-background-image/background-image-tiled-expected.png b/LayoutTests/platform/qt/svg/as-background-image/background-image-tiled-expected.png
new file mode 100644
index 0000000..04aa711
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-background-image/background-image-tiled-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/as-background-image/background-image-tiled-expected.txt b/LayoutTests/platform/qt/svg/as-background-image/background-image-tiled-expected.txt
new file mode 100644
index 0000000..1986e1f
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-background-image/background-image-tiled-expected.txt
@@ -0,0 +1,6 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x118
+  RenderBlock {HTML} at (0,0) size 800x118
+    RenderBody {BODY} at (8,8) size 784x102
+      RenderBlock {DIV} at (0,0) size 786x102 [border: (1px solid #CCCCCC)]
diff --git a/LayoutTests/platform/qt/svg/as-background-image/same-image-two-instances-background-image-expected.png b/LayoutTests/platform/qt/svg/as-background-image/same-image-two-instances-background-image-expected.png
new file mode 100644
index 0000000..ce1dd23
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-background-image/same-image-two-instances-background-image-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/as-background-image/same-image-two-instances-background-image-expected.txt b/LayoutTests/platform/qt/svg/as-background-image/same-image-two-instances-background-image-expected.txt
new file mode 100644
index 0000000..06009a2
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-background-image/same-image-two-instances-background-image-expected.txt
@@ -0,0 +1,7 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x116
+  RenderBlock {HTML} at (0,0) size 800x116
+    RenderBody {BODY} at (8,8) size 784x100
+      RenderBlock {DIV} at (0,0) size 200x50 [border: (2px dashed #800000)]
+      RenderBlock {DIV} at (0,50) size 200x50 [border: (2px dashed #800000)]
diff --git a/LayoutTests/platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.png b/LayoutTests/platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.png
new file mode 100644
index 0000000..7bfa84a
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.txt b/LayoutTests/platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.txt
new file mode 100644
index 0000000..67dbd9b
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.txt
@@ -0,0 +1,156 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x515
+  RenderBlock {HTML} at (0,0) size 800x515
+    RenderBody {BODY} at (8,8) size 784x499
+      RenderTable {TABLE} at (0,0) size 670x499
+        RenderTableSection {TBODY} at (0,0) size 670x499
+          RenderTableRow {TR} at (0,2) size 670x23
+            RenderTableCell {TH} at (2,2) size 93x23 [bgcolor=#DDDD99] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (9,1) size 75x21
+                text run at (9,1) width 75: "viewBox?"
+            RenderTableCell {TH} at (97,2) size 163x23 [bgcolor=#DDDD99] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 169x21
+                text run at (1,1) width 169: "preserve\x{AD}Aspect\x{AD}Ratio"
+            RenderTableCell {TH} at (262,2) size 202x23 [bgcolor=#DDDD99] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (78,1) size 46x21
+                text run at (78,1) width 46: "<img>"
+            RenderTableCell {TH} at (466,2) size 202x23 [bgcolor=#DDDD99] [r=0 c=3 rs=1 cs=1]
+              RenderText {#text} at (68,1) size 66x21
+                text run at (68,1) width 66: "<object>"
+          RenderTableRow {TR} at (0,27) size 670x57
+            RenderTableCell {TH} at (2,132) size 93x23 [bgcolor=#DDDD99] [r=1 c=0 rs=4 cs=1]
+              RenderText {#text} at (1,1) size 91x21
+                text run at (1,1) width 91: "No viewBox"
+            RenderTableCell {TH} at (97,54) size 163x2 [bgcolor=#DDDD99] [r=1 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (262,27) size 202x57 [r=1 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,27) size 202x57 [r=1 c=3 rs=1 cs=1]
+              RenderEmbeddedObject {OBJECT} at (1,1) size 200x50 [border: (1px dashed #008000)]
+                layer at (0,0) size 192x42
+                  RenderView at (0,0) size 192x42
+                layer at (0,0) size 192x42
+                  RenderSVGRoot {svg} at (0,0) size 192x42
+                    RenderSVGPath {circle} at (0,0) size 192x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#D9BB7A] [fill rule=EVEN-ODD]}] [cx=110.00] [cy=110.00] [r=110.00]
+              RenderText {#text} at (0,0) size 0x0
+          RenderTableRow {TR} at (0,86) size 670x57
+            RenderTableCell {TH} at (97,103) size 163x23 [bgcolor=#DDDD99] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (62,1) size 39x21
+                text run at (62,1) width 39: "none"
+            RenderTableCell {TD} at (262,86) size 202x57 [r=2 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,86) size 202x57 [r=2 c=3 rs=1 cs=1]
+              RenderEmbeddedObject {OBJECT} at (1,1) size 200x50 [border: (1px dashed #008000)]
+                layer at (0,0) size 192x42
+                  RenderView at (0,0) size 192x42
+                layer at (0,0) size 192x42
+                  RenderSVGRoot {svg} at (0,0) size 192x42
+                    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+                    RenderSVGContainer {g} at (0,0) size 192x42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-162.36,-403.29)}]
+                      RenderSVGPath {path} at (0,0) size 192x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#D9BB7A] [fill rule=EVEN-ODD]}] [data="M 525.714 585.219 C 525.739 685.437 444.503 766.692 344.286 766.692 C 244.068 766.692 162.833 685.437 162.857 585.219 C 162.833 485.002 244.068 403.746 344.286 403.746 C 444.503 403.746 525.739 485.002 525.714 585.219 Z"]
+              RenderText {#text} at (0,0) size 0x0
+          RenderTableRow {TR} at (0,145) size 670x57
+            RenderTableCell {TH} at (97,162) size 163x23 [bgcolor=#DDDD99] [r=3 c=1 rs=1 cs=1]
+              RenderText {#text} at (63,1) size 37x21
+                text run at (63,1) width 37: "meet"
+            RenderTableCell {TD} at (262,145) size 202x57 [r=3 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,145) size 202x57 [r=3 c=3 rs=1 cs=1]
+              RenderEmbeddedObject {OBJECT} at (1,1) size 200x50 [border: (1px dashed #008000)]
+                layer at (0,0) size 192x42
+                  RenderView at (0,0) size 192x42
+                layer at (0,0) size 192x42
+                  RenderSVGRoot {svg} at (0,0) size 192x42
+                    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+                    RenderSVGContainer {g} at (0,0) size 192x42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-162.36,-403.29)}]
+                      RenderSVGPath {path} at (0,0) size 192x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#D9BB7A] [fill rule=EVEN-ODD]}] [data="M 525.714 585.219 C 525.739 685.437 444.503 766.692 344.286 766.692 C 244.068 766.692 162.833 685.437 162.857 585.219 C 162.833 485.002 244.068 403.746 344.286 403.746 C 444.503 403.746 525.739 485.002 525.714 585.219 Z"]
+              RenderText {#text} at (0,0) size 0x0
+          RenderTableRow {TR} at (0,204) size 670x57
+            RenderTableCell {TH} at (97,221) size 163x23 [bgcolor=#DDDD99] [r=4 c=1 rs=1 cs=1]
+              RenderText {#text} at (64,1) size 35x21
+                text run at (64,1) width 35: "slice"
+            RenderTableCell {TD} at (262,204) size 202x57 [r=4 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,204) size 202x57 [r=4 c=3 rs=1 cs=1]
+              RenderEmbeddedObject {OBJECT} at (1,1) size 200x50 [border: (1px dashed #008000)]
+                layer at (0,0) size 192x42
+                  RenderView at (0,0) size 192x42
+                layer at (0,0) size 192x42
+                  RenderSVGRoot {svg} at (0,0) size 192x42
+                    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+                    RenderSVGContainer {g} at (0,0) size 192x42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-162.36,-403.29)}]
+                      RenderSVGPath {path} at (0,0) size 192x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#D9BB7A] [fill rule=EVEN-ODD]}] [data="M 525.714 585.219 C 525.739 685.437 444.503 766.692 344.286 766.692 C 244.068 766.692 162.833 685.437 162.857 585.219 C 162.833 485.002 244.068 403.746 344.286 403.746 C 444.503 403.746 525.739 485.002 525.714 585.219 Z"]
+              RenderText {#text} at (0,0) size 0x0
+          RenderTableRow {TR} at (0,263) size 670x57
+            RenderTableCell {TH} at (2,368) size 93x23 [bgcolor=#DDDD99] [r=5 c=0 rs=4 cs=1]
+              RenderText {#text} at (14,1) size 65x21
+                text run at (14,1) width 65: "viewBox"
+            RenderTableCell {TH} at (97,290) size 163x2 [bgcolor=#DDDD99] [r=5 c=1 rs=1 cs=1]
+            RenderTableCell {TD} at (262,263) size 202x57 [r=5 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,263) size 202x57 [r=5 c=3 rs=1 cs=1]
+              RenderEmbeddedObject {OBJECT} at (1,1) size 200x50 [border: (1px dashed #008000)]
+                layer at (0,0) size 192x42
+                  RenderView at (0,0) size 192x42
+                layer at (0,0) size 192x42
+                  RenderSVGRoot {svg} at (75,0) size 31x31
+                    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+                    RenderSVGContainer {g} at (74,0) size 32x31 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-162.36,-403.29)}]
+                      RenderSVGPath {path} at (74,0) size 32x31 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#D9BB7A] [fill rule=EVEN-ODD]}] [data="M 525.714 585.219 C 525.739 685.437 444.503 766.692 344.286 766.692 C 244.068 766.692 162.833 685.437 162.857 585.219 C 162.833 485.002 244.068 403.746 344.286 403.746 C 444.503 403.746 525.739 485.002 525.714 585.219 Z"]
+              RenderText {#text} at (0,0) size 0x0
+          RenderTableRow {TR} at (0,322) size 670x57
+            RenderTableCell {TH} at (97,339) size 163x23 [bgcolor=#DDDD99] [r=6 c=1 rs=1 cs=1]
+              RenderText {#text} at (62,1) size 39x21
+                text run at (62,1) width 39: "none"
+            RenderTableCell {TD} at (262,322) size 202x57 [r=6 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,322) size 202x57 [r=6 c=3 rs=1 cs=1]
+              RenderEmbeddedObject {OBJECT} at (1,1) size 200x50 [border: (1px dashed #008000)]
+                layer at (0,0) size 192x42
+                  RenderView at (0,0) size 192x42
+                layer at (0,0) size 192x42
+                  RenderSVGRoot {svg} at (0,0) size 140x31
+                    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+                    RenderSVGContainer {g} at (0,0) size 141x31 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-162.36,-403.29)}]
+                      RenderSVGPath {path} at (0,0) size 141x31 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#D9BB7A] [fill rule=EVEN-ODD]}] [data="M 525.714 585.219 C 525.739 685.437 444.503 766.692 344.286 766.692 C 244.068 766.692 162.833 685.437 162.857 585.219 C 162.833 485.002 244.068 403.746 344.286 403.746 C 444.503 403.746 525.739 485.002 525.714 585.219 Z"]
+              RenderText {#text} at (0,0) size 0x0
+          RenderTableRow {TR} at (0,381) size 670x57
+            RenderTableCell {TH} at (97,398) size 163x23 [bgcolor=#DDDD99] [r=7 c=1 rs=1 cs=1]
+              RenderText {#text} at (63,1) size 37x21
+                text run at (63,1) width 37: "meet"
+            RenderTableCell {TD} at (262,381) size 202x57 [r=7 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,381) size 202x57 [r=7 c=3 rs=1 cs=1]
+              RenderEmbeddedObject {OBJECT} at (1,1) size 200x50 [border: (1px dashed #008000)]
+                layer at (0,0) size 192x42
+                  RenderView at (0,0) size 192x42
+                layer at (0,0) size 192x42
+                  RenderSVGRoot {svg} at (75,0) size 31x31
+                    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+                    RenderSVGContainer {g} at (74,0) size 32x31 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-162.36,-403.29)}]
+                      RenderSVGPath {path} at (74,0) size 32x31 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#D9BB7A] [fill rule=EVEN-ODD]}] [data="M 525.714 585.219 C 525.739 685.437 444.503 766.692 344.286 766.692 C 244.068 766.692 162.833 685.437 162.857 585.219 C 162.833 485.002 244.068 403.746 344.286 403.746 C 444.503 403.746 525.739 485.002 525.714 585.219 Z"]
+              RenderText {#text} at (0,0) size 0x0
+          RenderTableRow {TR} at (0,440) size 670x57
+            RenderTableCell {TH} at (97,457) size 163x23 [bgcolor=#DDDD99] [r=8 c=1 rs=1 cs=1]
+              RenderText {#text} at (64,1) size 35x21
+                text run at (64,1) width 35: "slice"
+            RenderTableCell {TD} at (262,440) size 202x57 [r=8 c=2 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 200x50 [border: (2px dashed #800000)]
+              RenderText {#text} at (0,0) size 0x0
+            RenderTableCell {TD} at (466,440) size 202x57 [r=8 c=3 rs=1 cs=1]
+              RenderEmbeddedObject {OBJECT} at (1,1) size 200x50 [border: (1px dashed #008000)]
+                layer at (0,0) size 192x42
+                  RenderView at (0,0) size 192x42
+                layer at (0,0) size 192x42
+                  RenderSVGRoot {svg} at (0,0) size 140x42
+                    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+                    RenderSVGContainer {g} at (0,0) size 141x42 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-162.36,-403.29)}]
+                      RenderSVGPath {path} at (0,0) size 141x42 [stroke={[type=SOLID] [color=#000000]}] [fill={[type=SOLID] [color=#D9BB7A] [fill rule=EVEN-ODD]}] [data="M 525.714 585.219 C 525.739 685.437 444.503 766.692 344.286 766.692 C 244.068 766.692 162.833 685.437 162.857 585.219 C 162.833 485.002 244.068 403.746 344.286 403.746 C 444.503 403.746 525.739 485.002 525.714 585.219 Z"]
+              RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/qt/svg/as-image/same-image-two-instances-expected.png b/LayoutTests/platform/qt/svg/as-image/same-image-two-instances-expected.png
new file mode 100644
index 0000000..b506194
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-image/same-image-two-instances-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/as-image/same-image-two-instances-expected.txt b/LayoutTests/platform/qt/svg/as-image/same-image-two-instances-expected.txt
new file mode 100644
index 0000000..b1fd96e
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-image/same-image-two-instances-expected.txt
@@ -0,0 +1,10 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x121
+  RenderBlock {HTML} at (0,0) size 800x121
+    RenderBody {BODY} at (8,8) size 784x105
+      RenderImage {IMG} at (0,50) size 200x50 [border: (2px dashed #800000)]
+      RenderText {#text} at (200,84) size 4x21
+        text run at (200,84) width 4: " "
+      RenderImage {IMG} at (204,0) size 100x100 [border: (2px dashed #800000)]
+      RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/qt/svg/as-image/svg-as-relative-image-with-explicit-size-expected.png b/LayoutTests/platform/qt/svg/as-image/svg-as-relative-image-with-explicit-size-expected.png
new file mode 100644
index 0000000..6e2dbc9
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-image/svg-as-relative-image-with-explicit-size-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/as-image/svg-as-relative-image-with-explicit-size-expected.txt b/LayoutTests/platform/qt/svg/as-image/svg-as-relative-image-with-explicit-size-expected.txt
new file mode 100644
index 0000000..1be7b54
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-image/svg-as-relative-image-with-explicit-size-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (0,0) size 800x600
+      RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#FF0000]
+        RenderImage {IMG} at (0,0) size 100x100
+        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/qt/svg/as-image/svg-image-change-content-size-expected.png b/LayoutTests/platform/qt/svg/as-image/svg-image-change-content-size-expected.png
new file mode 100644
index 0000000..cf5424a
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-image/svg-image-change-content-size-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/as-image/svg-image-change-content-size-expected.txt b/LayoutTests/platform/qt/svg/as-image/svg-image-change-content-size-expected.txt
new file mode 100644
index 0000000..630c2b2
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/as-image/svg-image-change-content-size-expected.txt
@@ -0,0 +1,12 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x504
+  RenderBlock {html} at (0,0) size 800x504
+    RenderBody {body} at (8,16) size 784x480
+      RenderBlock {p} at (0,0) size 784x42
+        RenderText {#text} at (0,0) size 776x42
+          text run at (0,0) width 776: "The svg image contained in the div element (red box) should not change its appearance when width is resized"
+          text run at (0,21) width 80: "to be larger"
+      RenderBlock {div} at (0,58) size 602x422 [border: (1px solid #FF0000)]
+        RenderImage {img} at (1,1) size 420x420
+        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.png b/LayoutTests/platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.png
new file mode 100644
index 0000000..5d1adcd
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.txt b/LayoutTests/platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.txt
new file mode 100644
index 0000000..adbd5e22
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.txt
@@ -0,0 +1,6 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderSVGRoot {svg} at (6,3) size 788x594
+    RenderSVGPath {rect} at (6,3) size 788x594 [stroke={[type=SOLID] [color=#000000]}] [x=4.63] [y=3.47] [width=453.70] [height=340.28]
+    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.png b/LayoutTests/platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.png
new file mode 100644
index 0000000..ed16104
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.txt b/LayoutTests/platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.txt
new file mode 100644
index 0000000..8af6d30
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.txt
@@ -0,0 +1,6 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x243
+  RenderBlock {HTML} at (0,0) size 800x243
+    RenderBody {BODY} at (16,16) size 768x211
+      RenderBlock {DIV} at (0,0) size 772x211 [border: (2px solid #CCCCCC)]
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-foreignObject-expected.png b/LayoutTests/platform/qt/svg/zoom/page/zoom-foreignObject-expected.png
new file mode 100644
index 0000000..ea60c7f
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-foreignObject-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-foreignObject-expected.txt b/LayoutTests/platform/qt/svg/zoom/page/zoom-foreignObject-expected.txt
index a49dc42..9ff951a 100644
--- a/LayoutTests/platform/qt/svg/zoom/page/zoom-foreignObject-expected.txt
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-foreignObject-expected.txt
@@ -1,7 +1,7 @@
-layer at (0,0) size 1129x841
-  RenderView at (0,0) size 784x584
-layer at (0,0) size 1129x841
-  RenderSVGRoot {svg} at (12,12) size 1117x829
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderSVGRoot {svg} at (12,12) size 788x588
     RenderSVGForeignObject {foreignObject} at (10,10) size 580x380
       RenderBlock {xhtml:div} at (0,0) size 580x21
         RenderText {#text} at (0,0) size 89x21
@@ -11,5 +11,5 @@
           RenderText {#text} at (0,0) size 73x21
             text run at (0,0) width 73: "and a link."
         RenderBR {xhtml:br} at (73,0) size 0x21
-    RenderSVGPath {rect} at (12,12) size 840x552 [stroke={[type=SOLID] [color=#008000]}] [x=10.00] [y=10.00] [width=580.00] [height=380.00]
+    RenderSVGPath {rect} at (12,12) size 788x552 [stroke={[type=SOLID] [color=#008000]}] [x=10.00] [y=10.00] [width=580.00] [height=380.00]
     RenderSVGHiddenContainer {defs} at (0,0) size 0x0
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.png b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.png
new file mode 100644
index 0000000..bce7f10
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.txt b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.txt
new file mode 100644
index 0000000..7d0cc10
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (0,0) size 800x600
+      RenderBlock {DIV} at (0,0) size 666x500 [bgcolor=#008000]
+        RenderText {#text} at (0,0) size 4x17
+          text run at (0,0) width 4: " "
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-image-expected.png b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-image-expected.png
new file mode 100644
index 0000000..55d7b76
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-image-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-image-expected.txt b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-image-expected.txt
new file mode 100644
index 0000000..f168607
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-image-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (0,0) size 800x600
+      RenderBlock {DIV} at (0,0) size 207x207 [bgcolor=#FF0000]
+        RenderImage {IMG} at (0,0) size 207x207
+        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-relative-image-expected.png b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-relative-image-expected.png
new file mode 100644
index 0000000..ce330c7
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-relative-image-expected.png
Binary files differ
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-relative-image-expected.txt b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-relative-image-expected.txt
new file mode 100644
index 0000000..09bc926
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-svg-as-relative-image-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (0,0) size 800x600
+      RenderBlock {DIV} at (0,0) size 83x83 [bgcolor=#FF0000]
+        RenderImage {IMG} at (0,0) size 83x83
+        RenderText {#text} at (0,0) size 0x0