RESOLVED FIXED 120057
[CSS Background Blending] Test background blending with gif layers
https://bugs.webkit.org/show_bug.cgi?id=120057
Summary [CSS Background Blending] Test background blending with gif layers
Mihai Tica
Reported 2013-08-20 02:25:57 PDT
Validate CSS Background Blending when an element has a gif background layer set.
Attachments
Patch (15.79 KB, patch)
2013-08-20 02:28 PDT, Mihai Tica
no flags
Patch (12.81 KB, patch)
2013-08-29 09:21 PDT, Mihai Tica
no flags
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion (824.61 KB, application/zip)
2013-08-29 10:00 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2 (829.05 KB, application/zip)
2013-08-29 13:16 PDT, Build Bot
no flags
Patch (12.81 KB, patch)
2013-08-30 01:18 PDT, Mihai Tica
no flags
Patch (16.60 KB, patch)
2013-08-30 07:17 PDT, Mihai Tica
no flags
Archive of layout-test-results from webkit-ews-07 for mac-mountainlion (512.64 KB, application/zip)
2013-08-30 08:36 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 (1.31 MB, application/zip)
2013-08-30 12:19 PDT, Build Bot
no flags
Patch (16.54 KB, patch)
2013-09-02 06:01 PDT, Mihai Tica
no flags
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 (488.93 KB, application/zip)
2013-09-02 07:50 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion (526.68 KB, application/zip)
2013-09-02 10:13 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-02 for mac-mountainlion (507.93 KB, application/zip)
2013-09-02 11:14 PDT, Build Bot
no flags
Patch (21.02 KB, patch)
2013-09-02 23:51 PDT, Mihai Tica
no flags
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion (687.91 KB, application/zip)
2013-09-03 02:20 PDT, Build Bot
no flags
Patch (21.02 KB, patch)
2013-09-04 07:17 PDT, Mihai Tica
no flags
Mihai Tica
Comment 1 2013-08-20 02:28:25 PDT
Darin Adler
Comment 2 2013-08-20 13:05:06 PDT
Comment on attachment 209171 [details] Patch Why not a reference test?
Mihai Tica
Comment 3 2013-08-27 01:18:38 PDT
(In reply to comment #2) > (From update of attachment 209171 [details]) > Why not a reference test? Sounds good, I'll start working on it.
Mihai Tica
Comment 4 2013-08-29 09:21:21 PDT
Build Bot
Comment 5 2013-08-29 10:00:02 PDT
Comment on attachment 209990 [details] Patch Attachment 209990 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1623620 New failing tests: css3/compositing/background-blend-mode-gif-color.html
Build Bot
Comment 6 2013-08-29 10:00:04 PDT
Created attachment 209996 [details] Archive of layout-test-results from webkit-ews-08 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-08 Port: mac-mountainlion Platform: Mac OS X 10.8.4
Build Bot
Comment 7 2013-08-29 13:16:09 PDT
Comment on attachment 209990 [details] Patch Attachment 209990 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/1591981 New failing tests: css3/compositing/background-blend-mode-gif-color.html
Build Bot
Comment 8 2013-08-29 13:16:11 PDT
Created attachment 210022 [details] Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-13 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.4
Mihai Tica
Comment 9 2013-08-30 01:18:09 PDT
Dirk Schulze
Comment 10 2013-08-30 05:35:34 PDT
Comment on attachment 210074 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=210074&action=review r=me > LayoutTests/ChangeLog:4 > + Test background blend modes with gif background layers. > + https://bugs.webkit.org/show_bug.cgi?id=120057 Why does it need to be an animated gif? The ChangeLog should be more precise about that. Also, shouldn't animated gif's influence blending as well (when the content of the gif changes)? Is it possible to write tests for that?
Mihai Tica
Comment 11 2013-08-30 07:17:52 PDT
Mihai Tica
Comment 12 2013-08-30 07:19:09 PDT
(In reply to comment #10) > (From update of attachment 210074 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=210074&action=review > > r=me > > > LayoutTests/ChangeLog:4 > > + Test background blend modes with gif background layers. > > + https://bugs.webkit.org/show_bug.cgi?id=120057 > > Why does it need to be an animated gif? The ChangeLog should be more precise about that. Also, shouldn't animated gif's influence blending as well (when the content of the gif changes)? Is it possible to write tests for that? I've added another test which validates that blend mode update when the content of the gif changes.
Build Bot
Comment 13 2013-08-30 08:36:41 PDT
Comment on attachment 210107 [details] Patch Attachment 210107 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1633107 New failing tests: css3/compositing/background-blend-mode-gif-color-2.html css3/compositing/background-blend-mode-gif-color.html
Build Bot
Comment 14 2013-08-30 08:36:42 PDT
Created attachment 210114 [details] Archive of layout-test-results from webkit-ews-07 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-07 Port: mac-mountainlion Platform: Mac OS X 10.8.4
Build Bot
Comment 15 2013-08-30 12:19:26 PDT
Comment on attachment 210107 [details] Patch Attachment 210107 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/1603054 New failing tests: css3/compositing/background-blend-mode-gif-color-2.html css3/compositing/background-blend-mode-gif-color.html
Build Bot
Comment 16 2013-08-30 12:19:28 PDT
Created attachment 210145 [details] Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-12 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.4
Mihai Tica
Comment 17 2013-09-02 06:01:07 PDT
Build Bot
Comment 18 2013-09-02 07:50:55 PDT
Comment on attachment 210278 [details] Patch Attachment 210278 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/1609958 New failing tests: css3/compositing/background-blend-mode-gif-color-2.html css3/compositing/background-blend-mode-gif-color.html
Build Bot
Comment 19 2013-09-02 07:50:58 PDT
Created attachment 210284 [details] Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-09 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.4
Build Bot
Comment 20 2013-09-02 10:13:50 PDT
Comment on attachment 210278 [details] Patch Attachment 210278 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1688050 New failing tests: css3/compositing/background-blend-mode-gif-color-2.html css3/compositing/background-blend-mode-gif-color.html
Build Bot
Comment 21 2013-09-02 10:13:52 PDT
Created attachment 210298 [details] Archive of layout-test-results from webkit-ews-08 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-08 Port: mac-mountainlion Platform: Mac OS X 10.8.4
Build Bot
Comment 22 2013-09-02 11:14:26 PDT
Comment on attachment 210278 [details] Patch Attachment 210278 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1688065 New failing tests: css3/compositing/background-blend-mode-gif-color-2.html css3/compositing/background-blend-mode-gif-color.html
Build Bot
Comment 23 2013-09-02 11:14:28 PDT
Created attachment 210300 [details] Archive of layout-test-results from webkit-ews-02 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-02 Port: mac-mountainlion Platform: Mac OS X 10.8.4
Mihai Tica
Comment 24 2013-09-02 23:51:44 PDT
Mihai Tica
Comment 25 2013-09-02 23:53:09 PDT
There were inconsistencies between the local results and the ones from the bots, in other words, my tests would only pass locally. Converting them back to pixel tests.
Darin Adler
Comment 26 2013-09-02 23:55:11 PDT
Comment on attachment 210328 [details] Patch Can we do these as reference tests instead of pixel tests?
Mihai Tica
Comment 27 2013-09-03 00:52:30 PDT
(In reply to comment #26) > (From update of attachment 210328 [details]) > Can we do these as reference tests instead of pixel tests? The test scenario implies blending an animated gif with a background color, and comparing it with another div filled with the expected resulted color. I've tried doing this, however, there were inconsistencies between the reference html that passed on my local machine and the bot-machine results. What I suspect is that blending operations output slightly different results across platforms (+/- a few units per color component), making ref tests unusable in this scenario, as I've seen with the previous two versions of this patch. This is the reason I've decided to rework this patch and use pixel tests instead.
Build Bot
Comment 28 2013-09-03 02:20:46 PDT
Comment on attachment 210328 [details] Patch Attachment 210328 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1692190 New failing tests: http/tests/appcache/resource-redirect.html http/tests/appcache/abort-cache-ondownloading-resource-404.html http/tests/appcache/abort-cache-onprogress.html http/tests/appcache/abort-cache-ondownloading.html http/tests/appcache/resource-redirect-2.html http/tests/appcache/interrupted-update.html http/tests/inspector/appcache/appcache-manifest-with-non-existing-file.html http/tests/appcache/404-resource.html
Build Bot
Comment 29 2013-09-03 02:20:49 PDT
Created attachment 210339 [details] Archive of layout-test-results from webkit-ews-04 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-04 Port: mac-mountainlion Platform: Mac OS X 10.8.4
Mihai Tica
Comment 30 2013-09-04 07:17:30 PDT
Darin Adler
Comment 31 2013-09-04 09:21:26 PDT
Comment on attachment 210456 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=210456&action=review > LayoutTests/ChangeLog:9 > + * css3/compositing/background-blend-mode-gif-color-2.html: Added. > + * css3/compositing/background-blend-mode-gif-color.html: Added. Can we make these reference tests instead of pixel tests?
WebKit Commit Bot
Comment 32 2013-09-04 23:31:35 PDT
Comment on attachment 210456 [details] Patch Clearing flags on attachment: 210456 Committed r155097: <http://trac.webkit.org/changeset/155097>
WebKit Commit Bot
Comment 33 2013-09-04 23:31:39 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.