[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

bweinstein at apple.com bweinstein at apple.com
Thu Apr 8 01:27:44 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 00a3333357b78850612b499cec1f6c63e79f2a24
Author: bweinstein at apple.com <bweinstein at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jan 28 00:23:16 2010 +0000

    Rubber-stamped by Adam Roben.
    
    Add platform specific failing Windows results for two recently
    added tests. I will comment on their originating bugs saying that
    failing results were landed for Windows.
    
    <https://bugs.webkit.org/show_bug.cgi?id=29564>
    <https://bugs.webkit.org/show_bug.cgi?id=32696>
    
    * platform/win/fast/css/button-height-expected.txt: Added.
    * platform/win/fast/forms/input-valueasnumber-datetime-expected.txt: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53959 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 0e4a29d..bb8c5d8 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,17 @@
+2010-01-27  Brian Weinstein  <bweinstein at apple.com>
+
+        Rubber-stamped by Adam Roben.
+
+        Add platform specific failing Windows results for two recently
+        added tests. I will comment on their originating bugs saying that
+        failing results were landed for Windows.
+        
+        <https://bugs.webkit.org/show_bug.cgi?id=29564>
+        <https://bugs.webkit.org/show_bug.cgi?id=32696>
+
+        * platform/win/fast/css/button-height-expected.txt: Added.
+        * platform/win/fast/forms/input-valueasnumber-datetime-expected.txt: Added.
+
 2010-01-27  Diego Gonzalez  <diego.gonzalez at openbossa.org>
 
         Reviewed by Kenneth Rohde Christiansen.
diff --git a/LayoutTests/platform/win/fast/css/button-height-expected.txt b/LayoutTests/platform/win/fast/css/button-height-expected.txt
new file mode 100644
index 0000000..1e711a4
--- /dev/null
+++ b/LayoutTests/platform/win/fast/css/button-height-expected.txt
@@ -0,0 +1,13 @@
+This tests that the specified height is honored (*) for <input> and <button> elements.
+(*) The Mac ports ignore the specified height for <input type="button"> elements unless a border and/or background CSS property is also specified (see the fifth button below). Disregarding padding, they render the button with a height equal to the height of the font used for the button label.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.getElementById('button1').offsetHeight is document.getElementById('button2').offsetHeight
+PASS document.getElementById('button3').offsetHeight is 40
+PASS document.getElementById('button4').offsetHeight is 40
+FAIL document.getElementById('button5').offsetHeight is incorrect for this platform. Should be the same height as button 1 for the Mac ports and 40 otherwise.
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/win/fast/forms/input-valueasnumber-datetime-expected.txt b/LayoutTests/platform/win/fast/forms/input-valueasnumber-datetime-expected.txt
new file mode 100644
index 0000000..fe19b75
--- /dev/null
+++ b/LayoutTests/platform/win/fast/forms/input-valueasnumber-datetime-expected.txt
@@ -0,0 +1,33 @@
+Tests for .valueAsNumber with <input type=datetime>.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS valueAsNumberFor("") is Number.NaN
+PASS valueAsNumberFor("1969-12-31T12:34:56.789Z") is Date.UTC(1969, 11, 31, 12, 34, 56, 789)
+PASS valueAsNumberFor("1970-01-01T00:00:00.000Z") is Date.UTC(1970, 0, 1, 0, 0, 0)
+PASS valueAsNumberFor("2009-12-22T11:32:11Z") is Date.UTC(2009, 11, 22, 11, 32, 11)
+PASS setValueAsNumberAndGetValue(1969, 11, 1, 0, 0, 0, 0) is "1969-12-01T00:00Z"
+PASS setValueAsNumberAndGetValue(1970, 0, 1, 10, 1, 0, 100) is "1970-01-01T10:01:00.100Z"
+PASS setValueAsNumberAndGetValue(2009, 11, 31, 23, 59, 59, 999) is "2009-12-31T23:59:59.999Z"
+PASS setValueAsNumberAndGetValue(10000, 0, 1, 12, 0, 1, 0) is "10000-01-01T12:00:01Z"
+PASS setValueAsNumberAndGetValue(794, 9, 22, 0, 0, 0, 0) is ""
+PASS setValueAsNumberAndGetValue(1582, 9, 14, 23, 59, 59, 999) is ""
+PASS setValueAsNumberAndGetValue(1582, 9, 15, 0, 0, 0, 0) is "1582-10-15T00:00Z"
+PASS setValueAsNumberAndGetValue(275760, 8, 13, 0, 0, 0, 0) is "275760-09-13T00:00Z"
+FAIL setValueAsNumberAndGetValue(275760, 8, 13, 0, 0, 0, 1) should be 275760-09-13T00:00:00.001Z. Was 275760-09-13T00:00:00.002Z.
+Tests to set invalid values to valueAsNumber:
+PASS input.value = ""; input.valueAsNumber = null; input.value is "1970-01-01T00:00Z"
+PASS input.valueAsNumber = "foo" threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
+PASS input.valueAsNumber = NaN threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
+PASS input.valueAsNumber = Number.NaN threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
+PASS input.valueAsNumber = Infinity threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
+PASS input.valueAsNumber = Number.POSITIVE_INFINITY threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
+PASS input.valueAsNumber = Number.NEGATIVE_INFINITY threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
+Step attribute value and string representation:
+FAIL input.step = "1"; setValueAsNumberAndGetValue(2010, 0, 21, 0, 0, 0, 0) should be 2010-01-21T00:00:00. Was 2010-01-21T00:00Z.
+FAIL input.step = "0.001"; setValueAsNumberAndGetValue(2010, 0, 21, 0, 0, 0, 0) should be 2010-01-21T00:00:00.000. Was 2010-01-21T00:00Z.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list