Changeset 139087 in webkit


Ignore:
Timestamp:
Jan 8, 2013, 11:28:34 AM (13 years ago)
Author:
peter@chromium.org
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]):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r139085 r139087  
     12013-01-08  Peter Beverloo  <peter@chromium.org>
     2
     3        [Chromium] Modify Android's user agent CSS to not set a border-radius on select elements
     4        https://bugs.webkit.org/show_bug.cgi?id=106327
     5
     6        Reviewed by Adam Barth.
     7
     8        Android's user agent CSS overrides the style applied to <select>
     9        elements with a @size or @multiple attribute, and then applies
     10        (among other things) a border-radius of 5 pixels. While select
     11        elements with a larger size or multiple selection should appear
     12        as drop-down boxes for now, setting the border radius causes
     13        Chromium to skip rendering the background and border, making
     14        them hard to read when the page relies on the default styling.
     15
     16        This is covered by existing pixel tests.
     17
     18        * css/themeChromiumAndroid.css:
     19        (select[size][multiple]):
     20
    1212013-01-08  Mike West  <mkwst@chromium.org>
    222
  • trunk/Source/WebCore/css/themeChromiumAndroid.css

    r134558 r139087  
    3737    -webkit-box-align: center;
    3838    border: 1px solid;
    39     border-radius: 5px;
     39    border-radius: initial;
    4040    white-space: pre;
    4141}
Note: See TracChangeset for help on using the changeset viewer.