Update WPT tests in html/canvas/element/wide-gamut-canvas
Created attachment 427315 [details] Patch
Created attachment 427316 [details] Patch
Comment on attachment 427316 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427316&action=review > LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/wide-gamut-canvas/2d.color.space.p3.to.p3-expected.txt:5 > +FAIL test getImageData with display-p3 and uint8 from display p3 uint8 canvas assert_approx_equals: expected 62 +/- 2 but got 50 Do you know why this fails?
(In reply to Darin Adler from comment #3) > Comment on attachment 427316 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=427316&action=review > > > LayoutTests/imported/w3c/web-platform-tests/html/canvas/element/wide-gamut-canvas/2d.color.space.p3.to.p3-expected.txt:5 > > +FAIL test getImageData with display-p3 and uint8 from display p3 uint8 canvas assert_approx_equals: expected 62 +/- 2 but got 50 > > Do you know why this fails? Yeah, we don't support P3 canvas at all yet. Any passes in this directory are just the test not fully testing what it thinks it is testing. Working toward adding P3 canvas in https://bugs.webkit.org/show_bug.cgi?id=225140.
And thank you for the review!
Committed r276776 (237160@main): <https://commits.webkit.org/237160@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427316 [details].
<rdar://problem/77323985>