From 55706f5aeb69f20488dc6f6f735c515c784be705 Mon Sep 17 00:00:00 2001 From: Tiancheng Jiang Date: Mon, 27 May 2013 15:03:03 +0000 Subject: [PATCH] Adjust date input width. https://bugs.webkit.org/show_bug.cgi?id=100760. Patch by Tiancheng Jiang on 2013-05-27 Reviewed by Rob Buis. BlackBerry PR 343497. Internally Reviewed by Jeff Rogers. Set width to auto to fit the string length. * css/themeBlackBerry.css: (input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="time"], input[type="month"]): Canonical link: https://commits.webkit.org/135122@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150754 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebCore/ChangeLog | 15 +++++++++++++++ Source/WebCore/css/themeBlackBerry.css | 1 + 2 files changed, 16 insertions(+) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index b4ef85dfe55c..e86f4aad3b69 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,18 @@ +2013-05-27 Tiancheng Jiang + + Adjust date input width. + https://bugs.webkit.org/show_bug.cgi?id=100760. + + Reviewed by Rob Buis. + + BlackBerry PR 343497. + Internally Reviewed by Jeff Rogers. + + Set width to auto to fit the string length. + + * css/themeBlackBerry.css: + (input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="time"], input[type="month"]): + 2013-05-27 Andreas Kling Document::setHoveredNode() should be setHoveredElement(). diff --git a/Source/WebCore/css/themeBlackBerry.css b/Source/WebCore/css/themeBlackBerry.css index 8ce66436d4f7..acd35f3fa67c 100644 --- a/Source/WebCore/css/themeBlackBerry.css +++ b/Source/WebCore/css/themeBlackBerry.css @@ -109,4 +109,5 @@ input[type="date"], input[type="datetime"], input[type="datetime-local"], input[ font-family: "Slate Pro"; -webkit-appearance: button; text-align: center; + width:auto; }