Title: [115052] trunk/Source/WebCore
Revision
115052
Author
tk...@chromium.org
Date
2012-04-24 07:47:23 -0700 (Tue, 24 Apr 2012)

Log Message

Clickable area of a calendar picker indicator is too small.
https://bugs.webkit.org/show_bug.cgi?id=84677

Reviewed by Kentaro Hara.

Test: fast/forms/date/date-appearance.html is affected.

* css/html.css:
(input::-webkit-calendar-picker-indicator):
- Remove unnecessary disaplay:inline-block.
- Add paddings instead of the margin.
(input::-webkit-calendar-picker-indicator:hover):
Add hover style.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (115051 => 115052)


--- trunk/Source/WebCore/ChangeLog	2012-04-24 14:29:23 UTC (rev 115051)
+++ trunk/Source/WebCore/ChangeLog	2012-04-24 14:47:23 UTC (rev 115052)
@@ -1,3 +1,19 @@
+2012-04-24  Kent Tamura  <tk...@chromium.org>
+
+        Clickable area of a calendar picker indicator is too small.
+        https://bugs.webkit.org/show_bug.cgi?id=84677
+
+        Reviewed by Kentaro Hara.
+
+        Test: fast/forms/date/date-appearance.html is affected.
+
+        * css/html.css:
+        (input::-webkit-calendar-picker-indicator):
+        - Remove unnecessary disaplay:inline-block.
+        - Add paddings instead of the margin.
+        (input::-webkit-calendar-picker-indicator:hover):
+        Add hover style.
+
 2012-04-24  Alexis Menard  <alexis.men...@openbossa.org>
 
         Another unreviewed build fix for Mac.

Modified: trunk/Source/WebCore/css/html.css (115051 => 115052)


--- trunk/Source/WebCore/css/html.css	2012-04-24 14:29:23 UTC (rev 115051)
+++ trunk/Source/WebCore/css/html.css	2012-04-24 14:47:23 UTC (rev 115052)
@@ -669,11 +669,14 @@
 
 #if defined(ENABLE_CALENDAR_PICKER) && ENABLE_CALENDAR_PICKER
 input::-webkit-calendar-picker-indicator {
-    display: inline-block;
     width: 0.66em;
     height: 0.66em;
-    -webkit-margin-end: 0.2em;
+    padding: 0.17em 0.34em;
 }
+
+input::-webkit-calendar-picker-indicator:hover {
+    background-color: #eee;
+}
 #endif // ENABLE_CALENDAR_PICKER
 
 select {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to