Title: [139087] trunk/Source/WebCore
Revision
139087
Author
pe...@chromium.org
Date
2013-01-08 11:28:34 -0800 (Tue, 08 Jan 2013)

Log Message

[Chromium] Modify Android's user agent CSS to not set a border-radius on select elements
https://bugs.webkit.org/show_bug.cgi?id=106327

Reviewed by Adam Barth.

Android's user agent CSS overrides the style applied to <select>
elements with a @size or @multiple attribute, and then applies
(among other things) a border-radius of 5 pixels. While select
elements with a larger size or multiple selection should appear
as drop-down boxes for now, setting the border radius causes
Chromium to skip rendering the background and border, making
them hard to read when the page relies on the default styling.

This is covered by existing pixel tests.

* css/themeChromiumAndroid.css:
(select[size][multiple]):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (139086 => 139087)


--- trunk/Source/WebCore/ChangeLog	2013-01-08 19:27:30 UTC (rev 139086)
+++ trunk/Source/WebCore/ChangeLog	2013-01-08 19:28:34 UTC (rev 139087)
@@ -1,3 +1,23 @@
+2013-01-08  Peter Beverloo  <pe...@chromium.org>
+
+        [Chromium] Modify Android's user agent CSS to not set a border-radius on select elements
+        https://bugs.webkit.org/show_bug.cgi?id=106327
+
+        Reviewed by Adam Barth.
+
+        Android's user agent CSS overrides the style applied to <select>
+        elements with a @size or @multiple attribute, and then applies
+        (among other things) a border-radius of 5 pixels. While select
+        elements with a larger size or multiple selection should appear
+        as drop-down boxes for now, setting the border radius causes
+        Chromium to skip rendering the background and border, making
+        them hard to read when the page relies on the default styling.
+
+        This is covered by existing pixel tests.
+
+        * css/themeChromiumAndroid.css:
+        (select[size][multiple]):
+
 2013-01-08  Mike West  <mk...@chromium.org>
 
         CSP: 'none' should take effect only if no other source _expression_ is present.

Modified: trunk/Source/WebCore/css/themeChromiumAndroid.css (139086 => 139087)


--- trunk/Source/WebCore/css/themeChromiumAndroid.css	2013-01-08 19:27:30 UTC (rev 139086)
+++ trunk/Source/WebCore/css/themeChromiumAndroid.css	2013-01-08 19:28:34 UTC (rev 139087)
@@ -36,6 +36,6 @@
     -webkit-appearance: menulist;
     -webkit-box-align: center;
     border: 1px solid;
-    border-radius: 5px;
+    border-radius: initial;
     white-space: pre;
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to