[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

ossy at webkit.org ossy at webkit.org
Wed Dec 22 12:19:41 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 7cdcd3456a420d18fb1ce6d29f092e5fe27bf7d2
Author: ossy at webkit.org <ossy at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Aug 19 12:35:36 2010 +0000

    Unreviewed.
    
    [Qt] Add platform specific expected results for new passing tests.
    Compared to Mac png files and Mac expected files.
    
    * platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.checksum: Added.
    * platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.png: Added.
    * platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.txt: Added.
    * platform/qt/fast/table/early-table-layout-expected.checksum: Added.
    * platform/qt/fast/table/early-table-layout-expected.png: Added.
    * platform/qt/fast/table/early-table-layout-expected.txt: Added.
    * platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.checksum: Added.
    * platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.png: Added.
    * platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.txt: Added.
    * platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum: Added.
    * platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png: Added.
    * platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt: Added.
    * platform/qt/svg/custom/absolute-sized-content-with-resources-expected.checksum: Added.
    * platform/qt/svg/custom/absolute-sized-content-with-resources-expected.png: Added.
    * platform/qt/svg/custom/absolute-sized-content-with-resources-expected.txt: Added.
    * platform/qt/svg/custom/js-update-stop-linked-gradient-expected.checksum: Added.
    * platform/qt/svg/custom/js-update-stop-linked-gradient-expected.png: Added.
    * platform/qt/svg/custom/js-update-stop-linked-gradient-expected.txt: Added.
    * platform/qt/svg/in-html: Added.
    * platform/qt/svg/in-html/circle-expected.checksum: Added.
    * platform/qt/svg/in-html/circle-expected.png: Added.
    * platform/qt/svg/in-html/circle-expected.txt: Added.
    * platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.checksum: Added.
    * platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.png: Added.
    * platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.txt: Added.
    * platform/qt/tables/layering: Added.
    * platform/qt/tables/layering/paint-test-layering-1-expected.checksum: Added.
    * platform/qt/tables/layering/paint-test-layering-1-expected.png: Added.
    * platform/qt/tables/layering/paint-test-layering-1-expected.txt: Added.
    * platform/qt/tables/layering/paint-test-layering-2-expected.checksum: Added.
    * platform/qt/tables/layering/paint-test-layering-2-expected.png: Added.
    * platform/qt/tables/layering/paint-test-layering-2-expected.txt: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65664 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index eca77bd..1caddc4 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,43 @@
+2010-08-19  Csaba Osztrogonác  <ossy at webkit.org>
+
+        Unreviewed.
+
+        [Qt] Add platform specific expected results for new passing tests.
+        Compared to Mac png files and Mac expected files.
+
+        * platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.checksum: Added.
+        * platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.png: Added.
+        * platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.txt: Added.
+        * platform/qt/fast/table/early-table-layout-expected.checksum: Added.
+        * platform/qt/fast/table/early-table-layout-expected.png: Added.
+        * platform/qt/fast/table/early-table-layout-expected.txt: Added.
+        * platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.checksum: Added.
+        * platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.png: Added.
+        * platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.txt: Added.
+        * platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum: Added.
+        * platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png: Added.
+        * platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt: Added.
+        * platform/qt/svg/custom/absolute-sized-content-with-resources-expected.checksum: Added.
+        * platform/qt/svg/custom/absolute-sized-content-with-resources-expected.png: Added.
+        * platform/qt/svg/custom/absolute-sized-content-with-resources-expected.txt: Added.
+        * platform/qt/svg/custom/js-update-stop-linked-gradient-expected.checksum: Added.
+        * platform/qt/svg/custom/js-update-stop-linked-gradient-expected.png: Added.
+        * platform/qt/svg/custom/js-update-stop-linked-gradient-expected.txt: Added.
+        * platform/qt/svg/in-html: Added.
+        * platform/qt/svg/in-html/circle-expected.checksum: Added.
+        * platform/qt/svg/in-html/circle-expected.png: Added.
+        * platform/qt/svg/in-html/circle-expected.txt: Added.
+        * platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.checksum: Added.
+        * platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.png: Added.
+        * platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.txt: Added.
+        * platform/qt/tables/layering: Added.
+        * platform/qt/tables/layering/paint-test-layering-1-expected.checksum: Added.
+        * platform/qt/tables/layering/paint-test-layering-1-expected.png: Added.
+        * platform/qt/tables/layering/paint-test-layering-1-expected.txt: Added.
+        * platform/qt/tables/layering/paint-test-layering-2-expected.checksum: Added.
+        * platform/qt/tables/layering/paint-test-layering-2-expected.png: Added.
+        * platform/qt/tables/layering/paint-test-layering-2-expected.txt: Added.
+
 2010-08-19  Ademar de Souza Reis Jr  <ademar.reis at openbossa.org>
 
         Reviewed by Kenneth Rohde Christiansen.
diff --git a/LayoutTests/platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.checksum b/LayoutTests/platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.checksum
new file mode 100644
index 0000000..31a1971
--- /dev/null
+++ b/LayoutTests/platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.checksum
@@ -0,0 +1 @@
+1921c17149f9be7c7b9e02394b07669c
\ No newline at end of file
diff --git a/LayoutTests/platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.png b/LayoutTests/platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.png
new file mode 100644
index 0000000..cb8ea74
Binary files /dev/null and b/LayoutTests/platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.png differ
diff --git a/LayoutTests/platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.txt b/LayoutTests/platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.txt
new file mode 100644
index 0000000..8e78043
--- /dev/null
+++ b/LayoutTests/platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.txt
@@ -0,0 +1,32 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x235
+  RenderBlock {HTML} at (0,0) size 800x235
+    RenderBody {BODY} at (8,16) size 784x211
+      RenderBlock {P} at (0,0) size 784x42
+        RenderInline {B} at (0,0) size 62x21
+          RenderText {#text} at (0,0) size 62x21
+            text run at (0,0) width 62: "BUG ID:"
+        RenderText {#text} at (62,0) size 4x21
+          text run at (62,0) width 4: " "
+        RenderInline {A} at (0,0) size 129x21 [color=#0000EE]
+          RenderText {#text} at (66,0) size 129x21
+            text run at (66,0) width 129: "Bugzilla bug 43341"
+        RenderText {#text} at (195,0) size 773x42
+          text run at (195,0) width 578: " Setting canvas width after canvas already rendered resets canvas data appropriately,"
+          text run at (0,21) width 218: "but doesn't repaint immediately."
+      RenderBlock {P} at (0,58) size 784x27 [bgcolor=#98FB98]
+        RenderInline {B} at (0,0) size 91x21
+          RenderText {#text} at (3,3) size 91x21
+            text run at (3,3) width 91: "TEST PASS:"
+        RenderText {#text} at (94,3) size 430x21
+          text run at (94,3) width 4: " "
+          text run at (98,3) width 426: "The canvas should go blank due to setting on the canvas width."
+      RenderBlock {HR} at (0,101) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,119) size 784x21
+        RenderText {#text} at (0,0) size 202x21
+          text run at (0,0) width 202: "Actual output: (blank canvas)"
+      RenderBlock (anonymous) at (0,156) size 784x55
+        RenderHTMLCanvas {CANVAS} at (0,0) size 100x50
+        RenderText {#text} at (0,0) size 0x0
+        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/qt/fast/table/early-table-layout-expected.checksum b/LayoutTests/platform/qt/fast/table/early-table-layout-expected.checksum
new file mode 100644
index 0000000..fe76e13
--- /dev/null
+++ b/LayoutTests/platform/qt/fast/table/early-table-layout-expected.checksum
@@ -0,0 +1 @@
+c120455b78d5cf5b36535f9274853068
\ No newline at end of file
diff --git a/LayoutTests/platform/qt/fast/table/early-table-layout-expected.png b/LayoutTests/platform/qt/fast/table/early-table-layout-expected.png
new file mode 100644
index 0000000..8007422
Binary files /dev/null and b/LayoutTests/platform/qt/fast/table/early-table-layout-expected.png differ
diff --git a/LayoutTests/platform/qt/fast/table/early-table-layout-expected.txt b/LayoutTests/platform/qt/fast/table/early-table-layout-expected.txt
new file mode 100644
index 0000000..fbb781d
--- /dev/null
+++ b/LayoutTests/platform/qt/fast/table/early-table-layout-expected.txt
@@ -0,0 +1,21 @@
+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 (8,8) size 784x584
+      RenderTable {TABLE} at (0,0) size 500x58 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 498x56
+          RenderTableRow {TR} at (0,2) size 498x25
+            RenderTableCell {TD} at (2,2) size 246x25 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 46x21
+                text run at (2,2) width 46: "cell 1,1"
+            RenderTableCell {TD} at (250,2) size 246x25 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 46x21
+                text run at (2,2) width 46: "cell 1,2"
+          RenderTableRow {TR} at (0,29) size 498x25
+            RenderTableCell {TD} at (2,29) size 246x25 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 46x21
+                text run at (2,2) width 46: "cell 2,1"
+            RenderTableCell {TD} at (250,29) size 246x25 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 46x21
+                text run at (2,2) width 46: "cell 2,2"
diff --git a/LayoutTests/platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.checksum b/LayoutTests/platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.checksum
new file mode 100644
index 0000000..f8c10c5
--- /dev/null
+++ b/LayoutTests/platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.checksum
@@ -0,0 +1 @@
+91b604b9b4c5f6e48480ed9b3606c590
\ No newline at end of file
diff --git a/LayoutTests/platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.png b/LayoutTests/platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.png
new file mode 100644
index 0000000..14f24cd
Binary files /dev/null and b/LayoutTests/platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.png differ
diff --git a/LayoutTests/platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.txt b/LayoutTests/platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.txt
new file mode 100644
index 0000000..d77e99c
--- /dev/null
+++ b/LayoutTests/platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.txt
@@ -0,0 +1,18 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x58
+  RenderBlock {HTML} at (0,0) size 800x58
+    RenderBody {BODY} at (8,8) size 784x42
+      RenderText {#text} at (0,0) size 668x21
+        text run at (0,0) width 668: "This tests slow loading png images referenced from a image element inside a SVG pattern resource."
+      RenderBR {BR} at (668,0) size 0x21
+      RenderText {#text} at (0,21) size 596x21
+        text run at (0,21) width 596: "You should see a 400x300 rect containing a tiled rendering of the Acid3 reference image."
+      RenderText {#text} at (0,0) size 0x0
+      RenderText {#text} at (0,0) size 0x0
+layer at (10,50) size 406x306
+  RenderSVGRoot {svg} at (10,50) size 406x306
+    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+      RenderSVGResourcePattern {pattern} [id="pattern"] [patternUnits=userSpaceOnUse] [patternContentUnits=userSpaceOnUse]
+        RenderSVGImage {image} at (13,53) size 403x303
+    RenderPath {rect} at (13,53) size 400x300 [fill={[type=PATTERN] [id="pattern"]}] [data="M0.00,0.00 L400.00,0.00 L400.00,300.00 L0.00,300.00 L0.00,0.00"]
diff --git a/LayoutTests/platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum b/LayoutTests/platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum
new file mode 100644
index 0000000..f837fcb
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum
@@ -0,0 +1 @@
+8f57f1e1d5e472633b895b5d176d4f15
\ No newline at end of file
diff --git a/LayoutTests/platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png b/LayoutTests/platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png
new file mode 100644
index 0000000..b0be355
Binary files /dev/null and b/LayoutTests/platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png differ
diff --git a/LayoutTests/platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt b/LayoutTests/platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt
new file mode 100644
index 0000000..c52d982
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt
@@ -0,0 +1,96 @@
+layer at (0,0) size 480x360
+  RenderView at (0,0) size 480x360
+layer at (0,0) size 480x360
+  RenderSVGRoot {svg} at (0,0) size 480x360
+    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+    RenderSVGContainer {g} at (59,25) size 362x271
+      RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+        RenderSVGResourceFilter {filter} [id="turbneg1"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
+          [feTurbulence type="TURBULANCE" baseFrequency="0.01, 0.01" seed="-0.20" numOctaves="1" stitchTiles="0"]
+        RenderSVGResourceFilter {filter} [id="turbneg2"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
+          [feTurbulence type="TURBULANCE" baseFrequency="0.01, 0.01" seed="-0.50" numOctaves="1" stitchTiles="0"]
+        RenderSVGResourceFilter {filter} [id="turbneg3"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
+          [feTurbulence type="TURBULANCE" baseFrequency="0.01, 0.01" seed="-0.80" numOctaves="1" stitchTiles="0"]
+        RenderSVGResourceFilter {filter} [id="turbzero"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
+          [feTurbulence type="TURBULANCE" baseFrequency="0.01, 0.01" seed="0.00" numOctaves="1" stitchTiles="0"]
+        RenderSVGResourceFilter {filter} [id="turbpos1"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
+          [feTurbulence type="TURBULANCE" baseFrequency="0.01, 0.01" seed="0.20" numOctaves="1" stitchTiles="0"]
+        RenderSVGResourceFilter {filter} [id="turbpos2"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
+          [feTurbulence type="TURBULANCE" baseFrequency="0.01, 0.01" seed="0.50" numOctaves="1" stitchTiles="0"]
+        RenderSVGResourceFilter {filter} [id="turbpos3"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
+          [feTurbulence type="TURBULANCE" baseFrequency="0.01, 0.01" seed="1.50" numOctaves="1" stitchTiles="0"]
+        RenderSVGResourceFilter {filter} [id="turbneg4"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
+          [feTurbulence type="TURBULANCE" baseFrequency="0.01, 0.01" seed="-1.00" numOctaves="1" stitchTiles="0"]
+        RenderSVGResourceFilter {filter} [id="turbneg5"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
+          [feTurbulence type="TURBULANCE" baseFrequency="0.01, 0.01" seed="-1.50" numOctaves="1" stitchTiles="0"]
+        RenderSVGResourceFilter {filter} [id="turbneg6"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
+          [feTurbulence type="TURBULANCE" baseFrequency="0.01, 0.01" seed="-2.00" numOctaves="1" stitchTiles="0"]
+        RenderSVGResourceFilter {filter} [id="turbneg7"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
+          [feTurbulence type="TURBULANCE" baseFrequency="0.01, 0.01" seed="-2.60" numOctaves="1" stitchTiles="0"]
+      RenderSVGText {text} at (142,25) size 196x29 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 196x29
+          chunk 1 (middle anchor) text run 1 at (142.00,48.00) startOffset 0 endOffset 17 width 196.00: "feTurbulence seed"
+      RenderSVGContainer {g} at (59,74) size 362x222 [transform={m=((1.00,0.00)(0.00,1.00)) t=(65.00,80.00)}]
+        RenderPath {rect} at (65,80) size 50x50 [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L50.00,0.00 L50.00,50.00 L0.00,50.00 L0.00,0.00"]
+          [filter="turbneg3"] RenderSVGResourceFilter {filter} at (0,0) size 50x50
+        RenderSVGText {text} at (9,62) size 32x23 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 32x23
+            chunk 1 (middle anchor) text run 1 at (9.50,80.00) startOffset 0 endOffset 4 width 31.00: "-0.8"
+        RenderPath {rect} at (115,80) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(50.00,0.00)}] [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L50.00,0.00 L50.00,50.00 L0.00,50.00 L0.00,0.00"]
+          [filter="turbneg2"] RenderSVGResourceFilter {filter} at (0,0) size 50x50
+        RenderSVGText {text} at (59,62) size 32x23 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 32x23
+            chunk 1 (middle anchor) text run 1 at (59.50,80.00) startOffset 0 endOffset 4 width 31.00: "-0.5"
+        RenderPath {rect} at (165,80) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(100.00,0.00)}] [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L50.00,0.00 L50.00,50.00 L0.00,50.00 L0.00,0.00"]
+          [filter="turbneg1"] RenderSVGResourceFilter {filter} at (0,0) size 50x50
+        RenderSVGText {text} at (109,62) size 32x23 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 32x23
+            chunk 1 (middle anchor) text run 1 at (109.50,80.00) startOffset 0 endOffset 4 width 31.00: "-0.2"
+        RenderPath {rect} at (215,80) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(150.00,0.00)}] [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L50.00,0.00 L50.00,50.00 L0.00,50.00 L0.00,0.00"]
+          [filter="turbzero"] RenderSVGResourceFilter {filter} at (0,0) size 50x50
+        RenderSVGText {text} at (170,62) size 10x23 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 10x23
+            chunk 1 (middle anchor) text run 1 at (170.00,80.00) startOffset 0 endOffset 1 width 10.00: "0"
+        RenderPath {rect} at (265,80) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(200.00,0.00)}] [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L50.00,0.00 L50.00,50.00 L0.00,50.00 L0.00,0.00"]
+          [filter="turbpos1"] RenderSVGResourceFilter {filter} at (0,0) size 50x50
+        RenderSVGText {text} at (212,62) size 26x23 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 26x23
+            chunk 1 (middle anchor) text run 1 at (212.50,80.00) startOffset 0 endOffset 3 width 25.00: "0.2"
+        RenderPath {rect} at (315,80) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,0.00)}] [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L50.00,0.00 L50.00,50.00 L0.00,50.00 L0.00,0.00"]
+          [filter="turbpos2"] RenderSVGResourceFilter {filter} at (0,0) size 50x50
+        RenderSVGText {text} at (262,62) size 26x23 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 26x23
+            chunk 1 (middle anchor) text run 1 at (262.50,80.00) startOffset 0 endOffset 3 width 25.00: "0.5"
+        RenderPath {rect} at (365,80) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,0.00)}] [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L50.00,0.00 L50.00,50.00 L0.00,50.00 L0.00,0.00"]
+          [filter="turbpos3"] RenderSVGResourceFilter {filter} at (0,0) size 50x50
+        RenderSVGText {text} at (312,62) size 26x23 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 26x23
+            chunk 1 (middle anchor) text run 1 at (312.50,80.00) startOffset 0 endOffset 3 width 25.00: "1.5"
+        RenderPath {rect} at (59,74) size 362x102 [stroke={[type=SOLID] [color=#000000]}] [data="M-5.00,-5.00 L355.00,-5.00 L355.00,95.00 L-5.00,95.00 L-5.00,-5.00"]
+        RenderPath {rect} at (65,200) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,120.00)}] [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L50.00,0.00 L50.00,50.00 L0.00,50.00 L0.00,0.00"]
+          [filter="turbneg4"] RenderSVGResourceFilter {filter} at (0,0) size 50x50
+        RenderSVGText {text} at (17,182) size 16x23 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 16x23
+            chunk 1 (middle anchor) text run 1 at (17.00,200.00) startOffset 0 endOffset 2 width 16.00: "-1"
+        RenderPath {rect} at (115,200) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(50.00,120.00)}] [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L50.00,0.00 L50.00,50.00 L0.00,50.00 L0.00,0.00"]
+          [filter="turbneg5"] RenderSVGResourceFilter {filter} at (0,0) size 50x50
+        RenderSVGText {text} at (59,182) size 32x23 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 32x23
+            chunk 1 (middle anchor) text run 1 at (59.50,200.00) startOffset 0 endOffset 4 width 31.00: "-1.5"
+        RenderPath {rect} at (59,194) size 112x102 [stroke={[type=SOLID] [color=#000000]}] [data="M-5.00,115.00 L105.00,115.00 L105.00,215.00 L-5.00,215.00 L-5.00,115.00"]
+        RenderPath {rect} at (315,200) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(250.00,120.00)}] [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L50.00,0.00 L50.00,50.00 L0.00,50.00 L0.00,0.00"]
+          [filter="turbneg6"] RenderSVGResourceFilter {filter} at (0,0) size 50x50
+        RenderSVGText {text} at (267,182) size 16x23 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 16x23
+            chunk 1 (middle anchor) text run 1 at (267.00,200.00) startOffset 0 endOffset 2 width 16.00: "-2"
+        RenderPath {rect} at (365,200) size 50x50 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,120.00)}] [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L50.00,0.00 L50.00,50.00 L0.00,50.00 L0.00,0.00"]
+          [filter="turbneg7"] RenderSVGResourceFilter {filter} at (0,0) size 50x50
+        RenderSVGText {text} at (309,182) size 32x23 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 32x23
+            chunk 1 (middle anchor) text run 1 at (309.50,200.00) startOffset 0 endOffset 4 width 31.00: "-2.6"
+        RenderPath {rect} at (309,194) size 112x102 [stroke={[type=SOLID] [color=#000000]}] [data="M245.00,115.00 L355.00,115.00 L355.00,215.00 L245.00,215.00 L245.00,115.00"]
+    RenderSVGContainer {g} at (10,309) size 231x40
+      RenderSVGText {text} at (10,309) size 231x40 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 231x40
+          chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 231.00: "$Revision: 1.7 $"
+    RenderPath {rect} at (0,0) size 480x360 [stroke={[type=SOLID] [color=#000000]}] [data="M1.00,1.00 L479.00,1.00 L479.00,359.00 L1.00,359.00 L1.00,1.00"]
diff --git a/LayoutTests/platform/qt/svg/custom/absolute-sized-content-with-resources-expected.checksum b/LayoutTests/platform/qt/svg/custom/absolute-sized-content-with-resources-expected.checksum
new file mode 100644
index 0000000..ad81498
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/custom/absolute-sized-content-with-resources-expected.checksum
@@ -0,0 +1 @@
+61c8322b92268cd5ea84dca68c023549
\ No newline at end of file
diff --git a/LayoutTests/platform/qt/svg/custom/absolute-sized-content-with-resources-expected.png b/LayoutTests/platform/qt/svg/custom/absolute-sized-content-with-resources-expected.png
new file mode 100644
index 0000000..2aaec67
Binary files /dev/null and b/LayoutTests/platform/qt/svg/custom/absolute-sized-content-with-resources-expected.png differ
diff --git a/LayoutTests/platform/qt/svg/custom/absolute-sized-content-with-resources-expected.txt b/LayoutTests/platform/qt/svg/custom/absolute-sized-content-with-resources-expected.txt
new file mode 100644
index 0000000..ba8a6bd
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/custom/absolute-sized-content-with-resources-expected.txt
@@ -0,0 +1,25 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x484
+  RenderBlock {html} at (0,0) size 800x484
+    RenderBody {body} at (8,16) size 784x460
+      RenderBlock {p} at (0,0) size 784x42
+        RenderText {#text} at (0,0) size 762x42
+          text run at (0,0) width 762: "The svg area contained in the div element (red box), should contain four masked circles, that do not pixelate after"
+          text run at (0,21) width 52: "resizing"
+      RenderBlock {div} at (0,58) size 402x402 [border: (1px solid #FF0000)]
+        RenderSVGRoot {svg} at (42,141) size 334x268
+          RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+            RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,1)]
+              RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
+              RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
+            RenderSVGResourceMasker {mask} [id="mask"] [maskUnits=userSpaceOnUse] [maskContentUnits=userSpaceOnUse]
+              RenderPath {circle} at (9,75) size 167x200 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M45.00,20.00 L44.96,21.26 L44.84,22.51 L44.65,23.75 L44.37,24.97 L44.02,26.18 L43.60,27.36 L43.10,28.52 L42.53,29.64 L41.89,30.72 L41.18,31.76 L40.41,32.75 L39.58,33.69 L38.69,34.58 L37.75,35.41 L36.76,36.18 L35.72,36.89 L34.64,37.53 L33.52,38.10 L32.36,38.60 L31.18,39.02 L29.97,39.37 L28.75,39.65 L27.51,39.84 L26.26,39.96 L25.00,40.00 L23.74,39.96 L22.49,39.84 L21.25,39.65 L20.03,39.37 L18.82,39.02 L17.64,38.60 L16.48,38.10 L15.36,37.53 L14.28,36.89 L13.24,36.18 L12.25,35.41 L11.31,34.58 L10.42,33.69 L9.59,32.75 L8.82,31.76 L8.11,30.72 L7.47,29.64 L6.90,28.52 L6.40,27.36 L5.98,26.18 L5.63,24.97 L5.35,23.75 L5.16,22.51 L5.04,21.26 L5.00,20.00 L5.04,18.74 L5.16,17.49 L5.35,16.25 L5.63,15.03 L5.98,13.82 L6.40,12.64 L6.90,11.48 L7.47,10.36 L8.11,9.28 L8.82,8.24 L9.59,7.25 L10.42,6.31 L11.31,5.42 L12.25,4.59 L13.24,3.82 L14.28,3.11 L15.36,2.47 L16.48,1.90 L17.64,1.40 L18.82,0.98 L20.03,0.63 L21.25,0.35 L22.49,0.16 L23.74,0.04 L25.00,0.00 L26.26,0.04 L27.51,0.16 L28.75,0.35 L29.97,0.63 L31.18,0.98 L32.36,1.40 L33.52,1.90 L34.64,2.47 L35.72,3.11 L36.76,3.82 L37.75,4.59 L38.69,5.42 L39.58,6.31 L40.41,7.25 L41.18,8.24 L41.89,9.28 L42.53,10.36 L43.10,11.48 L43.60,12.64 L44.02,13.82 L44.37,15.03 L44.65,16.25 L44.84,17.49 L44.96,18.74 L45.00,20.00"]
+              RenderPath {circle} at (9,275) size 167x200 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M45.00,60.00 L44.96,61.26 L44.84,62.51 L44.65,63.75 L44.37,64.97 L44.02,66.18 L43.60,67.36 L43.10,68.52 L42.53,69.64 L41.89,70.72 L41.18,71.76 L40.41,72.75 L39.58,73.69 L38.69,74.58 L37.75,75.41 L36.76,76.18 L35.72,76.89 L34.64,77.53 L33.52,78.10 L32.36,78.60 L31.18,79.02 L29.97,79.37 L28.75,79.65 L27.51,79.84 L26.26,79.96 L25.00,80.00 L23.74,79.96 L22.49,79.84 L21.25,79.65 L20.03,79.37 L18.82,79.02 L17.64,78.60 L16.48,78.10 L15.36,77.53 L14.28,76.89 L13.24,76.18 L12.25,75.41 L11.31,74.58 L10.42,73.69 L9.59,72.75 L8.82,71.76 L8.11,70.72 L7.47,69.64 L6.90,68.52 L6.40,67.36 L5.98,66.18 L5.63,64.97 L5.35,63.75 L5.16,62.51 L5.04,61.26 L5.00,60.00 L5.04,58.74 L5.16,57.49 L5.35,56.25 L5.63,55.03 L5.98,53.82 L6.40,52.64 L6.90,51.48 L7.47,50.36 L8.11,49.28 L8.82,48.24 L9.59,47.25 L10.42,46.31 L11.31,45.42 L12.25,44.59 L13.24,43.82 L14.28,43.11 L15.36,42.47 L16.48,41.90 L17.64,41.40 L18.82,40.98 L20.03,40.63 L21.25,40.35 L22.49,40.16 L23.74,40.04 L25.00,40.00 L26.26,40.04 L27.51,40.16 L28.75,40.35 L29.97,40.63 L31.18,40.98 L32.36,41.40 L33.52,41.90 L34.64,42.47 L35.72,43.11 L36.76,43.82 L37.75,44.59 L38.69,45.42 L39.58,46.31 L40.41,47.25 L41.18,48.24 L41.89,49.28 L42.53,50.36 L43.10,51.48 L43.60,52.64 L44.02,53.82 L44.37,55.03 L44.65,56.25 L44.84,57.49 L44.96,58.74 L45.00,60.00"]
+              RenderPath {circle} at (242,75) size 167x200 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M95.00,20.00 L94.96,21.26 L94.84,22.51 L94.65,23.75 L94.37,24.97 L94.02,26.18 L93.60,27.36 L93.10,28.52 L92.53,29.64 L91.89,30.72 L91.18,31.76 L90.41,32.75 L89.58,33.69 L88.69,34.58 L87.75,35.41 L86.76,36.18 L85.72,36.89 L84.64,37.53 L83.52,38.10 L82.36,38.60 L81.18,39.02 L79.97,39.37 L78.75,39.65 L77.51,39.84 L76.26,39.96 L75.00,40.00 L73.74,39.96 L72.49,39.84 L71.25,39.65 L70.03,39.37 L68.82,39.02 L67.64,38.60 L66.48,38.10 L65.36,37.53 L64.28,36.89 L63.24,36.18 L62.25,35.41 L61.31,34.58 L60.42,33.69 L59.59,32.75 L58.82,31.76 L58.11,30.72 L57.47,29.64 L56.90,28.52 L56.40,27.36 L55.98,26.18 L55.63,24.97 L55.35,23.75 L55.16,22.51 L55.04,21.26 L55.00,20.00 L55.04,18.74 L55.16,17.49 L55.35,16.25 L55.63,15.03 L55.98,13.82 L56.40,12.64 L56.90,11.48 L57.47,10.36 L58.11,9.28 L58.82,8.24 L59.59,7.25 L60.42,6.31 L61.31,5.42 L62.25,4.59 L63.24,3.82 L64.28,3.11 L65.36,2.47 L66.48,1.90 L67.64,1.40 L68.82,0.98 L70.03,0.63 L71.25,0.35 L72.49,0.16 L73.74,0.04 L75.00,0.00 L76.26,0.04 L77.51,0.16 L78.75,0.35 L79.97,0.63 L81.18,0.98 L82.36,1.40 L83.52,1.90 L84.64,2.47 L85.72,3.11 L86.76,3.82 L87.75,4.59 L88.69,5.42 L89.58,6.31 L90.41,7.25 L91.18,8.24 L91.89,9.28 L92.53,10.36 L93.10,11.48 L93.60,12.64 L94.02,13.82 L94.37,15.03 L94.65,16.25 L94.84,17.49 L94.96,18.74 L95.00,20.00"]
+              RenderPath {circle} at (242,275) size 167x200 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M95.00,60.00 L94.96,61.26 L94.84,62.51 L94.65,63.75 L94.37,64.97 L94.02,66.18 L93.60,67.36 L93.10,68.52 L92.53,69.64 L91.89,70.72 L91.18,71.76 L90.41,72.75 L89.58,73.69 L88.69,74.58 L87.75,75.41 L86.76,76.18 L85.72,76.89 L84.64,77.53 L83.52,78.10 L82.36,78.60 L81.18,79.02 L79.97,79.37 L78.75,79.65 L77.51,79.84 L76.26,79.96 L75.00,80.00 L73.74,79.96 L72.49,79.84 L71.25,79.65 L70.03,79.37 L68.82,79.02 L67.64,78.60 L66.48,78.10 L65.36,77.53 L64.28,76.89 L63.24,76.18 L62.25,75.41 L61.31,74.58 L60.42,73.69 L59.59,72.75 L58.82,71.76 L58.11,70.72 L57.47,69.64 L56.90,68.52 L56.40,67.36 L55.98,66.18 L55.63,64.97 L55.35,63.75 L55.16,62.51 L55.04,61.26 L55.00,60.00 L55.04,58.74 L55.16,57.49 L55.35,56.25 L55.63,55.03 L55.98,53.82 L56.40,52.64 L56.90,51.48 L57.47,50.36 L58.11,49.28 L58.82,48.24 L59.59,47.25 L60.42,46.31 L61.31,45.42 L62.25,44.59 L63.24,43.82 L64.28,43.11 L65.36,42.47 L66.48,41.90 L67.64,41.40 L68.82,40.98 L70.03,40.63 L71.25,40.35 L72.49,40.16 L73.74,40.04 L75.00,40.00 L76.26,40.04 L77.51,40.16 L78.75,40.35 L79.97,40.63 L81.18,40.98 L82.36,41.40 L83.52,41.90 L84.64,42.47 L85.72,43.11 L86.76,43.82 L87.75,44.59 L88.69,45.42 L89.58,46.31 L90.41,47.25 L91.18,48.24 L91.89,49.28 L92.53,50.36 L93.10,51.48 L93.60,52.64 L94.02,53.82 L94.37,55.03 L94.65,56.25 L94.84,57.49 L94.96,58.74 L95.00,60.00"]
+          RenderSVGContainer {g} at (42,141) size 334x268
+            RenderPath {rect} at (42,141) size 334x268 [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [data="M0.00,0.00 L100.00,0.00 L100.00,80.00 L0.00,80.00 L0.00,0.00"]
+              [masker="mask"] RenderSVGResourceMasker {mask} at (25,20) size 50x40
+        RenderText {#text} at (0,0) size 0x0
+caret: position 124 of child 0 {#text} of child 1 {p} of body
diff --git a/LayoutTests/platform/qt/svg/custom/js-update-stop-linked-gradient-expected.checksum b/LayoutTests/platform/qt/svg/custom/js-update-stop-linked-gradient-expected.checksum
new file mode 100644
index 0000000..2614a53
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/custom/js-update-stop-linked-gradient-expected.checksum
@@ -0,0 +1 @@
+95b5e452701d0119a1672776ccbc1f54
\ No newline at end of file
diff --git a/LayoutTests/platform/qt/svg/custom/js-update-stop-linked-gradient-expected.png b/LayoutTests/platform/qt/svg/custom/js-update-stop-linked-gradient-expected.png
new file mode 100644
index 0000000..b71fe5a
Binary files /dev/null and b/LayoutTests/platform/qt/svg/custom/js-update-stop-linked-gradient-expected.png differ
diff --git a/LayoutTests/platform/qt/svg/custom/js-update-stop-linked-gradient-expected.txt b/LayoutTests/platform/qt/svg/custom/js-update-stop-linked-gradient-expected.txt
new file mode 100644
index 0000000..79234bb
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/custom/js-update-stop-linked-gradient-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 450x450
+  RenderSVGRoot {svg} at (10,10) size 430x315
+    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+      RenderSVGResourceLinearGradient {linearGradient} [id="gradient"] [gradientUnits=userSpaceOnUse] [start=(10,10)] [end=(440,10)]
+        RenderSVGGradientStop {stop} [offset=0.00] [color=#008000]
+        RenderSVGGradientStop {stop} [offset=1.00] [color=#008000]
+      RenderSVGResourceLinearGradient {linearGradient} [id="linkedGradient2"] [gradientUnits=userSpaceOnUse] [start=(10,10)] [end=(440,10)]
+      RenderSVGResourceLinearGradient {linearGradient} [id="linkedGradient1"] [gradientUnits=userSpaceOnUse] [start=(10,10)] [end=(440,10)]
+    RenderPath {rect} at (10,10) size 430x80 [fill={[type=LINEAR-GRADIENT] [id="gradient"]}] [data="M10.00,10.00 L440.00,10.00 L440.00,90.00 L10.00,90.00 L10.00,10.00"]
+    RenderPath {rect} at (10,110) size 430x80 [fill={[type=LINEAR-GRADIENT] [id="linkedGradient1"]}] [data="M10.00,110.00 L440.00,110.00 L440.00,190.00 L10.00,190.00 L10.00,110.00"]
+    RenderPath {rect} at (10,210) size 430x80 [fill={[type=LINEAR-GRADIENT] [id="linkedGradient2"]}] [data="M10.00,210.00 L440.00,210.00 L440.00,290.00 L10.00,290.00 L10.00,210.00"]
+    RenderSVGText {text} at (22,304) size 396x21 contains 1 chunk(s)
+      RenderSVGInlineText {#text} at (0,0) size 396x21
+        chunk 1 (middle anchor) text run 1 at (22.00,320.00) startOffset 0 endOffset 61 width 396.00: "All gradients should look the same, especially after clicking"
+caret: position 0 of child 0 {#text} of child 11 {text} of child 1 {svg} of document
diff --git a/LayoutTests/platform/qt/svg/in-html/circle-expected.checksum b/LayoutTests/platform/qt/svg/in-html/circle-expected.checksum
new file mode 100644
index 0000000..028bb4a
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/in-html/circle-expected.checksum
@@ -0,0 +1 @@
+7752cc4aacb53c2fb22ac3ebe7af6bec
\ No newline at end of file
diff --git a/LayoutTests/platform/qt/svg/in-html/circle-expected.png b/LayoutTests/platform/qt/svg/in-html/circle-expected.png
new file mode 100644
index 0000000..a96cb36
Binary files /dev/null and b/LayoutTests/platform/qt/svg/in-html/circle-expected.png differ
diff --git a/LayoutTests/platform/qt/svg/in-html/circle-expected.txt b/LayoutTests/platform/qt/svg/in-html/circle-expected.txt
new file mode 100644
index 0000000..8753679
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/in-html/circle-expected.txt
@@ -0,0 +1,12 @@
+layer at (0,0) size 784x666
+  RenderView at (0,0) size 784x600
+layer at (0,0) size 784x666
+  RenderBlock {HTML} at (0,0) size 784x666
+    RenderBody {BODY} at (8,16) size 768x642
+      RenderBlock {P} at (0,0) size 768x21
+        RenderText {#text} at (0,0) size 198x21
+          text run at (0,0) width 198: "This circle is drawn via SVG."
+      RenderBlock (anonymous) at (0,37) size 768x605
+        RenderSVGRoot {svg} at (8,53) size 40x40
+          RenderPath {circle} at (8,53) size 40x40 [fill={[type=SOLID] [color=#008000]}] [data="M40.00,20.00 L39.96,21.26 L39.84,22.51 L39.65,23.75 L39.37,24.97 L39.02,26.18 L38.60,27.36 L38.10,28.52 L37.53,29.64 L36.89,30.72 L36.18,31.76 L35.41,32.75 L34.58,33.69 L33.69,34.58 L32.75,35.41 L31.76,36.18 L30.72,36.89 L29.64,37.53 L28.52,38.10 L27.36,38.60 L26.18,39.02 L24.97,39.37 L23.75,39.65 L22.51,39.84 L21.26,39.96 L20.00,40.00 L18.74,39.96 L17.49,39.84 L16.25,39.65 L15.03,39.37 L13.82,39.02 L12.64,38.60 L11.48,38.10 L10.36,37.53 L9.28,36.89 L8.24,36.18 L7.25,35.41 L6.31,34.58 L5.42,33.69 L4.59,32.75 L3.82,31.76 L3.11,30.72 L2.47,29.64 L1.90,28.52 L1.40,27.36 L0.98,26.18 L0.63,24.97 L0.35,23.75 L0.16,22.51 L0.04,21.26 L0.00,20.00 L0.04,18.74 L0.16,17.49 L0.35,16.25 L0.63,15.03 L0.98,13.82 L1.40,12.64 L1.90,11.48 L2.47,10.36 L3.11,9.28 L3.82,8.24 L4.59,7.25 L5.42,6.31 L6.31,5.42 L7.25,4.59 L8.24,3.82 L9.28,3.11 L10.36,2.47 L11.48,1.90 L12.64,1.40 L13.82,0.98 L15.03,0.63 L16.25,0.35 L17.49,0.16 L18.74,0.04 L20.00,0.00 L21.26,0.04 L22.51,0.16 L23.75,0.35 L24.97,0.63 L26.18,0.98 L27.36,1.40 L28.52,1.90 L29.64,2.47 L30.72,3.11 L31.76,3.82 L32.75,4.59 L33.69,5.42 L34.58,6.31 L35.41,7.25 L36.18,8.24 L36.89,9.28 L37.53,10.36 L38.10,11.48 L38.60,12.64 L39.02,13.82 L39.37,15.03 L39.65,16.25 L39.84,17.49 L39.96,18.74 L40.00,20.00"]
+        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.checksum b/LayoutTests/platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.checksum
new file mode 100644
index 0000000..ae7e080
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.checksum
@@ -0,0 +1 @@
+22d01b4b37286a406e63a688953d39e9
\ No newline at end of file
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.png b/LayoutTests/platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.png
new file mode 100644
index 0000000..aafed84
Binary files /dev/null and b/LayoutTests/platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.png differ
diff --git a/LayoutTests/platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.txt b/LayoutTests/platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.txt
new file mode 100644
index 0000000..f339f5f
--- /dev/null
+++ b/LayoutTests/platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.txt
@@ -0,0 +1,73 @@
+layer at (0,0) size 933x1036
+  RenderView at (0,0) size 784x584
+layer at (0,0) size 933x1036
+  RenderSVGRoot {svg} at (186,70) size 550x768
+    RenderSVGContainer {g} at (186,70) size 550x768
+      RenderSVGText {text} at (177,34) size 96x21 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 96x21
+          chunk 1 (middle anchor) text run 1 at (177.00,50.00) startOffset 0 endOffset 12 width 96.00: "Mask Regions"
+      RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+        RenderSVGResourceLinearGradient {linearGradient} [id="maskedGradient"] [gradientUnits=objectBoundingBox] [start=(0,0)] [end=(1,1)]
+          RenderSVGGradientStop {stop} [offset=0.00] [color=#0000FF]
+          RenderSVGGradientStop {stop} [offset=1.00] [color=#FF0000]
+        RenderPath {rect} at (0,0) size 208x166 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [data="M0.00,0.00 L100.00,0.00 L100.00,80.00 L0.00,80.00 L0.00,0.00"]
+        RenderSVGResourceMasker {mask} [id="mask_1"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
+          RenderPath {circle} at (10,0) size 84x83 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M45.00,20.00 L44.96,21.26 L44.84,22.51 L44.65,23.75 L44.37,24.97 L44.02,26.18 L43.60,27.36 L43.10,28.52 L42.53,29.64 L41.89,30.72 L41.18,31.76 L40.41,32.75 L39.58,33.69 L38.69,34.58 L37.75,35.41 L36.76,36.18 L35.72,36.89 L34.64,37.53 L33.52,38.10 L32.36,38.60 L31.18,39.02 L29.97,39.37 L28.75,39.65 L27.51,39.84 L26.26,39.96 L25.00,40.00 L23.74,39.96 L22.49,39.84 L21.25,39.65 L20.03,39.37 L18.82,39.02 L17.64,38.60 L16.48,38.10 L15.36,37.53 L14.28,36.89 L13.24,36.18 L12.25,35.41 L11.31,34.58 L10.42,33.69 L9.59,32.75 L8.82,31.76 L8.11,30.72 L7.47,29.64 L6.90,28.52 L6.40,27.36 L5.98,26.18 L5.63,24.97 L5.35,23.75 L5.16,22.51 L5.04,21.26 L5.00,20.00 L5.04,18.74 L5.16,17.49 L5.35,16.25 L5.63,15.03 L5.98,13.82 L6.40,12.64 L6.90,11.48 L7.47,10.36 L8.11,9.28 L8.82,8.24 L9.59,7.25 L10.42,6.31 L11.31,5.42 L12.25,4.59 L13.24,3.82 L14.28,3.11 L15.36,2.47 L16.48,1.90 L17.64,1.40 L18.82,0.98 L20.03,0.63 L21.25,0.35 L22.49,0.16 L23.74,0.04 L25.00,0.00 L26.26,0.04 L27.51,0.16 L28.75,0.35 L29.97,0.63 L31.18,0.98 L32.36,1.40 L33.52,1.90 L34.64,2.47 L35.72,3.11 L36.76,3.82 L37.75,4.59 L38.69,5.42 L39.58,6.31 L40.41,7.25 L41.18,8.24 L41.89,9.28 L42.53,10.36 L43.10,11.48 L43.60,12.64 L44.02,13.82 L44.37,15.03 L44.65,16.25 L44.84,17.49 L44.96,18.74 L45.00,20.00"]
+          RenderPath {circle} at (10,82) size 84x84 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M45.00,60.00 L44.96,61.26 L44.84,62.51 L44.65,63.75 L44.37,64.97 L44.02,66.18 L43.60,67.36 L43.10,68.52 L42.53,69.64 L41.89,70.72 L41.18,71.76 L40.41,72.75 L39.58,73.69 L38.69,74.58 L37.75,75.41 L36.76,76.18 L35.72,76.89 L34.64,77.53 L33.52,78.10 L32.36,78.60 L31.18,79.02 L29.97,79.37 L28.75,79.65 L27.51,79.84 L26.26,79.96 L25.00,80.00 L23.74,79.96 L22.49,79.84 L21.25,79.65 L20.03,79.37 L18.82,79.02 L17.64,78.60 L16.48,78.10 L15.36,77.53 L14.28,76.89 L13.24,76.18 L12.25,75.41 L11.31,74.58 L10.42,73.69 L9.59,72.75 L8.82,71.76 L8.11,70.72 L7.47,69.64 L6.90,68.52 L6.40,67.36 L5.98,66.18 L5.63,64.97 L5.35,63.75 L5.16,62.51 L5.04,61.26 L5.00,60.00 L5.04,58.74 L5.16,57.49 L5.35,56.25 L5.63,55.03 L5.98,53.82 L6.40,52.64 L6.90,51.48 L7.47,50.36 L8.11,49.28 L8.82,48.24 L9.59,47.25 L10.42,46.31 L11.31,45.42 L12.25,44.59 L13.24,43.82 L14.28,43.11 L15.36,42.47 L16.48,41.90 L17.64,41.40 L18.82,40.98 L20.03,40.63 L21.25,40.35 L22.49,40.16 L23.74,40.04 L25.00,40.00 L26.26,40.04 L27.51,40.16 L28.75,40.35 L29.97,40.63 L31.18,40.98 L32.36,41.40 L33.52,41.90 L34.64,42.47 L35.72,43.11 L36.76,43.82 L37.75,44.59 L38.69,45.42 L39.58,46.31 L40.41,47.25 L41.18,48.24 L41.89,49.28 L42.53,50.36 L43.10,51.48 L43.60,52.64 L44.02,53.82 L44.37,55.03 L44.65,56.25 L44.84,57.49 L44.96,58.74 L45.00,60.00"]
+          RenderPath {circle} at (114,0) size 84x83 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M95.00,20.00 L94.96,21.26 L94.84,22.51 L94.65,23.75 L94.37,24.97 L94.02,26.18 L93.60,27.36 L93.10,28.52 L92.53,29.64 L91.89,30.72 L91.18,31.76 L90.41,32.75 L89.58,33.69 L88.69,34.58 L87.75,35.41 L86.76,36.18 L85.72,36.89 L84.64,37.53 L83.52,38.10 L82.36,38.60 L81.18,39.02 L79.97,39.37 L78.75,39.65 L77.51,39.84 L76.26,39.96 L75.00,40.00 L73.74,39.96 L72.49,39.84 L71.25,39.65 L70.03,39.37 L68.82,39.02 L67.64,38.60 L66.48,38.10 L65.36,37.53 L64.28,36.89 L63.24,36.18 L62.25,35.41 L61.31,34.58 L60.42,33.69 L59.59,32.75 L58.82,31.76 L58.11,30.72 L57.47,29.64 L56.90,28.52 L56.40,27.36 L55.98,26.18 L55.63,24.97 L55.35,23.75 L55.16,22.51 L55.04,21.26 L55.00,20.00 L55.04,18.74 L55.16,17.49 L55.35,16.25 L55.63,15.03 L55.98,13.82 L56.40,12.64 L56.90,11.48 L57.47,10.36 L58.11,9.28 L58.82,8.24 L59.59,7.25 L60.42,6.31 L61.31,5.42 L62.25,4.59 L63.24,3.82 L64.28,3.11 L65.36,2.47 L66.48,1.90 L67.64,1.40 L68.82,0.98 L70.03,0.63 L71.25,0.35 L72.49,0.16 L73.74,0.04 L75.00,0.00 L76.26,0.04 L77.51,0.16 L78.75,0.35 L79.97,0.63 L81.18,0.98 L82.36,1.40 L83.52,1.90 L84.64,2.47 L85.72,3.11 L86.76,3.82 L87.75,4.59 L88.69,5.42 L89.58,6.31 L90.41,7.25 L91.18,8.24 L91.89,9.28 L92.53,10.36 L93.10,11.48 L93.60,12.64 L94.02,13.82 L94.37,15.03 L94.65,16.25 L94.84,17.49 L94.96,18.74 L95.00,20.00"]
+          RenderPath {circle} at (114,82) size 84x84 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M95.00,60.00 L94.96,61.26 L94.84,62.51 L94.65,63.75 L94.37,64.97 L94.02,66.18 L93.60,67.36 L93.10,68.52 L92.53,69.64 L91.89,70.72 L91.18,71.76 L90.41,72.75 L89.58,73.69 L88.69,74.58 L87.75,75.41 L86.76,76.18 L85.72,76.89 L84.64,77.53 L83.52,78.10 L82.36,78.60 L81.18,79.02 L79.97,79.37 L78.75,79.65 L77.51,79.84 L76.26,79.96 L75.00,80.00 L73.74,79.96 L72.49,79.84 L71.25,79.65 L70.03,79.37 L68.82,79.02 L67.64,78.60 L66.48,78.10 L65.36,77.53 L64.28,76.89 L63.24,76.18 L62.25,75.41 L61.31,74.58 L60.42,73.69 L59.59,72.75 L58.82,71.76 L58.11,70.72 L57.47,69.64 L56.90,68.52 L56.40,67.36 L55.98,66.18 L55.63,64.97 L55.35,63.75 L55.16,62.51 L55.04,61.26 L55.00,60.00 L55.04,58.74 L55.16,57.49 L55.35,56.25 L55.63,55.03 L55.98,53.82 L56.40,52.64 L56.90,51.48 L57.47,50.36 L58.11,49.28 L58.82,48.24 L59.59,47.25 L60.42,46.31 L61.31,45.42 L62.25,44.59 L63.24,43.82 L64.28,43.11 L65.36,42.47 L66.48,41.90 L67.64,41.40 L68.82,40.98 L70.03,40.63 L71.25,40.35 L72.49,40.16 L73.74,40.04 L75.00,40.00 L76.26,40.04 L77.51,40.16 L78.75,40.35 L79.97,40.63 L81.18,40.98 L82.36,41.40 L83.52,41.90 L84.64,42.47 L85.72,43.11 L86.76,43.82 L87.75,44.59 L88.69,45.42 L89.58,46.31 L90.41,47.25 L91.18,48.24 L91.89,49.28 L92.53,50.36 L93.10,51.48 L93.60,52.64 L94.02,53.82 L94.37,55.03 L94.65,56.25 L94.84,57.49 L94.96,58.74 L95.00,60.00"]
+        RenderSVGResourceMasker {mask} [id="mask_2"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
+          RenderPath {circle} at (10,0) size 84x83 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M45.00,20.00 L44.96,21.26 L44.84,22.51 L44.65,23.75 L44.37,24.97 L44.02,26.18 L43.60,27.36 L43.10,28.52 L42.53,29.64 L41.89,30.72 L41.18,31.76 L40.41,32.75 L39.58,33.69 L38.69,34.58 L37.75,35.41 L36.76,36.18 L35.72,36.89 L34.64,37.53 L33.52,38.10 L32.36,38.60 L31.18,39.02 L29.97,39.37 L28.75,39.65 L27.51,39.84 L26.26,39.96 L25.00,40.00 L23.74,39.96 L22.49,39.84 L21.25,39.65 L20.03,39.37 L18.82,39.02 L17.64,38.60 L16.48,38.10 L15.36,37.53 L14.28,36.89 L13.24,36.18 L12.25,35.41 L11.31,34.58 L10.42,33.69 L9.59,32.75 L8.82,31.76 L8.11,30.72 L7.47,29.64 L6.90,28.52 L6.40,27.36 L5.98,26.18 L5.63,24.97 L5.35,23.75 L5.16,22.51 L5.04,21.26 L5.00,20.00 L5.04,18.74 L5.16,17.49 L5.35,16.25 L5.63,15.03 L5.98,13.82 L6.40,12.64 L6.90,11.48 L7.47,10.36 L8.11,9.28 L8.82,8.24 L9.59,7.25 L10.42,6.31 L11.31,5.42 L12.25,4.59 L13.24,3.82 L14.28,3.11 L15.36,2.47 L16.48,1.90 L17.64,1.40 L18.82,0.98 L20.03,0.63 L21.25,0.35 L22.49,0.16 L23.74,0.04 L25.00,0.00 L26.26,0.04 L27.51,0.16 L28.75,0.35 L29.97,0.63 L31.18,0.98 L32.36,1.40 L33.52,1.90 L34.64,2.47 L35.72,3.11 L36.76,3.82 L37.75,4.59 L38.69,5.42 L39.58,6.31 L40.41,7.25 L41.18,8.24 L41.89,9.28 L42.53,10.36 L43.10,11.48 L43.60,12.64 L44.02,13.82 L44.37,15.03 L44.65,16.25 L44.84,17.49 L44.96,18.74 L45.00,20.00"]
+          RenderPath {circle} at (10,82) size 84x84 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M45.00,60.00 L44.96,61.26 L44.84,62.51 L44.65,63.75 L44.37,64.97 L44.02,66.18 L43.60,67.36 L43.10,68.52 L42.53,69.64 L41.89,70.72 L41.18,71.76 L40.41,72.75 L39.58,73.69 L38.69,74.58 L37.75,75.41 L36.76,76.18 L35.72,76.89 L34.64,77.53 L33.52,78.10 L32.36,78.60 L31.18,79.02 L29.97,79.37 L28.75,79.65 L27.51,79.84 L26.26,79.96 L25.00,80.00 L23.74,79.96 L22.49,79.84 L21.25,79.65 L20.03,79.37 L18.82,79.02 L17.64,78.60 L16.48,78.10 L15.36,77.53 L14.28,76.89 L13.24,76.18 L12.25,75.41 L11.31,74.58 L10.42,73.69 L9.59,72.75 L8.82,71.76 L8.11,70.72 L7.47,69.64 L6.90,68.52 L6.40,67.36 L5.98,66.18 L5.63,64.97 L5.35,63.75 L5.16,62.51 L5.04,61.26 L5.00,60.00 L5.04,58.74 L5.16,57.49 L5.35,56.25 L5.63,55.03 L5.98,53.82 L6.40,52.64 L6.90,51.48 L7.47,50.36 L8.11,49.28 L8.82,48.24 L9.59,47.25 L10.42,46.31 L11.31,45.42 L12.25,44.59 L13.24,43.82 L14.28,43.11 L15.36,42.47 L16.48,41.90 L17.64,41.40 L18.82,40.98 L20.03,40.63 L21.25,40.35 L22.49,40.16 L23.74,40.04 L25.00,40.00 L26.26,40.04 L27.51,40.16 L28.75,40.35 L29.97,40.63 L31.18,40.98 L32.36,41.40 L33.52,41.90 L34.64,42.47 L35.72,43.11 L36.76,43.82 L37.75,44.59 L38.69,45.42 L39.58,46.31 L40.41,47.25 L41.18,48.24 L41.89,49.28 L42.53,50.36 L43.10,51.48 L43.60,52.64 L44.02,53.82 L44.37,55.03 L44.65,56.25 L44.84,57.49 L44.96,58.74 L45.00,60.00"]
+          RenderPath {circle} at (114,0) size 84x83 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M95.00,20.00 L94.96,21.26 L94.84,22.51 L94.65,23.75 L94.37,24.97 L94.02,26.18 L93.60,27.36 L93.10,28.52 L92.53,29.64 L91.89,30.72 L91.18,31.76 L90.41,32.75 L89.58,33.69 L88.69,34.58 L87.75,35.41 L86.76,36.18 L85.72,36.89 L84.64,37.53 L83.52,38.10 L82.36,38.60 L81.18,39.02 L79.97,39.37 L78.75,39.65 L77.51,39.84 L76.26,39.96 L75.00,40.00 L73.74,39.96 L72.49,39.84 L71.25,39.65 L70.03,39.37 L68.82,39.02 L67.64,38.60 L66.48,38.10 L65.36,37.53 L64.28,36.89 L63.24,36.18 L62.25,35.41 L61.31,34.58 L60.42,33.69 L59.59,32.75 L58.82,31.76 L58.11,30.72 L57.47,29.64 L56.90,28.52 L56.40,27.36 L55.98,26.18 L55.63,24.97 L55.35,23.75 L55.16,22.51 L55.04,21.26 L55.00,20.00 L55.04,18.74 L55.16,17.49 L55.35,16.25 L55.63,15.03 L55.98,13.82 L56.40,12.64 L56.90,11.48 L57.47,10.36 L58.11,9.28 L58.82,8.24 L59.59,7.25 L60.42,6.31 L61.31,5.42 L62.25,4.59 L63.24,3.82 L64.28,3.11 L65.36,2.47 L66.48,1.90 L67.64,1.40 L68.82,0.98 L70.03,0.63 L71.25,0.35 L72.49,0.16 L73.74,0.04 L75.00,0.00 L76.26,0.04 L77.51,0.16 L78.75,0.35 L79.97,0.63 L81.18,0.98 L82.36,1.40 L83.52,1.90 L84.64,2.47 L85.72,3.11 L86.76,3.82 L87.75,4.59 L88.69,5.42 L89.58,6.31 L90.41,7.25 L91.18,8.24 L91.89,9.28 L92.53,10.36 L93.10,11.48 L93.60,12.64 L94.02,13.82 L94.37,15.03 L94.65,16.25 L94.84,17.49 L94.96,18.74 L95.00,20.00"]
+          RenderPath {circle} at (114,82) size 84x84 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M95.00,60.00 L94.96,61.26 L94.84,62.51 L94.65,63.75 L94.37,64.97 L94.02,66.18 L93.60,67.36 L93.10,68.52 L92.53,69.64 L91.89,70.72 L91.18,71.76 L90.41,72.75 L89.58,73.69 L88.69,74.58 L87.75,75.41 L86.76,76.18 L85.72,76.89 L84.64,77.53 L83.52,78.10 L82.36,78.60 L81.18,79.02 L79.97,79.37 L78.75,79.65 L77.51,79.84 L76.26,79.96 L75.00,80.00 L73.74,79.96 L72.49,79.84 L71.25,79.65 L70.03,79.37 L68.82,79.02 L67.64,78.60 L66.48,78.10 L65.36,77.53 L64.28,76.89 L63.24,76.18 L62.25,75.41 L61.31,74.58 L60.42,73.69 L59.59,72.75 L58.82,71.76 L58.11,70.72 L57.47,69.64 L56.90,68.52 L56.40,67.36 L55.98,66.18 L55.63,64.97 L55.35,63.75 L55.16,62.51 L55.04,61.26 L55.00,60.00 L55.04,58.74 L55.16,57.49 L55.35,56.25 L55.63,55.03 L55.98,53.82 L56.40,52.64 L56.90,51.48 L57.47,50.36 L58.11,49.28 L58.82,48.24 L59.59,47.25 L60.42,46.31 L61.31,45.42 L62.25,44.59 L63.24,43.82 L64.28,43.11 L65.36,42.47 L66.48,41.90 L67.64,41.40 L68.82,40.98 L70.03,40.63 L71.25,40.35 L72.49,40.16 L73.74,40.04 L75.00,40.00 L76.26,40.04 L77.51,40.16 L78.75,40.35 L79.97,40.63 L81.18,40.98 L82.36,41.40 L83.52,41.90 L84.64,42.47 L85.72,43.11 L86.76,43.82 L87.75,44.59 L88.69,45.42 L89.58,46.31 L90.41,47.25 L91.18,48.24 L91.89,49.28 L92.53,50.36 L93.10,51.48 L93.60,52.64 L94.02,53.82 L94.37,55.03 L94.65,56.25 L94.84,57.49 L94.96,58.74 L95.00,60.00"]
+        RenderSVGResourceMasker {mask} [id="mask_3"] [maskUnits=userSpaceOnUse] [maskContentUnits=userSpaceOnUse]
+          RenderPath {circle} at (10,0) size 84x83 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M45.00,20.00 L44.96,21.26 L44.84,22.51 L44.65,23.75 L44.37,24.97 L44.02,26.18 L43.60,27.36 L43.10,28.52 L42.53,29.64 L41.89,30.72 L41.18,31.76 L40.41,32.75 L39.58,33.69 L38.69,34.58 L37.75,35.41 L36.76,36.18 L35.72,36.89 L34.64,37.53 L33.52,38.10 L32.36,38.60 L31.18,39.02 L29.97,39.37 L28.75,39.65 L27.51,39.84 L26.26,39.96 L25.00,40.00 L23.74,39.96 L22.49,39.84 L21.25,39.65 L20.03,39.37 L18.82,39.02 L17.64,38.60 L16.48,38.10 L15.36,37.53 L14.28,36.89 L13.24,36.18 L12.25,35.41 L11.31,34.58 L10.42,33.69 L9.59,32.75 L8.82,31.76 L8.11,30.72 L7.47,29.64 L6.90,28.52 L6.40,27.36 L5.98,26.18 L5.63,24.97 L5.35,23.75 L5.16,22.51 L5.04,21.26 L5.00,20.00 L5.04,18.74 L5.16,17.49 L5.35,16.25 L5.63,15.03 L5.98,13.82 L6.40,12.64 L6.90,11.48 L7.47,10.36 L8.11,9.28 L8.82,8.24 L9.59,7.25 L10.42,6.31 L11.31,5.42 L12.25,4.59 L13.24,3.82 L14.28,3.11 L15.36,2.47 L16.48,1.90 L17.64,1.40 L18.82,0.98 L20.03,0.63 L21.25,0.35 L22.49,0.16 L23.74,0.04 L25.00,0.00 L26.26,0.04 L27.51,0.16 L28.75,0.35 L29.97,0.63 L31.18,0.98 L32.36,1.40 L33.52,1.90 L34.64,2.47 L35.72,3.11 L36.76,3.82 L37.75,4.59 L38.69,5.42 L39.58,6.31 L40.41,7.25 L41.18,8.24 L41.89,9.28 L42.53,10.36 L43.10,11.48 L43.60,12.64 L44.02,13.82 L44.37,15.03 L44.65,16.25 L44.84,17.49 L44.96,18.74 L45.00,20.00"]
+          RenderPath {circle} at (10,82) size 84x84 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M45.00,60.00 L44.96,61.26 L44.84,62.51 L44.65,63.75 L44.37,64.97 L44.02,66.18 L43.60,67.36 L43.10,68.52 L42.53,69.64 L41.89,70.72 L41.18,71.76 L40.41,72.75 L39.58,73.69 L38.69,74.58 L37.75,75.41 L36.76,76.18 L35.72,76.89 L34.64,77.53 L33.52,78.10 L32.36,78.60 L31.18,79.02 L29.97,79.37 L28.75,79.65 L27.51,79.84 L26.26,79.96 L25.00,80.00 L23.74,79.96 L22.49,79.84 L21.25,79.65 L20.03,79.37 L18.82,79.02 L17.64,78.60 L16.48,78.10 L15.36,77.53 L14.28,76.89 L13.24,76.18 L12.25,75.41 L11.31,74.58 L10.42,73.69 L9.59,72.75 L8.82,71.76 L8.11,70.72 L7.47,69.64 L6.90,68.52 L6.40,67.36 L5.98,66.18 L5.63,64.97 L5.35,63.75 L5.16,62.51 L5.04,61.26 L5.00,60.00 L5.04,58.74 L5.16,57.49 L5.35,56.25 L5.63,55.03 L5.98,53.82 L6.40,52.64 L6.90,51.48 L7.47,50.36 L8.11,49.28 L8.82,48.24 L9.59,47.25 L10.42,46.31 L11.31,45.42 L12.25,44.59 L13.24,43.82 L14.28,43.11 L15.36,42.47 L16.48,41.90 L17.64,41.40 L18.82,40.98 L20.03,40.63 L21.25,40.35 L22.49,40.16 L23.74,40.04 L25.00,40.00 L26.26,40.04 L27.51,40.16 L28.75,40.35 L29.97,40.63 L31.18,40.98 L32.36,41.40 L33.52,41.90 L34.64,42.47 L35.72,43.11 L36.76,43.82 L37.75,44.59 L38.69,45.42 L39.58,46.31 L40.41,47.25 L41.18,48.24 L41.89,49.28 L42.53,50.36 L43.10,51.48 L43.60,52.64 L44.02,53.82 L44.37,55.03 L44.65,56.25 L44.84,57.49 L44.96,58.74 L45.00,60.00"]
+          RenderPath {circle} at (114,0) size 84x83 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M95.00,20.00 L94.96,21.26 L94.84,22.51 L94.65,23.75 L94.37,24.97 L94.02,26.18 L93.60,27.36 L93.10,28.52 L92.53,29.64 L91.89,30.72 L91.18,31.76 L90.41,32.75 L89.58,33.69 L88.69,34.58 L87.75,35.41 L86.76,36.18 L85.72,36.89 L84.64,37.53 L83.52,38.10 L82.36,38.60 L81.18,39.02 L79.97,39.37 L78.75,39.65 L77.51,39.84 L76.26,39.96 L75.00,40.00 L73.74,39.96 L72.49,39.84 L71.25,39.65 L70.03,39.37 L68.82,39.02 L67.64,38.60 L66.48,38.10 L65.36,37.53 L64.28,36.89 L63.24,36.18 L62.25,35.41 L61.31,34.58 L60.42,33.69 L59.59,32.75 L58.82,31.76 L58.11,30.72 L57.47,29.64 L56.90,28.52 L56.40,27.36 L55.98,26.18 L55.63,24.97 L55.35,23.75 L55.16,22.51 L55.04,21.26 L55.00,20.00 L55.04,18.74 L55.16,17.49 L55.35,16.25 L55.63,15.03 L55.98,13.82 L56.40,12.64 L56.90,11.48 L57.47,10.36 L58.11,9.28 L58.82,8.24 L59.59,7.25 L60.42,6.31 L61.31,5.42 L62.25,4.59 L63.24,3.82 L64.28,3.11 L65.36,2.47 L66.48,1.90 L67.64,1.40 L68.82,0.98 L70.03,0.63 L71.25,0.35 L72.49,0.16 L73.74,0.04 L75.00,0.00 L76.26,0.04 L77.51,0.16 L78.75,0.35 L79.97,0.63 L81.18,0.98 L82.36,1.40 L83.52,1.90 L84.64,2.47 L85.72,3.11 L86.76,3.82 L87.75,4.59 L88.69,5.42 L89.58,6.31 L90.41,7.25 L91.18,8.24 L91.89,9.28 L92.53,10.36 L93.10,11.48 L93.60,12.64 L94.02,13.82 L94.37,15.03 L94.65,16.25 L94.84,17.49 L94.96,18.74 L95.00,20.00"]
+          RenderPath {circle} at (114,82) size 84x84 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M95.00,60.00 L94.96,61.26 L94.84,62.51 L94.65,63.75 L94.37,64.97 L94.02,66.18 L93.60,67.36 L93.10,68.52 L92.53,69.64 L91.89,70.72 L91.18,71.76 L90.41,72.75 L89.58,73.69 L88.69,74.58 L87.75,75.41 L86.76,76.18 L85.72,76.89 L84.64,77.53 L83.52,78.10 L82.36,78.60 L81.18,79.02 L79.97,79.37 L78.75,79.65 L77.51,79.84 L76.26,79.96 L75.00,80.00 L73.74,79.96 L72.49,79.84 L71.25,79.65 L70.03,79.37 L68.82,79.02 L67.64,78.60 L66.48,78.10 L65.36,77.53 L64.28,76.89 L63.24,76.18 L62.25,75.41 L61.31,74.58 L60.42,73.69 L59.59,72.75 L58.82,71.76 L58.11,70.72 L57.47,69.64 L56.90,68.52 L56.40,67.36 L55.98,66.18 L55.63,64.97 L55.35,63.75 L55.16,62.51 L55.04,61.26 L55.00,60.00 L55.04,58.74 L55.16,57.49 L55.35,56.25 L55.63,55.03 L55.98,53.82 L56.40,52.64 L56.90,51.48 L57.47,50.36 L58.11,49.28 L58.82,48.24 L59.59,47.25 L60.42,46.31 L61.31,45.42 L62.25,44.59 L63.24,43.82 L64.28,43.11 L65.36,42.47 L66.48,41.90 L67.64,41.40 L68.82,40.98 L70.03,40.63 L71.25,40.35 L72.49,40.16 L73.74,40.04 L75.00,40.00 L76.26,40.04 L77.51,40.16 L78.75,40.35 L79.97,40.63 L81.18,40.98 L82.36,41.40 L83.52,41.90 L84.64,42.47 L85.72,43.11 L86.76,43.82 L87.75,44.59 L88.69,45.42 L89.58,46.31 L90.41,47.25 L91.18,48.24 L91.89,49.28 L92.53,50.36 L93.10,51.48 L93.60,52.64 L94.02,53.82 L94.37,55.03 L94.65,56.25 L94.84,57.49 L94.96,58.74 L95.00,60.00"]
+        RenderSVGResourceMasker {mask} [id="mask_4"] [maskUnits=objectBoundingBox] [maskContentUnits=objectBoundingBox]
+          RenderPath {circle} at (0,0) size 3x3 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M0.45,0.20 L0.45,0.21 L0.45,0.23 L0.45,0.24 L0.44,0.25 L0.44,0.26 L0.44,0.27 L0.43,0.29 L0.43,0.30 L0.42,0.31 L0.41,0.32 L0.40,0.33 L0.40,0.34 L0.39,0.35 L0.38,0.35 L0.37,0.36 L0.36,0.37 L0.35,0.38 L0.34,0.38 L0.32,0.39 L0.31,0.39 L0.30,0.39 L0.29,0.40 L0.28,0.40 L0.26,0.40 L0.25,0.40 L0.24,0.40 L0.22,0.40 L0.21,0.40 L0.20,0.39 L0.19,0.39 L0.18,0.39 L0.16,0.38 L0.15,0.38 L0.14,0.37 L0.13,0.36 L0.12,0.35 L0.11,0.35 L0.10,0.34 L0.10,0.33 L0.09,0.32 L0.08,0.31 L0.07,0.30 L0.07,0.29 L0.06,0.27 L0.06,0.26 L0.06,0.25 L0.05,0.24 L0.05,0.23 L0.05,0.21 L0.05,0.20 L0.05,0.19 L0.05,0.17 L0.05,0.16 L0.06,0.15 L0.06,0.14 L0.06,0.13 L0.07,0.11 L0.07,0.10 L0.08,0.09 L0.09,0.08 L0.10,0.07 L0.10,0.06 L0.11,0.05 L0.12,0.05 L0.13,0.04 L0.14,0.03 L0.15,0.02 L0.16,0.02 L0.18,0.01 L0.19,0.01 L0.20,0.01 L0.21,0.00 L0.22,0.00 L0.24,0.00 L0.25,0.00 L0.26,0.00 L0.28,0.00 L0.29,0.00 L0.30,0.01 L0.31,0.01 L0.32,0.01 L0.34,0.02 L0.35,0.02 L0.36,0.03 L0.37,0.04 L0.38,0.05 L0.39,0.05 L0.40,0.06 L0.40,0.07 L0.41,0.08 L0.42,0.09 L0.43,0.10 L0.43,0.11 L0.44,0.13 L0.44,0.14 L0.44,0.15 L0.45,0.16 L0.45,0.17 L0.45,0.19 L0.45,0.20"]
+          RenderPath {circle} at (0,0) size 3x3 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M0.45,0.60 L0.45,0.61 L0.45,0.63 L0.45,0.64 L0.44,0.65 L0.44,0.66 L0.44,0.67 L0.43,0.69 L0.43,0.70 L0.42,0.71 L0.41,0.72 L0.40,0.73 L0.40,0.74 L0.39,0.75 L0.38,0.75 L0.37,0.76 L0.36,0.77 L0.35,0.78 L0.34,0.78 L0.32,0.79 L0.31,0.79 L0.30,0.79 L0.29,0.80 L0.28,0.80 L0.26,0.80 L0.25,0.80 L0.24,0.80 L0.22,0.80 L0.21,0.80 L0.20,0.79 L0.19,0.79 L0.18,0.79 L0.16,0.78 L0.15,0.78 L0.14,0.77 L0.13,0.76 L0.12,0.75 L0.11,0.75 L0.10,0.74 L0.10,0.73 L0.09,0.72 L0.08,0.71 L0.07,0.70 L0.07,0.69 L0.06,0.67 L0.06,0.66 L0.06,0.65 L0.05,0.64 L0.05,0.63 L0.05,0.61 L0.05,0.60 L0.05,0.59 L0.05,0.57 L0.05,0.56 L0.06,0.55 L0.06,0.54 L0.06,0.53 L0.07,0.51 L0.07,0.50 L0.08,0.49 L0.09,0.48 L0.10,0.47 L0.10,0.46 L0.11,0.45 L0.12,0.45 L0.13,0.44 L0.14,0.43 L0.15,0.42 L0.16,0.42 L0.18,0.41 L0.19,0.41 L0.20,0.41 L0.21,0.40 L0.22,0.40 L0.24,0.40 L0.25,0.40 L0.26,0.40 L0.28,0.40 L0.29,0.40 L0.30,0.41 L0.31,0.41 L0.32,0.41 L0.34,0.42 L0.35,0.42 L0.36,0.43 L0.37,0.44 L0.38,0.45 L0.39,0.45 L0.40,0.46 L0.40,0.47 L0.41,0.48 L0.42,0.49 L0.43,0.50 L0.43,0.51 L0.44,0.53 L0.44,0.54 L0.44,0.55 L0.45,0.56 L0.45,0.57 L0.45,0.59 L0.45,0.60"]
+          RenderPath {circle} at (0,0) size 3x3 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M0.95,0.20 L0.95,0.21 L0.95,0.23 L0.95,0.24 L0.94,0.25 L0.94,0.26 L0.94,0.27 L0.93,0.29 L0.93,0.30 L0.92,0.31 L0.91,0.32 L0.90,0.33 L0.90,0.34 L0.89,0.35 L0.88,0.35 L0.87,0.36 L0.86,0.37 L0.85,0.38 L0.84,0.38 L0.82,0.39 L0.81,0.39 L0.80,0.39 L0.79,0.40 L0.78,0.40 L0.76,0.40 L0.75,0.40 L0.74,0.40 L0.72,0.40 L0.71,0.40 L0.70,0.39 L0.69,0.39 L0.68,0.39 L0.66,0.38 L0.65,0.38 L0.64,0.37 L0.63,0.36 L0.62,0.35 L0.61,0.35 L0.60,0.34 L0.60,0.33 L0.59,0.32 L0.58,0.31 L0.57,0.30 L0.57,0.29 L0.56,0.27 L0.56,0.26 L0.56,0.25 L0.55,0.24 L0.55,0.23 L0.55,0.21 L0.55,0.20 L0.55,0.19 L0.55,0.17 L0.55,0.16 L0.56,0.15 L0.56,0.14 L0.56,0.13 L0.57,0.11 L0.57,0.10 L0.58,0.09 L0.59,0.08 L0.60,0.07 L0.60,0.06 L0.61,0.05 L0.62,0.05 L0.63,0.04 L0.64,0.03 L0.65,0.02 L0.66,0.02 L0.68,0.01 L0.69,0.01 L0.70,0.01 L0.71,0.00 L0.72,0.00 L0.74,0.00 L0.75,0.00 L0.76,0.00 L0.78,0.00 L0.79,0.00 L0.80,0.01 L0.81,0.01 L0.82,0.01 L0.84,0.02 L0.85,0.02 L0.86,0.03 L0.87,0.04 L0.88,0.05 L0.89,0.05 L0.90,0.06 L0.90,0.07 L0.91,0.08 L0.92,0.09 L0.93,0.10 L0.93,0.11 L0.94,0.13 L0.94,0.14 L0.94,0.15 L0.95,0.16 L0.95,0.17 L0.95,0.19 L0.95,0.20"]
+          RenderPath {circle} at (0,0) size 3x3 [fill={[type=SOLID] [color=#FFFFFF]}] [data="M0.95,0.60 L0.95,0.61 L0.95,0.63 L0.95,0.64 L0.94,0.65 L0.94,0.66 L0.94,0.67 L0.93,0.69 L0.93,0.70 L0.92,0.71 L0.91,0.72 L0.90,0.73 L0.90,0.74 L0.89,0.75 L0.88,0.75 L0.87,0.76 L0.86,0.77 L0.85,0.78 L0.84,0.78 L0.82,0.79 L0.81,0.79 L0.80,0.79 L0.79,0.80 L0.78,0.80 L0.76,0.80 L0.75,0.80 L0.74,0.80 L0.72,0.80 L0.71,0.80 L0.70,0.79 L0.69,0.79 L0.68,0.79 L0.66,0.78 L0.65,0.78 L0.64,0.77 L0.63,0.76 L0.62,0.75 L0.61,0.75 L0.60,0.74 L0.60,0.73 L0.59,0.72 L0.58,0.71 L0.57,0.70 L0.57,0.69 L0.56,0.67 L0.56,0.66 L0.56,0.65 L0.55,0.64 L0.55,0.63 L0.55,0.61 L0.55,0.60 L0.55,0.59 L0.55,0.57 L0.55,0.56 L0.56,0.55 L0.56,0.54 L0.56,0.53 L0.57,0.51 L0.57,0.50 L0.58,0.49 L0.59,0.48 L0.60,0.47 L0.60,0.46 L0.61,0.45 L0.62,0.45 L0.63,0.44 L0.64,0.43 L0.65,0.42 L0.66,0.42 L0.68,0.41 L0.69,0.41 L0.70,0.41 L0.71,0.40 L0.72,0.40 L0.74,0.40 L0.75,0.40 L0.76,0.40 L0.78,0.40 L0.79,0.40 L0.80,0.41 L0.81,0.41 L0.82,0.41 L0.84,0.42 L0.85,0.42 L0.86,0.43 L0.87,0.44 L0.88,0.45 L0.89,0.45 L0.90,0.46 L0.90,0.47 L0.91,0.48 L0.92,0.49 L0.93,0.50 L0.93,0.51 L0.94,0.53 L0.94,0.54 L0.94,0.55 L0.95,0.56 L0.95,0.57 L0.95,0.59 L0.95,0.60"]
+      RenderSVGContainer {g} at (362,167) size 209x206 [transform={m=((1.00,0.00)(0.00,1.00)) t=(175.00,100.00)}]
+        RenderSVGContainer {use} at (362,207) size 209x166
+          RenderSVGContainer {g} at (362,207) size 209x166
+            RenderPath {rect} at (362,207) size 209x166 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [data="M0.00,0.00 L100.00,0.00 L100.00,80.00 L0.00,80.00 L0.00,0.00"]
+        RenderSVGText {text} at (23,-19) size 54x21 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 54x21
+            chunk 1 (middle anchor) text run 1 at (23.00,-3.00) startOffset 0 endOffset 6 width 54.00: "Masked"
+      RenderSVGContainer {g} at (186,416) size 188x206 [transform={m=((1.00,0.00)(0.00,1.00)) t=(85.00,220.00)}]
+        RenderSVGContainer {use} at (186,455) size 188x167
+          [masker="mask_1"] RenderSVGResourceMasker {mask} at (5,0) size 90x80
+          RenderSVGContainer {g} at (176,455) size 208x167
+            RenderPath {rect} at (176,455) size 208x167 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [data="M0.00,0.00 L100.00,0.00 L100.00,80.00 L0.00,80.00 L0.00,0.00"]
+        RenderSVGText {text} at (25,-19) size 50x21 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 50x21
+            chunk 1 (middle anchor) text run 1 at (25.00,-3.00) startOffset 0 endOffset 6 width 50.00: "Mask 1"
+      RenderSVGContainer {g} at (228,665) size 104x164 [transform={m=((1.00,0.00)(0.00,1.00)) t=(85.00,340.00)}]
+        RenderSVGContainer {use} at (228,745) size 104x84
+          [masker="mask_2"] RenderSVGResourceMasker {mask} at (25,20) size 50x40
+          RenderSVGContainer {g} at (176,704) size 208x167
+            RenderPath {rect} at (176,704) size 208x167 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [data="M0.00,0.00 L100.00,0.00 L100.00,80.00 L0.00,80.00 L0.00,0.00"]
+        RenderSVGText {text} at (25,-19) size 50x21 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 50x21
+            chunk 1 (middle anchor) text run 1 at (25.00,-3.00) startOffset 0 endOffset 6 width 50.00: "Mask 2"
+      RenderSVGContainer {g} at (590,416) size 105x165 [transform={m=((1.00,0.00)(0.00,1.00)) t=(260.00,220.00)}]
+        RenderSVGContainer {use} at (590,497) size 105x84
+          [masker="mask_3"] RenderSVGResourceMasker {mask} at (25,20) size 50.00x40
+          RenderSVGContainer {g} at (539,455) size 208x167
+            RenderPath {rect} at (539,455) size 208x167 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [data="M0.00,0.00 L100.00,0.00 L100.00,80.00 L0.00,80.00 L0.00,0.00"]
+        RenderSVGText {text} at (25,-19) size 50x21 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 50x21
+            chunk 1 (middle anchor) text run 1 at (25.00,-3.00) startOffset 0 endOffset 6 width 50.00: "Mask 3"
+      RenderSVGContainer {g} at (547,665) size 189x173 [transform={m=((1.00,0.00)(0.00,1.00)) t=(260.00,340.00)}]
+        RenderSVGContainer {use} at (547,704) size 189x134
+          [masker="mask_4"] RenderSVGResourceMasker {mask} at (5.00,0) size 90x64
+          RenderSVGContainer {g} at (539,704) size 208x167
+            RenderPath {rect} at (539,704) size 208x167 [fill={[type=LINEAR-GRADIENT] [id="maskedGradient"]}] [data="M0.00,0.00 L100.00,0.00 L100.00,80.00 L0.00,80.00 L0.00,0.00"]
+        RenderSVGText {text} at (25,-19) size 50x21 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 50x21
+            chunk 1 (middle anchor) text run 1 at (25.00,-3.00) startOffset 0 endOffset 6 width 50.00: "Mask 4"
+    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
diff --git a/LayoutTests/platform/qt/tables/layering/paint-test-layering-1-expected.checksum b/LayoutTests/platform/qt/tables/layering/paint-test-layering-1-expected.checksum
new file mode 100644
index 0000000..8198d0e
--- /dev/null
+++ b/LayoutTests/platform/qt/tables/layering/paint-test-layering-1-expected.checksum
@@ -0,0 +1 @@
+a7eda6de8358c4c57c0345a054d4079d
\ No newline at end of file
diff --git a/LayoutTests/platform/qt/tables/layering/paint-test-layering-1-expected.png b/LayoutTests/platform/qt/tables/layering/paint-test-layering-1-expected.png
new file mode 100644
index 0000000..07b7914
Binary files /dev/null and b/LayoutTests/platform/qt/tables/layering/paint-test-layering-1-expected.png differ
diff --git a/LayoutTests/platform/qt/tables/layering/paint-test-layering-1-expected.txt b/LayoutTests/platform/qt/tables/layering/paint-test-layering-1-expected.txt
new file mode 100644
index 0000000..21c7746
--- /dev/null
+++ b/LayoutTests/platform/qt/tables/layering/paint-test-layering-1-expected.txt
@@ -0,0 +1,55 @@
+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 (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x63
+        RenderText {#text} at (0,0) size 775x42
+          text run at (0,0) width 775: "This test checks the renderer's ability to layer multiple cells in a table on top of one another. This test has three cells"
+          text run at (0,21) width 263: "that span multiple table grid slots. The "
+        RenderInline {SPAN} at (0,0) size 23x21 [color=#FF0000]
+          RenderText {#text} at (263,21) size 23x21
+            text run at (263,21) width 23: "red"
+        RenderText {#text} at (286,21) size 410x21
+          text run at (286,21) width 410: " cell starts at row 1 and column 3 and spans three rows. The "
+        RenderInline {SPAN} at (0,0) size 29x21 [color=#0000FF]
+          RenderText {#text} at (696,21) size 29x21
+            text run at (696,21) width 29: "blue"
+        RenderText {#text} at (725,21) size 751x42
+          text run at (725,21) width 26: " cell"
+          text run at (0,42) width 497: "starts at row 2, and column 2, and spans two columns and two rows. The "
+        RenderInline {SPAN} at (0,0) size 38x21 [color=#008000]
+          RenderText {#text} at (497,42) size 38x21
+            text run at (497,42) width 38: "green"
+        RenderText {#text} at (535,42) size 204x21
+          text run at (535,42) width 204: " cell spans 4 columns of row 3."
+      RenderBlock {P} at (0,79) size 784x42
+        RenderText {#text} at (0,0) size 761x42
+          text run at (0,0) width 761: "If the test succeeds then you should see no text inside the table. If you see the text 'FAIL' inside the table, then the"
+          text run at (0,21) width 95: "test has failed."
+      RenderTable {TABLE} at (0,137) size 102x85 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 100x83
+          RenderTableRow {TR} at (0,2) size 100x25
+            RenderTableCell {TD} at (2,2) size 20x25 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 16x21
+                text run at (2,2) width 16: "    "
+            RenderTableCell {TD} at (24,2) size 20x25 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 16x21
+                text run at (2,2) width 16: "    "
+            RenderTableCell {TD} at (46,56) size 52x25 [bgcolor=#FF0000] [border: (1px inset #808080)] [r=0 c=2 rs=3 cs=1]
+              RenderBlock {DIV} at (2,2) size 48x21
+                RenderText {#text} at (0,0) size 48x21
+                  text run at (0,0) width 48: "            "
+          RenderTableRow {TR} at (0,29) size 100x25
+            RenderTableCell {TD} at (2,29) size 20x25 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 16x21
+                text run at (2,2) width 16: "    "
+            RenderTableCell {TD} at (24,56) size 74x25 [bgcolor=#0000FF] [border: (1px inset #808080)] [r=1 c=1 rs=2 cs=2]
+              RenderBlock {DIV} at (2,2) size 70x21 [color=#008000]
+                RenderText {#text} at (11,0) size 59x21
+                  text run at (11,0) width 59: "   FAIL  "
+          RenderTableRow {TR} at (0,56) size 100x25
+            RenderTableCell {TD} at (2,56) size 96x25 [bgcolor=#008000] [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=3]
+              RenderBlock {DIV} at (2,2) size 92x21
+                RenderText {#text} at (84,0) size 8x21
+                  text run at (84,0) width 8: "  "
diff --git a/LayoutTests/platform/qt/tables/layering/paint-test-layering-2-expected.checksum b/LayoutTests/platform/qt/tables/layering/paint-test-layering-2-expected.checksum
new file mode 100644
index 0000000..0d596aa
--- /dev/null
+++ b/LayoutTests/platform/qt/tables/layering/paint-test-layering-2-expected.checksum
@@ -0,0 +1 @@
+1bd1c34cbfd4b2dfe0e41949176cd936
\ No newline at end of file
diff --git a/LayoutTests/platform/qt/tables/layering/paint-test-layering-2-expected.png b/LayoutTests/platform/qt/tables/layering/paint-test-layering-2-expected.png
new file mode 100644
index 0000000..db985ae
Binary files /dev/null and b/LayoutTests/platform/qt/tables/layering/paint-test-layering-2-expected.png differ
diff --git a/LayoutTests/platform/qt/tables/layering/paint-test-layering-2-expected.txt b/LayoutTests/platform/qt/tables/layering/paint-test-layering-2-expected.txt
new file mode 100644
index 0000000..aff593e
--- /dev/null
+++ b/LayoutTests/platform/qt/tables/layering/paint-test-layering-2-expected.txt
@@ -0,0 +1,65 @@
+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 (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x63
+        RenderText {#text} at (0,0) size 775x42
+          text run at (0,0) width 775: "This test checks the renderer's ability to layer multiple cells in a table on top of one another. This test has three cells"
+          text run at (0,21) width 263: "that span multiple table grid slots. The "
+        RenderInline {SPAN} at (0,0) size 23x21 [color=#FF0000]
+          RenderText {#text} at (263,21) size 23x21
+            text run at (263,21) width 23: "red"
+        RenderText {#text} at (286,21) size 404x21
+          text run at (286,21) width 404: " cell starts at row 1 and column 4 and spans four rows. The "
+        RenderInline {SPAN} at (0,0) size 29x21 [color=#0000FF]
+          RenderText {#text} at (690,21) size 29x21
+            text run at (690,21) width 29: "blue"
+        RenderText {#text} at (719,21) size 745x42
+          text run at (719,21) width 26: " cell"
+          text run at (0,42) width 405: "starts at row 2, and column 1, and spans four columns. The "
+        RenderInline {SPAN} at (0,0) size 38x21 [color=#008000]
+          RenderText {#text} at (405,42) size 38x21
+            text run at (405,42) width 38: "green"
+        RenderText {#text} at (443,42) size 204x21
+          text run at (443,42) width 204: " cell spans 4 columns of row 4."
+      RenderBlock {P} at (0,79) size 784x42
+        RenderText {#text} at (0,0) size 761x42
+          text run at (0,0) width 761: "If the test succeeds then you should see no text inside the table. If you see the text 'FAIL' inside the table, then the"
+          text run at (0,21) width 95: "test has failed."
+      RenderTable {TABLE} at (0,137) size 188x112 [border: (1px outset #808080)]
+        RenderTableSection {TBODY} at (1,1) size 186x110
+          RenderTableRow {TR} at (0,2) size 186x25
+            RenderTableCell {TD} at (2,2) size 44x25 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 16x21
+                text run at (2,2) width 16: "    "
+            RenderTableCell {TD} at (48,2) size 44x25 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 16x21
+                text run at (2,2) width 16: "    "
+            RenderTableCell {TD} at (94,2) size 44x25 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 16x21
+                text run at (2,2) width 16: "    "
+            RenderTableCell {TD} at (140,42) size 44x25 [bgcolor=#FF0000] [border: (1px inset #808080)] [r=0 c=3 rs=4 cs=1]
+              RenderBlock {DIV} at (2,2) size 40x21
+                RenderText {#text} at (0,0) size 40x21
+                  text run at (0,0) width 40: "          "
+          RenderTableRow {TR} at (0,29) size 186x25
+            RenderTableCell {TD} at (2,29) size 182x25 [bgcolor=#0000FF] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=4]
+              RenderBlock {DIV} at (2,2) size 178x21
+                RenderText {#text} at (138,0) size 40x21
+                  text run at (138,0) width 40: "          "
+          RenderTableRow {TR} at (0,56) size 186x25
+            RenderTableCell {TD} at (2,56) size 44x25 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 40x21
+                text run at (2,2) width 40: "          "
+            RenderTableCell {TD} at (48,56) size 44x25 [border: (1px inset #808080)] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 40x21
+                text run at (2,2) width 40: "          "
+            RenderTableCell {TD} at (94,56) size 44x25 [border: (1px inset #808080)] [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (2,2) size 40x21
+                text run at (2,2) width 40: "          "
+          RenderTableRow {TR} at (0,83) size 186x25
+            RenderTableCell {TD} at (2,83) size 182x25 [bgcolor=#008000] [border: (1px inset #808080)] [r=3 c=0 rs=1 cs=4]
+              RenderBlock {DIV} at (2,2) size 178x21 [color=#008000]
+                RenderText {#text} at (135,0) size 43x21
+                  text run at (135,0) width 43: "FAIL "

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list