Changeset 210423 in webkit


Ignore:
Timestamp:
Jan 5, 2017 5:55:07 PM (7 years ago)
Author:
Simon Fraser
Message:

Radio buttons have a fixed border radius making them look square when resized
https://bugs.webkit.org/show_bug.cgi?id=148676
Source/WebCore:

rdar://problem/29889892

Reviewed by Tim Horton.

Change the 8px border-radius of iOS radio buttons to 50% so they remain circular
when the page overrides the size.

Test: fast/forms/ios/large-radio-button-is-round.html

  • css/html.css:

(#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS):

LayoutTests:

Reviewed by Tim Horton.

  • fast/forms/ios/large-radio-button-is-round-expected.html: Added.
  • fast/forms/ios/large-radio-button-is-round.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r210399 r210423  
     12017-01-05  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Radio buttons have a fixed border radius making them look square when resized
     4        https://bugs.webkit.org/show_bug.cgi?id=148676
     5
     6        Reviewed by Tim Horton.
     7
     8        * fast/forms/ios/large-radio-button-is-round-expected.html: Added.
     9        * fast/forms/ios/large-radio-button-is-round.html: Added.
     10
    1112017-01-05  Myles C. Maxfield  <mmaxfield@apple.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r210400 r210423  
     12017-01-05  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Radio buttons have a fixed border radius making them look square when resized
     4        https://bugs.webkit.org/show_bug.cgi?id=148676
     5        rdar://problem/29889892
     6
     7        Reviewed by Tim Horton.
     8
     9        Change the 8px border-radius of iOS radio buttons to 50% so they remain circular
     10        when the page overrides the size.
     11
     12        Test: fast/forms/ios/large-radio-button-is-round.html
     13
     14        * css/html.css:
     15        (#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS):
     16
    1172017-01-05  Myles C. Maxfield  <mmaxfield@apple.com>
    218
  • trunk/Source/WebCore/css/html.css

    r207280 r210423  
    796796input[type="radio"] {
    797797    -webkit-appearance: radio;
    798     border-radius: 8px;
     798    border-radius: 50%;
    799799    width: 16px;
    800800    height: 16px;
Note: See TracChangeset for help on using the changeset viewer.