WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
230664
[GPU Process] support rendering Apple Pay logos
https://bugs.webkit.org/show_bug.cgi?id=230664
Summary
[GPU Process] support rendering Apple Pay logos
Devin Rousso
Reported
2021-09-22 20:18:56 PDT
.
Attachments
Patch
(2.62 KB, patch)
2021-09-22 20:21 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Patch
(9.42 KB, patch)
2021-09-30 20:33 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Patch
(23.64 KB, patch)
2021-10-07 18:03 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Patch
(21.07 KB, patch)
2021-10-08 15:44 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2021-09-22 20:19:15 PDT
<
rdar://problem/83187282
>
Devin Rousso
Comment 2
2021-09-22 20:21:44 PDT
Created
attachment 439007
[details]
Patch
Sam Weinig
Comment 3
2021-09-24 11:55:25 PDT
Comment on
attachment 439007
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=439007&action=review
> Source/WebCore/ChangeLog:8 > +
Is there a test that now passes? If not, (or perhaps even if) would probably be good to have one that draws the logo at various different sizes to make sure the scaling works.
Devin Rousso
Comment 4
2021-09-24 14:10:23 PDT
Comment on
attachment 439007
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=439007&action=review
>> Source/WebCore/ChangeLog:8 >> + > > Is there a test that now passes? If not, (or perhaps even if) would probably be good to have one that draws the logo at various different sizes to make sure the scaling works.
I don't believe there are any existing tests for this. Frankly I'm not entirely sure how to test this given that the actual content being drawn comes from a PDF in PassKit. I'm also being told that we don't like using `-expected.png` anymore nowadays 😅 Do you have any suggestions for testing this?
Simon Fraser (smfr)
Comment 5
2021-09-24 14:22:10 PDT
You can use transforms, clip-path etc to pick out solid-color parts of the drawn button and ref-test those.
Tim Horton
Comment 6
2021-09-30 12:04:25 PDT
Comment on
attachment 439007
[details]
Patch Devin is going to write a test (maybe just a cheap mismatch test) that would have failed before.
Devin Rousso
Comment 7
2021-09-30 20:33:44 PDT
Created
attachment 439816
[details]
Patch
Tim Horton
Comment 8
2021-10-04 15:14:40 PDT
Comment on
attachment 439816
[details]
Patch Mismatch test really only works for a single case at a time (because any one passing will make the whole thing pass), would recommend splitting them.
Devin Rousso
Comment 9
2021-10-07 18:03:37 PDT
Created
attachment 440563
[details]
Patch
Devin Rousso
Comment 10
2021-10-08 15:44:59 PDT
Created
attachment 440684
[details]
Patch not sure what's going on with `background-repeat: repeat`, but this test also fails before my changes so I'm going to remove it for now a file a bug about that as a followup
EWS
Comment 11
2021-10-08 23:24:40 PDT
Committed
r283864
(
242741@main
): <
https://commits.webkit.org/242741@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 440684
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug