RESOLVED FIXED 118243
[CSS Blending] Add test suite to validate background blending with different properties
https://bugs.webkit.org/show_bug.cgi?id=118243
Summary [CSS Blending] Add test suite to validate background blending with different ...
Mirela
Reported 2013-07-01 06:46:01 PDT
Add tests to validate background bending with the following properties: 1. Blend a background image and a background color specifying background-position in percentage, such as 50% 50% 2. Blend a background image and a background color specifying background-size in pixels 3. Blend a background image and a background color specifying background-size in percentage 4. Blend a background image and a background color specifying background-size: cover 5. Blend a background image and a background color specifying background-size: contain 6. Blend a background image and a background color specifying background-repeat: no-repeat 7. Blend a background image and a background color specifying background-clip: padding-box 8. Blend a background image and a background color specifying background-clip: content-box 9. Blend a background image and a background color specifying background-origin: border-box 10. Blend a background image and a background color specifying background-origin: content-box 11. Blend a background image and a background color specifying background-attachment: fixed
Attachments
Patch (24.86 KB, patch)
2013-07-01 07:06 PDT, Mirela
no flags
Patch (1.59 MB, patch)
2013-07-02 06:47 PDT, Mirela
no flags
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion (652.18 KB, application/zip)
2013-07-02 07:52 PDT, Build Bot
no flags
Patch (1.59 MB, patch)
2013-07-04 09:11 PDT, Mirela
no flags
Patch (15.75 KB, patch)
2013-08-07 05:28 PDT, Mirela
no flags
Patch (15.69 KB, patch)
2013-08-07 05:54 PDT, Mirela
no flags
Mirela
Comment 1 2013-07-01 07:06:51 PDT
Mirela
Comment 2 2013-07-02 06:47:02 PDT
Build Bot
Comment 3 2013-07-02 07:52:27 PDT
Comment on attachment 205906 [details] Patch Attachment 205906 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1014527 New failing tests: media/video-zoom.html
Build Bot
Comment 4 2013-07-02 07:52:29 PDT
Created attachment 205915 [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.3
Mirela
Comment 5 2013-07-04 09:11:31 PDT
Dirk Schulze
Comment 6 2013-07-16 06:39:48 PDT
Comment on attachment 206096 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=206096&action=review > LayoutTests/css3/compositing/background-blend-mode-background-attachement-fixed.html:7 > + background: url('resources/ducky.png'), green; Do you think it would be possible to use a dataURI of SVG with one color instead? This could make it possible to use ref tests instead of pixel tests.
Mirela
Comment 7 2013-07-29 09:13:23 PDT
(In reply to comment #6) > (From update of attachment 206096 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=206096&action=review > > > LayoutTests/css3/compositing/background-blend-mode-background-attachement-fixed.html:7 > > + background: url('resources/ducky.png'), green; > > Do you think it would be possible to use a dataURI of SVG with one color instead? This could make it possible to use ref tests instead of pixel tests. I've tried to use dataURI of SVG but using feBlend in the expected svg file resulted in colour differences between the css blending and the svg feBlend results. I can attach a patch with a simple ref test that I have used.
Mirela
Comment 8 2013-08-07 05:28:03 PDT
Dirk Schulze
Comment 9 2013-08-07 05:47:15 PDT
Comment on attachment 208254 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=208254&action=review r=me. > LayoutTests/css3/compositing/background-blend-mode-background-size-cover-expected.html:8 > + background-size: cover; this shouldn't be necessary for background-color. After all this is the expected file.
Mirela
Comment 10 2013-08-07 05:54:15 PDT
WebKit Commit Bot
Comment 11 2013-08-07 06:41:44 PDT
Comment on attachment 208260 [details] Patch Clearing flags on attachment: 208260 Committed r153784: <http://trac.webkit.org/changeset/153784>
WebKit Commit Bot
Comment 12 2013-08-07 06:41:48 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.