Changeset 206697 in webkit


Ignore:
Timestamp:
Sep 30, 2016, 5:18:52 PM (9 years ago)
Author:
bshafiei@apple.com
Message:

Merge follow up fix for rdar://problem/28567557.

Location:
branches/safari-602-branch/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-602-branch/Source/WebCore/ChangeLog

    r206670 r206697  
     12016-09-30  Babak Shafiei  <bshafiei@apple.com>
     2
     3        Merge follow up fix for rdar://problem/28567557.
     4
     5    2016-09-30  Anders Carlsson  <andersca@apple.com>
     6
     7            Follow up for <rdar://problem/28567561> Add CSS -webkit-appearance property for Apple Pay buttons
     8
     9            Reviewed by Dan Bernstein.
     10
     11            * css/CSSParser.cpp:
     12            (WebCore::isKeywordPropertyID):
     13            Add CSSPropertyApplePayButtonStyle and CSSPropertyApplePayButtonType.
     14
     15            * rendering/RenderThemeCocoa.mm:
     16            (WebCore::RenderThemeCocoa::paintApplePayButton):
     17            Make sure to reinitialize the text matrix.
     18
    1192016-09-30  Babak Shafiei  <bshafiei@apple.com>
    220
  • branches/safari-602-branch/Source/WebCore/css/CSSParser.cpp

    r206670 r206697  
    11521152#if ENABLE(CSS_TRAILING_WORD)
    11531153    case CSSPropertyAppleTrailingWord:
     1154#endif
     1155#if ENABLE(APPLE_PAY)
     1156    case CSSPropertyApplePayButtonStyle:
     1157    case CSSPropertyApplePayButtonType:
    11541158#endif
    11551159    case CSSPropertyFontVariantPosition:
  • branches/safari-602-branch/Source/WebCore/rendering/RenderThemeCocoa.mm

    r206670 r206697  
    9292    paintInfo.context().scale(FloatSize(1, -1));
    9393
     94    CGContextSetTextMatrix(paintInfo.context().platformContext(), CGAffineTransformIdentity);
    9495    PKDrawApplePayButton(paintInfo.context().platformContext(), CGRectMake(paintRect.x(), -paintRect.maxY(), paintRect.width(), paintRect.height()), 1.0, toPKPaymentButtonType(renderer.style().applePayButtonType()), toPKPaymentButtonStyle(renderer.style().applePayButtonStyle()), renderer.style().locale());
    9596
Note: See TracChangeset for help on using the changeset viewer.