Changeset 206181 in webkit
- Timestamp:
- Sep 20, 2016 3:30:49 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r206179 r206181 1 2016-09-20 Anders Carlsson <andersca@apple.com> 2 3 Remove "in-store" from "-apple-pay-button-type" 4 https://bugs.webkit.org/show_bug.cgi?id=162321 5 rdar://problem/28394581 6 7 Reviewed by Beth Dakin. 8 9 * css/CSSPrimitiveValueMappings.h: 10 (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): 11 (WebCore::CSSPrimitiveValue::operator ApplePayButtonType): 12 * css/CSSValueKeywords.in: 13 * css/parser/CSSParser.cpp: 14 (WebCore::isValidKeywordPropertyAndValue): 15 * css/parser/CSSParserFastPaths.cpp: 16 (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): 17 * rendering/RenderThemeCocoa.mm: 18 (WebCore::toPKPaymentButtonType): 19 * rendering/style/RenderStyleConstants.h: 20 1 21 2016-09-20 Alex Christensen <achristensen@webkit.org> 2 22 -
trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h
r205980 r206181 5531 5531 m_value.valueID = CSSValueSetUp; 5532 5532 break; 5533 case ApplePayButtonType::InStore:5534 m_value.valueID = CSSValueInStore;5535 break;5536 5533 default: 5537 5534 ASSERT_NOT_REACHED(); … … 5550 5547 case CSSValueSetUp: 5551 5548 return ApplePayButtonType::SetUp; 5552 case CSSValueInStore:5553 return ApplePayButtonType::InStore;5554 5549 default: 5555 5550 break; -
trunk/Source/WebCore/css/CSSValueKeywords.in
r206161 r206181 1280 1280 buy 1281 1281 set-up 1282 in-store1283 1282 #endif 1284 1283 -
trunk/Source/WebCore/css/parser/CSSParser.cpp
r206161 r206181 1066 1066 return true; 1067 1067 break; 1068 case CSSPropertyApplePayButtonType: // plain | buy | set-up | in-store1069 if (valueID == CSSValuePlain || valueID == CSSValueBuy || valueID == CSSValueSetUp || valueID == CSSValueInStore)1068 case CSSPropertyApplePayButtonType: // plain | buy | set-up 1069 if (valueID == CSSValuePlain || valueID == CSSValueBuy || valueID == CSSValueSetUp) 1070 1070 return true; 1071 1071 break; -
trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp
r206022 r206181 757 757 case CSSPropertyApplePayButtonStyle: // white | white-outline | black 758 758 return valueID == CSSValueWhite || valueID == CSSValueWhiteOutline || valueID == CSSValueBlack; 759 case CSSPropertyApplePayButtonType: // plain | buy | set-up | in-store760 return valueID == CSSValuePlain || valueID == CSSValueBuy || valueID == CSSValueSetUp || valueID == CSSValueInStore;759 case CSSPropertyApplePayButtonType: // plain | buy | set-up 760 return valueID == CSSValuePlain || valueID == CSSValueBuy || valueID == CSSValueSetUp; 761 761 #endif 762 762 default: -
trunk/Source/WebCore/rendering/RenderThemeCocoa.mm
r205980 r206181 79 79 case ApplePayButtonType::SetUp: 80 80 return PKPaymentButtonTypeSetUp; 81 case ApplePayButtonType::InStore:82 return PKPaymentButtonTypeInStore;83 81 } 84 82 } -
trunk/Source/WebCore/rendering/style/RenderStyleConstants.h
r205980 r206181 708 708 Buy, 709 709 SetUp, 710 InStore,711 710 }; 712 711 #endif
Note: See TracChangeset
for help on using the changeset viewer.