Bug 264826 - [Apple Pay] `continue` and `pay` button types are missing
Summary: [Apple Pay] `continue` and `pay` button types are missing
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Abrar Rahman Protyasha
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-14 10:54 PST by Abrar Rahman Protyasha
Modified: 2023-11-14 13:31 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abrar Rahman Protyasha 2023-11-14 10:54:56 PST
https://developer.apple.com/documentation/apple_pay_on_the_web/displaying_apple_pay_buttons_using_css claims that the `-apple-pay-button-type` CSS property accepts the `continue` and `pay` values for specific button types, but local testing indicates that we fall back to the `plain` button type when these properties are used.
Comment 1 Abrar Rahman Protyasha 2023-11-14 10:55:10 PST
rdar://116820183
Comment 2 Abrar Rahman Protyasha 2023-11-14 11:02:27 PST
Pull request: https://github.com/WebKit/WebKit/pull/20495
Comment 3 Abrar Rahman Protyasha 2023-11-14 13:31:37 PST
Closing this bug because we've decided not to implement these two button types in `-apple-pay-button-type` CSS. Support for them exists in the Apple Pay JS SDK instead: https://developer.apple.com/documentation/apple_pay_on_the_web/displaying_apple_pay_buttons_using_javascript