RESOLVED WONTFIX 79853
[EFL][DRT] WebKit/DRT should not paint webview for the pixel tests.
https://bugs.webkit.org/show_bug.cgi?id=79853
Summary [EFL][DRT] WebKit/DRT should not paint webview for the pixel tests.
Ryuan Choi
Reported 2012-02-28 17:52:25 PST
For now, some results of pixel test are wrong. (For example, LayoutTests/fast/events/autoscroll.html) In order to fix this, I suggest capturing Ecore_Evas instead of painting webview.
Attachments
Patch (3.32 KB, patch)
2012-02-28 18:08 PST, Ryuan Choi
no flags
Patch (3.43 KB, patch)
2012-04-29 19:51 PDT, Ryuan Choi
no flags
Ryuan Choi
Comment 1 2012-02-28 18:08:27 PST
Ryuan Choi
Comment 2 2012-02-28 18:44:49 PST
Comment on attachment 129368 [details] Patch clear flags until I check how to rebase test cases.
Ryuan Choi
Comment 3 2012-03-01 23:22:43 PST
Comment on attachment 129368 [details] Patch I checked png results which is newly failed. Some test cases are because of scrollbar. Although mockScrollbar is enabled, WebKit/Efl create native scrollbar. I will create new bug to fix them. The other test case is fast/forms/textarea-placeholder-set-attribute.html and it can be reproduce on EWeblauncher. (not always. 50% reproduced) So, I believe that patch is valid for bug. Could you review this?
Ryuan Choi
Comment 4 2012-03-24 23:31:24 PDT
Comment on attachment 129368 [details] Patch I realize that DRT/Efl(tiled) can not render scrolled contents with this patch correctly. (ex - compositing/geometry/fixed-position.html) So I cleared flags until I found proper way. BTW
Ryuan Choi
Comment 5 2012-04-26 00:24:54 PDT
(In reply to comment #4) > (From update of attachment 129368 [details]) > I realize that DRT/Efl(tiled) can not render scrolled contents with this patch correctly. > (ex - compositing/geometry/fixed-position.html) I created Bug 84933 for compositing/geometry/fixed-position.html
Raphael Kubo da Costa (:rakuco)
Comment 6 2012-04-26 19:14:13 PDT
Comment on attachment 129368 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=129368&action=review Looks good API-wise, just make sure it doesn't cause test regressions. > Tools/DumpRenderTree/efl/PixelDumpSupportEfl.cpp:53 > + RefPtr<cairo_surface_t> viewSurface = adoptRef(cairo_image_surface_create_for_data((unsigned char*)pixels, CAIRO_FORMAT_ARGB32, width, height, width * 4)); Please use a C++-style cast here.
Ryuan Choi
Comment 7 2012-04-29 19:51:52 PDT
Ryuan Choi
Comment 8 2012-04-29 19:53:50 PDT
(In reply to comment #6) > (From update of attachment 129368 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=129368&action=review > > Looks good API-wise, just make sure it doesn't cause test regressions. > Thanks. There are no regression in my local. (compositing/geometry/fixed-position.html is in Skipped now.) > > Tools/DumpRenderTree/efl/PixelDumpSupportEfl.cpp:53 > > + RefPtr<cairo_surface_t> viewSurface = adoptRef(cairo_image_surface_create_for_data((unsigned char*)pixels, CAIRO_FORMAT_ARGB32, width, height, width * 4)); > > Please use a C++-style cast here. Done.
Chang Shu
Comment 9 2012-05-08 11:49:15 PDT
Comment on attachment 139416 [details] Patch The comments in 81315 mentioned this bug. Does one depend on the other?
Raphael Kubo da Costa (:rakuco)
Comment 10 2012-05-08 12:46:35 PDT
(In reply to comment #9) > (From update of attachment 139416 [details]) > The comments in 81315 mentioned this bug. Does one depend on the other? I believe so.
Eric Seidel (no email)
Comment 11 2012-05-08 15:38:20 PDT
Comment on attachment 139416 [details] Patch I'm happy to rubber-stamp this, but I"m not very useful for a real review.
WebKit Review Bot
Comment 12 2012-05-08 15:49:26 PDT
Comment on attachment 139416 [details] Patch Clearing flags on attachment: 139416 Committed r116461: <http://trac.webkit.org/changeset/116461>
WebKit Review Bot
Comment 13 2012-05-08 15:49:31 PDT
All reviewed patches have been landed. Closing bug.
Raphael Kubo da Costa (:rakuco)
Comment 14 2012-05-18 14:10:17 PDT
Reopening to get some feedback. This commit appears to have broken the painting of scrollbars with both backing stores when running run-webkit-tests with --pixel-tests. Try running RWT on fast/box-sizing, for example.
Ryuan Choi
Comment 15 2012-05-21 04:19:13 PDT
(In reply to comment #14) > Reopening to get some feedback. This commit appears to have broken the painting of scrollbars with both backing stores when running run-webkit-tests with --pixel-tests. Try running RWT on fast/box-sizing, for example. I checked and reproduces it. Now, I realized that backing stores can not render mock scrollbars because they call Frame::paintContents instead of ScrollView::paint. Sorry, I will find a way to fix it but it will take more time.
Raphael Kubo da Costa (:rakuco)
Comment 16 2012-05-21 16:51:19 PDT
I will revert this for now then, we can't stay with the buggy code.
Raphael Kubo da Costa (:rakuco)
Comment 17 2012-05-21 19:56:00 PDT
Ryuan Choi
Comment 18 2014-07-17 21:10:03 PDT
ewebkit1 was dropped.
Note You need to log in before you can comment on or make changes to this bug.