Diff
Modified: trunk/LayoutTests/ChangeLog (130106 => 130107)
--- trunk/LayoutTests/ChangeLog 2012-10-02 00:55:41 UTC (rev 130106)
+++ trunk/LayoutTests/ChangeLog 2012-10-02 01:03:58 UTC (rev 130107)
@@ -1,3 +1,40 @@
+2012-10-01 Yoshifumi Inoue <yo...@chromium.org>
+
+ Adding appearance tests for multiple fields week input UI
+ https://bugs.webkit.org/show_bug.cgi?id=98006
+
+ Reviewed by Kent Tamura.
+
+ This patch adds tests for multiple fields week input UI and disables
+ these tests on ports which don't enable both ENABLE_INPUT_TYPE_WEEK
+ and ENABLE_INPUT_MULTIPLE_FIELDS_UI.
+
+ Note: We need to do rebaseline tests to update images for Chromium-Mac
+ and Chromium-Win.
+
+ Note: This patch affects ports which enable both ENABLE_INPUT_TYPE_WEEK
+ and ENABLE_INPUT_MULTIPLE_FIELDS_UI.
+
+ * fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.txt: Added.
+ * fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic.html: Added for checking basic appearance.
+ * fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.txt: Added.
+ * fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes.html: Added for checking appearance of applying CSS pseudo classes, e.g. :enabled, :invalid, and so on.
+ * fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.txt: Added.
+ * fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements.html: Added for checking appearance of applying CSS pseudo elements, e.g. :after, :before, and so on.
+ * fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.txt: Added.
+ * fast/forms/week-multiple-fields/week-multiple-fields-appearance-style.html: Added for checking appearance of applying CSS styles
+ * platform/chromium-android/TestExpectations: Changed to disable tests for multiple fields week input UI.
+ * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png: Added.
+ * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png: Added.
+ * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png: Added.
+ * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png: Added.
+ * platform/chromium/TestExpectations: Changed to disable tests for multiple fields week input UI of Mac and Win for rebaseline.
+ * platform/efl/TestExpectations: Changed to disable tests for multiple fields week input UI.
+ * platform/gtk/TestExpectations: ditto
+ * platform/mac/TestExpectations: ditto
+ * platform/qt/TestExpectations: ditto
+ * platform/win/TestExpectations: ditto
+
2012-10-01 Filip Pizlo <fpi...@apple.com>
Address a FIXME in JSArray::sort
Added: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.txt (0 => 130107)
--- trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.txt 2012-10-02 01:03:58 UTC (rev 130107)
@@ -0,0 +1,5 @@
+basic
+focus
+disabled
+readonly
+RTL
Property changes on: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.txt
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic.html (0 => 130107)
--- trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic.html (rev 0)
+++ trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic.html 2012-10-02 01:03:58 UTC (rev 130107)
@@ -0,0 +1,15 @@
+<html>
+<body>
+<ul>
+ <li>basic <input type="week"> <input type="week" value="1982-W25"></li>
+ <li>focus <input autofocus type="week"> <input type="week" value="1982-W25"></li>
+ <li>disabled <input type="week" disabled> <input type="week" value="1982-W25" disabled></li>
+ <li>readonly <input type="week" readonly> <input type="week" value="1982-W25" readonly></li>
+ <li>RTL <input type="week" dir="rtl"> <input type="week" value="1982-W25" dir="rtl"></li>
+</ul>
+</body>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText(true);
+</script>
+</html>
Property changes on: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic.html
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.txt (0 => 130107)
--- trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.txt 2012-10-02 01:03:58 UTC (rev 130107)
@@ -0,0 +1,10 @@
+Input Type "week"
+
+Pseudo Classes
+
+:enabled, :valid
+:disabled
+:invalid
+:in-range
+:out-of-range
+:read-only
Property changes on: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.txt
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes.html (0 => 130107)
--- trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes.html (rev 0)
+++ trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes.html 2012-10-02 01:03:58 UTC (rev 130107)
@@ -0,0 +1,29 @@
+<html>
+<head>
+<style type="text/css">
+:disabled { color: gray; }
+:enabled { color: blue; }
+:invalid { color: pink; }
+:in-range { font-weight: bold; }
+:out-of-range { color: red; }
+:read-only { color: yellow; }
+:valid { color: green; }
+</style>
+</head>
+<body>
+<h1>Input Type "week"</h1>
+<h2>Pseudo Classes</h2>
+<table>
+<tr><th>:enabled, :valid</th><td><input type="week" value="1982-W25"></td></tr>
+<tr><th>:disabled</th><td><input type="week" value="1982-W25" disabled></td></tr>
+<tr><th>:invalid</th><td><input type="week" value="1982-W25" min="1982-W10" step="2"></td></tr>
+<tr><th>:in-range</th><td><input type="week" value="1982-W25" min="1982-W01" max="1982-W30"></td></tr>
+<tr><th>:out-of-range</th><td><input type="week" value="1982-W25" min="1981-W01" max="1981-W12"></td></tr>
+<tr><th>:read-only</th><td><input type="week" value="1982-W25" readonly></td></tr>
+</table>
+</body>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText(true);
+</script>
+</html>
Property changes on: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes.html
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.txt (0 => 130107)
--- trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.txt 2012-10-02 01:03:58 UTC (rev 130107)
@@ -0,0 +1,3 @@
+
+
+
Property changes on: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.txt
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements.html (0 => 130107)
--- trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements.html (rev 0)
+++ trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements.html 2012-10-02 01:03:58 UTC (rev 130107)
@@ -0,0 +1,20 @@
+<html>
+<head>
+<style type="text/css">
+.after:after { content: "[after]"; }
+.before:before { content: "[before]"; }
+.first-letter:first-letter { color: green; font-size: 200%; }
+</style>
+</head>
+<body>
+<ul>
+ <li><input type="week" value="1982-W25" class="after"></li>
+ <li><input type="week" value="1982-W25" class="before"></li>
+ <li><input type="week" value="1982-W25" class="first-letter"></li>
+</ul>
+</body>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText(true);
+</script>
+</html>
Property changes on: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements.html
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.txt (0 => 130107)
--- trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.txt 2012-10-02 01:03:58 UTC (rev 130107)
@@ -0,0 +1,5 @@
+text-align:
+text-transform:
+background, color:
+font-size:
+font-size with fixed input width:
Property changes on: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.txt
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style.html (0 => 130107)
--- trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style.html (rev 0)
+++ trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style.html 2012-10-02 01:03:58 UTC (rev 130107)
@@ -0,0 +1,15 @@
+<html>
+<body>
+<ul>
+ <li>text-align: <input type="week" value="1982-W25" style="text-align: left"></li>
+ <li>text-transform: <input type="week" value="1982-W25" style="text-transform: lowercase"></li>
+ <li>background, color: <input type="week" value="1982-W25" style="border: 0px; background: green; color: yellow"></li>
+ <li>font-size: <input type="week" value="1982-W25" style="font-size: 20pt"></li>
+ <li>font-size with fixed input width: <input type="week" value="1982-W25" style="font-size: 20pt; width: 10em;"></li>
+</ul>
+</body>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText(true);
+</script>
+</html>
Property changes on: trunk/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style.html
___________________________________________________________________
Added: svn:eol-style
Modified: trunk/LayoutTests/platform/chromium/TestExpectations (130106 => 130107)
--- trunk/LayoutTests/platform/chromium/TestExpectations 2012-10-02 00:55:41 UTC (rev 130106)
+++ trunk/LayoutTests/platform/chromium/TestExpectations 2012-10-02 01:03:58 UTC (rev 130107)
@@ -3584,6 +3584,11 @@
webkit.org/b/96833 svg/carto.net/selectionlist.svg [ ImageOnlyFailure Pass ]
webkit.org/b/96833 svg/carto.net/combobox.svg [ ImageOnlyFailure Pass ]
+webkit.org/b/97877 [ Mac Win ] fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic.html [ ImageOnlyFailure Pass ]
+webkit.org/b/97877 [ Mac Win ] fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes.html [ ImageOnlyFailure Pass ]
+webkit.org/b/97877 [ Mac Win ] fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements.html [ ImageOnlyFailure Pass ]
+webkit.org/b/97877 [ Mac Win ] fast/forms/week-multiple-fields/week-multiple-fields-appearance-style.html [ ImageOnlyFailure Pass ]
+
webkit.org/b/96720 [ Mac Win ] fast/forms/time-multiple-fields/time-multiple-fields-preserve-value-after-history-back.html [ Pass Timeout ]
webkit.org/b/96549 [ Mac ] platform/chromium/virtual/gpu/fast/hidpi/focus-rings.html [ ImageOnlyFailure ]
webkit.org/b/96549 [ Mac ] platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi.html [ ImageOnlyFailure ]
Modified: trunk/LayoutTests/platform/chromium-android/TestExpectations (130106 => 130107)
--- trunk/LayoutTests/platform/chromium-android/TestExpectations 2012-10-02 00:55:41 UTC (rev 130106)
+++ trunk/LayoutTests/platform/chromium-android/TestExpectations 2012-10-02 01:03:58 UTC (rev 130107)
@@ -49,6 +49,7 @@
crbug.com/145338 fast/forms/month-multiple-fields
crbug.com/145338 fast/forms/time-multiple-fields
+crbug.com/145338 fast/forms/week-multiple-fields
crbug.com/145338 fast/forms/color
crbug.com/145338 fast/forms/datalist
crbug.com/145338 fast/forms/date
Added: trunk/LayoutTests/platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png
(Binary files differ)
Property changes on: trunk/LayoutTests/platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png
___________________________________________________________________
Added: svn:mime-type
Added: trunk/LayoutTests/platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png
(Binary files differ)
Property changes on: trunk/LayoutTests/platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png
___________________________________________________________________
Added: svn:mime-type
Added: trunk/LayoutTests/platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png
(Binary files differ)
Property changes on: trunk/LayoutTests/platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png
___________________________________________________________________
Added: svn:mime-type
Added: trunk/LayoutTests/platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png
(Binary files differ)
Property changes on: trunk/LayoutTests/platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png
___________________________________________________________________
Added: svn:mime-type
Modified: trunk/LayoutTests/platform/efl/TestExpectations (130106 => 130107)
--- trunk/LayoutTests/platform/efl/TestExpectations 2012-10-02 00:55:41 UTC (rev 130106)
+++ trunk/LayoutTests/platform/efl/TestExpectations 2012-10-02 01:03:58 UTC (rev 130107)
@@ -1410,6 +1410,7 @@
# ENABLE(INPUT_MULTIPLE_FIELDS_UI) is disabled
webkit.org/b/97299 fast/forms/month-multiple-fields
webkit.org/b/94186 fast/forms/time-multiple-fields
+webkit.org/b/97877 fast/forms/week-multiple-fields
webkit.org/b/93976 fast/css-generated-content/quotes-lang.html [ ImageOnlyFailure ]
Modified: trunk/LayoutTests/platform/gtk/TestExpectations (130106 => 130107)
--- trunk/LayoutTests/platform/gtk/TestExpectations 2012-10-02 00:55:41 UTC (rev 130106)
+++ trunk/LayoutTests/platform/gtk/TestExpectations 2012-10-02 01:03:58 UTC (rev 130107)
@@ -1323,6 +1323,7 @@
webkit.org/b/97299 fast/forms/month-multiple-fields
webkit.org/b/94186 fast/forms/time-multiple-fields
+webkit.org/b/97877 fast/forms/week-multiple-fields
webkit.org/b/70485 fast/events/drag-selects-image.html [ Failure ]
Modified: trunk/LayoutTests/platform/mac/TestExpectations (130106 => 130107)
--- trunk/LayoutTests/platform/mac/TestExpectations 2012-10-02 00:55:41 UTC (rev 130106)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2012-10-02 01:03:58 UTC (rev 130107)
@@ -811,6 +811,7 @@
# ENABLE(INPUT_MULTIPLE_FIELDS_UI) is disabled
fast/forms/month-multiple-fields
fast/forms/time-multiple-fields
+fast/forms/week-multiple-fields
# <rdar://problem/11224160> Focus not transferring properly in DumpRenderTree in Mountain Lion
fast/events/show-modal-dialog-onblur-onfocus.html
Modified: trunk/LayoutTests/platform/qt/TestExpectations (130106 => 130107)
--- trunk/LayoutTests/platform/qt/TestExpectations 2012-10-02 00:55:41 UTC (rev 130106)
+++ trunk/LayoutTests/platform/qt/TestExpectations 2012-10-02 01:03:58 UTC (rev 130107)
@@ -2722,6 +2722,7 @@
# ENABLE(INPUT_MULTIPLE_FIELDS_UI) is disabled
fast/forms/month-multiple-fields
fast/forms/time-multiple-fields
+fast/forms/week-multiple-fields
# [Qt] New inspector/timeline/timeline-decode-resize.html introduced in r125790 fails
# https://bugs.webkit.org/show_bug.cgi?id=94341
Modified: trunk/LayoutTests/platform/win/TestExpectations (130106 => 130107)
--- trunk/LayoutTests/platform/win/TestExpectations 2012-10-02 00:55:41 UTC (rev 130106)
+++ trunk/LayoutTests/platform/win/TestExpectations 2012-10-02 01:03:58 UTC (rev 130107)
@@ -1986,6 +1986,7 @@
# ENABLE(INPUT_MULTIPLE_FIELDS_UI) is disabled
fast/forms/month-multiple-fields
fast/forms/time-multiple-fields
+fast/forms/week-multiple-fields
# Require rebaseline after https://bugs.webkit.org/show_bug.cgi?id=84286
fast/block/float/avoidance-rtl.html