Bug 250885 - [ iOS Release arm64 ] css3/filters/effect-contrast-hw.html is a constant image failure
Summary: [ iOS Release arm64 ] css3/filters/effect-contrast-hw.html is a constant imag...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-19 18:12 PST by Bri Harris
Modified: 2023-01-20 15:20 PST (History)
6 users (show)

See Also:


Attachments
Image Diffs for Failing Test (37.75 KB, application/zip)
2023-01-19 18:14 PST, Bri Harris
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bri Harris 2023-01-19 18:12:54 PST
css3/filters/effect-contrast-hw.html

is a constant image only failure on iOS 16 release running on Apple Silicon only. 

HISTORY: 
https://results.webkit.org/?suite=layout-tests&test=css3%2Ffilters%2Feffect-contrast-hw.html&architecture=arm64

IMAGE DIFF URL: 
https://build.webkit.org/results/Apple-iOS-16-Simulator-Release-arm64-WK2-Tests/259102@main%20(754)/css3/filters/effect-contrast-hw-diffs.html

image diff images attached to bug.
Comment 1 Bri Harris 2023-01-19 18:14:07 PST
Created attachment 464571 [details]
Image Diffs for Failing Test
Comment 2 Bri Harris 2023-01-19 18:17:07 PST
I was able to reproduce this failure on my Apple Silicon Mac at iOS 16 Release ToT running the test as follows:

Run-Webkit-Tests css3/filters/effect-contrast-hw.html

Scrolling backwards in the history, it appears this test has been a constant image failure since we started running testing on iOS 16.
Comment 3 Radar WebKit Bug Importer 2023-01-19 18:18:15 PST
<rdar://problem/104456051>
Comment 4 Alexey Proskuryakov 2023-01-19 19:16:26 PST
This is a curious diff - it's not the colors that are different, but box sizes! Are contrast filters doing the wrong thing at the edges?
Comment 5 Simon Fraser (smfr) 2023-01-20 10:24:15 PST
It's possible the CoreAnimation's contrast filter has slightly different behavior. But I think it's OK to just increase the pixel tolerance here.
Comment 6 Alexey Proskuryakov 2023-01-20 11:33:24 PST
Hmm, isn't this going to create user visible cracks in page layout when this filter is used?
Comment 7 Bri Harris 2023-01-20 14:37:40 PST
Pull request: https://github.com/WebKit/WebKit/pull/8897
Comment 8 EWS 2023-01-20 14:47:18 PST
Test gardening commit 259154@main (9770e5c864b4): <https://commits.webkit.org/259154@main>

Reviewed commits have been landed. Closing PR #8897 and removing active labels.
Comment 9 Bri Harris 2023-01-20 15:20:56 PST
It appears that this test has been a constant image only failure on iOS 16 simulator running only on an Apple Silicon machine since this test was introduced at :

https://commits.webkit.org/254408@main