Changeset 206697 in webkit
- Timestamp:
- Sep 30, 2016, 5:18:52 PM (9 years ago)
- Location:
- branches/safari-602-branch/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-602-branch/Source/WebCore/ChangeLog
r206670 r206697 1 2016-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 1 19 2016-09-30 Babak Shafiei <bshafiei@apple.com> 2 20 -
branches/safari-602-branch/Source/WebCore/css/CSSParser.cpp
r206670 r206697 1152 1152 #if ENABLE(CSS_TRAILING_WORD) 1153 1153 case CSSPropertyAppleTrailingWord: 1154 #endif 1155 #if ENABLE(APPLE_PAY) 1156 case CSSPropertyApplePayButtonStyle: 1157 case CSSPropertyApplePayButtonType: 1154 1158 #endif 1155 1159 case CSSPropertyFontVariantPosition: -
branches/safari-602-branch/Source/WebCore/rendering/RenderThemeCocoa.mm
r206670 r206697 92 92 paintInfo.context().scale(FloatSize(1, -1)); 93 93 94 CGContextSetTextMatrix(paintInfo.context().platformContext(), CGAffineTransformIdentity); 94 95 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()); 95 96
Note:
See TracChangeset
for help on using the changeset viewer.