| Summary: | TextureMapper renders video element with "object-fit: cover" incorrectly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tomoki Imai <tomoki.imai> | ||||
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | aboya, bugs-noreply, cmarcelo, don.olmstead, ews-watchlist, gyuyoung.kim, kondapallykalyan, luiz, mcatanzaro, noam, ryuan.choi, sergio, zan, zeno | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=52103 https://bugs.webkit.org/show_bug.cgi?id=177536 https://bugs.webkit.org/show_bug.cgi?id=163528 https://bugs.webkit.org/show_bug.cgi?id=210787 |
||||||
| Attachments: |
|
||||||
|
Description
Tomoki Imai
2020-04-15 05:47:29 PDT
Created attachment 396522 [details]
patch
Unfortunately compositing/video/video-object-fit.html is disabled due to bug 177536 and bug 163528. It might be better to re-enabled it again if possible. I tried to enable compositing/video/video-object-fit.html test in GTK, it doesn't crash for several run-webkit-tests.
But instead of crash, I see some text diff failure.
Where does "(anchor 0.00 0.00)" come from?
--- /app/webkit/WebKitBuild/Release/layout-test-results/compositing/video/video-object-fit-expected.txt
+++ /app/webkit/WebKitBuild/Release/layout-test-results/compositing/video/video-object-fit-actual.txt
@@ -1,5 +1,6 @@
-
+
(GraphicsLayer
+ (anchor 0.00 0.00)
(bounds 785.00 775.00)
(children 1
(GraphicsLayer
(In reply to Tomoki Imai from comment #3) > I tried to enable compositing/video/video-object-fit.html test in GTK, it > doesn't crash for several run-webkit-tests. > But instead of crash, I see some text diff failure. > Where does "(anchor 0.00 0.00)" come from? > > --- > /app/webkit/WebKitBuild/Release/layout-test-results/compositing/video/video- > object-fit-expected.txt > +++ > /app/webkit/WebKitBuild/Release/layout-test-results/compositing/video/video- > object-fit-actual.txt > @@ -1,5 +1,6 @@ > - > + > (GraphicsLayer > + (anchor 0.00 0.00) > (bounds 785.00 775.00) > (children 1 > (GraphicsLayer It's just an extra parameter that's reported for the GraphicsLayer state, compared to the current -expected.txt baseline. It's not incorrect, but the -expected.txt file will require rebaselining. Comment on attachment 396522 [details]
patch
Please do the rebaselining of the relevant test in a follow-up patch.
Committed r260174: <https://trac.webkit.org/changeset/260174> All reviewed patches have been landed. Closing bug and clearing flags on attachment 396522 [details]. Thanks for your review! I will try to re-enable compositing/video/video-object-fit.html and re-baselining in bug 177536 or bug 163528 |