[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

mrobinson at webkit.org mrobinson at webkit.org
Sun Feb 20 23:56:33 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit 1bc9eae85c892f96e19fafbdc9fcd9ef42fb9eec
Author: mrobinson at webkit.org <mrobinson at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jan 27 01:06:05 2011 +0000

    2011-01-26  Martin Robinson  <mrobinson at igalia.com>
    
            Add the next set of GTK+ baselines for the CSS 2.1 test suite.
    
            * platform/gtk/Skipped: Unskip the next block of tests.
            * platform/gtk/css2.1: Added CSS 2.1 test results for GTK+.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76738 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index b7ed296..9ba901d 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-26  Martin Robinson  <mrobinson at igalia.com>
+
+        Add the next set of GTK+ baselines for the CSS 2.1 test suite.
+
+        * platform/gtk/Skipped: Unskip the next block of tests.
+        * platform/gtk/css2.1: Added CSS 2.1 test results for GTK+.
+
 2010-01-26  Evan Martin  <evan at chromium.org>
 
         Reviewed by Tony Chang.
diff --git a/LayoutTests/platform/gtk/Skipped b/LayoutTests/platform/gtk/Skipped
index 159b22a..31688f6 100644
--- a/LayoutTests/platform/gtk/Skipped
+++ b/LayoutTests/platform/gtk/Skipped
@@ -102,106 +102,6 @@ accessibility/aria-list-and-listitem.html
 
 # Tests in css2.1/ directory
 #   Tests generating new results
-css2.1/t040103-ident-13-c.html
-css2.1/t040105-atkeyw-00-b.html
-css2.1/t040105-atkeyw-01-b.html
-css2.1/t040105-atkeyw-02-b.html
-css2.1/t040105-atrule-00-b.html
-css2.1/t040105-atrule-01-b.html
-css2.1/t040105-atrule-02-b.html
-css2.1/t040105-atrule-03-b.html
-css2.1/t040105-atrule-04-b.html
-css2.1/t040105-import-00-b.html
-css2.1/t040105-import-01-b.html
-css2.1/t040109-c17-comments-00-b.html
-css2.1/t040109-c17-comments-01-b.html
-css2.1/t040302-c61-ex-len-00-b-a.html
-css2.1/t040302-c61-phys-len-00-b.html
-css2.1/t040302-c61-rel-len-00-b-ag.html
-css2.1/t040303-c62-percent-00-b-ag.html
-css2.1/t040304-c64-uri-00-a-g.html
-css2.1/t040306-c63-color-00-b-ag.html
-css2.1/t040306-syntax-01-f.html
-css2.1/t040307-syntax-01-b.html
-css2.1/t050201-c12-grouping-00-b.html
-css2.1/t050803-c14-classes-00-e.html
-css2.1/t051103-c21-activ-ln-00-e-i.html
-css2.1/t051103-c21-focus-ln-00-e-i.html
-css2.1/t051103-c21-hover-ln-00-e-i.html
-css2.1/t051103-dom-hover-01-c-io.html
-css2.1/t051103-dom-hover-02-c-io.html
-css2.1/t051201-c23-first-line-00-b.html
-css2.1/t051202-c24-first-lttr-00-b.html
-css2.1/t051202-c26-psudo-nest-00-c.html
-css2.1/t060401-c32-cascading-00-b.html
-css2.1/t060402-c31-important-00-b.html
-css2.1/t060403-c21-pseu-cls-00-e-i.html
-css2.1/t060403-c21-pseu-id-00-e-i.html
-css2.1/t080301-c411-vt-mrgn-00-b.html
-css2.1/t090204-display-change-01-b-ao.html
-css2.1/t090402-c42-ibx-pad-00-d-ag.html
-css2.1/t090501-c414-flt-00-d.html
-css2.1/t090501-c414-flt-01-b.html
-css2.1/t090501-c414-flt-02-d-g.html
-css2.1/t090501-c414-flt-03-b-g.html
-css2.1/t090501-c414-flt-ln-00-d.html
-css2.1/t090501-c414-flt-ln-01-d-g.html
-css2.1/t090501-c414-flt-ln-02-d.html
-css2.1/t090501-c414-flt-ln-03-d.html
-css2.1/t090501-c5525-flt-l-00-b-g.html
-css2.1/t090501-c5525-flt-r-00-b-g.html
-css2.1/t100303-c412-blockw-00-d-ag.html
-css2.1/t100304-c43-rpl-bbx-00-d-g.html
-css2.1/t100304-c43-rpl-bbx-01-d-g.html
-css2.1/t100801-c42-ibx-ht-00-d-a.html
-css2.1/t100801-c544-valgn-00-a-ag.html
-css2.1/t100801-c544-valgn-01-d-ag.html
-css2.1/t100801-c544-valgn-02-d-agi.html
-css2.1/t100801-c544-valgn-03-d-agi.html
-css2.1/t100801-c544-valgn-04-d-agi.html
-css2.1/t100801-c548-leadin-00-d-a.html
-css2.1/t100801-c548-ln-ht-00-c-a.html
-css2.1/t100801-c548-ln-ht-01-b-ag.html
-css2.1/t100801-c548-ln-ht-02-b-ag.html
-css2.1/t100801-c548-ln-ht-03-d-ag.html
-css2.1/t100801-c548-ln-ht-04-d-ag.html
-css2.1/t120401-scope-00-b.html
-css2.1/t120401-scope-01-c.html
-css2.1/t120401-scope-02-c.html
-css2.1/t120401-scope-03-c.html
-css2.1/t120401-scope-04-d.html
-css2.1/t120403-content-none-00-c.html
-css2.1/t120403-display-none-00-c.html
-css2.1/t120403-visibility-00-c.html
-css2.1/t140201-c532-bgcolor-00-a.html
-css2.1/t140201-c532-bgcolor-01-b.html
-css2.1/t140201-c533-bgimage-00-a.html
-css2.1/t140201-c533-bgimage-01-b-g.html
-css2.1/t140201-c534-bgre-00-b-ag.html
-css2.1/t140201-c534-bgre-01-b-ag.html
-css2.1/t140201-c534-bgreps-00-c-ag.html
-css2.1/t140201-c534-bgreps-01-c-ag.html
-css2.1/t140201-c534-bgreps-02-c-ag.html
-css2.1/t140201-c534-bgreps-03-c-ag.html
-css2.1/t140201-c534-bgreps-04-c-ag.html
-css2.1/t140201-c534-bgreps-05-c-ag.html
-css2.1/t140201-c535-bg-fixd-00-b-g.html
-css2.1/t140201-c536-bgpos-00-b-ag.html
-css2.1/t140201-c536-bgpos-01-b-ag.html
-css2.1/t140201-c537-bgfxps-00-c-ag.html
-css2.1/t170602-bdr-conflct-w-00-d.html
-css2.1/t170602-bdr-conflct-w-01-d.html
-css2.1/t170602-bdr-conflct-w-02-d.html
-css2.1/t170602-bdr-conflct-w-03-d.html
-css2.1/t170602-bdr-conflct-w-04-d.html
-css2.1/t170602-bdr-conflct-w-05-d.html
-css2.1/t170602-bdr-conflct-w-06-d.html
-css2.1/t170602-bdr-conflct-w-07-d.html
-css2.1/t170602-bdr-conflct-w-08-d.html
-css2.1/t170602-bdr-conflct-w-09-d.html
-css2.1/t170602-bdr-conflct-w-10-d.html
-css2.1/t170602-bdr-conflct-w-11-d.html
-css2.1/t170602-bdr-conflct-w-12-d.html
 css2.1/t170602-bdr-conflct-w-13-d.html
 css2.1/t170602-bdr-conflct-w-14-d.html
 css2.1/t170602-bdr-conflct-w-15-d.html
diff --git a/LayoutTests/platform/gtk/css2.1/t040103-ident-00-c-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040103-ident-13-c-expected.checksum
similarity index 100%
copy from LayoutTests/platform/gtk/css2.1/t040103-ident-00-c-expected.checksum
copy to LayoutTests/platform/gtk/css2.1/t040103-ident-13-c-expected.checksum
diff --git a/LayoutTests/platform/gtk/css2.1/t040103-ident-00-c-expected.txt b/LayoutTests/platform/gtk/css2.1/t040103-ident-13-c-expected.txt
similarity index 100%
copy from LayoutTests/platform/gtk/css2.1/t040103-ident-00-c-expected.txt
copy to LayoutTests/platform/gtk/css2.1/t040103-ident-13-c-expected.txt
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-00-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-00-b-expected.checksum
new file mode 100644
index 0000000..8cb97fe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-00-b-expected.checksum
@@ -0,0 +1 @@
+9362229d90ca500b4a538ddf1a5c8d1b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-00-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-00-b-expected.png
new file mode 100644
index 0000000..5956ea1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-00-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-00-b-expected.txt
new file mode 100644
index 0000000..de205cb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-00-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-01-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-01-b-expected.checksum
new file mode 100644
index 0000000..8cb97fe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-01-b-expected.checksum
@@ -0,0 +1 @@
+9362229d90ca500b4a538ddf1a5c8d1b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-01-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-01-b-expected.png
new file mode 100644
index 0000000..5956ea1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-01-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-01-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-01-b-expected.txt
new file mode 100644
index 0000000..de205cb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-01-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-02-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-02-b-expected.checksum
new file mode 100644
index 0000000..8cb97fe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-02-b-expected.checksum
@@ -0,0 +1 @@
+9362229d90ca500b4a538ddf1a5c8d1b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-02-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-02-b-expected.png
new file mode 100644
index 0000000..5956ea1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-02-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-02-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-02-b-expected.txt
new file mode 100644
index 0000000..de205cb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atkeyw-02-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-00-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040105-atrule-00-b-expected.checksum
new file mode 100644
index 0000000..8cb97fe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atrule-00-b-expected.checksum
@@ -0,0 +1 @@
+9362229d90ca500b4a538ddf1a5c8d1b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-00-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040105-atrule-00-b-expected.png
new file mode 100644
index 0000000..5956ea1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040105-atrule-00-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040105-atrule-00-b-expected.txt
new file mode 100644
index 0000000..de205cb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atrule-00-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-01-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040105-atrule-01-b-expected.checksum
new file mode 100644
index 0000000..8cb97fe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atrule-01-b-expected.checksum
@@ -0,0 +1 @@
+9362229d90ca500b4a538ddf1a5c8d1b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-01-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040105-atrule-01-b-expected.png
new file mode 100644
index 0000000..5956ea1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040105-atrule-01-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-01-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040105-atrule-01-b-expected.txt
new file mode 100644
index 0000000..de205cb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atrule-01-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-02-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040105-atrule-02-b-expected.checksum
new file mode 100644
index 0000000..8cb97fe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atrule-02-b-expected.checksum
@@ -0,0 +1 @@
+9362229d90ca500b4a538ddf1a5c8d1b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-02-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040105-atrule-02-b-expected.png
new file mode 100644
index 0000000..5956ea1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040105-atrule-02-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-02-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040105-atrule-02-b-expected.txt
new file mode 100644
index 0000000..de205cb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atrule-02-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-03-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040105-atrule-03-b-expected.checksum
new file mode 100644
index 0000000..8cb97fe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atrule-03-b-expected.checksum
@@ -0,0 +1 @@
+9362229d90ca500b4a538ddf1a5c8d1b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-03-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040105-atrule-03-b-expected.png
new file mode 100644
index 0000000..5956ea1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040105-atrule-03-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-03-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040105-atrule-03-b-expected.txt
new file mode 100644
index 0000000..de205cb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atrule-03-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-04-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040105-atrule-04-b-expected.checksum
new file mode 100644
index 0000000..8cb97fe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atrule-04-b-expected.checksum
@@ -0,0 +1 @@
+9362229d90ca500b4a538ddf1a5c8d1b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-04-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040105-atrule-04-b-expected.png
new file mode 100644
index 0000000..5956ea1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040105-atrule-04-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-atrule-04-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040105-atrule-04-b-expected.txt
new file mode 100644
index 0000000..de205cb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-atrule-04-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-import-00-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040105-import-00-b-expected.checksum
new file mode 100644
index 0000000..8cb97fe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-import-00-b-expected.checksum
@@ -0,0 +1 @@
+9362229d90ca500b4a538ddf1a5c8d1b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-import-00-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040105-import-00-b-expected.png
new file mode 100644
index 0000000..5956ea1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040105-import-00-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-import-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040105-import-00-b-expected.txt
new file mode 100644
index 0000000..de205cb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-import-00-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-import-01-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040105-import-01-b-expected.checksum
new file mode 100644
index 0000000..8cb97fe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-import-01-b-expected.checksum
@@ -0,0 +1 @@
+9362229d90ca500b4a538ddf1a5c8d1b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-import-01-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040105-import-01-b-expected.png
new file mode 100644
index 0000000..5956ea1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040105-import-01-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040105-import-01-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040105-import-01-b-expected.txt
new file mode 100644
index 0000000..de205cb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040105-import-01-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-00-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-00-b-expected.checksum
new file mode 100644
index 0000000..cf49c09
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-00-b-expected.checksum
@@ -0,0 +1 @@
+b309f6f31c8e80ba0de02c324d935947
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-00-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-00-b-expected.png
new file mode 100644
index 0000000..35a5dcb
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-00-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-00-b-expected.txt
new file mode 100644
index 0000000..24bb5cd
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-00-b-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x226
+  RenderBlock {HTML} at (0,0) size 800x226
+    RenderBody {BODY} at (8,16) size 784x194 [color=#FF0000]
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,35) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,70) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,105) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,140) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,175) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t1401-c531-color-00-a-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-01-b-expected.checksum
similarity index 100%
copy from LayoutTests/platform/gtk/css2.1/t1401-c531-color-00-a-expected.checksum
copy to LayoutTests/platform/gtk/css2.1/t040109-c17-comments-01-b-expected.checksum
diff --git a/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-01-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-01-b-expected.txt
new file mode 100644
index 0000000..1cb6c48
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040109-c17-comments-01-b-expected.txt
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x86
+  RenderBlock {HTML} at (0,0) size 800x86
+    RenderBody {BODY} at (8,16) size 784x54 [color=#008000]
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,35) size 784x19
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040302-c61-ex-len-00-b-a-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040302-c61-ex-len-00-b-a-expected.checksum
new file mode 100644
index 0000000..46fed54
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040302-c61-ex-len-00-b-a-expected.checksum
@@ -0,0 +1 @@
+b04704040d63de46dd0fe42f631e0ec1
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040302-c61-ex-len-00-b-a-expected.png b/LayoutTests/platform/gtk/css2.1/t040302-c61-ex-len-00-b-a-expected.png
new file mode 100644
index 0000000..4617e97
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040302-c61-ex-len-00-b-a-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040302-c61-ex-len-00-b-a-expected.txt b/LayoutTests/platform/gtk/css2.1/t040302-c61-ex-len-00-b-a-expected.txt
new file mode 100644
index 0000000..5a5348d
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040302-c61-ex-len-00-b-a-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x119
+  RenderBlock {HTML} at (0,0) size 800x119
+    RenderBody {BODY} at (8,16) size 784x87
+      RenderBlock {P} at (0,0) size 784x19 [color=#000080]
+        RenderText {#text} at (0,0) size 327x19
+          text run at (0,0) width 327: "The two blocks below should have the same height."
+      RenderTable {TABLE} at (80,35) size 102x52
+        RenderTableSection {TBODY} at (0,0) size 102x52
+          RenderTableRow {TR} at (0,2) size 102x48
+            RenderTableCell {TD} at (2,2) size 48x48 [r=0 c=0 rs=1 cs=1]
+              RenderBlock {DIV} at (4,4) size 40x40 [color=#000080]
+                RenderText {#text} at (0,0) size 40x40
+                  text run at (0,0) width 40: "\x{C9}"
+            RenderTableCell {TD} at (52,2) size 48x48 [r=0 c=1 rs=1 cs=1]
+              RenderBlock {DIV} at (4,4) size 40x40 [border: (40px solid #000080) none]
diff --git a/LayoutTests/platform/gtk/css2.1/t040302-c61-phys-len-00-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040302-c61-phys-len-00-b-expected.checksum
new file mode 100644
index 0000000..a02dd23
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040302-c61-phys-len-00-b-expected.checksum
@@ -0,0 +1 @@
+0b43fcc393b5f19c568c193cf7483982
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040302-c61-phys-len-00-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040302-c61-phys-len-00-b-expected.png
new file mode 100644
index 0000000..52dfd7e
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040302-c61-phys-len-00-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040302-c61-phys-len-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040302-c61-phys-len-00-b-expected.txt
new file mode 100644
index 0000000..b385512
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040302-c61-phys-len-00-b-expected.txt
@@ -0,0 +1,21 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x209
+  RenderBlock {HTML} at (0,0) size 800x209
+    RenderBody {BODY} at (8,16) size 784x185
+      RenderBlock {P} at (0,0) size 784x19 [color=#000080]
+        RenderText {#text} at (0,0) size 321x19
+          text run at (0,0) width 321: "There should be two unbroken vertical bars below."
+      RenderBlock {P} at (0,35) size 784x38 [color=#000080]
+        RenderText {#text} at (0,0) size 754x38
+          text run at (0,0) width 403: "Hold up a credit card to your display. The distance between the "
+          text run at (403,0) width 351: "two vertical bars should be exactly the length of a credit"
+          text run at (0,19) width 31: "card "
+          text run at (31,19) width 74: "(85.60mm)."
+      RenderBlock {DIV} at (0,89) size 784x96 [border: (3px solid #000000)]
+        RenderBlock {DIV} at (326,0) size 458x16 [border: (3px solid #000000)]
+        RenderBlock {DIV} at (326,16) size 458x16 [border: (3px solid #000000)]
+        RenderBlock {DIV} at (326,32) size 458x16 [border: (3px solid #000000)]
+        RenderBlock {DIV} at (326,48) size 458x16 [border: (3px solid #000000)]
+        RenderBlock {DIV} at (326,64) size 458x16 [border: (3px solid #000000)]
+        RenderBlock {DIV} at (326,80) size 458x16 [border: (3px solid #000000)]
diff --git a/LayoutTests/platform/gtk/css2.1/t040302-c61-rel-len-00-b-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040302-c61-rel-len-00-b-ag-expected.checksum
new file mode 100644
index 0000000..0e1bc97
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040302-c61-rel-len-00-b-ag-expected.checksum
@@ -0,0 +1 @@
+73e1b8fd8aeb4fe0156f92984391051d
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040302-c61-rel-len-00-b-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t040302-c61-rel-len-00-b-ag-expected.png
new file mode 100644
index 0000000..b15c091
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040302-c61-rel-len-00-b-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040302-c61-rel-len-00-b-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t040302-c61-rel-len-00-b-ag-expected.txt
new file mode 100644
index 0000000..fbe9953
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040302-c61-rel-len-00-b-ag-expected.txt
@@ -0,0 +1,21 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x119
+  RenderBlock {HTML} at (0,0) size 800x119
+    RenderBody {BODY} at (8,16) size 784x95
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 324x19
+          text run at (0,0) width 324: "There should be a solid vertical bar of green below."
+      RenderBlock {DIV} at (0,35) size 784x60 [color=#008000]
+        RenderBlock {DIV} at (0,0) size 784x15
+          RenderText {#text} at (0,0) size 60x15
+            text run at (0,0) width 60: "   X"
+        RenderBlock {DIV} at (45,15) size 739x15
+          RenderText {#text} at (0,0) size 15x15
+            text run at (0,0) width 15: "X"
+        RenderBlock {DIV} at (56,30) size 728x15
+          RenderText {#text} at (0,0) size 15x15
+            text run at (0,0) width 15: "X"
+        RenderBlock {DIV} at (45,45) size 739x15
+          RenderText {#text} at (0,0) size 15x15
+            text run at (0,0) width 15: "X"
diff --git a/LayoutTests/platform/gtk/css2.1/t040303-c62-percent-00-b-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040303-c62-percent-00-b-ag-expected.checksum
new file mode 100644
index 0000000..750b0e7
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040303-c62-percent-00-b-ag-expected.checksum
@@ -0,0 +1 @@
+9c723732e7d14e7bf2acb62a0c8c6e78
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040303-c62-percent-00-b-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t040303-c62-percent-00-b-ag-expected.png
new file mode 100644
index 0000000..d8311ab
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040303-c62-percent-00-b-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040303-c62-percent-00-b-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t040303-c62-percent-00-b-ag-expected.txt
new file mode 100644
index 0000000..78308b5
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040303-c62-percent-00-b-ag-expected.txt
@@ -0,0 +1,31 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x335
+  RenderBlock {HTML} at (0,0) size 800x335
+    RenderBody {BODY} at (8,16) size 784x311
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 227x19
+          text run at (0,0) width 227: "There should be a green box below."
+      RenderBlock {DIV} at (0,35) size 186x276 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock {DIV} at (48,18) size 90x75
+          RenderBlock {P} at (0,0) size 90x75
+            RenderText {#text} at (0,0) size 75x75
+              text run at (0,0) width 75: "x x x"
+              text run at (0,15) width 75: "x x x"
+              text run at (0,30) width 75: "x x x"
+              text run at (0,45) width 75: "x x x"
+              text run at (0,60) width 75: "x x x"
+        RenderBlock {DIV} at (93,108) size 90x75
+          RenderBlock {P} at (0,0) size 90x75
+            RenderText {#text} at (0,0) size 75x75
+              text run at (0,0) width 75: "x x x"
+              text run at (0,15) width 75: "x x x"
+              text run at (0,30) width 75: "x x x"
+              text run at (0,45) width 75: "x x x"
+              text run at (0,60) width 75: "x x x"
+        RenderBlock {P} at (48,198) size 135x60
+          RenderText {#text} at (0,0) size 135x60
+            text run at (0,0) width 135: "x x x x x"
+            text run at (0,15) width 135: "x x x x x"
+            text run at (0,30) width 135: "x x x x x"
+            text run at (0,45) width 135: "x x x x x"
diff --git a/LayoutTests/platform/gtk/css2.1/t040304-c64-uri-00-a-g-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040304-c64-uri-00-a-g-expected.checksum
new file mode 100644
index 0000000..2d85e34
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040304-c64-uri-00-a-g-expected.checksum
@@ -0,0 +1 @@
+7d283c19feb531dec02c1b9a85a2cb7e
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040304-c64-uri-00-a-g-expected.png b/LayoutTests/platform/gtk/css2.1/t040304-c64-uri-00-a-g-expected.png
new file mode 100644
index 0000000..5a0a686
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040304-c64-uri-00-a-g-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040304-c64-uri-00-a-g-expected.txt b/LayoutTests/platform/gtk/css2.1/t040304-c64-uri-00-a-g-expected.txt
new file mode 100644
index 0000000..620bd07
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040304-c64-uri-00-a-g-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x156
+  RenderBlock {HTML} at (0,0) size 800x156
+    RenderBody {BODY} at (8,16) size 784x124
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 256x19
+          text run at (0,0) width 256: "There should be three green lines below."
+      RenderBlock {P} at (0,35) size 784x19 [color=#FFFFFF] [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,70) size 784x19 [color=#FFFFFF] [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,105) size 784x19 [color=#FFFFFF] [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t040306-c63-color-00-b-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040306-c63-color-00-b-ag-expected.checksum
new file mode 100644
index 0000000..a326dd2
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040306-c63-color-00-b-ag-expected.checksum
@@ -0,0 +1 @@
+8f39f1b7c197ccdf8f1fc59d20b725d1
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040306-c63-color-00-b-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t040306-c63-color-00-b-ag-expected.png
new file mode 100644
index 0000000..0815586
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040306-c63-color-00-b-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040306-c63-color-00-b-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t040306-c63-color-00-b-ag-expected.txt
new file mode 100644
index 0000000..bd3a5a9
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040306-c63-color-00-b-ag-expected.txt
@@ -0,0 +1,77 @@
+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,16) size 784x92 [color=#0000FF]
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 650x19
+          text run at (0,0) width 650: "There should be three solid bars of colour below, each longer than the last, each of the colour specified."
+      RenderBlock {DIV} at (0,35) size 784x19
+        RenderText {#text} at (0,0) size 38x19
+          text run at (0,0) width 38: "Blue: "
+        RenderInline {SPAN} at (0,0) size 15x15
+          RenderText {#text} at (38,4) size 15x15
+            text run at (38,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15
+          RenderText {#text} at (53,4) size 15x15
+            text run at (53,4) width 15: "X"
+        RenderImage {IMG} at (68,4) size 15x15 [color=#FF0000]
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,54) size 784x19
+        RenderText {#text} at (0,0) size 55x19
+          text run at (0,0) width 55: "Orange: "
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#FFA500]
+          RenderText {#text} at (55,4) size 15x15
+            text run at (55,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#FFA500]
+          RenderText {#text} at (70,4) size 15x15
+            text run at (70,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#FFA500]
+          RenderText {#text} at (85,4) size 15x15
+            text run at (85,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#FFA500]
+          RenderText {#text} at (100,4) size 15x15
+            text run at (100,4) width 15: "X"
+        RenderImage {IMG} at (115,4) size 15x15 [color=#FF0000]
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,73) size 784x19
+        RenderText {#text} at (0,0) size 41x19
+          text run at (0,0) width 41: "Lime: "
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (41,4) size 15x15
+            text run at (41,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (56,4) size 15x15
+            text run at (56,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (71,4) size 15x15
+            text run at (71,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (86,4) size 15x15
+            text run at (86,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (101,4) size 15x15
+            text run at (101,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (116,4) size 15x15
+            text run at (116,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (131,4) size 15x15
+            text run at (131,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (146,4) size 15x15
+            text run at (146,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (161,4) size 15x15
+            text run at (161,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (176,4) size 15x15
+            text run at (176,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (191,4) size 15x15
+            text run at (191,4) width 15: "X"
+        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
+          RenderText {#text} at (206,4) size 15x15
+            text run at (206,4) width 15: "X"
+        RenderImage {IMG} at (221,4) size 15x15 [color=#FF0000]
+        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/gtk/css2.1/t040306-syntax-01-f-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040306-syntax-01-f-expected.checksum
new file mode 100644
index 0000000..9322ec1
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040306-syntax-01-f-expected.checksum
@@ -0,0 +1 @@
+b962e060ce8b313114def4c8a2650c36
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040306-syntax-01-f-expected.png b/LayoutTests/platform/gtk/css2.1/t040306-syntax-01-f-expected.png
new file mode 100644
index 0000000..c408ae4
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040306-syntax-01-f-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040306-syntax-01-f-expected.txt b/LayoutTests/platform/gtk/css2.1/t040306-syntax-01-f-expected.txt
new file mode 100644
index 0000000..e89f7dd
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040306-syntax-01-f-expected.txt
@@ -0,0 +1,32 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x331
+  RenderBlock {HTML} at (0,0) size 800x331
+    RenderBody {BODY} at (8,16) size 784x299
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "This should be green"
+      RenderBlock {P} at (0,35) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "This should be green"
+      RenderBlock {P} at (0,70) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "This should be green"
+      RenderBlock {P} at (0,105) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "This should be green"
+      RenderBlock {P} at (0,140) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "This should be green"
+      RenderBlock {P} at (0,175) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "This should be green"
+      RenderBlock {P} at (0,210) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "This should be green"
+      RenderBlock {P} at (0,245) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "This should be green"
+      RenderBlock {P} at (0,280) size 784x19 [color=#007F00]
+        RenderText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "This should be green"
diff --git a/LayoutTests/platform/gtk/css2.1/t040307-syntax-01-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t040307-syntax-01-b-expected.checksum
new file mode 100644
index 0000000..ee9b630
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040307-syntax-01-b-expected.checksum
@@ -0,0 +1 @@
+e7272b544c916236f74b6d86576215c7
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t040307-syntax-01-b-expected.png b/LayoutTests/platform/gtk/css2.1/t040307-syntax-01-b-expected.png
new file mode 100644
index 0000000..e389cb1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t040307-syntax-01-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t040307-syntax-01-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t040307-syntax-01-b-expected.txt
new file mode 100644
index 0000000..8bb5bf6
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t040307-syntax-01-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 132x19
+          text run at (0,0) width 132: "This should be green"
diff --git a/LayoutTests/platform/gtk/css2.1/t050201-c12-grouping-00-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t050201-c12-grouping-00-b-expected.checksum
new file mode 100644
index 0000000..a12ceb6
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t050201-c12-grouping-00-b-expected.checksum
@@ -0,0 +1 @@
+92e862338bb5a8219eda033e66c36b4d
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t050201-c12-grouping-00-b-expected.png b/LayoutTests/platform/gtk/css2.1/t050201-c12-grouping-00-b-expected.png
new file mode 100644
index 0000000..b7320d9
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t050201-c12-grouping-00-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t050201-c12-grouping-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t050201-c12-grouping-00-b-expected.txt
new file mode 100644
index 0000000..9abd229
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t050201-c12-grouping-00-b-expected.txt
@@ -0,0 +1,14 @@
+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,16) size 784x89
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      RenderBlock {P} at (0,35) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      RenderBlock {P} at (0,70) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t050803-c14-classes-00-e-expected.checksum b/LayoutTests/platform/gtk/css2.1/t050803-c14-classes-00-e-expected.checksum
new file mode 100644
index 0000000..b53a276
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t050803-c14-classes-00-e-expected.checksum
@@ -0,0 +1 @@
+677683521e6a73bfada8a7ffc10b6bf6
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t050803-c14-classes-00-e-expected.png b/LayoutTests/platform/gtk/css2.1/t050803-c14-classes-00-e-expected.png
new file mode 100644
index 0000000..5e76739
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t050803-c14-classes-00-e-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t050803-c14-classes-00-e-expected.txt b/LayoutTests/platform/gtk/css2.1/t050803-c14-classes-00-e-expected.txt
new file mode 100644
index 0000000..c7512e6
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t050803-c14-classes-00-e-expected.txt
@@ -0,0 +1,28 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x222
+  RenderBlock {HTML} at (0,0) size 800x222
+    RenderBody {BODY} at (8,16) size 784x190 [color=#FF0000]
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      RenderBlock {DIV} at (0,35) size 784x19 [color=#008000]
+        RenderBlock {P} at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 194x19
+            text run at (0,0) width 194: "This sentence should be green."
+      RenderBlock {P} at (0,70) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      RenderBlock {P} at (0,105) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 194x19
+          text run at (0,0) width 194: "This sentence should be green."
+      RenderBlock {DIV} at (0,140) size 784x15 [color=#008000]
+        RenderBlock {PRE} at (0,0) size 784x15
+          RenderText {#text} at (0,0) size 240x15
+            text run at (0,0) width 240: "This sentence should be green."
+      RenderBlock {DIV} at (0,171) size 784x19 [color=#008000]
+        RenderBlock {UL} at (0,0) size 784x19
+          RenderListItem {LI} at (40,0) size 744x19
+            RenderListMarker at (-18,0) size 7x19: bullet
+            RenderText {#text} at (0,0) size 194x19
+              text run at (0,0) width 194: "This sentence should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-c21-activ-ln-00-e-i-expected.checksum b/LayoutTests/platform/gtk/css2.1/t051103-c21-activ-ln-00-e-i-expected.checksum
new file mode 100644
index 0000000..608cb78
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051103-c21-activ-ln-00-e-i-expected.checksum
@@ -0,0 +1 @@
+13368b88bbc67bdc4c5e82bd69b0ef6f
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-c21-activ-ln-00-e-i-expected.png b/LayoutTests/platform/gtk/css2.1/t051103-c21-activ-ln-00-e-i-expected.png
new file mode 100644
index 0000000..3c7860f
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t051103-c21-activ-ln-00-e-i-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-c21-activ-ln-00-e-i-expected.txt b/LayoutTests/platform/gtk/css2.1/t051103-c21-activ-ln-00-e-i-expected.txt
new file mode 100644
index 0000000..8cf80e9
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051103-c21-activ-ln-00-e-i-expected.txt
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19
+        RenderInline {A} at (0,0) size 333x19 [color=#0000FF]
+          RenderText {#text} at (0,0) size 333x19
+            text run at (0,0) width 333: "While you are activating this link, it should go green."
+        RenderText {#text} at (333,0) size 420x19
+          text run at (333,0) width 420: " Check that once you have stopped activating it, it goes blue again."
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-c21-focus-ln-00-e-i-expected.checksum b/LayoutTests/platform/gtk/css2.1/t051103-c21-focus-ln-00-e-i-expected.checksum
new file mode 100644
index 0000000..22da283
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051103-c21-focus-ln-00-e-i-expected.checksum
@@ -0,0 +1 @@
+e1448dc77d6bedb7cade6486be6d0dc2
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-c21-focus-ln-00-e-i-expected.png b/LayoutTests/platform/gtk/css2.1/t051103-c21-focus-ln-00-e-i-expected.png
new file mode 100644
index 0000000..453c007
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t051103-c21-focus-ln-00-e-i-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-c21-focus-ln-00-e-i-expected.txt b/LayoutTests/platform/gtk/css2.1/t051103-c21-focus-ln-00-e-i-expected.txt
new file mode 100644
index 0000000..b7cb1c7
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051103-c21-focus-ln-00-e-i-expected.txt
@@ -0,0 +1,9 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19
+        RenderInline {A} at (0,0) size 255x19 [color=#0000FF]
+          RenderText {#text} at (0,0) size 255x19
+            text run at (0,0) width 255: "If you focus this link, it should go green."
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-c21-hover-ln-00-e-i-expected.checksum b/LayoutTests/platform/gtk/css2.1/t051103-c21-hover-ln-00-e-i-expected.checksum
new file mode 100644
index 0000000..4c9f384
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051103-c21-hover-ln-00-e-i-expected.checksum
@@ -0,0 +1 @@
+08c116ee6051267165a639b82a2c283d
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-c21-hover-ln-00-e-i-expected.png b/LayoutTests/platform/gtk/css2.1/t051103-c21-hover-ln-00-e-i-expected.png
new file mode 100644
index 0000000..24894a7
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t051103-c21-hover-ln-00-e-i-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-c21-hover-ln-00-e-i-expected.txt b/LayoutTests/platform/gtk/css2.1/t051103-c21-hover-ln-00-e-i-expected.txt
new file mode 100644
index 0000000..d3fe970
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051103-c21-hover-ln-00-e-i-expected.txt
@@ -0,0 +1,9 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19
+        RenderInline {A} at (0,0) size 360x19 [color=#0000FF]
+          RenderText {#text} at (0,0) size 360x19
+            text run at (0,0) width 360: "While you are hovering over this link, it should go green."
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-01-c-io-expected.checksum b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-01-c-io-expected.checksum
new file mode 100644
index 0000000..a802d4b
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-01-c-io-expected.checksum
@@ -0,0 +1 @@
+a1ce4e9c581e26858055f976ada536d1
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-01-c-io-expected.png b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-01-c-io-expected.png
new file mode 100644
index 0000000..948e5eb
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-01-c-io-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-01-c-io-expected.txt b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-01-c-io-expected.txt
new file mode 100644
index 0000000..bb7d7bb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-01-c-io-expected.txt
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x54
+  RenderBlock {HTML} at (0,0) size 800x54
+    RenderBody {BODY} at (8,8) size 784x38
+      RenderBlock {DIV} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 496x19
+          text run at (0,0) width 101: "Hover this text, "
+          text run at (101,0) width 168: "then wait till it disappears. "
+          text run at (269,0) width 227: "At that point there should be no red."
+      RenderBlock {DIV} at (0,19) size 784x19 [color=#FF0000]
+        RenderText {#text} at (0,0) size 164x19
+          text run at (0,0) width 164: "This should end up green."
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-02-c-io-expected.checksum b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-02-c-io-expected.checksum
new file mode 100644
index 0000000..9d886a6
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-02-c-io-expected.checksum
@@ -0,0 +1 @@
+0aa6cfc56a8f17d284c7715e59346b3b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-02-c-io-expected.png b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-02-c-io-expected.png
new file mode 100644
index 0000000..f6d6fae
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-02-c-io-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-02-c-io-expected.txt b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-02-c-io-expected.txt
new file mode 100644
index 0000000..d23298c
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051103-dom-hover-02-c-io-expected.txt
@@ -0,0 +1,19 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x73
+  RenderBlock {HTML} at (0,0) size 800x73
+    RenderBody {BODY} at (8,8) size 784x57
+      RenderBlock {DIV} at (0,0) size 784x38
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 170x19
+            text run at (0,0) width 170: "Dummy text. Dummy text."
+        RenderBlock {DIV} at (0,19) size 784x19
+          RenderInline {SPAN} at (0,0) size 496x19
+            RenderText {#text} at (0,0) size 496x19
+              text run at (0,0) width 101: "Hover this text, "
+              text run at (101,0) width 168: "then wait till it disappears. "
+              text run at (269,0) width 227: "At that point there should be no red."
+          RenderText {#text} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,38) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 170x19
+          text run at (0,0) width 170: "Dummy text. Dummy text."
diff --git a/LayoutTests/platform/gtk/css2.1/t051201-c23-first-line-00-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t051201-c23-first-line-00-b-expected.checksum
new file mode 100644
index 0000000..d526db0
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051201-c23-first-line-00-b-expected.checksum
@@ -0,0 +1 @@
+290e9bd7542c133abe61b689b865b28a
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t051201-c23-first-line-00-b-expected.png b/LayoutTests/platform/gtk/css2.1/t051201-c23-first-line-00-b-expected.png
new file mode 100644
index 0000000..2f04629
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t051201-c23-first-line-00-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t051201-c23-first-line-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t051201-c23-first-line-00-b-expected.txt
new file mode 100644
index 0000000..3c595b5
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051201-c23-first-line-00-b-expected.txt
@@ -0,0 +1,95 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x424
+  RenderBlock {HTML} at (0,0) size 800x424
+    RenderBody {BODY} at (8,16) size 784x392 [color=#0000FF]
+      RenderBlock {P} at (0,0) size 784x114
+        RenderText {#text} at (0,0) size 29x19
+          text run at (0,0) width 29: "The "
+        RenderInline {STRONG} at (0,0) size 55x19
+          RenderText {#text} at (29,0) size 55x19
+            text run at (29,0) width 55: "first line"
+        RenderText {#text} at (84,0) size 300x19
+          text run at (84,0) width 204: " of this paragraph, and only that "
+          text run at (288,0) width 96: "one, should be "
+        RenderInline {STRONG} at (0,0) size 38x19
+          RenderText {#text} at (384,0) size 38x19
+            text run at (384,0) width 38: "green"
+        RenderText {#text} at (422,0) size 780x114
+          text run at (422,0) width 178: ". If this precise combination "
+          text run at (600,0) width 180: "does not occur, then the user"
+          text run at (0,19) width 230: "agent has failed this test. Remember "
+          text run at (230,19) width 385: "that in order to ensure a complete test, the paragraph must be "
+          text run at (615,19) width 147: "displayed on more than"
+          text run at (0,38) width 288: "one line. Dummy text. Dummy text. Dummy "
+          text run at (288,38) width 462: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text."
+          text run at (0,57) width 491: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (491,57) width 288: "text. Dummy text. Dummy text. Dummy text."
+          text run at (0,76) width 174: "Dummy text. Dummy text. "
+          text run at (174,76) width 491: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (665,76) width 114: "text. Dummy text."
+          text run at (0,95) width 170: "Dummy text. Dummy text."
+      RenderBlock {P} at (0,130) size 784x132
+        RenderText {#text} at (0,0) size 58x36
+          text run at (0,0) width 58: "The "
+        RenderInline {STRONG} at (0,0) size 115x36
+          RenderText {#text} at (58,0) size 115x36
+            text run at (58,0) width 115: "first line"
+        RenderText {#text} at (173,0) size 774x56
+          text run at (173,0) width 416: " of this paragraph, and only that "
+          text run at (589,0) width 185: "one, should be"
+          text run at (0,37) width 11: "a "
+        RenderInline {STRONG} at (0,0) size 41x19
+          RenderText {#text} at (11,37) size 41x19
+            text run at (11,37) width 41: "larger"
+        RenderText {#text} at (52,37) size 126x19
+          text run at (52,37) width 126: " font size as well as "
+        RenderInline {STRONG} at (0,0) size 38x19
+          RenderText {#text} at (178,37) size 38x19
+            text run at (178,37) width 38: "green"
+        RenderText {#text} at (216,37) size 779x95
+          text run at (216,37) width 278: ". If this precise combination does not occur, "
+          text run at (494,37) width 237: "then the user agent has failed this test."
+          text run at (0,56) width 169: "Remember that in order to "
+          text run at (169,56) width 409: "ensure a complete test, the paragraph must be displayed on more "
+          text run at (578,56) width 172: "than one line. Dummy text."
+          text run at (0,75) width 261: "Dummy text. Dummy text. Dummy text. "
+          text run at (261,75) width 491: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (752,75) width 27: "text."
+          text run at (0,94) width 435: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. "
+          text run at (435,94) width 344: "Dummy text. Dummy text. Dummy text. Dummy text."
+          text run at (0,113) width 143: "Dummy text. Dummy "
+          text run at (143,113) width 466: "text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. "
+          text run at (609,113) width 170: "Dummy text. Dummy text."
+      RenderBlock {P} at (0,278) size 784x114
+        RenderText {#text} at (0,0) size 29x19
+          text run at (0,0) width 29: "The "
+        RenderInline {STRONG} at (0,0) size 62x19
+          RenderText {#text} at (29,0) size 62x19
+            text run at (29,0) width 62: "first line"
+        RenderText {#text} at (91,0) size 402x19
+          text run at (91,0) width 222: " of this paragraph, and only that "
+          text run at (313,0) width 180: "one, should be displayed in "
+        RenderInline {STRONG} at (0,0) size 72x19
+          RenderText {#text} at (493,0) size 72x19
+            text run at (493,0) width 72: "small-caps"
+        RenderText {#text} at (565,0) size 114x19
+          text run at (565,0) width 61: " style as "
+          text run at (626,0) width 53: "well as "
+        RenderInline {STRONG} at (0,0) size 39x19
+          RenderText {#text} at (679,0) size 39x19
+            text run at (679,0) width 39: "green"
+        RenderText {#text} at (718,0) size 784x114
+          text run at (718,0) width 58: ". Thus, if"
+          text run at (0,19) width 132: "the first line is not in "
+          text run at (132,19) width 341: "small-caps style, or if the entire paragraph turns out in "
+          text run at (473,19) width 311: "small-caps, then the user agent has failed this test."
+          text run at (0,38) width 87: "Dummy text. "
+          text run at (87,38) width 491: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (578,38) width 201: "text. Dummy text. Dummy text."
+          text run at (0,57) width 261: "Dummy text. Dummy text. Dummy text. "
+          text run at (261,57) width 491: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy "
+          text run at (752,57) width 27: "text."
+          text run at (0,76) width 435: "Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. "
+          text run at (435,76) width 344: "Dummy text. Dummy text. Dummy text. Dummy text."
+          text run at (0,95) width 83: "Dummy text."
diff --git a/LayoutTests/platform/gtk/css2.1/t051202-c24-first-lttr-00-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t051202-c24-first-lttr-00-b-expected.checksum
new file mode 100644
index 0000000..e697ad3
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051202-c24-first-lttr-00-b-expected.checksum
@@ -0,0 +1 @@
+24e0fcff533f3ce014e4b3d78a8d1862
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t051202-c24-first-lttr-00-b-expected.png b/LayoutTests/platform/gtk/css2.1/t051202-c24-first-lttr-00-b-expected.png
new file mode 100644
index 0000000..ff297b1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t051202-c24-first-lttr-00-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t051202-c24-first-lttr-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t051202-c24-first-lttr-00-b-expected.txt
new file mode 100644
index 0000000..1494fdd
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051202-c24-first-lttr-00-b-expected.txt
@@ -0,0 +1,74 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x260
+  RenderBlock {HTML} at (0,0) size 800x260
+    RenderBody {BODY} at (8,16) size 784x228 [color=#0000FF]
+      RenderBlock {P} at (0,0) size 784x38
+        RenderInline (generated) at (0,0) size 10x19 [color=#008000]
+          RenderText {#text} at (0,0) size 10x19
+            text run at (0,0) width 10: "T"
+        RenderText {#text} at (10,0) size 19x19
+          text run at (10,0) width 19: "he "
+        RenderInline {STRONG} at (0,0) size 66x19
+          RenderText {#text} at (29,0) size 66x19
+            text run at (29,0) width 66: "first letter"
+        RenderText {#text} at (95,0) size 300x19
+          text run at (95,0) width 204: " of this paragraph, and only that "
+          text run at (299,0) width 96: "one, should be "
+        RenderInline {STRONG} at (0,0) size 38x19
+          RenderText {#text} at (395,0) size 38x19
+            text run at (395,0) width 38: "green"
+        RenderText {#text} at (433,0) size 761x38
+          text run at (433,0) width 178: ". If this precise combination "
+          text run at (611,0) width 150: "does not occur, then the"
+          text run at (0,19) width 183: "user agent has failed this test."
+      RenderBlock {P} at (0,54) size 784x56
+        RenderInline (generated) at (0,0) size 20x36 [color=#008000]
+          RenderText {#text} at (0,0) size 20x36
+            text run at (0,0) width 20: "T"
+        RenderText {#text} at (20,14) size 19x19
+          text run at (20,14) width 19: "he "
+        RenderInline {STRONG} at (0,0) size 66x19
+          RenderText {#text} at (39,14) size 66x19
+            text run at (39,14) width 66: "first letter"
+        RenderText {#text} at (105,14) size 327x19
+          text run at (105,14) width 204: " of this paragraph, and only that "
+          text run at (309,14) width 123: "one, should be in a "
+        RenderInline {STRONG} at (0,0) size 41x19
+          RenderText {#text} at (432,14) size 41x19
+            text run at (432,14) width 41: "larger"
+        RenderText {#text} at (473,14) size 130x19
+          text run at (473,14) width 130: " font size, as well as "
+        RenderInline {STRONG} at (0,0) size 38x19
+          RenderText {#text} at (603,14) size 38x19
+            text run at (603,14) width 38: "green"
+        RenderText {#text} at (641,14) size 733x42
+          text run at (641,14) width 92: ". If this precise"
+          text run at (0,37) width 182: "combination does not occur, "
+          text run at (182,37) width 237: "then the user agent has failed this test."
+      RenderBlock {P} at (0,126) size 784x102
+        RenderInline (generated) at (0,0) size 57x63 [color=#008000]
+          RenderText {#text} at (0,0) size 57x63
+            text run at (0,0) width 57: "\"T"
+        RenderText {#text} at (57,35) size 19x19
+          text run at (57,35) width 19: "he "
+        RenderInline {STRONG} at (0,0) size 131x19
+          RenderText {#text} at (76,35) size 131x19
+            text run at (76,35) width 131: "first two characters"
+        RenderText {#text} at (207,35) size 452x19
+          text run at (207,35) width 129: " in this paragraph (a "
+          text run at (336,35) width 323: "double-quote mark and a capital 'T') should be in a "
+        RenderInline {STRONG} at (0,0) size 83x19
+          RenderText {#text} at (659,35) size 83x19
+            text run at (659,35) width 42: "much "
+            text run at (701,35) width 41: "larger"
+        RenderText {#text} at (742,35) size 771x48
+          text run at (742,35) width 29: " font"
+          text run at (0,64) width 246: "size than the rest of the paragraph, and "
+        RenderInline {STRONG} at (0,0) size 38x19
+          RenderText {#text} at (246,64) size 38x19
+            text run at (246,64) width 38: "green"
+        RenderText {#text} at (284,64) size 770x38
+          text run at (284,64) width 278: ". If this precise combination does not occur, "
+          text run at (562,64) width 208: "then the user agent has failed this"
+          text run at (0,83) width 25: "test."
diff --git a/LayoutTests/platform/gtk/css2.1/t051202-c26-psudo-nest-00-c-expected.checksum b/LayoutTests/platform/gtk/css2.1/t051202-c26-psudo-nest-00-c-expected.checksum
new file mode 100644
index 0000000..5afb80c
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051202-c26-psudo-nest-00-c-expected.checksum
@@ -0,0 +1 @@
+38d08813eadda151066509d9ca669644
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t051202-c26-psudo-nest-00-c-expected.png b/LayoutTests/platform/gtk/css2.1/t051202-c26-psudo-nest-00-c-expected.png
new file mode 100644
index 0000000..b707a70
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t051202-c26-psudo-nest-00-c-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t051202-c26-psudo-nest-00-c-expected.txt b/LayoutTests/platform/gtk/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
new file mode 100644
index 0000000..fa2910a
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
@@ -0,0 +1,137 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x465
+  RenderBlock {HTML} at (0,0) size 800x465
+    RenderBody {BODY} at (8,16) size 784x441 [color=#0000FF]
+      RenderBlock {P} at (0,0) size 784x242
+        RenderInline (generated) at (0,0) size 88x161 [color=#00FFFF]
+          RenderText {#text} at (0,2) size 88x161
+            text run at (0,2) width 88: "T"
+        RenderText {#text} at (88,88) size 57x54
+          text run at (88,88) width 57: "he "
+        RenderInline {STRONG} at (0,0) size 205x54
+          RenderText {#text} at (145,88) size 205x54
+            text run at (145,88) width 205: "first letter"
+        RenderText {#text} at (350,88) size 779x97
+          text run at (350,88) width 429: " of this paragraph, and"
+          text run at (0,166) width 59: "only that "
+          text run at (59,166) width 96: "one, should be "
+        RenderInline {STRONG} at (0,0) size 87x19
+          RenderText {#text} at (155,166) size 87x19
+            text run at (155,166) width 87: "600% bigger"
+        RenderText {#text} at (242,166) size 513x19
+          text run at (242,166) width 133: " than the normal text "
+          text run at (375,166) width 380: "(300% bigger than the rest of first line of this paragraph) and"
+        RenderInline {STRONG} at (0,0) size 34x19
+          RenderText {#text} at (0,185) size 34x19
+            text run at (0,185) width 34: "aqua"
+        RenderText {#text} at (34,185) size 109x19
+          text run at (34,185) width 109: ", while the entire "
+        RenderInline {STRONG} at (0,0) size 55x19
+          RenderText {#text} at (143,185) size 55x19
+            text run at (143,185) width 55: "first line"
+        RenderText {#text} at (198,185) size 69x19
+          text run at (198,185) width 4: " "
+          text run at (202,185) width 65: "should be "
+        RenderInline {STRONG} at (0,0) size 87x19
+          RenderText {#text} at (267,185) size 87x19
+            text run at (267,185) width 87: "300% bigger"
+        RenderText {#text} at (354,185) size 110x19
+          text run at (354,185) width 110: " than normal and "
+        RenderInline {STRONG} at (0,0) size 24x19
+          RenderText {#text} at (464,185) size 24x19
+            text run at (464,185) width 24: "teal"
+        RenderText {#text} at (488,185) size 779x57
+          text run at (488,185) width 274: ". If this precise combination does not occur,"
+          text run at (0,204) width 410: "then the user agent has failed this test. Remember that in order to "
+          text run at (410,204) width 369: "ensure a complete test, the paragraph must be displayed on"
+          text run at (0,223) width 36: "more "
+          text run at (36,223) width 146: "than one line. (TEST1)"
+      RenderBlock {P} at (0,258) size 784x75
+        RenderInline (generated) at (0,0) size 33x36 [color=#00FFFF]
+          RenderText {#text} at (0,0) size 33x36
+            text run at (0,0) width 33: "\"T"
+        RenderText {#text} at (33,14) size 98x19
+          text run at (33,14) width 98: "est\": The first "
+        RenderInline {STRONG} at (0,0) size 108x19
+          RenderText {#text} at (131,14) size 108x19
+            text run at (131,14) width 108: "two characters"
+        RenderText {#text} at (239,14) size 448x19
+          text run at (239,14) width 119: " in this paragraph "
+          text run at (358,14) width 329: "(a double-quote mark and a capital 'T') should be "
+        RenderInline {STRONG} at (0,0) size 88x19
+          RenderText {#text} at (687,14) size 88x19
+            text run at (687,14) width 44: "200% "
+            text run at (731,14) width 44: "bigger"
+        RenderText {#text} at (0,37) size 218x19
+          text run at (0,37) width 218: "than the rest of the paragraph, and "
+        RenderInline {STRONG} at (0,0) size 34x19
+          RenderText {#text} at (218,37) size 34x19
+            text run at (218,37) width 34: "aqua"
+        RenderText {#text} at (252,37) size 146x19
+          text run at (252,37) width 146: ". In addition, the entire "
+        RenderInline {STRONG} at (0,0) size 55x19
+          RenderText {#text} at (398,37) size 55x19
+            text run at (398,37) width 31: "first "
+            text run at (429,37) width 24: "line"
+        RenderText {#text} at (453,37) size 96x19
+          text run at (453,37) width 96: " should be in a "
+        RenderInline {STRONG} at (0,0) size 159x19
+          RenderText {#text} at (549,37) size 159x19
+            text run at (549,37) width 135: "small-caps font and "
+            text run at (684,37) width 24: "teal"
+        RenderText {#text} at (708,37) size 724x38
+          text run at (708,37) width 4: "."
+          text run at (0,56) width 315: "Remember that in order to ensure a complete test, "
+          text run at (315,56) width 409: "the paragraph must be displayed on more than one line. (TEST2)"
+      RenderBlock {P} at (0,349) size 784x57
+        RenderInline (generated) at (0,0) size 10x19 [color=#00FFFF]
+          RenderText {#text} at (0,0) size 10x19
+            text run at (0,0) width 10: "T"
+        RenderText {#text} at (10,0) size 19x19
+          text run at (10,0) width 19: "he "
+        RenderInline {STRONG} at (0,0) size 66x19
+          RenderText {#text} at (29,0) size 66x19
+            text run at (29,0) width 66: "first letter"
+        RenderText {#text} at (95,0) size 300x19
+          text run at (95,0) width 204: " of this paragraph, and only that "
+          text run at (299,0) width 96: "one, should be "
+        RenderInline {STRONG} at (0,0) size 34x19
+          RenderText {#text} at (395,0) size 34x19
+            text run at (395,0) width 34: "aqua"
+        RenderText {#text} at (429,0) size 109x19
+          text run at (429,0) width 109: ", while the entire "
+        RenderInline {STRONG} at (0,0) size 55x19
+          RenderText {#text} at (538,0) size 55x19
+            text run at (538,0) width 55: "first line"
+        RenderText {#text} at (593,0) size 69x19
+          text run at (593,0) width 69: " should be "
+        RenderInline {STRONG} at (0,0) size 24x19
+          RenderText {#text} at (662,0) size 24x19
+            text run at (662,0) width 24: "teal"
+        RenderText {#text} at (686,0) size 778x57
+          text run at (686,0) width 22: ". If "
+          text run at (708,0) width 70: "this precise"
+          text run at (0,19) width 329: "combination does not occur, then the user agent has "
+          text run at (329,19) width 409: "failed this test. Remember that in order to ensure a complete test, "
+          text run at (738,19) width 19: "the"
+          text run at (0,38) width 386: "paragraph must be displayed on more than one line. (TEST3)"
+      RenderBlock {DIV} at (0,422) size 784x19
+        RenderText {#text} at (0,0) size 168x19
+          text run at (0,0) width 168: "You should see the words "
+        RenderInline {STRONG} at (0,0) size 68x19
+          RenderText {#text} at (168,0) size 68x19
+            text run at (168,0) width 68: "\"TEST1\""
+        RenderText {#text} at (236,0) size 8x19
+          text run at (236,0) width 8: ", "
+        RenderInline {STRONG} at (0,0) size 68x19
+          RenderText {#text} at (244,0) size 68x19
+            text run at (244,0) width 68: "\"TEST2\""
+        RenderText {#text} at (312,0) size 35x19
+          text run at (312,0) width 35: ", and "
+        RenderInline {STRONG} at (0,0) size 68x19
+          RenderText {#text} at (347,0) size 68x19
+            text run at (347,0) width 68: "\"TEST3\""
+        RenderText {#text} at (415,0) size 236x19
+          text run at (415,0) width 86: " at the end of "
+          text run at (501,0) width 150: "three paragraphs above."
diff --git a/LayoutTests/platform/gtk/css2.1/t060401-c32-cascading-00-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t060401-c32-cascading-00-b-expected.checksum
new file mode 100644
index 0000000..69a9a6d
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t060401-c32-cascading-00-b-expected.checksum
@@ -0,0 +1 @@
+48a183d2c9018b8cd254ab0d37456238
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t060401-c32-cascading-00-b-expected.png b/LayoutTests/platform/gtk/css2.1/t060401-c32-cascading-00-b-expected.png
new file mode 100644
index 0000000..b892a47
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t060401-c32-cascading-00-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t060401-c32-cascading-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t060401-c32-cascading-00-b-expected.txt
new file mode 100644
index 0000000..8c85d68
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t060401-c32-cascading-00-b-expected.txt
@@ -0,0 +1,57 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x225
+  RenderBlock {HTML} at (0,0) size 800x225
+    RenderBody {BODY} at (8,8) size 784x209
+      RenderBlock {UL} at (0,0) size 784x152 [color=#FF0000]
+        RenderListItem {LI} at (0,0) size 784x19
+          RenderInline {SPAN} at (0,0) size 136x19 [color=#008000]
+            RenderText {#text} at (0,0) size 136x19
+              text run at (0,0) width 136: "This should be green."
+          RenderText {#text} at (0,0) size 0x0
+        RenderListItem {LI} at (0,19) size 784x76
+          RenderBlock (anonymous) at (0,0) size 784x19
+            RenderInline {SPAN} at (0,0) size 136x19 [color=#008000]
+              RenderText {#text} at (0,0) size 136x19
+                text run at (0,0) width 136: "This should be green."
+            RenderText {#text} at (0,0) size 0x0
+          RenderBlock {UL} at (0,19) size 784x57
+            RenderListItem {LI} at (0,0) size 784x19
+              RenderInline {SPAN} at (0,0) size 136x19 [color=#008000]
+                RenderText {#text} at (0,0) size 136x19
+                  text run at (0,0) width 136: "This should be green."
+              RenderText {#text} at (0,0) size 0x0
+            RenderListItem {LI} at (0,19) size 784x19
+              RenderInline {SPAN} at (0,0) size 136x19 [color=#008000]
+                RenderText {#text} at (0,0) size 136x19
+                  text run at (0,0) width 136: "This should be green."
+              RenderText {#text} at (0,0) size 0x0
+            RenderListItem {LI} at (0,38) size 784x19
+              RenderInline {SPAN} at (0,0) size 136x19 [color=#008000]
+                RenderText {#text} at (0,0) size 136x19
+                  text run at (0,0) width 136: "This should be green."
+              RenderText {#text} at (0,0) size 0x0
+        RenderListItem {LI} at (0,95) size 784x19
+          RenderInline {SPAN} at (0,0) size 136x19 [color=#008000]
+            RenderText {#text} at (0,0) size 136x19
+              text run at (0,0) width 136: "This should be green."
+          RenderText {#text} at (0,0) size 0x0
+        RenderListItem {LI} at (0,114) size 784x19
+          RenderInline {SPAN} at (0,0) size 136x19 [color=#008000]
+            RenderText {#text} at (0,0) size 136x19
+              text run at (0,0) width 136: "This should be green."
+          RenderText {#text} at (0,0) size 0x0
+        RenderListItem {LI} at (0,133) size 784x19
+          RenderInline {SPAN} at (0,0) size 136x19 [color=#008000]
+            RenderText {#text} at (0,0) size 136x19
+              text run at (0,0) width 136: "This should be green."
+          RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,152) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
+      RenderBlock {P} at (0,171) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
+      RenderBlock {P} at (0,190) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 136x19
+          text run at (0,0) width 136: "This should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t0509-c15-ids-00-a-expected.checksum b/LayoutTests/platform/gtk/css2.1/t060402-c31-important-00-b-expected.checksum
similarity index 100%
copy from LayoutTests/platform/gtk/css2.1/t0509-c15-ids-00-a-expected.checksum
copy to LayoutTests/platform/gtk/css2.1/t060402-c31-important-00-b-expected.checksum
diff --git a/LayoutTests/platform/gtk/css2.1/t060402-c31-important-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t060402-c31-important-00-b-expected.txt
new file mode 100644
index 0000000..b3f82d5
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t060402-c31-important-00-b-expected.txt
@@ -0,0 +1,14 @@
+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,16) size 784x89
+      RenderBlock {P} at (0,0) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,35) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,70) size 784x19 [color=#008000]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-cls-00-e-i-expected.checksum b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-cls-00-e-i-expected.checksum
new file mode 100644
index 0000000..c3f897a
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-cls-00-e-i-expected.checksum
@@ -0,0 +1 @@
+4c5358a23773e0b41ec049e08a5b61bf
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png
new file mode 100644
index 0000000..aee6829
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-cls-00-e-i-expected.txt b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-cls-00-e-i-expected.txt
new file mode 100644
index 0000000..4eff17e
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-cls-00-e-i-expected.txt
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19
+        RenderInline {A} at (0,0) size 313x19 [color=#008000]
+          RenderText {#text} at (0,0) size 313x19
+            text run at (0,0) width 313: "Whatever you do to this link, it should stay green."
+        RenderText {#text} at (313,0) size 197x19
+          text run at (313,0) width 197: " (hover, focus, activate, follow)"
diff --git a/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-id-00-e-i-expected.checksum b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-id-00-e-i-expected.checksum
new file mode 100644
index 0000000..c3f897a
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-id-00-e-i-expected.checksum
@@ -0,0 +1 @@
+4c5358a23773e0b41ec049e08a5b61bf
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-id-00-e-i-expected.png b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-id-00-e-i-expected.png
new file mode 100644
index 0000000..aee6829
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-id-00-e-i-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-id-00-e-i-expected.txt b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-id-00-e-i-expected.txt
new file mode 100644
index 0000000..4eff17e
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t060403-c21-pseu-id-00-e-i-expected.txt
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19
+      RenderBlock {P} at (0,0) size 784x19
+        RenderInline {A} at (0,0) size 313x19 [color=#008000]
+          RenderText {#text} at (0,0) size 313x19
+            text run at (0,0) width 313: "Whatever you do to this link, it should stay green."
+        RenderText {#text} at (313,0) size 197x19
+          text run at (313,0) width 197: " (hover, focus, activate, follow)"
diff --git a/LayoutTests/platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.checksum
new file mode 100644
index 0000000..c3f7338
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.checksum
@@ -0,0 +1 @@
+4d69a18c5369414e57cb3b4f177ee6ed
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.png b/LayoutTests/platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.png
new file mode 100644
index 0000000..8b98c8d
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt
new file mode 100644
index 0000000..48880b6
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt
@@ -0,0 +1,113 @@
+layer at (0,0) size 781x875
+  RenderView at (0,0) size 781x600
+layer at (0,0) size 781x875
+  RenderBlock {HTML} at (0,0) size 781x875
+    RenderBody {BODY} at (8,16) size 765x851
+      RenderBlock {P} at (0,0) size 765x19
+        RenderText {#text} at (0,0) size 279x19
+          text run at (0,0) width 279: "The two columns below should be identical."
+      RenderTable {TABLE} at (0,35) size 178x816
+        RenderTableSection {TBODY} at (0,0) size 178x816
+          RenderTableRow {TR} at (0,2) size 178x812
+            RenderTableCell {TD} at (2,2) size 86x812 [bgcolor=#008080] [border: (3px solid #000000)] [r=0 c=0 rs=1 cs=1]
+              RenderBlock {P} at (3,3) size 80x19 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {P} at (3,97) size 80x19 [bgcolor=#FF00FF]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {P} at (3,116) size 80x19 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {P} at (3,210) size 80x19 [bgcolor=#00FF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {P} at (3,229) size 80x19 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {P} at (3,286) size 80x19 [bgcolor=#FFFFFF]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,342) size 80x93 [bgcolor=#00FFFF]
+                RenderBlock {P} at (0,74) size 80x19 [bgcolor=#FFA500]
+                  RenderText {#text} at (0,0) size 5x19
+                    text run at (0,0) width 5: "-"
+              RenderBlock {P} at (3,472) size 80x19 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {P} at (3,491) size 80x94 [bgcolor=#FF00FF]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {P} at (3,548) size 80x56 [bgcolor=#00FF00]
+                RenderText {#text} at (0,37) size 5x19
+                  text run at (0,37) width 5: "-"
+              RenderBlock (floating) {P} at (3,678) size 40x19 [bgcolor=#FFFFFF]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {P} at (3,641) size 80x19 [bgcolor=#00FFFF]
+                RenderText {#text} at (40,0) size 5x19
+                  text run at (40,0) width 5: "-"
+              RenderBlock {P} at (3,697) size 80x56 [bgcolor=#FFA500]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {P} at (3,753) size 80x56 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,37) size 5x19
+                  text run at (0,37) width 5: "-"
+            RenderTableCell {TD} at (90,2) size 86x811 [border: (3px solid #000000)] [r=0 c=1 rs=1 cs=1]
+              RenderBlock {DIV} at (3,3) size 80x19 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,22) size 80x75 [bgcolor=#008080]
+              RenderBlock {DIV} at (3,97) size 80x19 [bgcolor=#FF00FF]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,116) size 80x19 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,135) size 80x75 [bgcolor=#008080]
+              RenderBlock {DIV} at (3,210) size 80x19 [bgcolor=#00FF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,229) size 80x19 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,248) size 80x37 [bgcolor=#008080]
+              RenderBlock {DIV} at (3,285) size 80x19 [bgcolor=#FFFFFF]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,304) size 80x37 [bgcolor=#008080]
+              RenderBlock {DIV} at (3,341) size 80x75 [bgcolor=#00FFFF]
+              RenderBlock {DIV} at (3,416) size 80x19 [bgcolor=#FFA500]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,435) size 80x37 [bgcolor=#008080]
+              RenderBlock {DIV} at (3,472) size 80x19 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,491) size 80x19 [bgcolor=#FF00FF]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,510) size 80x37 [bgcolor=#FF00FF]
+              RenderBlock {DIV} at (3,547) size 80x37 [bgcolor=#00FF00]
+              RenderBlock {DIV} at (3,584) size 80x19 [bgcolor=#00FF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,603) size 80x37 [bgcolor=#008080]
+              RenderBlock {DIV} at (3,640) size 80x19 [bgcolor=#00FFFF]
+                RenderBlock {DIV} at (40,0) size 40x19
+                  RenderText {#text} at (0,0) size 5x19
+                    text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,696) size 80x19 [bgcolor=#FFA500]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+              RenderBlock {DIV} at (3,715) size 80x37 [bgcolor=#FFA500]
+              RenderBlock {DIV} at (3,752) size 80x37 [bgcolor=#FFFF00]
+              RenderBlock {DIV} at (3,789) size 80x19 [bgcolor=#FFFF00]
+                RenderText {#text} at (0,0) size 5x19
+                  text run at (0,0) width 5: "-"
+layer at (101,712) size 80x37
+  RenderBlock (relative positioned) {DIV} at (3,659) size 80x37 [bgcolor=#008080]
+layer at (101,730) size 40x19
+  RenderBlock (positioned) {DIV} at (0,18) size 40x19 [bgcolor=#FFFFFF]
+    RenderText {#text} at (0,0) size 5x19
+      text run at (0,0) width 5: "-"
diff --git a/LayoutTests/platform/gtk/css2.1/t090204-display-change-01-b-ao-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090204-display-change-01-b-ao-expected.checksum
new file mode 100644
index 0000000..4a91884
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090204-display-change-01-b-ao-expected.checksum
@@ -0,0 +1 @@
+bc2b11cf48f275eeeeb1027930720a5c
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090204-display-change-01-b-ao-expected.png b/LayoutTests/platform/gtk/css2.1/t090204-display-change-01-b-ao-expected.png
new file mode 100644
index 0000000..7086009
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090204-display-change-01-b-ao-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090204-display-change-01-b-ao-expected.txt b/LayoutTests/platform/gtk/css2.1/t090204-display-change-01-b-ao-expected.txt
new file mode 100644
index 0000000..235507b
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090204-display-change-01-b-ao-expected.txt
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x93
+  RenderBlock {HTML} at (0,0) size 800x93
+    RenderBody {BODY} at (8,16) size 784x69
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 268x19
+          text run at (0,0) width 268: "There should be no red below, only green."
+      RenderBlock (floating) {DIV} at (0,35) size 784x17 [color=#008000] [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 16x17
+          text run at (0,0) width 16: "X"
+      RenderBlock {DIV} at (0,35) size 16x34 [color=#008000] [bgcolor=#FF0000]
+        RenderText {#text} at (0,17) size 16x17
+          text run at (0,17) width 16: "X"
diff --git a/LayoutTests/platform/gtk/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.checksum
new file mode 100644
index 0000000..45b26da
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.checksum
@@ -0,0 +1 @@
+d159ddacca5ca4ca85f3cfbb190e5722
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.png
new file mode 100644
index 0000000..cdbd783
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.txt
new file mode 100644
index 0000000..1bb5970
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.txt
@@ -0,0 +1,26 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x187
+  RenderBlock {HTML} at (0,0) size 800x187
+    RenderBody {BODY} at (8,16) size 784x163
+      RenderBlock {P} at (0,0) size 784x19 [color=#000080]
+        RenderText {#text} at (0,0) size 482x19
+          text run at (0,0) width 482: "The two diagrams below should be identical to the pixel with no red present."
+      RenderTable {TABLE} at (0,35) size 434x128
+        RenderTableSection {TBODY} at (0,0) size 434x128
+          RenderTableRow {TR} at (0,2) size 434x124
+            RenderTableCell {TD} at (2,2) size 214x124 [border: (2px solid #000000)] [r=0 c=0 rs=1 cs=1]
+              RenderBlock {DIV} at (12,2) size 200x120
+                RenderText {#text} at (0,7) size 190x34
+                  text run at (0,7) width 190: "1 2 3 4 5 6 7 8 9 0"
+                  text run at (0,31) width 60: "1 2 3 "
+                RenderInline {SPAN} at (0,0) size 190x82 [border: (10px solid #0000FF)]
+                  RenderText {#text} at (120,31) size 190x58
+                    text run at (120,31) width 70: "7 8 9 0"
+                    text run at (0,55) width 190: "1 2 3 4 5 6 7 8 9 0"
+                    text run at (0,79) width 80: "1 2 3 4 "
+                RenderText {#text} at (140,79) size 190x34
+                  text run at (140,79) width 50: "8 9 0"
+                  text run at (0,103) width 190: "1 2 3 4 5 6 7 8 9 0"
+            RenderTableCell {TD} at (218,2) size 214x124 [color=#FFFF00] [bgcolor=#FF0000] [border: (2px solid #000000)] [r=0 c=1 rs=1 cs=1]
+              RenderImage {IMG} at (2,2) size 210x120
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-00-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-00-d-expected.checksum
new file mode 100644
index 0000000..407150d
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-00-d-expected.checksum
@@ -0,0 +1 @@
+79471388c1c915774e0fea8cd7e0fa17
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-00-d-expected.png b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-00-d-expected.png
new file mode 100644
index 0000000..dc2ff06
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-00-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-00-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-00-d-expected.txt
new file mode 100644
index 0000000..def8abd
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-00-d-expected.txt
@@ -0,0 +1,30 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x178
+  RenderBlock {HTML} at (0,0) size 800x178
+    RenderBody {BODY} at (8,16) size 784x146
+      RenderBlock {P} at (0,0) size 784x19 [color=#000080]
+        RenderText {#text} at (0,0) size 589x19
+          text run at (0,0) width 371: "In the following test, the teal blocks must be just inside the "
+          text run at (371,0) width 218: "top and sides of the blue rectangle."
+      RenderBlock {DIV} at (0,35) size 784x111
+        RenderBlock {DIV} at (16,0) size 752x111 [color=#0000FF] [bgcolor=#000080] [border: (8px solid #0000FF) none (8px solid #0000FF)]
+          RenderBlock (floating) {P} at (8,8) size 176x92 [color=#00FFFF] [bgcolor=#008080] [border: (4px solid #00FFFF)]
+            RenderText {#text} at (8,8) size 146x76
+              text run at (8,8) width 146: "Teal block. Teal block."
+              text run at (8,27) width 146: "Teal block. Teal block."
+              text run at (8,46) width 146: "Teal block. Teal block."
+              text run at (8,65) width 146: "Teal block. Teal block."
+          RenderBlock (floating) {P} at (568,8) size 176x92 [color=#00FFFF] [bgcolor=#008080] [border: (4px solid #00FFFF)]
+            RenderText {#text} at (8,8) size 146x76
+              text run at (8,8) width 146: "Teal block. Teal block."
+              text run at (8,27) width 146: "Teal block. Teal block."
+              text run at (8,46) width 146: "Teal block. Teal block."
+              text run at (8,65) width 146: "Teal block. Teal block."
+          RenderText {#text} at (184,8) size 358x95
+            text run at (184,8) width 327: "Blue rectangle. Blue rectangle. Blue rectangle. Blue"
+            text run at (184,27) width 358: "rectangle. Blue rectangle. Blue rectangle. Blue rectangle."
+            text run at (184,46) width 99: "Blue rectangle. "
+            text run at (283,46) width 228: "Blue rectangle. Blue rectangle. Blue"
+            text run at (184,65) width 358: "rectangle. Blue rectangle. Blue rectangle. Blue rectangle."
+            text run at (184,84) width 194: "Blue rectangle. Blue rectangle."
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-01-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-01-b-expected.checksum
new file mode 100644
index 0000000..8526e0c
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-01-b-expected.checksum
@@ -0,0 +1 @@
+ff415767e80bc7263108c2ab1fdc97ee
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-01-b-expected.png b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-01-b-expected.png
new file mode 100644
index 0000000..c0a4b60
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-01-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-01-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-01-b-expected.txt
new file mode 100644
index 0000000..c3feaa8
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-01-b-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x140
+  RenderBlock {HTML} at (0,0) size 800x140
+    RenderBody {BODY} at (8,16) size 784x108
+      RenderBlock {P} at (0,0) size 784x19 [color=#000080]
+        RenderText {#text} at (0,0) size 542x19
+          text run at (0,0) width 542: "In the following test, the blue blocks should be on the given sides of the teal rectangle."
+      RenderBlock {DIV} at (0,35) size 784x73
+        RenderBlock {DIV} at (16,0) size 752x73 [color=#00FFFF] [bgcolor=#008080]
+          RenderBlock (floating) {P} at (8,8) size 176x54 [color=#FFFFFF] [bgcolor=#000080] [border: (4px solid #0000FF)]
+            RenderText {#text} at (8,8) size 132x38
+              text run at (8,8) width 115: "\x{21E6} This blue block"
+              text run at (8,27) width 132: "should be on the left."
+          RenderBlock (floating) {P} at (568,8) size 176x54 [color=#FFFFFF] [bgcolor=#000080] [border: (4px solid #0000FF)]
+            RenderText {#text} at (8,8) size 141x38
+              text run at (8,8) width 115: "\x{21E8} This blue block"
+              text run at (8,27) width 141: "should be on the right."
+          RenderText {#text} at (184,8) size 384x57
+            text run at (184,8) width 384: "Teal rectangle. Teal rectangle. Teal rectangle. Teal rectangle."
+            text run at (184,27) width 194: "Teal rectangle. Teal rectangle. "
+            text run at (378,27) width 190: "Teal rectangle. Teal rectangle."
+            text run at (184,46) width 384: "Teal rectangle. Teal rectangle. Teal rectangle. Teal rectangle."
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-02-d-g-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-02-d-g-expected.checksum
new file mode 100644
index 0000000..7ce5a44
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-02-d-g-expected.checksum
@@ -0,0 +1 @@
+519d0d1ba24223952ef390af71812039
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-02-d-g-expected.png b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-02-d-g-expected.png
new file mode 100644
index 0000000..0921324
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-02-d-g-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-02-d-g-expected.txt b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-02-d-g-expected.txt
new file mode 100644
index 0000000..b6bb049
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-02-d-g-expected.txt
@@ -0,0 +1,18 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x159
+  RenderBlock {HTML} at (0,0) size 800x159
+    RenderBody {BODY} at (8,16) size 784x127
+      RenderBlock {P} at (0,0) size 784x19 [color=#000080]
+        RenderText {#text} at (0,0) size 595x19
+          text run at (0,0) width 377: "In the following test, the teal squares must be just inside the "
+          text run at (377,0) width 218: "top and sides of the blue rectangle."
+      RenderBlock {DIV} at (0,35) size 784x92
+        RenderBlock {DIV} at (16,0) size 752x92 [color=#0000FF] [bgcolor=#000080] [border: (8px solid #0000FF) none (8px solid #0000FF)]
+          RenderImage {IMG} at (8,8) size 160x160 [color=#FFFF00] [bgcolor=#FF0000]
+          RenderImage {IMG} at (584,8) size 160x160 [color=#FFFF00] [bgcolor=#FF0000]
+          RenderText {#text} at (168,8) size 392x76
+            text run at (168,8) width 392: "Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle."
+            text run at (168,27) width 392: "Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle."
+            text run at (168,46) width 392: "Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle."
+            text run at (168,65) width 392: "Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle."
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-03-b-g-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-03-b-g-expected.checksum
new file mode 100644
index 0000000..368c56f
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-03-b-g-expected.checksum
@@ -0,0 +1 @@
+45c9bc2d4d54aaba3d6f8d86acb800da
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-03-b-g-expected.png b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-03-b-g-expected.png
new file mode 100644
index 0000000..f6bc21b
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-03-b-g-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-03-b-g-expected.txt b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-03-b-g-expected.txt
new file mode 100644
index 0000000..f4c4d45
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-03-b-g-expected.txt
@@ -0,0 +1,25 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x159
+  RenderBlock {HTML} at (0,0) size 800x159
+    RenderBody {BODY} at (8,16) size 784x127
+      RenderBlock {P} at (0,0) size 784x38 [color=#000080]
+        RenderText {#text} at (0,0) size 396x19
+          text run at (0,0) width 246: "In the following test, the purple square "
+          text run at (246,0) width 150: "should be on the left (\x{21E6}"
+        RenderImage {IMG} at (396,0) size 19x19
+        RenderText {#text} at (415,0) size 215x19
+          text run at (415,0) width 215: "), and the teal square on the right ("
+        RenderImage {IMG} at (630,0) size 19x19
+        RenderText {#text} at (649,0) size 738x38
+          text run at (649,0) width 89: "\x{21E8}) of the blue"
+          text run at (0,19) width 61: "rectangle."
+      RenderBlock {DIV} at (0,54) size 784x73
+        RenderBlock {DIV} at (16,0) size 752x73 [color=#0000FF] [bgcolor=#000080]
+          RenderImage {IMG} at (8,8) size 160x160
+          RenderImage {IMG} at (584,8) size 160x160
+          RenderText {#text} at (168,8) size 392x57
+            text run at (168,8) width 392: "Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle."
+            text run at (168,27) width 198: "Blue rectangle. Blue rectangle. "
+            text run at (366,27) width 194: "Blue rectangle. Blue rectangle."
+            text run at (168,46) width 392: "Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle."
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-00-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-00-d-expected.checksum
new file mode 100644
index 0000000..7efa089
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-00-d-expected.checksum
@@ -0,0 +1 @@
+425cfccb9d63ef7a02a6c1757bcbacc1
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-00-d-expected.png b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-00-d-expected.png
new file mode 100644
index 0000000..c8fed50
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-00-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-00-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-00-d-expected.txt
new file mode 100644
index 0000000..e689f44
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-00-d-expected.txt
@@ -0,0 +1,71 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x487
+  RenderBlock {HTML} at (0,0) size 800x487
+    RenderBody {BODY} at (8,16) size 784x455
+      RenderBlock {P} at (0,0) size 784x57 [color=#000080]
+        RenderText {#text} at (0,0) size 778x57
+          text run at (0,0) width 408: "The big coloured boxes should be level with the top of the small "
+          text run at (408,0) width 329: "coloured boxes of the same color (unless there is not"
+          text run at (0,19) width 88: "enough room "
+          text run at (88,19) width 398: "for the big box to fit on the small box's line after the small box, "
+          text run at (486,19) width 292: "in which case the big box should be level with"
+          text run at (0,38) width 111: "the bottom of the "
+          text run at (111,38) width 137: "respective small box)."
+      RenderBlock {DIV} at (16,73) size 752x382 [color=#C0C0C0] [border: (5px solid #800080)]
+        RenderText {#text} at (171,21) size 474x19
+          text run at (171,21) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+        RenderInline {SPAN} at (0,0) size 18x25 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
+          RenderText {#text} at (648,21) size 12x19
+            text run at (648,21) width 12: "A"
+        RenderText {#text} at (663,21) size 4x19
+          text run at (663,21) width 4: " "
+        RenderBlock (floating) {P} at (21,21) size 150x58 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
+          RenderText {#text} at (19,19) size 48x19
+            text run at (19,19) width 48: "AAAA"
+        RenderText {#text} at (667,21) size 544x39
+          text run at (667,21) width 48: "dummy"
+          text run at (171,41) width 422: "text dummy text dummy text dummy text dummy text dummy text "
+        RenderInline {SPAN} at (0,0) size 17x25 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
+          RenderText {#text} at (596,41) size 11x19
+            text run at (596,41) width 11: "B"
+        RenderText {#text} at (610,41) size 4x19
+          text run at (610,41) width 4: " "
+        RenderBlock (floating) {P} at (581,61) size 150x58 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
+          RenderText {#text} at (19,19) size 44x19
+            text run at (19,19) width 44: "BBBB"
+        RenderText {#text} at (614,41) size 707x319
+          text run at (614,41) width 75: "dummy text"
+          text run at (171,61) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,81) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (495,81) width 75: "dummy text"
+          text run at (21,101) width 395: "dummy text dummy text dummy text dummy text dummy text "
+          text run at (416,101) width 154: "dummy text dummy text"
+          text run at (21,121) width 316: "dummy text dummy text dummy text dummy text "
+          text run at (337,121) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,141) width 79: "dummy text "
+          text run at (100,141) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (574,141) width 154: "dummy text dummy text"
+          text run at (21,161) width 316: "dummy text dummy text dummy text dummy text "
+          text run at (337,161) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,181) width 79: "dummy text "
+          text run at (100,181) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (574,181) width 154: "dummy text dummy text"
+          text run at (21,201) width 316: "dummy text dummy text dummy text dummy text "
+          text run at (337,201) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,221) width 79: "dummy text "
+          text run at (100,221) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (574,221) width 154: "dummy text dummy text"
+          text run at (21,241) width 316: "dummy text dummy text dummy text dummy text "
+          text run at (337,241) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,261) width 79: "dummy text "
+          text run at (100,261) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (574,261) width 154: "dummy text dummy text"
+          text run at (21,281) width 316: "dummy text dummy text dummy text dummy text "
+          text run at (337,281) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,301) width 79: "dummy text "
+          text run at (100,301) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (574,301) width 154: "dummy text dummy text"
+          text run at (21,321) width 316: "dummy text dummy text dummy text dummy text "
+          text run at (337,321) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,341) width 75: "dummy text"
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-01-d-g-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-01-d-g-expected.checksum
new file mode 100644
index 0000000..dc723c6
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-01-d-g-expected.checksum
@@ -0,0 +1 @@
+440be506f2e1dfbca83bf11eb7fe4eb5
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-01-d-g-expected.png b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-01-d-g-expected.png
new file mode 100644
index 0000000..9b7299d
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-01-d-g-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt
new file mode 100644
index 0000000..bc067cb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt
@@ -0,0 +1,67 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x487
+  RenderBlock {HTML} at (0,0) size 800x487
+    RenderBody {BODY} at (8,16) size 784x455
+      RenderBlock {P} at (0,0) size 784x57 [color=#000080]
+        RenderText {#text} at (0,0) size 769x57
+          text run at (0,0) width 408: "The big coloured boxes should be level with the top of the small "
+          text run at (408,0) width 329: "coloured boxes of the same color (unless there is not"
+          text run at (0,19) width 88: "enough room "
+          text run at (88,19) width 391: "for the big box to fit on the small box's line, in which case the "
+          text run at (479,19) width 290: "big box should be level with the bottom of the"
+          text run at (0,38) width 104: "respective small "
+          text run at (104,38) width 33: "box)."
+      RenderBlock {DIV} at (16,73) size 752x382 [color=#C0C0C0] [border: (5px solid #800080)]
+        RenderText {#text} at (133,21) size 474x19
+          text run at (133,21) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+        RenderInline {SPAN} at (0,0) size 19x25 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
+          RenderText {#text} at (610,21) size 13x19
+            text run at (610,21) width 13: "\x{21E6}"
+        RenderText {#text} at (626,21) size 4x19
+          text run at (626,21) width 4: " "
+        RenderImage {IMG} at (21,21) size 112x112 [color=#FF0000]
+        RenderText {#text} at (630,21) size 572x39
+          text run at (630,21) width 75: "dummy text"
+          text run at (133,41) width 395: "dummy text dummy text dummy text dummy text dummy text "
+        RenderInline {SPAN} at (0,0) size 19x25 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
+          RenderText {#text} at (531,41) size 13x19
+            text run at (531,41) width 13: "\x{21E8}"
+        RenderText {#text} at (547,41) size 4x19
+          text run at (547,41) width 4: " "
+        RenderImage {IMG} at (619,41) size 112x112 [color=#FF0000]
+        RenderText {#text} at (551,41) size 707x319
+          text run at (551,41) width 48: "dummy"
+          text run at (133,61) width 422: "text dummy text dummy text dummy text dummy text dummy text "
+          text run at (555,61) width 48: "dummy"
+          text run at (133,81) width 422: "text dummy text dummy text dummy text dummy text dummy text "
+          text run at (555,81) width 48: "dummy"
+          text run at (133,101) width 422: "text dummy text dummy text dummy text dummy text dummy text "
+          text run at (555,101) width 48: "dummy"
+          text run at (133,121) width 422: "text dummy text dummy text dummy text dummy text dummy text "
+          text run at (555,121) width 48: "dummy"
+          text run at (21,141) width 422: "text dummy text dummy text dummy text dummy text dummy text "
+          text run at (443,141) width 154: "dummy text dummy text"
+          text run at (21,161) width 316: "dummy text dummy text dummy text dummy text "
+          text run at (337,161) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,181) width 79: "dummy text "
+          text run at (100,181) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (574,181) width 154: "dummy text dummy text"
+          text run at (21,201) width 316: "dummy text dummy text dummy text dummy text "
+          text run at (337,201) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,221) width 79: "dummy text "
+          text run at (100,221) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (574,221) width 154: "dummy text dummy text"
+          text run at (21,241) width 316: "dummy text dummy text dummy text dummy text "
+          text run at (337,241) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,261) width 79: "dummy text "
+          text run at (100,261) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (574,261) width 154: "dummy text dummy text"
+          text run at (21,281) width 316: "dummy text dummy text dummy text dummy text "
+          text run at (337,281) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,301) width 79: "dummy text "
+          text run at (100,301) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (574,301) width 154: "dummy text dummy text"
+          text run at (21,321) width 316: "dummy text dummy text dummy text dummy text "
+          text run at (337,321) width 391: "dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,341) width 75: "dummy text"
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-02-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-02-d-expected.checksum
new file mode 100644
index 0000000..7553623
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-02-d-expected.checksum
@@ -0,0 +1 @@
+7764aff4820d7bf6c7624f83609bede4
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-02-d-expected.png b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-02-d-expected.png
new file mode 100644
index 0000000..74c67b8
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-02-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-02-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-02-d-expected.txt
new file mode 100644
index 0000000..60d9a95
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-02-d-expected.txt
@@ -0,0 +1,83 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x547
+  RenderBlock {HTML} at (0,0) size 800x547
+    RenderBody {BODY} at (8,16) size 784x515
+      RenderBlock {P} at (0,0) size 784x57 [color=#000080]
+        RenderText {#text} at (0,0) size 778x57
+          text run at (0,0) width 408: "The big coloured boxes should be level with the top of the small "
+          text run at (408,0) width 329: "coloured boxes of the same color (unless there is not"
+          text run at (0,19) width 88: "enough room "
+          text run at (88,19) width 398: "for the big box to fit on the small box's line after the small box, "
+          text run at (486,19) width 292: "in which case the big box should be as high as"
+          text run at (0,38) width 121: "possible below the "
+          text run at (121,38) width 70: "small box)."
+      RenderBlock {DIV} at (16,73) size 752x442 [color=#C0C0C0] [border: (5px solid #800080)]
+        RenderText {#text} at (21,21) size 553x19
+          text run at (21,21) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (495,21) width 79: "dummy text "
+        RenderInline {SPAN} at (0,0) size 18x25 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
+          RenderText {#text} at (577,21) size 12x19
+            text run at (577,21) width 12: "A"
+        RenderText {#text} at (592,21) size 4x19
+          text run at (592,21) width 4: " "
+        RenderBlock (floating) {P} at (21,41) size 150x58 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
+          RenderText {#text} at (19,19) size 48x19
+            text run at (19,19) width 48: "AAAA"
+        RenderText {#text} at (596,21) size 552x39
+          text run at (596,21) width 127: "dummy text dummy"
+          text run at (171,41) width 343: "text dummy text dummy text dummy text dummy text "
+        RenderInline {SPAN} at (0,0) size 14x25 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
+          RenderText {#text} at (517,41) size 11x19
+            text run at (517,41) width 11: "B"
+        RenderText {#text} at (0,0) size 0x0
+        RenderBlock (floating) {P} at (581,41) size 150x58 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
+          RenderText {#text} at (19,19) size 44x19
+            text run at (19,19) width 44: "BBBB"
+        RenderText {#text} at (321,61) size 237x19
+          text run at (321,61) width 237: "dummy text dummy text dummy text "
+        RenderInline {SPAN} at (0,0) size 14x25 [color=#FFFFFF] [bgcolor=#FFA500] [border: (3px solid #FFFF00)]
+          RenderText {#text} at (561,61) size 11x19
+            text run at (561,61) width 11: "C"
+        RenderText {#text} at (0,0) size 0x0
+        RenderBlock (floating) {P} at (171,61) size 150x58 [color=#FFFFFF] [bgcolor=#FFA500] [border: (3px solid #FFFF00)]
+          RenderText {#text} at (19,19) size 44x19
+            text run at (19,19) width 44: "CCCC"
+        RenderText {#text} at (321,81) size 387x39
+          text run at (321,81) width 233: "dummy text dummy text dummy text"
+          text run at (471,101) width 237: "dummy text dummy text dummy text "
+        RenderInline {SPAN} at (0,0) size 15x25 [color=#FFFFFF] [bgcolor=#008000] [border: (3px solid #00FF00)]
+          RenderText {#text} at (711,101) size 12x19
+            text run at (711,101) width 12: "D"
+        RenderText {#text} at (0,0) size 0x0
+        RenderBlock (floating) {P} at (321,101) size 150x58 [color=#FFFFFF] [bgcolor=#008000] [border: (3px solid #00FF00)]
+          RenderText {#text} at (19,19) size 48x19
+            text run at (19,19) width 48: "DDDD"
+        RenderText {#text} at (471,121) size 707x299
+          text run at (471,121) width 233: "dummy text dummy text dummy text"
+          text run at (471,141) width 233: "dummy text dummy text dummy text"
+          text run at (21,161) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (495,161) width 233: "dummy text dummy text dummy text"
+          text run at (21,181) width 237: "dummy text dummy text dummy text "
+          text run at (258,181) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,201) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (495,201) width 233: "dummy text dummy text dummy text"
+          text run at (21,221) width 237: "dummy text dummy text dummy text "
+          text run at (258,221) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,241) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (495,241) width 233: "dummy text dummy text dummy text"
+          text run at (21,261) width 237: "dummy text dummy text dummy text "
+          text run at (258,261) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,281) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (495,281) width 233: "dummy text dummy text dummy text"
+          text run at (21,301) width 237: "dummy text dummy text dummy text "
+          text run at (258,301) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,321) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (495,321) width 233: "dummy text dummy text dummy text"
+          text run at (21,341) width 237: "dummy text dummy text dummy text "
+          text run at (258,341) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,361) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (495,361) width 233: "dummy text dummy text dummy text"
+          text run at (21,381) width 237: "dummy text dummy text dummy text "
+          text run at (258,381) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
+          text run at (21,401) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-03-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-03-d-expected.checksum
new file mode 100644
index 0000000..690a22a
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-03-d-expected.checksum
@@ -0,0 +1 @@
+6f084f4b4bba1d80c004ccc2cf44d370
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-03-d-expected.png b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-03-d-expected.png
new file mode 100644
index 0000000..3c826d2
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-03-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-03-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-03-d-expected.txt
new file mode 100644
index 0000000..e902597
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c414-flt-ln-03-d-expected.txt
@@ -0,0 +1,70 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x467
+  RenderBlock {HTML} at (0,0) size 800x467
+    RenderBody {BODY} at (8,16) size 784x435
+      RenderBlock {P} at (0,0) size 784x57 [color=#000080]
+        RenderText {#text} at (0,0) size 778x57
+          text run at (0,0) width 408: "The big coloured boxes should be level with the top of the small "
+          text run at (408,0) width 329: "coloured boxes of the same color (unless there is not"
+          text run at (0,19) width 88: "enough room "
+          text run at (88,19) width 398: "for the big box to fit on the small box's line after the small box, "
+          text run at (486,19) width 292: "in which case the big box should be as high as"
+          text run at (0,38) width 121: "possible below the "
+          text run at (121,38) width 70: "small box)."
+      RenderBlock {DIV} at (16,73) size 752x362 [color=#C0C0C0] [border: (5px solid #800080)]
+        RenderText {#text} at (171,21) size 316x19
+          text run at (171,21) width 316: "dummy text dummy text dummy text dummy text "
+        RenderInline {SPAN} at (0,0) size 18x25 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
+          RenderText {#text} at (490,21) size 12x19
+            text run at (490,21) width 12: "A"
+        RenderText {#text} at (505,21) size 4x19
+          text run at (505,21) width 4: " "
+        RenderBlock (floating) {P} at (21,21) size 150x58 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
+          RenderText {#text} at (19,19) size 48x19
+            text run at (19,19) width 48: "AAAA"
+        RenderText {#text} at (0,0) size 0x0
+        RenderInline {SPAN} at (0,0) size 17x25 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
+          RenderText {#text} at (512,21) size 11x19
+            text run at (512,21) width 11: "B"
+        RenderText {#text} at (526,21) size 4x19
+          text run at (526,21) width 4: " "
+        RenderBlock (floating) {P} at (581,21) size 150x58 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
+          RenderText {#text} at (19,19) size 44x19
+            text run at (19,19) width 44: "BBBB"
+        RenderText {#text} at (530,21) size 707x319
+          text run at (530,21) width 48: "dummy"
+          text run at (171,41) width 391: "text dummy text dummy text dummy text dummy text dummy"
+          text run at (171,61) width 27: "text "
+          text run at (198,61) width 364: "dummy text dummy text dummy text dummy text dummy"
+          text run at (21,81) width 106: "text dummy text "
+          text run at (127,81) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (601,81) width 127: "dummy text dummy"
+          text run at (21,101) width 343: "text dummy text dummy text dummy text dummy text "
+          text run at (364,101) width 364: "dummy text dummy text dummy text dummy text dummy"
+          text run at (21,121) width 106: "text dummy text "
+          text run at (127,121) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (601,121) width 127: "dummy text dummy"
+          text run at (21,141) width 343: "text dummy text dummy text dummy text dummy text "
+          text run at (364,141) width 364: "dummy text dummy text dummy text dummy text dummy"
+          text run at (21,161) width 106: "text dummy text "
+          text run at (127,161) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (601,161) width 127: "dummy text dummy"
+          text run at (21,181) width 343: "text dummy text dummy text dummy text dummy text "
+          text run at (364,181) width 364: "dummy text dummy text dummy text dummy text dummy"
+          text run at (21,201) width 106: "text dummy text "
+          text run at (127,201) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (601,201) width 127: "dummy text dummy"
+          text run at (21,221) width 343: "text dummy text dummy text dummy text dummy text "
+          text run at (364,221) width 364: "dummy text dummy text dummy text dummy text dummy"
+          text run at (21,241) width 106: "text dummy text "
+          text run at (127,241) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (601,241) width 127: "dummy text dummy"
+          text run at (21,261) width 343: "text dummy text dummy text dummy text dummy text "
+          text run at (364,261) width 364: "dummy text dummy text dummy text dummy text dummy"
+          text run at (21,281) width 106: "text dummy text "
+          text run at (127,281) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
+          text run at (601,281) width 127: "dummy text dummy"
+          text run at (21,301) width 343: "text dummy text dummy text dummy text dummy text "
+          text run at (364,301) width 364: "dummy text dummy text dummy text dummy text dummy"
+          text run at (21,321) width 102: "text dummy text"
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-l-00-b-g-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-l-00-b-g-expected.checksum
new file mode 100644
index 0000000..203c49b
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-l-00-b-g-expected.checksum
@@ -0,0 +1 @@
+920f6e81b454249c395807ac7ea156ea
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-l-00-b-g-expected.png b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-l-00-b-g-expected.png
new file mode 100644
index 0000000..a972616
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-l-00-b-g-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt
new file mode 100644
index 0000000..d28433a
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt
@@ -0,0 +1,45 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x298
+  RenderBlock {HTML} at (0,0) size 800x298
+    RenderBody {BODY} at (8,16) size 784x266
+      RenderBlock {P} at (0,0) size 784x266 [color=#000080]
+        RenderImage {IMG} at (0,0) size 50x50
+        RenderText {#text} at (50,0) size 325x19
+          text run at (50,0) width 325: "\x{21E6} This text should flow around the box on the left. "
+        RenderInline {SPAN} at (0,0) size 766x266 [color=#C0C0C0]
+          RenderText {#text} at (375,0) size 766x266
+            text run at (375,0) width 391: "dummy text dummy text dummy text dummy text dummy text"
+            text run at (50,19) width 52: "dummy "
+            text run at (102,19) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (576,19) width 181: "text dummy text dummy text"
+            text run at (50,38) width 289: "dummy text dummy text dummy text dummy "
+            text run at (339,38) width 418: "text dummy text dummy text dummy text dummy text dummy text"
+            text run at (0,57) width 52: "dummy "
+            text run at (52,57) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (526,57) width 233: "text dummy text dummy text dummy"
+            text run at (0,76) width 237: "text dummy text dummy text dummy "
+            text run at (237,76) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (711,76) width 23: "text"
+            text run at (0,95) width 447: "dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (447,95) width 312: "text dummy text dummy text dummy text dummy"
+            text run at (0,114) width 158: "text dummy text dummy "
+            text run at (158,114) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (632,114) width 102: "text dummy text"
+            text run at (0,133) width 368: "dummy text dummy text dummy text dummy text dummy "
+            text run at (368,133) width 391: "text dummy text dummy text dummy text dummy text dummy"
+            text run at (0,152) width 79: "text dummy "
+            text run at (79,152) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (553,152) width 181: "text dummy text dummy text"
+            text run at (0,171) width 289: "dummy text dummy text dummy text dummy "
+            text run at (289,171) width 470: "text dummy text dummy text dummy text dummy text dummy text dummy"
+            text run at (0,190) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (474,190) width 260: "text dummy text dummy text dummy text"
+            text run at (0,209) width 210: "dummy text dummy text dummy "
+            text run at (210,209) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (684,209) width 75: "text dummy"
+            text run at (0,228) width 395: "text dummy text dummy text dummy text dummy text dummy "
+            text run at (395,228) width 339: "text dummy text dummy text dummy text dummy text"
+            text run at (0,247) width 131: "dummy text dummy "
+            text run at (131,247) width 418: "text dummy text dummy text dummy text dummy text dummy text"
+        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-r-00-b-g-expected.checksum b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-r-00-b-g-expected.checksum
new file mode 100644
index 0000000..c74b628
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-r-00-b-g-expected.checksum
@@ -0,0 +1 @@
+7991aea7982fb11ca22715dbc3b60bec
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-r-00-b-g-expected.png b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-r-00-b-g-expected.png
new file mode 100644
index 0000000..0aba4a9
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-r-00-b-g-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt
new file mode 100644
index 0000000..0ac762e
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt
@@ -0,0 +1,45 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x298
+  RenderBlock {HTML} at (0,0) size 800x298
+    RenderBody {BODY} at (8,16) size 784x266
+      RenderBlock {P} at (0,0) size 784x266 [color=#000080]
+        RenderImage {IMG} at (734,0) size 50x50
+        RenderText {#text} at (0,0) size 334x19
+          text run at (0,0) width 334: "This text should flow around the box on the right. \x{21E8} "
+        RenderInline {SPAN} at (0,0) size 759x266 [color=#C0C0C0]
+          RenderText {#text} at (334,0) size 759x266
+            text run at (334,0) width 391: "dummy text dummy text dummy text dummy text dummy text"
+            text run at (0,19) width 52: "dummy "
+            text run at (52,19) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (526,19) width 181: "text dummy text dummy text"
+            text run at (0,38) width 289: "dummy text dummy text dummy text dummy "
+            text run at (289,38) width 418: "text dummy text dummy text dummy text dummy text dummy text"
+            text run at (0,57) width 52: "dummy "
+            text run at (52,57) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (526,57) width 233: "text dummy text dummy text dummy"
+            text run at (0,76) width 237: "text dummy text dummy text dummy "
+            text run at (237,76) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (711,76) width 23: "text"
+            text run at (0,95) width 447: "dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (447,95) width 312: "text dummy text dummy text dummy text dummy"
+            text run at (0,114) width 158: "text dummy text dummy "
+            text run at (158,114) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (632,114) width 102: "text dummy text"
+            text run at (0,133) width 368: "dummy text dummy text dummy text dummy text dummy "
+            text run at (368,133) width 391: "text dummy text dummy text dummy text dummy text dummy"
+            text run at (0,152) width 79: "text dummy "
+            text run at (79,152) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (553,152) width 181: "text dummy text dummy text"
+            text run at (0,171) width 289: "dummy text dummy text dummy text dummy "
+            text run at (289,171) width 470: "text dummy text dummy text dummy text dummy text dummy text dummy"
+            text run at (0,190) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (474,190) width 260: "text dummy text dummy text dummy text"
+            text run at (0,209) width 210: "dummy text dummy text dummy "
+            text run at (210,209) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
+            text run at (684,209) width 75: "text dummy"
+            text run at (0,228) width 395: "text dummy text dummy text dummy text dummy text dummy "
+            text run at (395,228) width 339: "text dummy text dummy text dummy text dummy text"
+            text run at (0,247) width 131: "dummy text dummy "
+            text run at (131,247) width 418: "text dummy text dummy text dummy text dummy text dummy text"
+        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/gtk/css2.1/t100303-c412-blockw-00-d-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100303-c412-blockw-00-d-ag-expected.checksum
new file mode 100644
index 0000000..90b7b96
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100303-c412-blockw-00-d-ag-expected.checksum
@@ -0,0 +1 @@
+7f96ec445e856f69311f7e26a14f9939
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100303-c412-blockw-00-d-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t100303-c412-blockw-00-d-ag-expected.png
new file mode 100644
index 0000000..7b1dd62
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100303-c412-blockw-00-d-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100303-c412-blockw-00-d-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t100303-c412-blockw-00-d-ag-expected.txt
new file mode 100644
index 0000000..7e571d1
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100303-c412-blockw-00-d-ag-expected.txt
@@ -0,0 +1,72 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x311
+  RenderBlock {HTML} at (0,0) size 800x311
+    RenderBody {BODY} at (8,16) size 784x285
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 341x19
+          text run at (0,0) width 341: "There should be no red below, just two green squares."
+      RenderBlock {DIV} at (10,35) size 120x120 [color=#008000] [bgcolor=#FF0000] [border: (10px solid #008000)]
+        RenderBlock {P} at (20,10) size 90x10
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {DIV} at (20,20) size 90x10
+          RenderBlock {P} at (10,0) size 80x10
+            RenderText {#text} at (0,0) size 10x10
+              text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,30) size 50x10
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (35,40) size 50x10
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (60,50) size 50x10
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,60) size 100x10
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,70) size 100x10
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,80) size 100x10
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,90) size 50x10
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,100) size 100x10
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+      RenderBlock {DIV} at (10,165) size 120x120 [color=#008000] [bgcolor=#FF0000] [border: (10px solid #008000)]
+        RenderBlock {P} at (20,10) size 90x10 [bgcolor=#008000]
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {DIV} at (20,20) size 90x10
+          RenderBlock {P} at (10,0) size 80x10 [bgcolor=#008000]
+            RenderText {#text} at (0,0) size 10x10
+              text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,30) size 50x10 [bgcolor=#008000]
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (35,40) size 50x10 [bgcolor=#008000]
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (60,50) size 50x10 [bgcolor=#008000]
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,60) size 100x10 [bgcolor=#008000]
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,70) size 100x10 [bgcolor=#008000]
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,80) size 100x10 [bgcolor=#008000]
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,90) size 50x10 [bgcolor=#008000]
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
+        RenderBlock {P} at (10,100) size 100x10 [bgcolor=#008000]
+          RenderText {#text} at (0,0) size 10x10
+            text run at (0,0) width 10: "X"
diff --git a/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.checksum
new file mode 100644
index 0000000..28022e5
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.checksum
@@ -0,0 +1 @@
+d96ffa600096f5180638764a822f4a7c
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.png b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.png
new file mode 100644
index 0000000..e899f48
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.txt b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.txt
new file mode 100644
index 0000000..336a0d3
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.txt
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x459
+  RenderBlock {HTML} at (0,0) size 800x459
+    RenderBody {BODY} at (8,16) size 784x427
+      RenderBlock {P} at (0,0) size 784x19 [color=#000080]
+        RenderText {#text} at (0,0) size 616x19
+          text run at (0,0) width 396: "Below this paragraph there should be a big teal square half the "
+          text run at (396,0) width 220: "width of the window and centered."
+      RenderBlock {P} at (0,35) size 784x392 [color=#000080]
+        RenderImage {IMG} at (196,0) size 392x392
diff --git a/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.checksum
new file mode 100644
index 0000000..1783a8d
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.checksum
@@ -0,0 +1 @@
+99c46f7d5341f901d498ad30b4f5beb7
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png
new file mode 100644
index 0000000..d8d9a56
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt
new file mode 100644
index 0000000..c7bad25
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt
@@ -0,0 +1,12 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x478
+  RenderBlock {HTML} at (0,0) size 800x478
+    RenderBody {BODY} at (8,16) size 784x446
+      RenderBlock {P} at (0,0) size 784x38 [color=#000080]
+        RenderText {#text} at (0,0) size 769x38
+          text run at (0,0) width 396: "Below this paragraph there should be a big teal square half the "
+          text run at (396,0) width 373: "width of the window, aligned flush with the right hand side"
+          text run at (0,19) width 27: "(\x{21E8})."
+      RenderBlock {P} at (0,54) size 784x392 [color=#000080]
+        RenderImage {IMG} at (392,0) size 392x392
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c42-ibx-ht-00-d-a-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c42-ibx-ht-00-d-a-expected.checksum
new file mode 100644
index 0000000..bbc82cd
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c42-ibx-ht-00-d-a-expected.checksum
@@ -0,0 +1 @@
+a8ca15fde75e25646373187e11ac9964
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c42-ibx-ht-00-d-a-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c42-ibx-ht-00-d-a-expected.png
new file mode 100644
index 0000000..e7cfef3
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c42-ibx-ht-00-d-a-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt
new file mode 100644
index 0000000..f93effd
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt
@@ -0,0 +1,29 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x119
+  RenderBlock {HTML} at (0,0) size 800x119
+    RenderBody {BODY} at (8,16) size 784x95
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 358x19
+          text run at (0,0) width 358: "There should be no red below, only green lines and dots."
+      RenderBlock {DIV} at (0,35) size 200x60 [color=#008000]
+        RenderText {#text} at (0,1) size 40x10
+          text run at (0,1) width 40: "z z "
+        RenderInline {EM} at (0,0) size 190x22 [color=#FF0000]
+          RenderText {#text} at (40,1) size 190x22
+            text run at (40,1) width 150: "x x x x x x x x"
+            text run at (0,13) width 40: "x x "
+        RenderText {#text} at (0,0) size 0x0
+        RenderInline {SPAN} at (0,0) size 190x58 [border: (10px solid #00FF00)]
+          RenderText {#text} at (0,0) size 0x0
+          RenderInline {EM} at (0,0) size 190x22 [color=#FF0000]
+            RenderText {#text} at (60,13) size 190x22
+              text run at (60,13) width 130: "x x x x x x x"
+              text run at (0,25) width 60: "x x x "
+              text run at (60,25) width 60: "x x x "
+          RenderText {#text} at (120,25) size 190x22
+            text run at (120,25) width 70: "y y y y"
+            text run at (0,37) width 100: "y y y y y "
+        RenderText {#text} at (120,37) size 190x22
+          text run at (120,37) width 70: "y y y y"
+          text run at (0,49) width 190: "y y y y y y z z z z"
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-00-a-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-00-a-ag-expected.checksum
new file mode 100644
index 0000000..ae7b9a4
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-00-a-ag-expected.checksum
@@ -0,0 +1 @@
+0fbb442064a13b90048822d2fa802033
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-00-a-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-00-a-ag-expected.png
new file mode 100644
index 0000000..60f5def
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-00-a-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-00-a-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-00-a-ag-expected.txt
new file mode 100644
index 0000000..4920e9c
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-00-a-ag-expected.txt
@@ -0,0 +1,21 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x256
+  RenderBlock {HTML} at (0,0) size 800x256
+    RenderBody {BODY} at (8,16) size 784x190
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 755x38
+          text run at (0,0) width 755: "There should be four identical white boxes in the teal block below, all the same size, each one a little lower down on the"
+          text run at (0,19) width 134: "line, in a step pattern."
+      RenderBlock {DIV} at (50,88) size 684x102 [color=#FFFFFF] [bgcolor=#008080]
+        RenderInline {SPAN} at (0,0) size 50x50
+          RenderText {#text} at (12,12) size 50x50
+            text run at (12,12) width 50: "X"
+        RenderText {#text} at (62,29) size 50x50
+          text run at (62,29) width 50: " "
+        RenderImage {IMG} at (112,19) size 50x50
+        RenderText {#text} at (162,29) size 150x50
+          text run at (162,29) width 150: " X "
+        RenderInline {SPAN} at (0,0) size 50x50
+          RenderText {#text} at (312,40) size 50x50
+            text run at (312,40) width 50: "X"
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-01-d-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-01-d-ag-expected.checksum
new file mode 100644
index 0000000..5e83457
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-01-d-ag-expected.checksum
@@ -0,0 +1 @@
+3ae0e2561dadcc24357ae9e63103a2ea
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-01-d-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-01-d-ag-expected.png
new file mode 100644
index 0000000..776eb35
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-01-d-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-01-d-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-01-d-ag-expected.txt
new file mode 100644
index 0000000..03aaaa4
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-01-d-ag-expected.txt
@@ -0,0 +1,59 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x299
+  RenderBlock {HTML} at (0,0) size 800x299
+    RenderBody {BODY} at (8,16) size 784x275
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 314x19
+          text run at (0,0) width 314: "There should be a green block with no red below."
+      RenderBlock {DIV} at (15,35) size 90x240 [color=#008000] [bgcolor=#FF0000]
+        RenderBlock {DIV} at (0,0) size 90x33
+          RenderImage {IMG} at (0,0) size 30x30
+          RenderInline {SPAN} at (0,0) size 15x15
+            RenderText {#text} at (30,0) size 15x15
+              text run at (30,0) width 15: "X"
+          RenderText {#text} at (45,18) size 15x15
+            text run at (45,18) width 15: "X"
+        RenderBlock {DIV} at (0,33) size 90x36
+          RenderImage {IMG} at (0,0) size 30x30
+          RenderInline {SPAN} at (0,0) size 45x30
+            RenderInline {SPAN} at (0,0) size 15x15
+              RenderText {#text} at (30,6) size 15x15
+                text run at (30,6) width 15: "X"
+            RenderText {#text} at (45,6) size 30x30
+              text run at (45,6) width 30: "X"
+        RenderBlock {DIV} at (0,69) size 90x30
+          RenderImage {IMG} at (0,0) size 30x30
+          RenderText {#text} at (30,10) size 15x15
+            text run at (30,10) width 15: "X"
+        RenderBlock {DIV} at (0,99) size 90x36
+          RenderImage {IMG} at (0,0) size 30x30
+          RenderInline {SPAN} at (0,0) size 45x30
+            RenderInline {SPAN} at (0,0) size 15x15
+              RenderText {#text} at (30,21) size 15x15
+                text run at (30,21) width 15: "X"
+            RenderText {#text} at (45,6) size 30x30
+              text run at (45,6) width 30: "X"
+        RenderBlock {DIV} at (0,135) size 90x36
+          RenderImage {IMG} at (0,0) size 30x30
+          RenderInline {SPAN} at (0,0) size 45x30
+            RenderInline {SPAN} at (0,0) size 15x15
+              RenderText {#text} at (30,21) size 15x15
+                text run at (30,21) width 15: "X"
+            RenderText {#text} at (45,6) size 30x30
+              text run at (45,6) width 30: "X"
+        RenderBlock {DIV} at (0,171) size 90x36
+          RenderImage {IMG} at (0,0) size 30x30
+          RenderInline {SPAN} at (0,0) size 45x30
+            RenderInline {SPAN} at (0,0) size 15x15
+              RenderText {#text} at (30,18) size 15x15
+                text run at (30,18) width 15: "X"
+            RenderText {#text} at (45,6) size 30x30
+              text run at (45,6) width 30: "X"
+        RenderBlock {DIV} at (0,207) size 90x33
+          RenderImage {IMG} at (0,0) size 30x30
+          RenderInline {SPAN} at (0,0) size 15x15
+            RenderText {#text} at (30,8) size 15x15
+              text run at (30,8) width 15: "X"
+          RenderText {#text} at (45,18) size 15x15
+            text run at (45,18) width 15: "X"
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-02-d-agi-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-02-d-agi-expected.checksum
new file mode 100644
index 0000000..7af39bb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-02-d-agi-expected.checksum
@@ -0,0 +1 @@
+dd1c4f38c97a640ba1793ea199e5290e
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-02-d-agi-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-02-d-agi-expected.png
new file mode 100644
index 0000000..39a39ed
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-02-d-agi-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-02-d-agi-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-02-d-agi-expected.txt
new file mode 100644
index 0000000..219b53a
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-02-d-agi-expected.txt
@@ -0,0 +1,85 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x358
+  RenderBlock {HTML} at (0,0) size 800x358
+    RenderBody {BODY} at (8,16) size 784x327
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 727x38
+          text run at (0,0) width 387: "Change your window size. However the lines wrap, the blue "
+          text run at (387,0) width 340: "rectanglues should always have their tops on the same"
+          text run at (0,19) width 83: "alignment as "
+          text run at (83,19) width 204: "other blue rectangles on the line."
+      RenderBlock {P} at (15,54) size 754x273 [color=#0000FF] [bgcolor=#FFFFFF] [border: (1px solid #C0C0C0)]
+        RenderText {#text} at (8,27) size 60x15
+          text run at (8,27) width 60: "xxx "
+        RenderImage {IMG} at (68,27) size 30x30
+        RenderText {#text} at (98,27) size 15x15
+          text run at (98,27) width 15: " "
+        RenderInline {SPAN} at (0,0) size 114x39 [color=#C0C0C0]
+          RenderText {#text} at (113,8) size 114x39
+            text run at (113,8) width 114: "xxx"
+        RenderText {#text} at (227,27) size 15x15
+          text run at (227,27) width 15: " "
+        RenderImage {IMG} at (242,27) size 50x50
+        RenderText {#text} at (292,27) size 15x15
+          text run at (292,27) width 15: " "
+        RenderInline {BIG} at (0,0) size 60x20 [color=#C0C0C0]
+          RenderText {#text} at (307,23) size 60x20
+            text run at (307,23) width 60: "xxx"
+        RenderText {#text} at (367,27) size 15x15
+          text run at (367,27) width 15: " "
+        RenderImage {IMG} at (382,27) size 10x10
+        RenderText {#text} at (392,27) size 15x15
+          text run at (392,27) width 15: " "
+        RenderInline {SMALL} at (0,0) size 30x10 [color=#C0C0C0]
+          RenderText {#text} at (407,31) size 30x10
+            text run at (407,31) width 30: "xxx"
+        RenderText {#text} at (437,27) size 15x15
+          text run at (437,27) width 15: " "
+        RenderImage {IMG} at (452,27) size 20x20
+        RenderText {#text} at (472,27) size 75x15
+          text run at (472,27) width 15: " "
+          text run at (487,27) width 60: "xxx "
+        RenderImage {IMG} at (547,27) size 65x65
+        RenderText {#text} at (612,27) size 15x15
+          text run at (612,27) width 15: " "
+        RenderInline {SPAN} at (0,0) size 90x30 [color=#C0C0C0]
+          RenderText {#text} at (627,15) size 90x30
+            text run at (627,15) width 90: "xxx"
+        RenderText {#text} at (0,0) size 0x0
+        RenderImage {IMG} at (8,125) size 35x35
+        RenderText {#text} at (43,125) size 75x15
+          text run at (43,125) width 15: " "
+          text run at (58,125) width 60: "xxx "
+        RenderImage {IMG} at (118,125) size 30x30
+        RenderText {#text} at (148,125) size 15x15
+          text run at (148,125) width 15: " "
+        RenderInline {SPAN} at (0,0) size 352x24 [color=#C0C0C0]
+          RenderText {#text} at (163,118) size 92x24
+            text run at (163,118) width 92: "xxx "
+          RenderInline {SPAN} at (0,0) size 168x57
+            RenderText {#text} at (255,92) size 168x57
+              text run at (255,92) width 168: "xxx"
+          RenderText {#text} at (423,118) size 92x24
+            text run at (423,118) width 92: " xxx"
+        RenderText {#text} at (515,125) size 15x15
+          text run at (515,125) width 15: " "
+        RenderImage {IMG} at (530,125) size 50x50
+        RenderText {#text} at (580,125) size 15x15
+          text run at (580,125) width 15: " "
+        RenderInline {SMALL} at (0,0) size 30x10 [color=#C0C0C0]
+          RenderText {#text} at (595,129) size 30x10
+            text run at (595,129) width 30: "xxx"
+        RenderText {#text} at (625,125) size 15x15
+          text run at (625,125) width 15: " "
+        RenderImage {IMG} at (640,125) size 15x15
+        RenderText {#text} at (655,125) size 15x15
+          text run at (655,125) width 15: " "
+        RenderInline {BIG} at (0,0) size 60x20 [color=#C0C0C0]
+          RenderText {#text} at (670,121) size 60x20
+            text run at (670,121) width 60: "xxx"
+        RenderText {#text} at (0,0) size 0x0
+        RenderImage {IMG} at (8,175) size 90x90
+        RenderText {#text} at (98,175) size 60x15
+          text run at (98,175) width 15: " "
+          text run at (113,175) width 45: "xxx"
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-03-d-agi-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-03-d-agi-expected.checksum
new file mode 100644
index 0000000..88b2ed4
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-03-d-agi-expected.checksum
@@ -0,0 +1 @@
+14ced3cbf0886252c6a911527ac21de0
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-03-d-agi-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-03-d-agi-expected.png
new file mode 100644
index 0000000..ee87194
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-03-d-agi-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-03-d-agi-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-03-d-agi-expected.txt
new file mode 100644
index 0000000..31b88ba
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-03-d-agi-expected.txt
@@ -0,0 +1,81 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x319
+  RenderBlock {HTML} at (0,0) size 800x319
+    RenderBody {BODY} at (8,16) size 784x288
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 750x38
+          text run at (0,0) width 387: "Change your window size. However the lines wrap, the blue "
+          text run at (387,0) width 363: "rectanglues should always have their middles on the same"
+          text run at (0,19) width 83: "alignment as "
+          text run at (83,19) width 204: "other blue rectangles on the line."
+      RenderBlock {P} at (15,54) size 754x234 [color=#0000FF] [bgcolor=#FFFFFF] [border: (1px solid #C0C0C0)]
+        RenderText {#text} at (8,35) size 60x15
+          text run at (8,35) width 60: "\x{C9}\x{C9}\x{C9} "
+        RenderImage {IMG} at (68,25) size 30x30
+        RenderText {#text} at (98,35) size 15x15
+          text run at (98,35) width 15: " "
+        RenderInline {SPAN} at (0,0) size 114x39 [color=#C0C0C0]
+          RenderText {#text} at (113,16) size 114x39
+            text run at (113,16) width 114: "xxx"
+        RenderText {#text} at (227,35) size 15x15
+          text run at (227,35) width 15: " "
+        RenderImage {IMG} at (242,15) size 50x50
+        RenderText {#text} at (292,35) size 75x15
+          text run at (292,35) width 15: " "
+          text run at (307,35) width 60: "\x{C9}\x{C9}\x{C9} "
+        RenderImage {IMG} at (367,35) size 10x10
+        RenderText {#text} at (377,35) size 15x15
+          text run at (377,35) width 15: " "
+        RenderInline {SMALL} at (0,0) size 30x10 [color=#C0C0C0]
+          RenderText {#text} at (392,39) size 30x10
+            text run at (392,39) width 30: "xxx"
+        RenderText {#text} at (422,35) size 15x15
+          text run at (422,35) width 15: " "
+        RenderImage {IMG} at (437,30) size 20x20
+        RenderText {#text} at (457,35) size 75x15
+          text run at (457,35) width 15: " "
+          text run at (472,35) width 60: "\x{C9}\x{C9}\x{C9} "
+        RenderImage {IMG} at (532,8) size 65x65
+        RenderText {#text} at (597,35) size 75x15
+          text run at (597,35) width 15: " "
+          text run at (612,35) width 60: "\x{C9}\x{C9}\x{C9} "
+        RenderImage {IMG} at (672,23) size 35x35
+        RenderText {#text} at (0,0) size 0x0
+        RenderInline {SPAN} at (0,0) size 90x30 [color=#C0C0C0]
+          RenderText {#text} at (8,94) size 90x30
+            text run at (8,94) width 90: "xxx"
+        RenderText {#text} at (98,106) size 15x15
+          text run at (98,106) width 15: " "
+        RenderImage {IMG} at (113,86) size 50x50
+        RenderText {#text} at (163,106) size 15x15
+          text run at (163,106) width 15: " "
+        RenderInline {SPAN} at (0,0) size 352x24 [color=#C0C0C0]
+          RenderText {#text} at (178,99) size 92x24
+            text run at (178,99) width 92: "xxx "
+          RenderInline {SPAN} at (0,0) size 168x57
+            RenderText {#text} at (270,73) size 168x57
+              text run at (270,73) width 168: "xxx"
+          RenderText {#text} at (438,99) size 92x24
+            text run at (438,99) width 92: " xxx"
+        RenderText {#text} at (530,106) size 15x15
+          text run at (530,106) width 15: " "
+        RenderImage {IMG} at (545,86) size 50x50
+        RenderText {#text} at (595,106) size 15x15
+          text run at (595,106) width 15: " "
+        RenderInline {SMALL} at (0,0) size 30x10 [color=#C0C0C0]
+          RenderText {#text} at (610,110) size 30x10
+            text run at (610,110) width 30: "xxx"
+        RenderText {#text} at (640,106) size 15x15
+          text run at (640,106) width 15: " "
+        RenderImage {IMG} at (655,104) size 15x15
+        RenderText {#text} at (670,106) size 15x15
+          text run at (670,106) width 15: " "
+        RenderInline {BIG} at (0,0) size 60x20 [color=#C0C0C0]
+          RenderText {#text} at (685,102) size 60x20
+            text run at (685,102) width 60: "xxx"
+        RenderText {#text} at (0,0) size 0x0
+        RenderImage {IMG} at (8,136) size 90x90
+        RenderText {#text} at (98,176) size 60x15
+          text run at (98,176) width 15: " "
+          text run at (113,176) width 45: "\x{C9}\x{C9}\x{C9}"
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-04-d-agi-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-04-d-agi-expected.checksum
new file mode 100644
index 0000000..4aa8a44
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-04-d-agi-expected.checksum
@@ -0,0 +1 @@
+15483835ad412f7bb60dd41c6544e7e6
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-04-d-agi-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-04-d-agi-expected.png
new file mode 100644
index 0000000..f7f6ba5
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-04-d-agi-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-04-d-agi-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-04-d-agi-expected.txt
new file mode 100644
index 0000000..bb4e913
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c544-valgn-04-d-agi-expected.txt
@@ -0,0 +1,90 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x256
+  RenderBlock {HTML} at (0,0) size 800x256
+    RenderBody {BODY} at (8,16) size 784x225
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 727x38
+          text run at (0,0) width 387: "Change your window size. However the lines wrap, the blue "
+          text run at (387,0) width 340: "rectanglues should always have their tops on the same"
+          text run at (0,19) width 83: "alignment as "
+          text run at (83,19) width 204: "other blue rectangles on the line."
+      RenderBlock {P} at (15,54) size 754x171 [color=#0000FF] [bgcolor=#FFFFFF] [border: (1px solid #C0C0C0)]
+        RenderInline {SPAN} at (0,0) size 45x15
+          RenderText {#text} at (8,8) size 45x15
+            text run at (8,8) width 45: "xxx"
+        RenderText {#text} at (53,8) size 15x15
+          text run at (53,8) width 15: " "
+        RenderImage {IMG} at (68,8) size 10x10
+        RenderText {#text} at (78,8) size 15x15
+          text run at (78,8) width 15: " "
+        RenderInline {SPAN} at (0,0) size 114x39
+          RenderText {#text} at (93,8) size 114x39
+            text run at (93,8) width 114: "xxx"
+        RenderText {#text} at (207,8) size 15x15
+          text run at (207,8) width 15: " "
+        RenderImage {IMG} at (222,8) size 10x10
+        RenderText {#text} at (232,8) size 15x15
+          text run at (232,8) width 15: " "
+        RenderInline {SPAN} at (0,0) size 45x15
+          RenderText {#text} at (247,8) size 45x15
+            text run at (247,8) width 45: "xxx"
+        RenderText {#text} at (292,8) size 15x15
+          text run at (292,8) width 15: " "
+        RenderImage {IMG} at (307,8) size 10x10
+        RenderText {#text} at (317,8) size 15x15
+          text run at (317,8) width 15: " "
+        RenderInline {SPAN} at (0,0) size 45x15
+          RenderText {#text} at (332,8) size 45x15
+            text run at (332,8) width 45: "xxx"
+        RenderText {#text} at (377,8) size 15x15
+          text run at (377,8) width 15: " "
+        RenderImage {IMG} at (392,8) size 10x10
+        RenderText {#text} at (402,8) size 15x15
+          text run at (402,8) width 15: " "
+        RenderInline {BIG} at (0,0) size 60x20
+          RenderText {#text} at (417,8) size 60x20
+            text run at (417,8) width 60: "xxx"
+        RenderText {#text} at (477,8) size 15x15
+          text run at (477,8) width 15: " "
+        RenderImage {IMG} at (492,8) size 20x20
+        RenderText {#text} at (512,8) size 15x15
+          text run at (512,8) width 15: " "
+        RenderInline {SPAN} at (0,0) size 45x15
+          RenderText {#text} at (527,8) size 45x15
+            text run at (527,8) width 45: "xxx"
+        RenderText {#text} at (572,8) size 15x15
+          text run at (572,8) width 15: " "
+        RenderImage {IMG} at (587,8) size 65x65
+        RenderText {#text} at (652,8) size 15x15
+          text run at (652,8) width 15: " "
+        RenderInline {SPAN} at (0,0) size 45x15
+          RenderText {#text} at (667,8) size 45x15
+            text run at (667,8) width 45: "xxx"
+        RenderText {#text} at (0,0) size 0x0
+        RenderImage {IMG} at (8,73) size 35x35
+        RenderText {#text} at (43,73) size 15x15
+          text run at (43,73) width 15: " "
+        RenderInline {SPAN} at (0,0) size 90x30
+          RenderText {#text} at (58,73) size 90x30
+            text run at (58,73) width 90: "xxx"
+        RenderText {#text} at (148,73) size 15x15
+          text run at (148,73) width 15: " "
+        RenderImage {IMG} at (163,73) size 50x50
+        RenderText {#text} at (213,73) size 15x15
+          text run at (213,73) width 15: " "
+        RenderInline {SPAN} at (0,0) size 45x15
+          RenderText {#text} at (228,73) size 45x15
+            text run at (228,73) width 45: "xxx"
+        RenderText {#text} at (273,73) size 15x15
+          text run at (273,73) width 15: " "
+        RenderImage {IMG} at (288,73) size 15x15
+        RenderText {#text} at (303,73) size 15x15
+          text run at (303,73) width 15: " "
+        RenderInline {BIG} at (0,0) size 60x20
+          RenderText {#text} at (318,73) size 60x20
+            text run at (318,73) width 60: "xxx"
+        RenderText {#text} at (378,73) size 15x15
+          text run at (378,73) width 15: " "
+        RenderImage {IMG} at (393,73) size 90x90
+        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-leadin-00-d-a-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c548-leadin-00-d-a-expected.checksum
new file mode 100644
index 0000000..f17befe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-leadin-00-d-a-expected.checksum
@@ -0,0 +1 @@
+8814033c7abe219d7744845a6b862a2a
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-leadin-00-d-a-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c548-leadin-00-d-a-expected.png
new file mode 100644
index 0000000..60ea3ad
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c548-leadin-00-d-a-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-leadin-00-d-a-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c548-leadin-00-d-a-expected.txt
new file mode 100644
index 0000000..b302046
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-leadin-00-d-a-expected.txt
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x165
+  RenderBlock {HTML} at (0,0) size 800x165
+    RenderBody {BODY} at (8,16) size 784x141
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 459x19
+          text run at (0,0) width 459: "There should be stripes of dark green and light green below, with no red."
+      RenderBlock {DIV} at (0,35) size 81x106 [color=#00FF00] [bgcolor=#008000] [border: (3px solid #000000)]
+        RenderInline {SPAN} at (0,0) size 75x75 [bgcolor=#FF0000]
+          RenderText {#text} at (3,15) size 75x75
+            text run at (3,15) width 75: "xxx"
+            text run at (3,65) width 75: "xxx"
+        RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-00-c-a-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-00-c-a-expected.checksum
new file mode 100644
index 0000000..08167b8
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-00-c-a-expected.checksum
@@ -0,0 +1 @@
+92b3d12f40e06fe08be495c11d52307e
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-00-c-a-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-00-c-a-expected.png
new file mode 100644
index 0000000..b11b4c0
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-00-c-a-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-00-c-a-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-00-c-a-expected.txt
new file mode 100644
index 0000000..1d370e9
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-00-c-a-expected.txt
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x327
+  RenderBlock {HTML} at (0,0) size 800x327
+    RenderBody {BODY} at (8,16) size 784x299
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 267x19
+          text run at (0,0) width 267: "The two blocks below should be identical:"
+      RenderBlock {DIV} at (12,35) size 126x126 [color=#00FFFF] [bgcolor=#008080] [border: (3px solid #000080)]
+        RenderText {#text} at (27,26) size 72x73
+          text run at (27,26) width 72: "X X"
+          text run at (27,74) width 72: "X X"
+      RenderBlock {PRE} at (12,173) size 126x126 [color=#00FFFF] [bgcolor=#008080] [border: (3px solid #000080)]
+        RenderText {#text} at (3,3) size 120x121
+          text run at (3,3) width 120: "     "
+          text run at (123,3) width 0: " "
+          text run at (3,27) width 120: " X X "
+          text run at (123,27) width 0: " "
+          text run at (3,51) width 120: "     "
+          text run at (123,51) width 0: " "
+          text run at (3,75) width 120: " X X "
+          text run at (123,75) width 0: " "
+          text run at (3,99) width 120: "     "
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-01-b-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-01-b-ag-expected.checksum
new file mode 100644
index 0000000..71c0a61
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-01-b-ag-expected.checksum
@@ -0,0 +1 @@
+eb6118d9cd47d4bfd98dde914fefd4c2
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-01-b-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-01-b-ag-expected.png
new file mode 100644
index 0000000..8aa193e
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-01-b-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-01-b-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-01-b-ag-expected.txt
new file mode 100644
index 0000000..fb7d165
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-01-b-ag-expected.txt
@@ -0,0 +1,33 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x347
+  RenderBlock {HTML} at (0,0) size 800x347
+    RenderBody {BODY} at (8,8) size 784x331
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 504x19
+          text run at (0,0) width 504: "There should be a big pattern of green and lime dots below, with no red present."
+      RenderBlock {DIV} at (6,25) size 66x306 [color=#00FF00] [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock {P} at (15,9) size 48x48
+          RenderText {#text} at (0,5) size 36x37
+            text run at (0,5) width 36: "X X"
+            text run at (0,29) width 36: "X X"
+        RenderBlock {P} at (15,57) size 48x48
+          RenderText {#text} at (0,5) size 36x37
+            text run at (0,5) width 36: "X X"
+            text run at (0,29) width 36: "X X"
+        RenderBlock {P} at (15,105) size 48x48
+          RenderText {#text} at (0,5) size 36x37
+            text run at (0,5) width 36: "X X"
+            text run at (0,29) width 36: "X X"
+        RenderBlock {P} at (15,153) size 48x48
+          RenderText {#text} at (0,5) size 36x37
+            text run at (0,5) width 36: "X X"
+            text run at (0,29) width 36: "X X"
+        RenderBlock {P} at (15,201) size 48x48
+          RenderText {#text} at (0,5) size 36x37
+            text run at (0,5) width 36: "X X"
+            text run at (0,29) width 36: "X X"
+        RenderBlock {P} at (15,249) size 48x48
+          RenderText {#text} at (0,5) size 36x37
+            text run at (0,5) width 36: "X X"
+            text run at (0,29) width 36: "X X"
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-02-b-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-02-b-ag-expected.checksum
new file mode 100644
index 0000000..9ad3f43
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-02-b-ag-expected.checksum
@@ -0,0 +1 @@
+849d161817193888e34b1d2a133360b7
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-02-b-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-02-b-ag-expected.png
new file mode 100644
index 0000000..8ec0a83
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-02-b-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-02-b-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-02-b-ag-expected.txt
new file mode 100644
index 0000000..986512f
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-02-b-ag-expected.txt
@@ -0,0 +1,29 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x315
+  RenderBlock {HTML} at (0,0) size 800x315
+    RenderBody {BODY} at (8,8) size 784x299
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 504x19
+          text run at (0,0) width 504: "There should be a big pattern of green and lime dots below, with no red present."
+      RenderBlock {DIV} at (6,25) size 66x274 [color=#00FF00] [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock {P} at (15,9) size 48x48
+          RenderText {#text} at (0,5) size 36x37
+            text run at (0,5) width 36: "X X"
+            text run at (0,29) width 36: "X X"
+        RenderBlock {P} at (15,57) size 48x48
+          RenderText {#text} at (0,5) size 36x37
+            text run at (0,5) width 36: "X X"
+            text run at (0,29) width 36: "X X"
+        RenderBlock {P} at (15,105) size 48x48
+          RenderText {#text} at (0,5) size 36x37
+            text run at (0,5) width 36: "X X"
+            text run at (0,29) width 36: "X X"
+        RenderBlock {P} at (15,153) size 48x48
+          RenderText {#text} at (0,5) size 36x37
+            text run at (0,5) width 36: "X X"
+            text run at (0,29) width 36: "X X"
+        RenderBlock {P} at (15,201) size 48x64
+          RenderText {#text} at (0,9) size 36x45
+            text run at (0,9) width 36: "X X"
+            text run at (0,41) width 36: "X X"
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-03-d-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-03-d-ag-expected.checksum
new file mode 100644
index 0000000..f1645a8
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-03-d-ag-expected.checksum
@@ -0,0 +1 @@
+c10cfb5c723e00b3f2ea06e8345281ee
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-03-d-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-03-d-ag-expected.png
new file mode 100644
index 0000000..69ba4b2
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-03-d-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-03-d-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-03-d-ag-expected.txt
new file mode 100644
index 0000000..7cffc77
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-03-d-ag-expected.txt
@@ -0,0 +1,21 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x313
+  RenderBlock {HTML} at (0,0) size 800x313
+    RenderBody {BODY} at (8,8) size 784x285
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "There should be no red below:"
+      RenderBlock {DIV} at (20,39) size 86x246 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock (anonymous) at (3,3) size 80x80
+          RenderText {#text} at (0,10) size 60x60
+            text run at (0,10) width 60: "x x"
+            text run at (0,50) width 60: "x x"
+        RenderBlock {P} at (3,83) size 80x80
+          RenderText {#text} at (0,0) size 40x80
+            text run at (0,0) width 40: "x"
+            text run at (0,40) width 40: "x"
+        RenderBlock (anonymous) at (3,163) size 80x80
+          RenderText {#text} at (0,10) size 60x60
+            text run at (0,10) width 60: "x x"
+            text run at (0,50) width 60: "x x"
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-04-d-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-04-d-ag-expected.checksum
new file mode 100644
index 0000000..ab4b896
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-04-d-ag-expected.checksum
@@ -0,0 +1 @@
+2ab3aa83f1af334f6b921b25f8d7e934
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-04-d-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-04-d-ag-expected.png
new file mode 100644
index 0000000..fe33b7f
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-04-d-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-04-d-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-04-d-ag-expected.txt
new file mode 100644
index 0000000..320b281
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t100801-c548-ln-ht-04-d-ag-expected.txt
@@ -0,0 +1,21 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x393
+  RenderBlock {HTML} at (0,0) size 800x393
+    RenderBody {BODY} at (8,8) size 784x365
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "There should be no red below:"
+      RenderBlock {DIV} at (20,39) size 86x326 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock (anonymous) at (3,3) size 80x80
+          RenderText {#text} at (0,10) size 60x60
+            text run at (0,10) width 60: "x x"
+            text run at (0,50) width 60: "x x"
+        RenderBlock {P} at (3,83) size 80x160
+          RenderText {#text} at (0,20) size 40x120
+            text run at (0,20) width 40: "x"
+            text run at (0,100) width 40: "x"
+        RenderBlock (anonymous) at (3,243) size 80x80
+          RenderText {#text} at (0,10) size 60x60
+            text run at (0,10) width 60: "x x"
+            text run at (0,50) width 60: "x x"
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-00-b-expected.checksum b/LayoutTests/platform/gtk/css2.1/t120401-scope-00-b-expected.checksum
new file mode 100644
index 0000000..0c14df4
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120401-scope-00-b-expected.checksum
@@ -0,0 +1 @@
+bf99e1c1616f96aae57780b0eca64180
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-00-b-expected.png b/LayoutTests/platform/gtk/css2.1/t120401-scope-00-b-expected.png
new file mode 100644
index 0000000..b1eb76c
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t120401-scope-00-b-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-00-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t120401-scope-00-b-expected.txt
new file mode 100644
index 0000000..2b5accb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120401-scope-00-b-expected.txt
@@ -0,0 +1,62 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x97
+  RenderBlock {HTML} at (0,0) size 800x97
+    RenderBody {BODY} at (8,16) size 784x73
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 227x19
+          text run at (0,0) width 227: "The next 2 lines should be identical:"
+      RenderBlock {DIV} at (0,35) size 784x19
+        RenderInline {SPAN} at (0,0) size 40x19
+          RenderInline (generated) at (0,0) size 8x19
+            RenderCounter at (0,0) size 8x19
+              text run at (0,0) width 8: "1"
+          RenderInline {SPAN} at (0,0) size 16x19
+            RenderInline (generated) at (0,0) size 8x19
+              RenderCounter at (8,0) size 8x19
+                text run at (8,0) width 8: "2"
+            RenderInline {SPAN} at (0,0) size 8x19
+              RenderInline (generated) at (0,0) size 8x19
+                RenderCounter at (16,0) size 8x19
+                  text run at (16,0) width 8: "2"
+          RenderInline {SPAN} at (0,0) size 8x19
+            RenderInline (generated) at (0,0) size 8x19
+              RenderCounter at (24,0) size 8x19
+                text run at (24,0) width 8: "1"
+          RenderInline (generated) at (0,0) size 8x19
+            RenderCounter at (32,0) size 8x19
+              text run at (32,0) width 8: "1"
+        RenderInline {SPAN} at (0,0) size 8x19
+          RenderInline (generated) at (0,0) size 8x19
+            RenderCounter at (40,0) size 8x19
+              text run at (40,0) width 8: "1"
+        RenderText {#text} at (48,0) size 4x19
+          text run at (48,0) width 4: " "
+        RenderInline {SPAN} at (0,0) size 40x19
+          RenderInline (generated) at (0,0) size 8x19
+            RenderCounter at (52,0) size 8x19
+              text run at (52,0) width 8: "1"
+          RenderInline {SPAN} at (0,0) size 16x19
+            RenderInline (generated) at (0,0) size 8x19
+              RenderCounter at (60,0) size 8x19
+                text run at (60,0) width 8: "3"
+            RenderInline {SPAN} at (0,0) size 8x19
+              RenderInline (generated) at (0,0) size 8x19
+                RenderCounter at (68,0) size 8x19
+                  text run at (68,0) width 8: "3"
+          RenderInline {SPAN} at (0,0) size 8x19
+            RenderInline (generated) at (0,0) size 8x19
+              RenderCounter at (76,0) size 8x19
+                text run at (76,0) width 8: "3"
+          RenderInline (generated) at (0,0) size 8x19
+            RenderCounter at (84,0) size 8x19
+              text run at (84,0) width 8: "3"
+        RenderInline {SPAN} at (0,0) size 8x19
+          RenderInline (generated) at (0,0) size 8x19
+            RenderCounter at (92,0) size 8x19
+              text run at (92,0) width 8: "1"
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,54) size 784x19
+        RenderText {#text} at (0,0) size 100x19
+          text run at (0,0) width 52: "122111 "
+          text run at (52,0) width 48: "133331"
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-01-c-expected.checksum b/LayoutTests/platform/gtk/css2.1/t120401-scope-01-c-expected.checksum
new file mode 100644
index 0000000..f46293b
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120401-scope-01-c-expected.checksum
@@ -0,0 +1 @@
+73fc395f07008cba6f89920758f4b013
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-01-c-expected.png b/LayoutTests/platform/gtk/css2.1/t120401-scope-01-c-expected.png
new file mode 100644
index 0000000..762d995
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t120401-scope-01-c-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-01-c-expected.txt b/LayoutTests/platform/gtk/css2.1/t120401-scope-01-c-expected.txt
new file mode 100644
index 0000000..5ed3618
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120401-scope-01-c-expected.txt
@@ -0,0 +1,117 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x97
+  RenderBlock {HTML} at (0,0) size 800x97
+    RenderBody {BODY} at (8,16) size 784x73
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 279x19
+          text run at (0,0) width 279: "The following two lines should be the same:"
+      RenderBlock {DIV} at (0,35) size 784x19
+        RenderInline {SPAN} at (0,0) size 491x19
+          RenderInline (generated) at (0,0) size 24x19
+            RenderText at (0,0) size 11x19
+              text run at (0,0) width 11: "B"
+            RenderCounter at (11,0) size 8x19
+              text run at (11,0) width 8: "1"
+            RenderText at (19,0) size 5x19
+              text run at (19,0) width 5: "-"
+          RenderInline {SPAN} at (0,0) size 442x19
+            RenderInline (generated) at (0,0) size 24x19
+              RenderText at (24,0) size 11x19
+                text run at (24,0) width 11: "B"
+              RenderCounter at (35,0) size 8x19
+                text run at (35,0) width 8: "2"
+              RenderText at (43,0) size 5x19
+                text run at (43,0) width 5: "-"
+            RenderInline {SPAN} at (0,0) size 219x19
+              RenderInline (generated) at (0,0) size 36x19
+                RenderText at (48,0) size 11x19
+                  text run at (48,0) width 11: "B"
+                RenderCounter at (59,0) size 20x19
+                  text run at (59,0) width 20: "2.1"
+                RenderText at (79,0) size 5x19
+                  text run at (79,0) width 5: "-"
+              RenderInline {SPAN} at (0,0) size 73x19
+                RenderInline (generated) at (0,0) size 36x19
+                  RenderText at (84,0) size 11x19
+                    text run at (84,0) width 11: "B"
+                  RenderCounter at (95,0) size 20x19
+                    text run at (95,0) width 20: "2.2"
+                  RenderText at (115,0) size 5x19
+                    text run at (115,0) width 5: "-"
+                RenderInline (generated) at (0,0) size 37x19
+                  RenderText at (120,0) size 12x19
+                    text run at (120,0) width 12: "A"
+                  RenderCounter at (132,0) size 20x19
+                    text run at (132,0) width 20: "2.3"
+                  RenderText at (152,0) size 5x19
+                    text run at (152,0) width 5: "-"
+              RenderInline {SPAN} at (0,0) size 73x19
+                RenderInline (generated) at (0,0) size 36x19
+                  RenderText at (157,0) size 11x19
+                    text run at (157,0) width 11: "B"
+                  RenderCounter at (168,0) size 20x19
+                    text run at (168,0) width 20: "2.4"
+                  RenderText at (188,0) size 5x19
+                    text run at (188,0) width 5: "-"
+                RenderInline (generated) at (0,0) size 37x19
+                  RenderText at (193,0) size 12x19
+                    text run at (193,0) width 12: "A"
+                  RenderCounter at (205,0) size 20x19
+                    text run at (205,0) width 20: "2.5"
+                  RenderText at (225,0) size 5x19
+                    text run at (225,0) width 5: "-"
+              RenderInline (generated) at (0,0) size 37x19
+                RenderText at (230,0) size 12x19
+                  text run at (230,0) width 12: "A"
+                RenderCounter at (242,0) size 20x19
+                  text run at (242,0) width 20: "2.6"
+                RenderText at (262,0) size 5x19
+                  text run at (262,0) width 5: "-"
+            RenderInline {SPAN} at (0,0) size 154x19
+              RenderInline (generated) at (0,0) size 36x19
+                RenderText at (267,0) size 11x19
+                  text run at (267,0) width 11: "B"
+                RenderCounter at (278,0) size 20x19
+                  text run at (278,0) width 20: "2.7"
+                RenderText at (298,0) size 5x19
+                  text run at (298,0) width 5: "-"
+              RenderInline {SPAN} at (0,0) size 73x19
+                RenderInline (generated) at (0,0) size 36x19
+                  RenderText at (303,0) size 11x19
+                    text run at (303,0) width 11: "B"
+                  RenderCounter at (314,0) size 20x19
+                    text run at (314,0) width 20: "2.8"
+                  RenderText at (334,0) size 5x19
+                    text run at (334,0) width 5: "-"
+                RenderInline (generated) at (0,0) size 37x19
+                  RenderText at (339,0) size 12x19
+                    text run at (339,0) width 12: "A"
+                  RenderCounter at (351,0) size 20x19
+                    text run at (351,0) width 20: "2.9"
+                  RenderText at (371,0) size 5x19
+                    text run at (371,0) width 5: "-"
+              RenderInline (generated) at (0,0) size 45x19
+                RenderText at (376,0) size 12x19
+                  text run at (376,0) width 12: "A"
+                RenderCounter at (388,0) size 28x19
+                  text run at (388,0) width 28: "2.10"
+                RenderText at (416,0) size 5x19
+                  text run at (416,0) width 5: "-"
+            RenderInline (generated) at (0,0) size 45x19
+              RenderText at (421,0) size 12x19
+                text run at (421,0) width 12: "A"
+              RenderCounter at (433,0) size 28x19
+                text run at (433,0) width 28: "2.11"
+              RenderText at (461,0) size 5x19
+                text run at (461,0) width 5: "-"
+          RenderInline (generated) at (0,0) size 25x19
+            RenderText at (466,0) size 12x19
+              text run at (466,0) width 12: "A"
+            RenderCounter at (478,0) size 8x19
+              text run at (478,0) width 8: "3"
+            RenderText at (486,0) size 5x19
+              text run at (486,0) width 5: "-"
+      RenderBlock {DIV} at (0,54) size 784x19
+        RenderText {#text} at (0,0) size 491x19
+          text run at (0,0) width 491: "B1-B2-B2.1-B2.2-A2.3-B2.4-A2.5-A2.6-B2.7-B2.8-A2.9-A2.10-A2.11-A3-"
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-02-c-expected.checksum b/LayoutTests/platform/gtk/css2.1/t120401-scope-02-c-expected.checksum
new file mode 100644
index 0000000..861e23b
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120401-scope-02-c-expected.checksum
@@ -0,0 +1 @@
+dd5a0efc019c729817b92c88d5c2e436
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-02-c-expected.png b/LayoutTests/platform/gtk/css2.1/t120401-scope-02-c-expected.png
new file mode 100644
index 0000000..2d0bf4c
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t120401-scope-02-c-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-02-c-expected.txt b/LayoutTests/platform/gtk/css2.1/t120401-scope-02-c-expected.txt
new file mode 100644
index 0000000..441e733
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120401-scope-02-c-expected.txt
@@ -0,0 +1,57 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x97
+  RenderBlock {HTML} at (0,0) size 800x97
+    RenderBody {BODY} at (8,16) size 784x73
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 279x19
+          text run at (0,0) width 279: "The following two lines should be the same:"
+      RenderBlock {DIV} at (0,35) size 784x19
+        RenderInline {SPAN} at (0,0) size 195x19
+          RenderInline (generated) at (0,0) size 24x19
+            RenderText at (0,0) size 11x19
+              text run at (0,0) width 11: "B"
+            RenderCounter at (11,0) size 8x19
+              text run at (11,0) width 8: "1"
+            RenderText at (19,0) size 5x19
+              text run at (19,0) width 5: "-"
+          RenderInline {SPAN} at (0,0) size 146x19
+            RenderInline (generated) at (0,0) size 36x19
+              RenderText at (24,0) size 11x19
+                text run at (24,0) width 11: "B"
+              RenderCounter at (35,0) size 20x19
+                text run at (35,0) width 20: "1.1"
+              RenderText at (55,0) size 5x19
+                text run at (55,0) width 5: "-"
+            RenderInline {SPAN} at (0,0) size 73x19
+              RenderInline (generated) at (0,0) size 36x19
+                RenderText at (60,0) size 11x19
+                  text run at (60,0) width 11: "B"
+                RenderCounter at (71,0) size 20x19
+                  text run at (71,0) width 20: "1.2"
+                RenderText at (91,0) size 5x19
+                  text run at (91,0) width 5: "-"
+              RenderInline (generated) at (0,0) size 37x19
+                RenderText at (96,0) size 12x19
+                  text run at (96,0) width 12: "A"
+                RenderCounter at (108,0) size 20x19
+                  text run at (108,0) width 20: "1.3"
+                RenderText at (128,0) size 5x19
+                  text run at (128,0) width 5: "-"
+            RenderInline (generated) at (0,0) size 37x19
+              RenderText at (133,0) size 12x19
+                text run at (133,0) width 12: "A"
+              RenderCounter at (145,0) size 20x19
+                text run at (145,0) width 20: "1.4"
+              RenderText at (165,0) size 5x19
+                text run at (165,0) width 5: "-"
+          RenderInline (generated) at (0,0) size 25x19
+            RenderText at (170,0) size 12x19
+              text run at (170,0) width 12: "A"
+            RenderCounter at (182,0) size 8x19
+              text run at (182,0) width 8: "2"
+            RenderText at (190,0) size 5x19
+              text run at (190,0) width 5: "-"
+      RenderBlock {DIV} at (0,54) size 784x19
+        RenderText {#text} at (0,0) size 195x19
+          text run at (0,0) width 195: "B1-B1.1-B1.2-A1.3-A1.4-A2-"
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-03-c-expected.checksum b/LayoutTests/platform/gtk/css2.1/t120401-scope-03-c-expected.checksum
new file mode 100644
index 0000000..fad5cbf
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120401-scope-03-c-expected.checksum
@@ -0,0 +1 @@
+db00d37a777fe2efb5bbf805910c2015
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-03-c-expected.png b/LayoutTests/platform/gtk/css2.1/t120401-scope-03-c-expected.png
new file mode 100644
index 0000000..6d8a7cf
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t120401-scope-03-c-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-03-c-expected.txt b/LayoutTests/platform/gtk/css2.1/t120401-scope-03-c-expected.txt
new file mode 100644
index 0000000..7c2ffe1
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120401-scope-03-c-expected.txt
@@ -0,0 +1,57 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x97
+  RenderBlock {HTML} at (0,0) size 800x97
+    RenderBody {BODY} at (8,16) size 784x73
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 279x19
+          text run at (0,0) width 279: "The following two lines should be the same:"
+      RenderBlock {DIV} at (0,35) size 784x19
+        RenderInline {SPAN} at (0,0) size 159x19
+          RenderInline (generated) at (0,0) size 24x19
+            RenderText at (0,0) size 11x19
+              text run at (0,0) width 11: "B"
+            RenderCounter at (11,0) size 8x19
+              text run at (11,0) width 8: "1"
+            RenderText at (19,0) size 5x19
+              text run at (19,0) width 5: "-"
+          RenderInline {SPAN} at (0,0) size 110x19
+            RenderInline (generated) at (0,0) size 24x19
+              RenderText at (24,0) size 11x19
+                text run at (24,0) width 11: "B"
+              RenderCounter at (35,0) size 8x19
+                text run at (35,0) width 8: "2"
+              RenderText at (43,0) size 5x19
+                text run at (43,0) width 5: "-"
+            RenderInline {SPAN} at (0,0) size 49x19
+              RenderInline (generated) at (0,0) size 24x19
+                RenderText at (48,0) size 11x19
+                  text run at (48,0) width 11: "B"
+                RenderCounter at (59,0) size 8x19
+                  text run at (59,0) width 8: "3"
+                RenderText at (67,0) size 5x19
+                  text run at (67,0) width 5: "-"
+              RenderInline (generated) at (0,0) size 25x19
+                RenderText at (72,0) size 12x19
+                  text run at (72,0) width 12: "A"
+                RenderCounter at (84,0) size 8x19
+                  text run at (84,0) width 8: "4"
+                RenderText at (92,0) size 5x19
+                  text run at (92,0) width 5: "-"
+            RenderInline (generated) at (0,0) size 37x19
+              RenderText at (97,0) size 12x19
+                text run at (97,0) width 12: "A"
+              RenderCounter at (109,0) size 20x19
+                text run at (109,0) width 20: "4.1"
+              RenderText at (129,0) size 5x19
+                text run at (129,0) width 5: "-"
+          RenderInline (generated) at (0,0) size 25x19
+            RenderText at (134,0) size 12x19
+              text run at (134,0) width 12: "A"
+            RenderCounter at (146,0) size 8x19
+              text run at (146,0) width 8: "5"
+            RenderText at (154,0) size 5x19
+              text run at (154,0) width 5: "-"
+      RenderBlock {DIV} at (0,54) size 784x19
+        RenderText {#text} at (0,0) size 159x19
+          text run at (0,0) width 159: "B1-B2-B3-A4-A4.1-A5-"
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-04-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t120401-scope-04-d-expected.checksum
new file mode 100644
index 0000000..0e72630
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120401-scope-04-d-expected.checksum
@@ -0,0 +1 @@
+eb803ab3c5c2f1c81c01302644de248c
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-04-d-expected.png b/LayoutTests/platform/gtk/css2.1/t120401-scope-04-d-expected.png
new file mode 100644
index 0000000..d69472c
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t120401-scope-04-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t120401-scope-04-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t120401-scope-04-d-expected.txt
new file mode 100644
index 0000000..df1e8e6
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120401-scope-04-d-expected.txt
@@ -0,0 +1,42 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x97
+  RenderBlock {HTML} at (0,0) size 800x97
+    RenderBody {BODY} at (8,16) size 784x73
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 245x19
+          text run at (0,0) width 245: "The next two lines should be the same:"
+      RenderBlock {DIV} at (0,35) size 784x19
+        RenderInline {SPAN} at (0,0) size 0x0
+        RenderInline {SPAN} at (0,0) size 12x19
+          RenderInline (generated) at (0,0) size 12x19
+            RenderCounter at (0,0) size 8x19
+              text run at (0,0) width 8: "1"
+            RenderText at (8,0) size 4x19
+              text run at (8,0) width 4: " "
+        RenderInline {SPAN} at (0,0) size 0x19
+        RenderInline {SPAN} at (0,0) size 12x19
+          RenderInline (generated) at (0,0) size 12x19
+            RenderCounter at (12,0) size 8x19
+              text run at (12,0) width 8: "1"
+            RenderText at (20,0) size 4x19
+              text run at (20,0) width 4: " "
+        RenderInline {SPAN} at (0,0) size 55x19
+          RenderInline (generated) at (0,0) size 11x19
+            RenderText at (24,0) size 11x19
+              text run at (24,0) width 11: "R"
+          RenderInline {SPAN} at (0,0) size 24x19
+            RenderInline (generated) at (0,0) size 24x19
+              RenderCounter at (35,0) size 20x19
+                text run at (35,0) width 20: "1.1"
+              RenderText at (55,0) size 4x19
+                text run at (55,0) width 4: " "
+          RenderInline {SPAN} at (0,0) size 0x19
+          RenderInline {SPAN} at (0,0) size 20x19
+            RenderInline (generated) at (0,0) size 20x19
+              RenderCounter at (59,0) size 20x19
+                text run at (59,0) width 20: "1.1"
+              RenderText at (0,0) size 0x0
+      RenderBlock {DIV} at (0,54) size 784x19
+        RenderText {#text} at (0,0) size 79x19
+          text run at (0,0) width 79: "1 1 R1.1 1.1"
diff --git a/LayoutTests/platform/gtk/css2.1/t120403-content-none-00-c-expected.checksum b/LayoutTests/platform/gtk/css2.1/t120403-content-none-00-c-expected.checksum
new file mode 100644
index 0000000..fa47a2e
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120403-content-none-00-c-expected.checksum
@@ -0,0 +1 @@
+9c106bf2fe01824df4d2f76cf58913ed
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t120403-content-none-00-c-expected.png b/LayoutTests/platform/gtk/css2.1/t120403-content-none-00-c-expected.png
new file mode 100644
index 0000000..77eca04
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t120403-content-none-00-c-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t120403-content-none-00-c-expected.txt b/LayoutTests/platform/gtk/css2.1/t120403-content-none-00-c-expected.txt
new file mode 100644
index 0000000..4cf5d54
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120403-content-none-00-c-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x97
+  RenderBlock {HTML} at (0,0) size 800x97
+    RenderBody {BODY} at (8,16) size 784x73
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 216x19
+          text run at (0,0) width 216: "The following should be identical:"
+      RenderBlock {DIV} at (0,35) size 784x19
+        RenderInline {SPAN} at (0,0) size 0x0
+        RenderInline {SPAN} at (0,0) size 8x19
+          RenderInline (generated) at (0,0) size 8x19
+            RenderCounter at (0,0) size 8x19
+              text run at (0,0) width 8: "0"
+      RenderBlock {DIV} at (0,54) size 784x19
+        RenderText {#text} at (0,0) size 8x19
+          text run at (0,0) width 8: "0"
diff --git a/LayoutTests/platform/gtk/css2.1/t120403-display-none-00-c-expected.checksum b/LayoutTests/platform/gtk/css2.1/t120403-display-none-00-c-expected.checksum
new file mode 100644
index 0000000..fa47a2e
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120403-display-none-00-c-expected.checksum
@@ -0,0 +1 @@
+9c106bf2fe01824df4d2f76cf58913ed
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t120403-display-none-00-c-expected.png b/LayoutTests/platform/gtk/css2.1/t120403-display-none-00-c-expected.png
new file mode 100644
index 0000000..77eca04
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t120403-display-none-00-c-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t120403-display-none-00-c-expected.txt b/LayoutTests/platform/gtk/css2.1/t120403-display-none-00-c-expected.txt
new file mode 100644
index 0000000..afca9d0
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120403-display-none-00-c-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x97
+  RenderBlock {HTML} at (0,0) size 800x97
+    RenderBody {BODY} at (8,16) size 784x73
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 216x19
+          text run at (0,0) width 216: "The following should be identical:"
+      RenderBlock {DIV} at (0,35) size 784x19
+        RenderInline {SPAN} at (0,0) size 8x19
+          RenderInline (generated) at (0,0) size 8x19
+            RenderCounter at (0,0) size 8x19
+              text run at (0,0) width 8: "0"
+      RenderBlock {DIV} at (0,54) size 784x19
+        RenderText {#text} at (0,0) size 8x19
+          text run at (0,0) width 8: "0"
diff --git a/LayoutTests/platform/gtk/css2.1/t120403-visibility-00-c-expected.checksum b/LayoutTests/platform/gtk/css2.1/t120403-visibility-00-c-expected.checksum
new file mode 100644
index 0000000..fea55eb
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120403-visibility-00-c-expected.checksum
@@ -0,0 +1 @@
+bfb69729bbe646239691030798269fb4
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t120403-visibility-00-c-expected.png b/LayoutTests/platform/gtk/css2.1/t120403-visibility-00-c-expected.png
new file mode 100644
index 0000000..3180d73
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t120403-visibility-00-c-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t120403-visibility-00-c-expected.txt b/LayoutTests/platform/gtk/css2.1/t120403-visibility-00-c-expected.txt
new file mode 100644
index 0000000..533ae9c
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t120403-visibility-00-c-expected.txt
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x97
+  RenderBlock {HTML} at (0,0) size 800x97
+    RenderBody {BODY} at (8,16) size 784x73
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 216x19
+          text run at (0,0) width 216: "The following should be identical:"
+      RenderBlock {DIV} at (0,35) size 784x19
+        RenderInline {SPAN} at (0,0) size 0x0
+        RenderInline {SPAN} at (0,0) size 8x19
+          RenderInline (generated) at (0,0) size 8x19
+            RenderCounter at (0,0) size 8x19
+              text run at (0,0) width 8: "1"
+      RenderBlock {DIV} at (0,54) size 784x19
+        RenderText {#text} at (0,0) size 8x19
+          text run at (0,0) width 8: "1"
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-00-a-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-00-a-expected.checksum
new file mode 100644
index 0000000..430d42c
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-00-a-expected.checksum
@@ -0,0 +1 @@
+bb702793e902777d7c6ae261bb62d7c3
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-00-a-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-00-a-expected.png
new file mode 100644
index 0000000..7349a0e
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-00-a-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-00-a-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-00-a-expected.txt
new file mode 100644
index 0000000..2638664
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-00-a-expected.txt
@@ -0,0 +1,19 @@
+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,16) size 784x89
+      RenderBlock {P} at (0,0) size 784x19 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,35) size 784x19 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 59x19
+          text run at (0,0) width 59: "This line "
+        RenderInline {SPAN} at (0,0) size 100x19
+          RenderText {#text} at (59,0) size 100x19
+            text run at (59,0) width 100: "should be green"
+        RenderText {#text} at (159,0) size 28x19
+          text run at (159,0) width 28: " too."
+      RenderBlock {P} at (0,70) size 784x19 [bgcolor=#AAFFAA]
+        RenderText {#text} at (0,0) size 193x19
+          text run at (0,0) width 193: "This line should be pale green."
diff --git a/LayoutTests/platform/gtk/css2.1/t0505-c16-descendant-02-e-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-01-b-expected.checksum
similarity index 100%
copy from LayoutTests/platform/gtk/css2.1/t0505-c16-descendant-02-e-expected.checksum
copy to LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-01-b-expected.checksum
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-01-b-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-01-b-expected.txt
new file mode 100644
index 0000000..eb191be
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c532-bgcolor-01-b-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19 [color=#008000]
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-00-a-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-00-a-expected.checksum
new file mode 100644
index 0000000..9ec2bfe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-00-a-expected.checksum
@@ -0,0 +1 @@
+b9e9b02a987f613e7b6cac197a9b49a2
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-00-a-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-00-a-expected.png
new file mode 100644
index 0000000..3e29b5d
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-00-a-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-00-a-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-00-a-expected.txt
new file mode 100644
index 0000000..b3096f9
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-00-a-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x86
+  RenderBlock {HTML} at (0,0) size 800x86
+    RenderBody {BODY} at (8,16) size 784x54
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
+      RenderBlock {P} at (0,35) size 784x19
+        RenderText {#text} at (0,0) size 59x19
+          text run at (0,0) width 59: "This line "
+        RenderInline {SPAN} at (0,0) size 100x19
+          RenderText {#text} at (59,0) size 100x19
+            text run at (59,0) width 100: "should be green"
+        RenderText {#text} at (159,0) size 28x19
+          text run at (159,0) width 28: " too."
diff --git a/LayoutTests/platform/gtk/css2.1/t0505-c16-descendant-02-e-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-01-b-g-expected.checksum
similarity index 100%
copy from LayoutTests/platform/gtk/css2.1/t0505-c16-descendant-02-e-expected.checksum
copy to LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-01-b-g-expected.checksum
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-01-b-g-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-01-b-g-expected.txt
new file mode 100644
index 0000000..eb191be
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c533-bgimage-01-b-g-expected.txt
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x51
+  RenderBlock {HTML} at (0,0) size 800x51
+    RenderBody {BODY} at (8,16) size 784x19 [color=#008000]
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 163x19
+          text run at (0,0) width 163: "This line should be green."
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-00-b-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-00-b-ag-expected.checksum
new file mode 100644
index 0000000..9c7dfa0
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-00-b-ag-expected.checksum
@@ -0,0 +1 @@
+3cabb92d23f43048338bb9dcc6c0f0ef
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-00-b-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-00-b-ag-expected.png
new file mode 100644
index 0000000..50edad1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-00-b-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-00-b-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-00-b-ag-expected.txt
new file mode 100644
index 0000000..fcbf97a
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-00-b-ag-expected.txt
@@ -0,0 +1,30 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x290
+  RenderBlock {HTML} at (0,0) size 800x290
+    RenderBody {BODY} at (8,16) size 784x266
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "There should be a green block below."
+      RenderBlock {DIV} at (0,35) size 156x231 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock {DIV} at (3,3) size 150x75
+          RenderText {#text} at (0,0) size 150x75
+            text run at (0,0) width 150: " xxxxxxxxx"
+            text run at (0,15) width 150: " xxxxxxxxx"
+            text run at (0,30) width 150: " xxxxxxxxx"
+            text run at (0,45) width 150: " xxxxxxxxx"
+            text run at (0,60) width 150: " xxxxxxxxx"
+        RenderBlock {DIV} at (3,78) size 150x75
+          RenderText {#text} at (0,0) size 150x75
+            text run at (0,0) width 150: "          "
+            text run at (0,15) width 150: "xxxxxxxxxx"
+            text run at (0,30) width 150: "xxxxxxxxxx"
+            text run at (0,45) width 150: "xxxxxxxxxx"
+            text run at (0,60) width 150: "xxxxxxxxxx"
+        RenderBlock {DIV} at (3,153) size 150x75
+          RenderText {#text} at (0,0) size 150x75
+            text run at (0,0) width 150: " xxxxxxxxx"
+            text run at (0,15) width 150: "xxxxxxxxxx"
+            text run at (0,30) width 150: "xxxxxxxxxx"
+            text run at (0,45) width 150: "xxxxxxxxxx"
+            text run at (0,60) width 150: "xxxxxxxxxx"
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-01-b-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-01-b-ag-expected.checksum
new file mode 100644
index 0000000..9c7dfa0
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-01-b-ag-expected.checksum
@@ -0,0 +1 @@
+3cabb92d23f43048338bb9dcc6c0f0ef
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-01-b-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-01-b-ag-expected.png
new file mode 100644
index 0000000..50edad1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-01-b-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-01-b-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-01-b-ag-expected.txt
new file mode 100644
index 0000000..ae33f0c
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgre-01-b-ag-expected.txt
@@ -0,0 +1,30 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x290
+  RenderBlock {HTML} at (0,0) size 800x290
+    RenderBody {BODY} at (8,16) size 784x266
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "There should be a green block below."
+      RenderBlock {DIV} at (0,35) size 156x231 [color=#008000] [bgcolor=#008000] [border: (3px solid #000000)]
+        RenderBlock {DIV} at (3,3) size 150x75
+          RenderText {#text} at (0,0) size 150x75
+            text run at (0,0) width 150: "z         "
+            text run at (0,15) width 150: "z         "
+            text run at (0,30) width 150: "z         "
+            text run at (0,45) width 150: "z         "
+            text run at (0,60) width 150: "z         "
+        RenderBlock {DIV} at (3,78) size 150x75
+          RenderText {#text} at (0,0) size 150x75
+            text run at (0,0) width 150: "zzzzzzzzzz"
+            text run at (0,15) width 150: "          "
+            text run at (0,30) width 150: "          "
+            text run at (0,45) width 150: "          "
+            text run at (0,60) width 150: "          "
+        RenderBlock {DIV} at (3,153) size 150x75
+          RenderText {#text} at (0,0) size 150x75
+            text run at (0,0) width 150: "z         "
+            text run at (0,15) width 150: "          "
+            text run at (0,30) width 150: "          "
+            text run at (0,45) width 150: "          "
+            text run at (0,60) width 150: "          "
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-00-c-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-00-c-ag-expected.checksum
new file mode 100644
index 0000000..c78537d
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-00-c-ag-expected.checksum
@@ -0,0 +1 @@
+47e92750fb5f84ead30c4a3b43c03d53
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-00-c-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-00-c-ag-expected.png
new file mode 100644
index 0000000..9538551
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-00-c-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-00-c-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-00-c-ag-expected.txt
new file mode 100644
index 0000000..bbe1adc
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-00-c-ag-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x135
+  RenderBlock {HTML} at (0,0) size 800x135
+    RenderBody {BODY} at (8,16) size 784x111
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "There should be a green block below."
+      RenderBlock {DIV} at (0,35) size 160x76 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock {DIV} at (3,3) size 154x70
+          RenderText {#text} at (0,0) size 154x71
+            text run at (0,0) width 154: "xxxx x xxxx"
+            text run at (0,14) width 154: "xxxx x xxxx"
+            text run at (0,28) width 154: "xxxxx xxxxx"
+            text run at (0,42) width 154: "xxxx x xxxx"
+            text run at (0,56) width 154: "xxxx x xxxx"
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-01-c-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-01-c-ag-expected.checksum
new file mode 100644
index 0000000..039223d
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-01-c-ag-expected.checksum
@@ -0,0 +1 @@
+459c43ac1e2b97f14c703449ed61a277
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-01-c-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-01-c-ag-expected.png
new file mode 100644
index 0000000..3025458
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-01-c-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-01-c-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-01-c-ag-expected.txt
new file mode 100644
index 0000000..bd08e35
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-01-c-ag-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x135
+  RenderBlock {HTML} at (0,0) size 800x135
+    RenderBody {BODY} at (8,16) size 784x111
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "There should be a green block below."
+      RenderBlock {DIV} at (0,35) size 160x76 [color=#008000] [bgcolor=#008000] [border: (3px solid #000000)]
+        RenderBlock {DIV} at (3,3) size 154x70
+          RenderText {#text} at (0,0) size 154x71
+            text run at (0,0) width 154: "     x     "
+            text run at (0,14) width 154: "     x     "
+            text run at (0,28) width 154: "    x x    "
+            text run at (0,42) width 154: "     x     "
+            text run at (0,56) width 154: "     x     "
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-02-c-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-02-c-ag-expected.checksum
new file mode 100644
index 0000000..df77295
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-02-c-ag-expected.checksum
@@ -0,0 +1 @@
+e0dc4a41d13cce3569da98774b2c8b72
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-02-c-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-02-c-ag-expected.png
new file mode 100644
index 0000000..29ea762
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-02-c-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-02-c-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-02-c-ag-expected.txt
new file mode 100644
index 0000000..f667d11
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-02-c-ag-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x135
+  RenderBlock {HTML} at (0,0) size 800x135
+    RenderBody {BODY} at (8,16) size 784x111
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "There should be a green block below."
+      RenderBlock {DIV} at (0,35) size 160x76 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock {DIV} at (3,3) size 154x70
+          RenderText {#text} at (0,0) size 154x71
+            text run at (0,0) width 154: "  _  _  _  "
+            text run at (0,14) width 154: "  _  _  _  "
+            text run at (0,28) width 154: "__ __ __ __"
+            text run at (0,42) width 154: "  _  _  _  "
+            text run at (0,56) width 154: "  _  _  _  "
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-03-c-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-03-c-ag-expected.checksum
new file mode 100644
index 0000000..5642967
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-03-c-ag-expected.checksum
@@ -0,0 +1 @@
+8e7bd2a03a5a5e83169113e1c94766f6
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-03-c-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-03-c-ag-expected.png
new file mode 100644
index 0000000..fbddacb
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-03-c-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-03-c-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-03-c-ag-expected.txt
new file mode 100644
index 0000000..0681c7c
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-03-c-ag-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x135
+  RenderBlock {HTML} at (0,0) size 800x135
+    RenderBody {BODY} at (8,16) size 784x111
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "There should be a green block below."
+      RenderBlock {DIV} at (0,35) size 160x76 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock {DIV} at (3,3) size 154x70
+          RenderText {#text} at (0,0) size 154x71
+            text run at (0,0) width 154: "  r  r  r  "
+            text run at (0,14) width 154: "rr rr rr rr"
+            text run at (0,28) width 154: "  r  r  r  "
+            text run at (0,42) width 154: "  r  r  r  "
+            text run at (0,56) width 154: "rr rr rr rr"
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-04-c-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-04-c-ag-expected.checksum
new file mode 100644
index 0000000..4f486b3
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-04-c-ag-expected.checksum
@@ -0,0 +1 @@
+b3bb2cd7468de2b1f222ef071e2daf3c
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-04-c-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-04-c-ag-expected.png
new file mode 100644
index 0000000..0451117
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-04-c-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-04-c-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-04-c-ag-expected.txt
new file mode 100644
index 0000000..49ccec8
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-04-c-ag-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x135
+  RenderBlock {HTML} at (0,0) size 800x135
+    RenderBody {BODY} at (8,16) size 784x111
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "There should be a green block below."
+      RenderBlock {DIV} at (0,35) size 160x76 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock {DIV} at (3,3) size 154x70
+          RenderText {#text} at (0,0) size 154x71
+            text run at (0,0) width 154: " r  r  r  r"
+            text run at (0,14) width 154: "r rr rr rr "
+            text run at (0,28) width 154: " r  r  r  r"
+            text run at (0,42) width 154: " r  r  r  r"
+            text run at (0,56) width 154: "r rr rr rr "
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-05-c-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-05-c-ag-expected.checksum
new file mode 100644
index 0000000..5882c95
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-05-c-ag-expected.checksum
@@ -0,0 +1 @@
+3b1ee0574c941ad25054c1d2ca4a6bd1
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-05-c-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-05-c-ag-expected.png
new file mode 100644
index 0000000..b8f47d6
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-05-c-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-05-c-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-05-c-ag-expected.txt
new file mode 100644
index 0000000..a3a3ea0
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c534-bgreps-05-c-ag-expected.txt
@@ -0,0 +1,16 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x135
+  RenderBlock {HTML} at (0,0) size 800x135
+    RenderBody {BODY} at (8,16) size 784x111
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 238x19
+          text run at (0,0) width 238: "There should be a green block below."
+      RenderBlock {DIV} at (0,35) size 160x76 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
+        RenderBlock {DIV} at (3,3) size 154x70
+          RenderText {#text} at (0,0) size 154x71
+            text run at (0,0) width 154: " rr rr rr r"
+            text run at (0,14) width 154: "r  r  r  r "
+            text run at (0,28) width 154: "r  r  r  r "
+            text run at (0,42) width 154: " rr rr rr r"
+            text run at (0,56) width 154: "r  r  r  r "
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.checksum
new file mode 100644
index 0000000..e62f16f
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.checksum
@@ -0,0 +1 @@
+0437b4e721c382a1ee4f6fc2f045d17d
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png
new file mode 100644
index 0000000..f218512
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.txt
new file mode 100644
index 0000000..a7006ed
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.txt
@@ -0,0 +1,486 @@
+layer at (0,0) size 781x3088
+  RenderView at (0,0) size 781x600
+layer at (0,0) size 781x3088
+  RenderBlock {HTML} at (0,0) size 781x3088
+    RenderBody {BODY} at (8,8) size 765x3072
+      RenderBlock {DIV} at (0,0) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,19) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,38) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,73) size 765x19
+        RenderText {#text} at (0,0) size 617x19
+          text run at (0,0) width 396: "Scroll this document. A line of blue should remain stuck at the "
+          text run at (396,0) width 221: "top of the viewport the whole time."
+      RenderBlock {DIV} at (0,108) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,127) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,146) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,165) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,184) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,203) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,222) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,241) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,260) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,279) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,298) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,317) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,336) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,355) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,374) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,393) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,412) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,431) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,450) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,469) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,488) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,507) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,526) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,545) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,564) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,583) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,602) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,621) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,640) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,659) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,678) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,697) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,716) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,735) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,754) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,773) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,792) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,811) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,830) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,849) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,868) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,887) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,906) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,925) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,944) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,963) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,982) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1001) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1020) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1039) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1058) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1077) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1096) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1115) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1134) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1153) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1172) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1191) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1210) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1229) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1248) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1267) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1286) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1305) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1324) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1343) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1362) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1381) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1400) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1419) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1438) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1457) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1476) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1495) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1514) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1533) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1552) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1571) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1590) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1609) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1628) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1647) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1666) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1685) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1704) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1723) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1742) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1761) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1780) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1799) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1818) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1837) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1856) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1875) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1894) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1913) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1932) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1951) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1970) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,1989) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2008) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2027) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2046) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2065) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2084) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2103) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2122) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2141) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2160) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2179) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2198) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2217) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2236) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2255) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2274) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2293) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2312) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2331) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2350) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2369) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2388) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2407) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2426) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2445) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2464) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2483) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2502) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2521) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2540) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2559) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2578) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2597) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2616) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2635) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2654) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2673) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2692) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2711) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2730) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2749) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2768) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2787) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2806) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2825) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2844) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2863) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2882) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2901) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2920) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2939) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2958) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2977) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,2996) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,3015) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,3034) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {DIV} at (0,3053) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-00-b-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-00-b-ag-expected.checksum
new file mode 100644
index 0000000..66bc257
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-00-b-ag-expected.checksum
@@ -0,0 +1 @@
+86f1ec8333fc2766e8f8fed82d81075f
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-00-b-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-00-b-ag-expected.png
new file mode 100644
index 0000000..0b7c9bc
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-00-b-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-00-b-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-00-b-ag-expected.txt
new file mode 100644
index 0000000..8feeb2d
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-00-b-ag-expected.txt
@@ -0,0 +1,32 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x291
+  RenderBlock {HTML} at (0,0) size 800x291
+    RenderBody {BODY} at (0,0) size 800x291
+      RenderBlock {DIV} at (0,0) size 800x15 [color=#FFFFFF]
+        RenderText {#text} at (785,0) size 15x15
+          text run at (785,0) width 15: "X"
+      RenderBlock {P} at (0,31) size 800x19
+        RenderText {#text} at (0,0) size 487x19
+          text run at (0,0) width 487: "There should be no red on this page (look in the upper right hand corner too)."
+      RenderBlock {DIV} at (0,66) size 165x75 [color=#FFFFFF]
+        RenderText {#text} at (0,0) size 165x75
+          text run at (0,0) width 165: "           "
+          text run at (0,15) width 165: "           "
+          text run at (0,30) width 165: "     X     "
+          text run at (0,45) width 165: "           "
+          text run at (0,60) width 165: "           "
+      RenderBlock {DIV} at (0,141) size 165x75 [color=#FFFFFF]
+        RenderText {#text} at (0,0) size 165x75
+          text run at (0,0) width 165: "           "
+          text run at (0,15) width 165: "           "
+          text run at (0,30) width 165: "     X     "
+          text run at (0,45) width 165: "           "
+          text run at (0,60) width 165: "           "
+      RenderBlock {DIV} at (0,216) size 165x75 [color=#FFFFFF]
+        RenderText {#text} at (0,0) size 165x75
+          text run at (0,0) width 165: "           "
+          text run at (0,15) width 165: "           "
+          text run at (0,30) width 165: "           "
+          text run at (0,45) width 165: "           "
+          text run at (0,60) width 165: "          X"
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-01-b-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-01-b-ag-expected.checksum
new file mode 100644
index 0000000..c888026
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-01-b-ag-expected.checksum
@@ -0,0 +1 @@
+fe62e8689f2faf346f3b401a361474f4
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-01-b-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-01-b-ag-expected.png
new file mode 100644
index 0000000..bb484c1
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-01-b-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-01-b-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-01-b-ag-expected.txt
new file mode 100644
index 0000000..1b7cdae
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c536-bgpos-01-b-ag-expected.txt
@@ -0,0 +1,36 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x351
+  RenderBlock {HTML} at (0,0) size 800x351
+    RenderBody {BODY} at (0,16) size 800x335
+      RenderBlock {P} at (0,0) size 800x19
+        RenderText {#text} at (0,0) size 230x19
+          text run at (0,0) width 230: "There should be no red on this page."
+      RenderBlock {DIV} at (0,35) size 165x75 [color=#FFFFFF]
+        RenderText {#text} at (0,0) size 165x75
+          text run at (0,0) width 165: "           "
+          text run at (0,15) width 165: "           "
+          text run at (0,30) width 165: "           "
+          text run at (0,45) width 165: "           "
+          text run at (0,60) width 165: "          X"
+      RenderBlock {DIV} at (0,110) size 165x75 [color=#FFFFFF]
+        RenderText {#text} at (0,0) size 165x75
+          text run at (0,0) width 165: "           "
+          text run at (0,15) width 165: "           "
+          text run at (0,30) width 165: "X          "
+          text run at (0,45) width 165: "           "
+          text run at (0,60) width 165: "           "
+      RenderBlock {DIV} at (0,185) size 165x75 [color=#FFFFFF]
+        RenderText {#text} at (0,0) size 165x75
+          text run at (0,0) width 165: "           "
+          text run at (0,15) width 165: "        X  "
+          text run at (0,30) width 165: "           "
+          text run at (0,45) width 165: "           "
+          text run at (0,60) width 165: "           "
+      RenderBlock {DIV} at (0,260) size 165x75 [color=#FFFFFF]
+        RenderText {#text} at (0,0) size 165x75
+          text run at (0,0) width 165: "           "
+          text run at (0,15) width 165: "           "
+          text run at (0,30) width 165: "  X        "
+          text run at (0,45) width 165: "           "
+          text run at (0,60) width 165: "           "
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.checksum b/LayoutTests/platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.checksum
new file mode 100644
index 0000000..2d1f5c3
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.checksum
@@ -0,0 +1 @@
+67e0400371612bcff494d4a84b0ebe5d
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png b/LayoutTests/platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png
new file mode 100644
index 0000000..68a6aed
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.txt b/LayoutTests/platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.txt
new file mode 100644
index 0000000..de77eff
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.txt
@@ -0,0 +1,176 @@
+layer at (0,0) size 781x1991
+  RenderView at (0,0) size 781x600
+layer at (0,0) size 781x1991
+  RenderBlock {HTML} at (0,0) size 781x1991
+    RenderBody {BODY} at (8,16) size 765x1959
+      RenderBlock {P} at (0,0) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,35) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,70) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,105) size 765x38
+        RenderText {#text} at (0,0) size 764x38
+          text run at (0,0) width 396: "Scroll this document. A line of blue should remain stuck at the "
+          text run at (396,0) width 368: "top of the viewport the whole time, and there should be no"
+          text run at (0,19) width 24: "red "
+          text run at (24,19) width 179: "below, just a block of green."
+      RenderBlock {DIV} at (30,159) size 165x75 [color=#008000] [bgcolor=#008000]
+        RenderText {#text} at (0,0) size 165x75
+          text run at (0,0) width 165: "          X"
+          text run at (0,15) width 165: "          X"
+          text run at (0,30) width 165: "          X"
+          text run at (0,45) width 165: "          X"
+          text run at (0,60) width 165: "          X"
+      RenderBlock {DIV} at (30,234) size 165x75 [color=#008000] [bgcolor=#008000]
+        RenderText {#text} at (0,0) size 165x75
+          text run at (0,0) width 165: "     X     "
+          text run at (0,15) width 165: "     X     "
+          text run at (0,30) width 165: "     X     "
+          text run at (0,45) width 165: "     X     "
+          text run at (0,60) width 165: "     X     "
+      RenderBlock {DIV} at (30,309) size 165x75 [color=#008000] [bgcolor=#008000]
+        RenderText {#text} at (0,0) size 165x75
+          text run at (0,0) width 165: "XXXXXXXXXXX"
+          text run at (0,15) width 165: "           "
+          text run at (0,30) width 165: "           "
+          text run at (0,45) width 165: "           "
+          text run at (0,60) width 165: "           "
+      RenderBlock {P} at (0,400) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,435) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,470) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,505) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,540) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,575) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,610) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,645) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,680) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,715) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,750) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,785) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,820) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,855) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,890) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,925) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,960) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,995) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1030) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1065) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1100) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1135) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1170) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1205) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1240) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1275) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1310) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1345) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1380) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1415) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1450) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1485) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1520) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1555) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1590) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1625) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1660) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1695) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1730) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1765) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1800) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1835) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1870) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1905) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
+      RenderBlock {P} at (0,1940) size 765x19 [color=#C0C0C0]
+        RenderText {#text} at (0,0) size 83x19
+          text run at (0,0) width 83: "Dummy text."
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-00-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-00-d-expected.checksum
new file mode 100644
index 0000000..234182c
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-00-d-expected.checksum
@@ -0,0 +1 @@
+84c772919d9ab856a0a4c8e1972b675a
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-00-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-00-d-expected.png
new file mode 100644
index 0000000..1e57604
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-00-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-00-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-00-d-expected.txt
new file mode 100644
index 0000000..c4d3c47
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-00-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x209
+  RenderBlock {HTML} at (0,0) size 800x209
+    RenderBody {BODY} at (8,16) size 784x185
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 135x150
+        RenderTableSection {TBODY} at (0,0) size 135x150
+          RenderTableRow {TR} at (0,0) size 135x50
+            RenderTableCell {TD} at (0,14) size 45x21 [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (45,14) size 45x21 [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (90,14) size 45x21 [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+          RenderTableRow {TR} at (0,50) size 135x50
+            RenderTableCell {TD} at (0,64) size 45x21 [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (45,64) size 45x21 [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (90,64) size 45x21 [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+          RenderTableRow {TR} at (0,100) size 135x50
+            RenderTableCell {TD} at (0,114) size 45x21 [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (45,114) size 45x21 [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (90,114) size 45x21 [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-01-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-01-d-expected.checksum
new file mode 100644
index 0000000..382caaf
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-01-d-expected.checksum
@@ -0,0 +1 @@
+b6f445f04ce645d3bfc849400bb6912b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-01-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-01-d-expected.png
new file mode 100644
index 0000000..3ef54ed
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-01-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-01-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-01-d-expected.txt
new file mode 100644
index 0000000..4d7ed97
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-01-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x229
+  RenderBlock {HTML} at (0,0) size 800x229
+    RenderBody {BODY} at (8,16) size 784x205
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 155x170 [border: (2px none #808080)]
+        RenderTableSection {TBODY} at (2,2) size 150x165
+          RenderTableRow {TR} at (0,0) size 150x55
+            RenderTableCell {TD} at (0,14) size 50x26 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
+            RenderTableCell {TD} at (50,15) size 50x24 [border: (3px double #00FF00) none (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
+            RenderTableCell {TD} at (100,14) size 50x26 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
+          RenderTableRow {TR} at (0,55) size 150x55
+            RenderTableCell {TD} at (0,69) size 50x26 [border: (3px double #00FF00) none (2px double #00FF00)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
+            RenderTableCell {TD} at (50,72) size 50x21 [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (100,69) size 50x26 [border: (3px double #00FF00) none] [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,4) size 43x19
+                text run at (1,4) width 43: "double"
+          RenderTableRow {TR} at (0,110) size 150x55
+            RenderTableCell {TD} at (0,124) size 50x26 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
+            RenderTableCell {TD} at (50,126) size 50x23 [border: none (2px double #00FF00)] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,1) size 43x19
+                text run at (4,1) width 43: "double"
+            RenderTableCell {TD} at (100,124) size 50x26 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-02-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-02-d-expected.checksum
new file mode 100644
index 0000000..b3a2718
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-02-d-expected.checksum
@@ -0,0 +1 @@
+253982532c680380283cf07ebe845aec
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-02-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-02-d-expected.png
new file mode 100644
index 0000000..420e8ac
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-02-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-02-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-02-d-expected.txt
new file mode 100644
index 0000000..10beae8
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-02-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x229
+  RenderBlock {HTML} at (0,0) size 800x229
+    RenderBody {BODY} at (8,16) size 784x205
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 124x170 [border: (2px none #808080)]
+        RenderTableSection {TBODY} at (2,2) size 119x165
+          RenderTableRow {TR} at (0,0) size 119x55
+            RenderTableCell {TD} at (0,14) size 37x26 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"
+            RenderTableCell {TD} at (37,15) size 45x24 [border: (3px solid #00FF00) none (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"
+            RenderTableCell {TD} at (82,14) size 37x26 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"
+          RenderTableRow {TR} at (0,55) size 119x55
+            RenderTableCell {TD} at (0,69) size 37x26 [border: (3px solid #00FF00) none (2px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"
+            RenderTableCell {TD} at (37,72) size 45x21 [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (82,69) size 37x26 [border: (3px solid #00FF00) none] [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,4) size 30x19
+                text run at (1,4) width 30: "solid"
+          RenderTableRow {TR} at (0,110) size 119x55
+            RenderTableCell {TD} at (0,124) size 37x26 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"
+            RenderTableCell {TD} at (37,126) size 45x23 [border: none (2px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,1) size 30x19
+                text run at (4,1) width 30: "solid"
+            RenderTableCell {TD} at (82,124) size 37x26 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-03-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-03-d-expected.checksum
new file mode 100644
index 0000000..bf3dac6
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-03-d-expected.checksum
@@ -0,0 +1 @@
+3cb9b1d9cbb9f816a7faee17b799d128
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-03-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-03-d-expected.png
new file mode 100644
index 0000000..cbffb05
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-03-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-03-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-03-d-expected.txt
new file mode 100644
index 0000000..b9d34b1
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-03-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x229
+  RenderBlock {HTML} at (0,0) size 800x229
+    RenderBody {BODY} at (8,16) size 784x205
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 158x170 [border: (2px none #808080)]
+        RenderTableSection {TBODY} at (2,2) size 153x165
+          RenderTableRow {TR} at (0,0) size 153x55
+            RenderTableCell {TD} at (0,14) size 51x26 [border: (3px dashed #00FF00)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "dashed"
+            RenderTableCell {TD} at (51,15) size 51x24 [border: (3px dashed #00FF00) none (3px dashed #00FF00)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "dashed"
+            RenderTableCell {TD} at (102,14) size 51x26 [border: (3px dashed #00FF00)] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "dashed"
+          RenderTableRow {TR} at (0,55) size 153x55
+            RenderTableCell {TD} at (0,69) size 51x26 [border: (3px dashed #00FF00) none (2px dashed #00FF00)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "dashed"
+            RenderTableCell {TD} at (51,72) size 51x21 [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (102,69) size 51x26 [border: (3px dashed #00FF00) none] [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,4) size 44x19
+                text run at (1,4) width 44: "dashed"
+          RenderTableRow {TR} at (0,110) size 153x55
+            RenderTableCell {TD} at (0,124) size 51x26 [border: (3px dashed #00FF00)] [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "dashed"
+            RenderTableCell {TD} at (51,126) size 51x23 [border: none (2px dashed #00FF00)] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,1) size 44x19
+                text run at (4,1) width 44: "dashed"
+            RenderTableCell {TD} at (102,124) size 51x26 [border: (3px dashed #00FF00)] [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "dashed"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-04-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-04-d-expected.checksum
new file mode 100644
index 0000000..99586a5
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-04-d-expected.checksum
@@ -0,0 +1 @@
+f226e7c208448aba3974701c23f8c7ec
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-04-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-04-d-expected.png
new file mode 100644
index 0000000..1802c34
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-04-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-04-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-04-d-expected.txt
new file mode 100644
index 0000000..f34c486
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-04-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x229
+  RenderBlock {HTML} at (0,0) size 800x229
+    RenderBody {BODY} at (8,16) size 784x205
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 143x170 [border: (2px none #808080)]
+        RenderTableSection {TBODY} at (2,2) size 138x165
+          RenderTableRow {TR} at (0,0) size 138x55
+            RenderTableCell {TD} at (0,14) size 46x26 [border: (3px dotted #00FF00)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 39x19
+                text run at (4,4) width 39: "dotted"
+            RenderTableCell {TD} at (46,15) size 46x24 [border: (3px dotted #00FF00) none (3px dotted #00FF00)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 39x19
+                text run at (4,4) width 39: "dotted"
+            RenderTableCell {TD} at (92,14) size 46x26 [border: (3px dotted #00FF00)] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 39x19
+                text run at (4,4) width 39: "dotted"
+          RenderTableRow {TR} at (0,55) size 138x55
+            RenderTableCell {TD} at (0,69) size 46x26 [border: (3px dotted #00FF00) none (2px dotted #00FF00)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 39x19
+                text run at (4,4) width 39: "dotted"
+            RenderTableCell {TD} at (46,72) size 46x21 [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (92,69) size 46x26 [border: (3px dotted #00FF00) none] [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,4) size 39x19
+                text run at (1,4) width 39: "dotted"
+          RenderTableRow {TR} at (0,110) size 138x55
+            RenderTableCell {TD} at (0,124) size 46x26 [border: (3px dotted #00FF00)] [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 39x19
+                text run at (4,4) width 39: "dotted"
+            RenderTableCell {TD} at (46,126) size 46x23 [border: none (2px dotted #00FF00)] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,1) size 39x19
+                text run at (4,1) width 39: "dotted"
+            RenderTableCell {TD} at (92,124) size 46x26 [border: (3px dotted #00FF00)] [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 39x19
+                text run at (4,4) width 39: "dotted"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-05-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-05-d-expected.checksum
new file mode 100644
index 0000000..52660c7
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-05-d-expected.checksum
@@ -0,0 +1 @@
+df32589a0ac70eef9611f969b3dc0d79
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-05-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-05-d-expected.png
new file mode 100644
index 0000000..d777e6c
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-05-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-05-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-05-d-expected.txt
new file mode 100644
index 0000000..84a49f0
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-05-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x229
+  RenderBlock {HTML} at (0,0) size 800x229
+    RenderBody {BODY} at (8,16) size 784x205
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 128x170 [border: (2px none #808080)]
+        RenderTableSection {TBODY} at (2,2) size 123x165
+          RenderTableRow {TR} at (0,0) size 123x55
+            RenderTableCell {TD} at (0,14) size 39x26 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 32x19
+                text run at (4,4) width 32: "ridge"
+            RenderTableCell {TD} at (39,15) size 45x24 [border: (3px ridge #00FF00) none (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 32x19
+                text run at (4,4) width 32: "ridge"
+            RenderTableCell {TD} at (84,14) size 39x26 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 32x19
+                text run at (4,4) width 32: "ridge"
+          RenderTableRow {TR} at (0,55) size 123x55
+            RenderTableCell {TD} at (0,69) size 39x26 [border: (3px ridge #00FF00) none (2px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 32x19
+                text run at (4,4) width 32: "ridge"
+            RenderTableCell {TD} at (39,72) size 45x21 [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (84,69) size 39x26 [border: (3px ridge #00FF00) none] [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,4) size 32x19
+                text run at (1,4) width 32: "ridge"
+          RenderTableRow {TR} at (0,110) size 123x55
+            RenderTableCell {TD} at (0,124) size 39x26 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 32x19
+                text run at (4,4) width 32: "ridge"
+            RenderTableCell {TD} at (39,126) size 45x23 [border: none (2px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,1) size 32x19
+                text run at (4,1) width 32: "ridge"
+            RenderTableCell {TD} at (84,124) size 39x26 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 32x19
+                text run at (4,4) width 32: "ridge"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-06-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-06-d-expected.checksum
new file mode 100644
index 0000000..82f8147
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-06-d-expected.checksum
@@ -0,0 +1 @@
+5a5b748402227d24f570d544b1a50af5
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-06-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-06-d-expected.png
new file mode 100644
index 0000000..ba99fdd
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-06-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-06-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-06-d-expected.txt
new file mode 100644
index 0000000..f79c985
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-06-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x229
+  RenderBlock {HTML} at (0,0) size 800x229
+    RenderBody {BODY} at (8,16) size 784x205
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 138x170 [border: (2px none #808080)]
+        RenderTableSection {TBODY} at (2,2) size 133x165
+          RenderTableRow {TR} at (0,0) size 133x55
+            RenderTableCell {TD} at (0,14) size 44x26 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 37x19
+                text run at (4,4) width 37: "outset"
+            RenderTableCell {TD} at (44,15) size 45x24 [border: (3px outset #00FF00) none (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 37x19
+                text run at (4,4) width 37: "outset"
+            RenderTableCell {TD} at (89,14) size 44x26 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 37x19
+                text run at (4,4) width 37: "outset"
+          RenderTableRow {TR} at (0,55) size 133x55
+            RenderTableCell {TD} at (0,69) size 44x26 [border: (3px outset #00FF00) none (2px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 37x19
+                text run at (4,4) width 37: "outset"
+            RenderTableCell {TD} at (44,72) size 45x21 [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (89,69) size 44x26 [border: (3px outset #00FF00) none] [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,4) size 37x19
+                text run at (1,4) width 37: "outset"
+          RenderTableRow {TR} at (0,110) size 133x55
+            RenderTableCell {TD} at (0,124) size 44x26 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 37x19
+                text run at (4,4) width 37: "outset"
+            RenderTableCell {TD} at (44,126) size 45x23 [border: none (2px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,1) size 37x19
+                text run at (4,1) width 37: "outset"
+            RenderTableCell {TD} at (89,124) size 44x26 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 37x19
+                text run at (4,4) width 37: "outset"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-07-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-07-d-expected.checksum
new file mode 100644
index 0000000..7493ae9
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-07-d-expected.checksum
@@ -0,0 +1 @@
+21f2e983076493a5cdcb8c90caad2c84
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-07-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-07-d-expected.png
new file mode 100644
index 0000000..61ded5f
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-07-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-07-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-07-d-expected.txt
new file mode 100644
index 0000000..5702b2b
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-07-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x229
+  RenderBlock {HTML} at (0,0) size 800x229
+    RenderBody {BODY} at (8,16) size 784x205
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 158x170 [border: (2px none #808080)]
+        RenderTableSection {TBODY} at (2,2) size 153x165
+          RenderTableRow {TR} at (0,0) size 153x55
+            RenderTableCell {TD} at (0,14) size 51x26 [border: (3px groove #00FF00)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "groove"
+            RenderTableCell {TD} at (51,15) size 51x24 [border: (3px groove #00FF00) none (3px groove #00FF00)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "groove"
+            RenderTableCell {TD} at (102,14) size 51x26 [border: (3px groove #00FF00)] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "groove"
+          RenderTableRow {TR} at (0,55) size 153x55
+            RenderTableCell {TD} at (0,69) size 51x26 [border: (3px groove #00FF00) none (2px groove #00FF00)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "groove"
+            RenderTableCell {TD} at (51,72) size 51x21 [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (102,69) size 51x26 [border: (3px groove #00FF00) none] [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,4) size 44x19
+                text run at (1,4) width 44: "groove"
+          RenderTableRow {TR} at (0,110) size 153x55
+            RenderTableCell {TD} at (0,124) size 51x26 [border: (3px groove #00FF00)] [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "groove"
+            RenderTableCell {TD} at (51,126) size 51x23 [border: none (2px groove #00FF00)] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,1) size 44x19
+                text run at (4,1) width 44: "groove"
+            RenderTableCell {TD} at (102,124) size 51x26 [border: (3px groove #00FF00)] [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 44x19
+                text run at (4,4) width 44: "groove"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-08-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-08-d-expected.checksum
new file mode 100644
index 0000000..4151446
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-08-d-expected.checksum
@@ -0,0 +1 @@
+ae99868352433d2c7b094e6faeeb4bd1
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-08-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-08-d-expected.png
new file mode 100644
index 0000000..5c78f4e
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-08-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-08-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-08-d-expected.txt
new file mode 100644
index 0000000..a31969b
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-08-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x229
+  RenderBlock {HTML} at (0,0) size 800x229
+    RenderBody {BODY} at (8,16) size 784x205
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 122x170 [border: (2px none #808080)]
+        RenderTableSection {TBODY} at (2,2) size 117x165
+          RenderTableRow {TR} at (0,0) size 117x55
+            RenderTableCell {TD} at (0,14) size 36x26 [border: (3px inset #00FF00)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 29x19
+                text run at (4,4) width 29: "inset"
+            RenderTableCell {TD} at (36,15) size 45x24 [border: (3px inset #00FF00) none (3px inset #00FF00)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 29x19
+                text run at (4,4) width 29: "inset"
+            RenderTableCell {TD} at (81,14) size 36x26 [border: (3px inset #00FF00)] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 29x19
+                text run at (4,4) width 29: "inset"
+          RenderTableRow {TR} at (0,55) size 117x55
+            RenderTableCell {TD} at (0,69) size 36x26 [border: (3px inset #00FF00) none (2px inset #00FF00)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 29x19
+                text run at (4,4) width 29: "inset"
+            RenderTableCell {TD} at (36,72) size 45x21 [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (81,69) size 36x26 [border: (3px inset #00FF00) none] [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,4) size 29x19
+                text run at (1,4) width 29: "inset"
+          RenderTableRow {TR} at (0,110) size 117x55
+            RenderTableCell {TD} at (0,124) size 36x26 [border: (3px inset #00FF00)] [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 29x19
+                text run at (4,4) width 29: "inset"
+            RenderTableCell {TD} at (36,126) size 45x23 [border: none (2px inset #00FF00)] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,1) size 29x19
+                text run at (4,1) width 29: "inset"
+            RenderTableCell {TD} at (81,124) size 36x26 [border: (3px inset #00FF00)] [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 29x19
+                text run at (4,4) width 29: "inset"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-09-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-09-d-expected.checksum
new file mode 100644
index 0000000..479de5e
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-09-d-expected.checksum
@@ -0,0 +1 @@
+903afd3932335f9eff6e575cc8f6c741
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-09-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-09-d-expected.png
new file mode 100644
index 0000000..7517cfd
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-09-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-09-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-09-d-expected.txt
new file mode 100644
index 0000000..eb6f746
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-09-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x209
+  RenderBlock {HTML} at (0,0) size 800x209
+    RenderBody {BODY} at (8,16) size 784x185
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 111x150
+        RenderTableSection {TBODY} at (0,0) size 111x150
+          RenderTableRow {TR} at (0,0) size 111x50
+            RenderTableCell {TD} at (0,14) size 33x21 [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 31x19
+                text run at (1,1) width 31: "none"
+            RenderTableCell {TD} at (33,14) size 45x21 [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 31x19
+                text run at (1,1) width 31: "none"
+            RenderTableCell {TD} at (78,14) size 33x21 [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 31x19
+                text run at (1,1) width 31: "none"
+          RenderTableRow {TR} at (0,50) size 111x50
+            RenderTableCell {TD} at (0,64) size 33x21 [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 31x19
+                text run at (1,1) width 31: "none"
+            RenderTableCell {TD} at (33,64) size 45x21 [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (78,64) size 33x21 [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 31x19
+                text run at (1,1) width 31: "none"
+          RenderTableRow {TR} at (0,100) size 111x50
+            RenderTableCell {TD} at (0,114) size 33x21 [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 31x19
+                text run at (1,1) width 31: "none"
+            RenderTableCell {TD} at (33,114) size 45x21 [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 31x19
+                text run at (1,1) width 31: "none"
+            RenderTableCell {TD} at (78,114) size 33x21 [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 31x19
+                text run at (1,1) width 31: "none"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-10-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-10-d-expected.checksum
new file mode 100644
index 0000000..e6d8ffe
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-10-d-expected.checksum
@@ -0,0 +1 @@
+676a4cdbe8f0da0b8fb0bcc4711c5515
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-10-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-10-d-expected.png
new file mode 100644
index 0000000..e7efa32
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-10-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-10-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-10-d-expected.txt
new file mode 100644
index 0000000..b728f95
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-10-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x209
+  RenderBlock {HTML} at (0,0) size 800x209
+    RenderBody {BODY} at (8,16) size 784x185
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 135x150
+        RenderTableSection {TBODY} at (0,0) size 135x150
+          RenderTableRow {TR} at (0,0) size 135x50
+            RenderTableCell {TD} at (0,14) size 45x21 [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (45,14) size 45x21 [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (90,14) size 45x21 [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+          RenderTableRow {TR} at (0,50) size 135x50
+            RenderTableCell {TD} at (0,64) size 45x21 [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (45,64) size 45x21 [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "double"
+            RenderTableCell {TD} at (90,64) size 45x21 [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+          RenderTableRow {TR} at (0,100) size 135x50
+            RenderTableCell {TD} at (0,114) size 45x21 [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (45,114) size 45x21 [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
+            RenderTableCell {TD} at (90,114) size 45x21 [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 43x19
+                text run at (1,1) width 43: "hidden"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-11-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-11-d-expected.checksum
new file mode 100644
index 0000000..993a26b
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-11-d-expected.checksum
@@ -0,0 +1 @@
+374d24d784e74150f68af37542a9b819
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-11-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-11-d-expected.png
new file mode 100644
index 0000000..e4cd10a
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-11-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-11-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-11-d-expected.txt
new file mode 100644
index 0000000..58da98a
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-11-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x239
+  RenderBlock {HTML} at (0,0) size 800x239
+    RenderBody {BODY} at (8,16) size 784x215
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 165x180 [border: (2px none #808080)]
+        RenderTableSection {TBODY} at (2,2) size 160x175
+          RenderTableRow {TR} at (0,0) size 160x58
+            RenderTableCell {TD} at (0,16) size 53x26 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
+            RenderTableCell {TD} at (53,14) size 55x29 [border: (3px double #00FF00) (5px double #FF0000) (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
+            RenderTableCell {TD} at (108,16) size 52x26 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
+          RenderTableRow {TR} at (0,58) size 160x60
+            RenderTableCell {TD} at (0,75) size 53x26 [border: (3px double #00FF00) (5px double #FF0000) (2px double #00FF00)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
+            RenderTableCell {TD} at (53,72) size 55x31 [border: (5px double #00FF00)] [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (6,6) size 43x19
+                text run at (6,6) width 43: "double"
+            RenderTableCell {TD} at (108,75) size 52x26 [border: (3px double #00FF00) (5px double #FF0000)] [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (6,4) size 43x19
+                text run at (6,4) width 43: "double"
+          RenderTableRow {TR} at (0,118) size 160x57
+            RenderTableCell {TD} at (0,133) size 53x26 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
+            RenderTableCell {TD} at (53,132) size 55x28 [border: (5px double #FF0000) (2px double #00FF00)] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,6) size 43x19
+                text run at (4,6) width 43: "double"
+            RenderTableCell {TD} at (108,133) size 52x26 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 43x19
+                text run at (4,4) width 43: "double"
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-12-d-expected.checksum b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-12-d-expected.checksum
new file mode 100644
index 0000000..95ddf4f
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-12-d-expected.checksum
@@ -0,0 +1 @@
+d752df15ab2af2d35353f68fe806c32a
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-12-d-expected.png b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-12-d-expected.png
new file mode 100644
index 0000000..a9de553
Binary files /dev/null and b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-12-d-expected.png differ
diff --git a/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-12-d-expected.txt b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-12-d-expected.txt
new file mode 100644
index 0000000..d9e8616
--- /dev/null
+++ b/LayoutTests/platform/gtk/css2.1/t170602-bdr-conflct-w-12-d-expected.txt
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x239
+  RenderBlock {HTML} at (0,0) size 800x239
+    RenderBody {BODY} at (8,16) size 784x215
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 317x19
+          text run at (0,0) width 317: "There should be no red borders on the table below"
+      RenderTable {TABLE} at (0,35) size 139x180 [border: (2px none #808080)]
+        RenderTableSection {TBODY} at (2,2) size 134x175
+          RenderTableRow {TR} at (0,0) size 134x58
+            RenderTableCell {TD} at (0,16) size 40x26 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"
+            RenderTableCell {TD} at (40,14) size 55x29 [border: (3px solid #00FF00) (5px solid #FF0000) (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"
+            RenderTableCell {TD} at (95,16) size 39x26 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"
+          RenderTableRow {TR} at (0,58) size 134x60
+            RenderTableCell {TD} at (0,75) size 40x26 [border: (3px solid #00FF00) (5px solid #FF0000) (2px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"
+            RenderTableCell {TD} at (40,72) size 55x31 [border: (5px double #00FF00)] [r=1 c=1 rs=1 cs=1]
+              RenderText {#text} at (6,6) size 43x19
+                text run at (6,6) width 43: "double"
+            RenderTableCell {TD} at (95,75) size 39x26 [border: (3px solid #00FF00) (5px solid #FF0000)] [r=1 c=2 rs=1 cs=1]
+              RenderText {#text} at (6,4) size 30x19
+                text run at (6,4) width 30: "solid"
+          RenderTableRow {TR} at (0,118) size 134x57
+            RenderTableCell {TD} at (0,133) size 40x26 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"
+            RenderTableCell {TD} at (40,132) size 55x28 [border: (5px solid #FF0000) (2px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
+              RenderText {#text} at (4,6) size 30x19
+                text run at (4,6) width 30: "solid"
+            RenderTableCell {TD} at (95,133) size 39x26 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
+              RenderText {#text} at (4,4) size 30x19
+                text run at (4,4) width 30: "solid"

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list