Title: [142076] trunk/Source/WebCore
Revision
142076
Author
[email protected]
Date
2013-02-07 00:40:17 -0800 (Thu, 07 Feb 2013)

Log Message

REGRESSION(r141195): INPUT_MULTIPLE_FIELDS_UI: Space in a placeholder string is removed
https://bugs.webkit.org/show_bug.cgi?id=109132

Reviewed by Hajime Morita.

<input  type=date> should be shown in Japanese UI as:
[ 年 /月/日]
But it is shown wrongly since r141195:
[年 /月/日]

We should use white-space:pre.

No new tests. This change is not testable in WebKit because this
requires a Japanese-localized UI string of Chromium.

* css/html.css:
(input::-webkit-datetime-edit-fields-wrapper):
Use white-space:pre instead of nowrap.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (142075 => 142076)


--- trunk/Source/WebCore/ChangeLog	2013-02-07 08:38:55 UTC (rev 142075)
+++ trunk/Source/WebCore/ChangeLog	2013-02-07 08:40:17 UTC (rev 142076)
@@ -1,3 +1,24 @@
+2013-02-06  Kent Tamura  <[email protected]>
+
+        REGRESSION(r141195): INPUT_MULTIPLE_FIELDS_UI: Space in a placeholder string is removed
+        https://bugs.webkit.org/show_bug.cgi?id=109132
+
+        Reviewed by Hajime Morita.
+
+        <input  type=date> should be shown in Japanese UI as:
+        [ 年 /月/日]
+        But it is shown wrongly since r141195:
+        [年 /月/日]
+
+        We should use white-space:pre.
+
+        No new tests. This change is not testable in WebKit because this
+        requires a Japanese-localized UI string of Chromium.
+
+        * css/html.css:
+        (input::-webkit-datetime-edit-fields-wrapper):
+        Use white-space:pre instead of nowrap.
+
 2013-02-06  Kentaro Hara  <[email protected]>
 
         Remove DOMWindow::parseModalDialogFeatures()

Modified: trunk/Source/WebCore/css/html.css (142075 => 142076)


--- trunk/Source/WebCore/css/html.css	2013-02-07 08:38:55 UTC (rev 142075)
+++ trunk/Source/WebCore/css/html.css	2013-02-07 08:40:17 UTC (rev 142076)
@@ -557,7 +557,7 @@
     -webkit-user-modify: read-only !important;
     display: inline-block;
     padding: 1px 0;
-    white-space: nowrap;
+    white-space: pre;
 }
 
 /* If you update padding, border, or margin in the following ruleset, update
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to