Bug 251558

Summary: Relax the checks of the alpha channel of the blurred stroke in fast/canvas/canvas-scale-strokePath-shadow.html
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: CanvasAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Said Abou-Hallawa 2023-02-01 15:56:18 PST
This test is a little bit fragile with the system changes which are related to the Gaussian blur stroke. The value of the alpha channel of the stroke can be different on different releases of macOS and iOS. And this why we have three platform expectations for this test.

To make the expectation more robust and to avoid the rebase-lining it in the future, we can relax the text a little and ensure the alpha channel of the blurred stroke is between 75 and 225 instead of 175 and 225.
Comment 1 Said Abou-Hallawa 2023-02-01 15:56:45 PST
rdar://104761905
Comment 2 Said Abou-Hallawa 2023-02-01 16:02:33 PST
Pull request: https://github.com/WebKit/WebKit/pull/9491
Comment 3 EWS 2023-02-02 11:34:30 PST
Committed 259765@main (d538ed723a99): <https://commits.webkit.org/259765@main>

Reviewed commits have been landed. Closing PR #9491 and removing active labels.