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

tonikitoo at webkit.org tonikitoo at webkit.org
Wed Dec 22 14:42:28 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 4e80a0e0d33025833e4d50d41526d98a80b51186
Author: tonikitoo at webkit.org <tonikitoo at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Oct 18 04:02:16 2010 +0000

    2010-10-17  Antonio Gomes  <agomes at rim.com>
    
            Reviewed by Simon Fraser.
    
            Enrich /fast/dom/nodesFromRect-basic.html test
            https://bugs.webkit.org/show_bug.cgi?id=47766
    
            The patch makes fast/dom/nodesFromRect-basic.html test more precise:
            instead of calling nodesFromRect always with equal vertical (up and down) and
            horizontal (right and left) padding values, it are now tests it by passing
            different padding values on the various directions.
    
            It is now possible due to the work on bug 46336: Make Document::nodesFromRect more flexible.
    
            * fast/dom/nodesFromRect-basic-expected.txt:
            * fast/dom/nodesFromRect-basic.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69939 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 429fbd4..159c8ad 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,20 @@
+2010-10-17  Antonio Gomes  <agomes at rim.com>
+
+        Reviewed by Simon Fraser.
+
+        Enrich /fast/dom/nodesFromRect-basic.html test
+        https://bugs.webkit.org/show_bug.cgi?id=47766
+
+        The patch makes fast/dom/nodesFromRect-basic.html test more precise:
+        instead of calling nodesFromRect always with equal vertical (up and down) and
+        horizontal (right and left) padding values, it are now tests it by passing
+        different padding values on the various directions.
+
+        It is now possible due to the work on bug 46336: Make Document::nodesFromRect more flexible.
+
+        * fast/dom/nodesFromRect-basic-expected.txt:
+        * fast/dom/nodesFromRect-basic.html:
+
 2010-10-17  Julien Chaffraix  <jchaffraix at codeaurora.org>
 
         Reviewed by Andreas Kling.
diff --git a/LayoutTests/fast/dom/nodesFromRect-basic-expected.txt b/LayoutTests/fast/dom/nodesFromRect-basic-expected.txt
index 45915fe..6f87bca 100644
--- a/LayoutTests/fast/dom/nodesFromRect-basic-expected.txt
+++ b/LayoutTests/fast/dom/nodesFromRect-basic-expected.txt
@@ -2,24 +2,46 @@ PASS successfullyParsed is true
 
 TEST COMPLETE
 PASS All correct nodes found for rect [53,71], [0,0,0,0]
+PASS All correct nodes found for rect [53,71], [10,0,0,0]
+PASS All correct nodes found for rect [53,71], [0,10,0,0]
+PASS All correct nodes found for rect [53,71], [0,0,10,0]
+PASS All correct nodes found for rect [53,71], [0,0,0,10]
 PASS All correct nodes found for rect [53,71], [0,10,0,10]
 PASS All correct nodes found for rect [53,71], [10,0,10,0]
 PASS All correct nodes found for rect [53,71], [10,10,10,10]
+PASS All correct nodes found for rect [152,105], [10,0,0,0]
+PASS All correct nodes found for rect [152,105], [0,10,0,0]
+PASS All correct nodes found for rect [152,105], [0,0,10,0]
+PASS All correct nodes found for rect [152,105], [0,0,0,10]
 PASS All correct nodes found for rect [152,105], [10,0,10,0]
 PASS All correct nodes found for rect [152,105], [0,10,0,10]
 PASS All correct nodes found for rect [152,105], [10,10,10,10]
 PASS All correct nodes found for rect [153,193], [0,0,0,0]
 PASS All correct nodes found for rect [153,193], [0,20,0,20]
 PASS All correct nodes found for rect [153,193], [20,0,20,0]
+PASS All correct nodes found for rect [77,240], [0,0,0,0]
+PASS All correct nodes found for rect [77,240], [1,0,0,0]
+PASS All correct nodes found for rect [77,240], [0,0,1,0]
+PASS All correct nodes found for rect [77,240], [1,0,1,0]
 PASS All correct nodes found for rect [144,183], [0,0,0,0]
 PASS All correct nodes found for rect [144,183], [1,0,1,0]
 PASS All correct nodes found for rect [144,183], [0,1,0,1]
+PASS All correct nodes found for rect [144,183], [0,0,1,0]
+PASS All correct nodes found for rect [144,183], [0,0,0,1]
+PASS All correct nodes found for rect [144,183], [0,0,1,1]
 PASS All correct nodes found for rect [144,183], [1,1,1,1]
 PASS All correct nodes found for rect [77,240], [0,0,0,0]
-PASS All correct nodes found for rect [77,240], [0,10,0,10]
-PASS All correct nodes found for rect [77,240], [10,0,10,0]
-PASS All correct nodes found for rect [77,240], [10,10,10,10]
+PASS All correct nodes found for rect [77,240], [0,1,0,1]
+PASS All correct nodes found for rect [77,240], [1,0,0,0]
+PASS All correct nodes found for rect [77,240], [0,0,1,0]
+PASS All correct nodes found for rect [77,240], [1,0,1,0]
+PASS All correct nodes found for rect [77,240], [1,1,1,1]
 PASS All correct nodes found for rect [39,212], [0,0,0,0]
