| Summary: | [ macOS iOS ] compositing/video/poster.html is a flaky failure | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Hector Lopez <hector_i_lopez> | ||||||||
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||||||
| Status: | NEW --- | ||||||||||
| Severity: | Normal | CC: | ahmad.saleem792, eric.carlson, jer.noble, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=206678 https://bugs.webkit.org/show_bug.cgi?id=206916 |
||||||||||
| Attachments: |
|
||||||||||
|
Description
Hector Lopez
2020-08-28 08:58:39 PDT
Created attachment 407472 [details]
Expected image
Created attachment 407473 [details]
Actual image
Created attachment 407474 [details]
Diff image
Test expectation while investigated: https://trac.webkit.org/changeset/266279/webkit Test expectation for macOS and iOS wk1 already in place. If I understand the images correctly, it seems that we fail to load 'poster' and we have different aspect ratio. So it has two issue: 1) Flaky 2) Wrong aspect ratio. I stumbled across because I was looking into one of Blink commit: https://chromium.googlesource.com/chromium/blink/+/4553a07a51b9a38011642f5ccd194c1c059f20e6 In which following was modified: (WebKit function) https://searchfox.org/wubkat/rev/af9971e796398c1d012ef5df9a09ed580d19bd17/Source/WebCore/rendering/RenderImage.cpp#425 bool RenderImage::shouldDisplayBrokenImageIcon() const { return imageResource().errorOccurred(); } to bool RenderImage::shouldDisplayBrokenImageIcon() const { return imageResource().errorOccurred() && !isVideo(); } and then it will leads to: https://searchfox.org/wubkat/rev/af9971e796398c1d012ef5df9a09ed580d19bd17/Source/WebCore/rendering/RenderImage.cpp#889 to maintain aspect ratio. Just documenting here. |