Changeset 235922 in webkit


Ignore:
Timestamp:
Sep 11, 2018 4:41:49 PM (6 years ago)
Author:
commit-queue@webkit.org
Message:

Follow up to:
Expose -apple-system-container-border color to internal web views.
https://bugs.webkit.org/show_bug.cgi?id=189178.

Patch by James Savage <James Savage> on 2018-09-11
Reviewed by Timothy Hatcher.

Source/WebCore:

  • rendering/RenderThemeMac.mm:

(WebCore::RenderThemeMac::systemColor const): Add a separate #if block for
Mojave. When I used CSSValueAppleSystemFindHighlightBackground as a template
for this change, I had to write out the condition in the first change, but
mistakenly thought I could reuse the block here. Turns out the versions were
different, and I could not.

LayoutTests:

  • platform/mac-highsierra/fast/css/apple-system-control-colors-expected.txt:

Reset test expectations to go along with fix.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r235921 r235922  
     12018-09-11  James Savage  <james.savage@apple.com>
     2
     3        Follow up to:
     4        Expose -apple-system-container-border color to internal web views.
     5        https://bugs.webkit.org/show_bug.cgi?id=189178.
     6
     7        Reviewed by Timothy Hatcher.
     8
     9        * platform/mac-highsierra/fast/css/apple-system-control-colors-expected.txt:
     10        Reset test expectations to go along with fix.
     11
    1122018-09-07  Dean Jackson  <dino@apple.com>
    213
  • trunk/LayoutTests/platform/mac-highsierra/fast/css/apple-system-control-colors-expected.txt

    r235874 r235922  
    2020-apple-system-grid : rgb(204, 204, 204)
    2121-apple-system-separator : rgb(204, 204, 204)
    22 -apple-system-container-border : rgba(0, 0, 0, 0)
     22-apple-system-container-border : rgb(197, 197, 197)
    2323current-color with inherited -apple-system-label : rgba(0, 0, 0, 0.85098)
  • trunk/Source/WebCore/ChangeLog

    r235920 r235922  
     12018-09-11  James Savage  <james.savage@apple.com>
     2
     3        Follow up to:
     4        Expose -apple-system-container-border color to internal web views.
     5        https://bugs.webkit.org/show_bug.cgi?id=189178.
     6
     7        Reviewed by Timothy Hatcher.
     8
     9        * rendering/RenderThemeMac.mm:
     10        (WebCore::RenderThemeMac::systemColor const): Add a separate #if block for
     11        Mojave. When I used CSSValueAppleSystemFindHighlightBackground as a template
     12        for this change, I had to write out the condition in the first change, but
     13        mistakenly thought I could reuse the block here. Turns out the versions were
     14        different, and I could not.
     15
    1162018-09-11  Youenn Fablet  <youenn@apple.com>
    217
  • trunk/Source/WebCore/rendering/RenderThemeMac.mm

    r235866 r235922  
    868868        case CSSValueAppleSystemFindHighlightBackground:
    869869            return platformActiveTextSearchHighlightColor(options);
    870 
     870#endif
     871
     872#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101400
    871873        case CSSValueAppleSystemContainerBorder:
    872874            return 0xFFC5C5C5;
Note: See TracChangeset for help on using the changeset viewer.