Modified: trunk/LayoutTests/ChangeLog (127088 => 127089)
--- trunk/LayoutTests/ChangeLog 2012-08-30 03:12:25 UTC (rev 127088)
+++ trunk/LayoutTests/ChangeLog 2012-08-30 03:22:40 UTC (rev 127089)
@@ -1,3 +1,23 @@
+2012-08-29 Yoshifumi Inoue <[email protected]>
+
+ [Tests] Add test case for right-to-left rendering of multiple fields time input UI
+ https://bugs.webkit.org/show_bug.cgi?id=95285
+
+ Reviewed by Kent Tamura.
+
+ This patch adds a new test case of appearance of dir="rtl" case to
+ multiple fields time input UI.
+
+ This patch affects ports which enable both ENABLE_INPUT_TYPE_TIME and
+ ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS.
+
+ Note: I'll do rebaseline for Chromium-Mac and Chromium-Win.
+
+ * fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic.html: Added an input element with dir="rtl".
+ * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png: Updated for a new input element.
+ * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.txt: ditto.
+ * platform/chromium/TestExpectations: Disabled time-multiple-fields-appearance-basic.html for Chromium-Mac and Chromium-Win.
+
2012-08-29 Aaron Colwell <[email protected]>
Add WebKit prefix to MediaSource, SourceBuffer, & SourceBufferList DOMWindow constructor attributes.
Modified: trunk/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic.html (127088 => 127089)
--- trunk/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic.html 2012-08-30 03:12:25 UTC (rev 127088)
+++ trunk/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic.html 2012-08-30 03:22:40 UTC (rev 127089)
@@ -7,6 +7,7 @@
<li>step=60 <input type="time" step="60"> <input step="60" type="time" value="12:34"></li>
<li>step=3600 <input type="time" step="3600"> <input step="3600" type="time" value="12:00"></li>
<li>step mismatched <input type="time" step="60" value="12:34:56"></li>
+ <li>RTL <input type="time" step="1" value="12:34:56" dir="rtl"></li>
</ul>
</body>
<script>
Modified: trunk/LayoutTests/platform/chromium/TestExpectations (127088 => 127089)
--- trunk/LayoutTests/platform/chromium/TestExpectations 2012-08-30 03:12:25 UTC (rev 127088)
+++ trunk/LayoutTests/platform/chromium/TestExpectations 2012-08-30 03:22:40 UTC (rev 127089)
@@ -175,6 +175,9 @@
BUGWK94287 MAC WIN : fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes.html = MISSING TEXT IMAGE IMAGE+TEXT PASS
BUGWK94287 MAC WIN : fast/forms/time-multiple-fields/time-multiple-fields-appearance-style.html = MISSING TEXT IMAGE IMAGE+TEXT PASS
+// Disabled until bots are ready for rebaseline
+BUGWK95285 MAC WIN : fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic.html = MISSING TEXT IMAGE IMAGE+TEXT PASS
+
// Proximity Events is not supported.
BUGWK92942 SKIP : fast/dom/Proximity = PASS
BUGWK92942 SKIP : fast/events/constructors/device-proximity-event-constructor.html = PASS
Modified: trunk/LayoutTests/platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.txt (127088 => 127089)
--- trunk/LayoutTests/platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.txt 2012-08-30 03:12:25 UTC (rev 127088)
+++ trunk/LayoutTests/platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.txt 2012-08-30 03:22:40 UTC (rev 127089)
@@ -3,7 +3,7 @@
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x576
- RenderBlock {UL} at (0,0) size 784x180
+ RenderBlock {UL} at (0,0) size 784x210
RenderListItem {LI} at (40,0) size 744x30
RenderListMarker at (-18,4) size 7x19: bullet
RenderText {#text} at (0,4) size 67x19
@@ -249,6 +249,31 @@
RenderInline {SPAN} at (0,0) size 20x20
RenderText {#text} at (86,2) size 16x16
text run at (86,2) width 16: "PM"
+ RenderListItem {LI} at (40,180) size 744x30
+ RenderListMarker at (-18,4) size 7x19: bullet
+ RenderText {#text} at (0,4) size 32x19
+ text run at (0,4) width 32: "RTL "
+ RenderBlock {INPUT} at (34,2) size 128x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderDeprecatedFlexibleBox {DIV} at (3,3) size 122x20
+ RenderBlock (anonymous) at (17,0) size 105x20
+ RenderBlock {SPAN} at (84,0) size 20x20
+ RenderText {#text} at (2,2) size 16x16
+ text run at (2,2) width 16: "12"
+ RenderText {#text} at (76,2) size 8x16
+ text run at (76,2) width 8 RTL: ":"
+ RenderBlock {SPAN} at (56,0) size 20x20
+ RenderText {#text} at (2,2) size 16x16
+ text run at (2,2) width 16: "34"
+ RenderText {#text} at (48,2) size 8x16
+ text run at (48,2) width 8 RTL: ":"
+ RenderBlock {SPAN} at (28,0) size 20x20
+ RenderText {#text} at (2,2) size 16x16
+ text run at (2,2) width 16: "56"
+ RenderText {#text} at (20,2) size 8x16
+ text run at (20,2) width 8 RTL: " "
+ RenderInline {SPAN} at (0,0) size 20x20
+ RenderText {#text} at (2,2) size 16x16
+ text run at (2,2) width 16: "PM"
layer at (199,13) size 15x20
RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
layer at (306,13) size 15x20
@@ -271,3 +296,5 @@
RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
layer at (264,163) size 15x20
RenderBlock (relative positioned) {DIV} at (106,0) size 16x20
+layer at (88,193) size 15x20
+ RenderBlock (relative positioned) {DIV} at (2,0) size 16x20