Changeset 248648 in webkit


Ignore:
Timestamp:
Aug 13, 2019 5:31:49 PM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Focus rings are black
https://bugs.webkit.org/show_bug.cgi?id=200593
<rdar://problem/54145925>

Patch by Daniel Bates <dabates@apple.com> on 2019-08-13
Reviewed by Wenson Hsieh.

Work around <rdar://problem/50838886> and make focus rings a pretty blue.

  • rendering/RenderThemeIOS.mm:

(WebCore::RenderThemeIOS::platformFocusRingColor const):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r248641 r248648  
     12019-08-13  Daniel Bates  <dabates@apple.com>
     2
     3        Focus rings are black
     4        https://bugs.webkit.org/show_bug.cgi?id=200593
     5        <rdar://problem/54145925>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        Work around <rdar://problem/50838886> and make focus rings a pretty blue.
     10
     11        * rendering/RenderThemeIOS.mm:
     12        (WebCore::RenderThemeIOS::platformFocusRingColor const):
     13
    1142019-08-13  Zalan Bujtas  <zalan@apple.com>
    215
  • trunk/Source/WebCore/rendering/RenderThemeIOS.mm

    r246938 r248648  
    11331133Color RenderThemeIOS::platformFocusRingColor(OptionSet<StyleColor::Options>) const
    11341134{
    1135     return colorFromUIColor([PAL::getUIColorClass() keyboardFocusIndicatorColor]);
     1135    // FIXME: Should be using -keyboardFocusIndicatorColor. For now, work around <rdar://problem/50838886>.
     1136    return colorFromUIColor([PAL::getUIColorClass() systemBlueColor]);
    11361137}
    11371138#endif
Note: See TracChangeset for help on using the changeset viewer.