+PASS All correct nodes found for rect [39,212], [10,0,0,0]
+PASS All correct nodes found for rect [39,212], [0,0,10,0]
+PASS All correct nodes found for rect [39,212], [10,1,30,0]
+PASS All correct nodes found for rect [39,212], [10,5,30,0]
+PASS All correct nodes found for rect [39,212], [10,15,30,0]
 PASS All correct nodes found for rect [39,212], [10,0,10,0]
 PASS All correct nodes found for rect [39,212], [0,10,0,10]
 PASS All correct nodes found for rect [39,212], [10,10,10,10]
diff --git a/LayoutTests/fast/dom/nodesFromRect-basic.html b/LayoutTests/fast/dom/nodesFromRect-basic.html
index 2b43c65..d1c57f0 100644
--- a/LayoutTests/fast/dom/nodesFromRect-basic.html
+++ b/LayoutTests/fast/dom/nodesFromRect-basic.html
@@ -23,10 +23,18 @@
       window.scrollTo(0, 0);
 
       check(53, 71, 0, 0, 0, 0, [e.body]);
+      check(53, 71, 10, 0,  0,  0, [e.h1, e.body]);
+      check(53, 71, 0,  10, 0,  0, [e.p3, e.body]);
+      check(53, 71, 0,  0,  10, 0, [e.d1, e.body]);
+      check(53, 71, 0,  0,  0, 10, [e.body]);
       check(53, 71, 0, 10, 0, 10, [e.p3, e.body]);
       check(53, 71, 10, 0, 10, 0, [e.d1, e.h1, e.body]);
       check(53, 71, 10, 10, 10, 10, [e.p3, e.d1, e.h1, e.body]);
 
+      check(152, 105, 10, 0, 0, 0, [e.p3, e.body]);
+      check(152, 105, 0, 10, 0, 0, [e.p4, e.body]);
+      check(152, 105, 0, 0, 10, 0, [e.body]);
+      check(152, 105, 0, 0, 0, 10, [e.d1, e.body]);
       check(152, 105, 10, 0, 10, 0, [e.p3, e.body]);
       check(152, 105, 0, 10, 0, 10, [e.p4, e.d1, e.body]);
       check(152, 105, 10, 10, 10, 10, [e.p4, e.p3, e.d1, e.body]);
@@ -38,18 +46,33 @@
       check(153,193,0, 20, 0, 20, [e.p5]);
       check(153,193,20, 0, 20, 0, [e.p5, e.body]);
 
+      check(77,  240, 0, 0, 0, 0, [e.p2]);
+      check(77,  240, 1, 0, 0, 0, [e.p5, e.p2]);
+      check(77,  240, 0, 0, 1, 0, [e.span, e.p2]);
+      check(77,  240, 1, 0, 1, 0, [e.p5, e.span, e.p2]);
+
       // Precise pixel checks:
       check(144, 183, 0, 0, 0, 0, [e.body]);
       check(144, 183, 1, 0, 1, 0, [e.p5, e.body]);
       check(144, 183, 0, 1, 0, 1, [e.d2, e.body]);
+      check(144, 183, 0, 0, 1, 0, [e.p5, e.body]);
+      check(144, 183, 0, 0, 0, 1, [e.d2, e.body]);
+      check(144, 183, 0, 0, 1, 1, [e.p5, e.d2, e.body]);
       check(144, 183, 1, 1, 1, 1, [e.p5, e.d2, e.body]);
       check(77, 240, 0, 0, 0, 0, [e.p2]);
-      check(77, 240, 0, 10, 0, 10, [e.p2]);
-      check(77, 240, 10, 0, 10, 0, [e.p5, e.span, e.p2]);
-      check(77, 240, 10, 10, 10, 10, [e.p5, e.span, e.p2]);
+      check(77, 240, 0, 1, 0, 1, [e.p2]);
+      check(77, 240, 1, 0, 0, 0, [e.p5, e.p2]);
+      check(77, 240, 0, 0, 1, 0, [e.span, e.p2]);
+      check(77, 240, 1, 0, 1, 0, [e.p5, e.span, e.p2]);
+      check(77, 240, 1, 1, 1, 1, [e.p5, e.span, e.p2]);
 
       // Expanding area checks:
       check(39, 212, 0,  0, 0, 0, [e.body]);
+      check(39, 212, 10, 0,  0,  0, [e.d2, e.body]);
+      check(39, 212, 0,  0,  10, 0, [e.p2, e.body]);
+      check(39, 212, 10, 1,  30, 0, [e.d2, e.p2, e.body]);
+      check(39, 212, 10, 5,  30, 0, [e.span, e.d2, e.p2, e.body]);
+      check(39, 212, 10, 15, 30, 0, [e.p5, e.span, e.d2, e.p2, e.body]);
       check(39, 212, 10, 0, 10, 0, [e.d2, e.p2, e.body]);
       check(39, 212, 0, 10, 0, 10, [e.p5, e.body]);
       check(39, 212, 10, 10, 10, 10, [e.p5, e.d2, e.p2, e.body]);

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list