RESOLVED WONTFIX 92363
[Tests] Add compositing/graphicslayer-display-none.html
https://bugs.webkit.org/show_bug.cgi?id=92363
Summary [Tests] Add compositing/graphicslayer-display-none.html
Dongseong Hwang
Reported 2012-07-26 03:56:57 PDT
This test checks whether the GraphicsLayer is removed after 'style.display' for an element sets 'None'.
Attachments
Patch (3.59 KB, patch)
2012-07-26 03:58 PDT, Dongseong Hwang
no flags
Archive of layout-test-results from gce-cr-linux-06 (428.72 KB, application/zip)
2012-07-26 05:48 PDT, WebKit Review Bot
no flags
Patch (3.57 KB, patch)
2012-07-26 21:24 PDT, Dongseong Hwang
no flags
Dongseong Hwang
Comment 1 2012-07-26 03:58:30 PDT
Dongseong Hwang
Comment 2 2012-07-26 04:01:40 PDT
When 'style.display' for an element sets 'none', the render object of the element is removed, so the render layer and the graphics layer of the element is removed too. I can not find tests to check this behavior, so I made this test.
WebKit Review Bot
Comment 3 2012-07-26 05:48:19 PDT
Comment on attachment 154604 [details] Patch Attachment 154604 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13340711 New failing tests: compositing/graphicslayer-display-none.html
WebKit Review Bot
Comment 4 2012-07-26 05:48:23 PDT
Created attachment 154623 [details] Archive of layout-test-results from gce-cr-linux-06 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: gce-cr-linux-06 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Dongseong Hwang
Comment 5 2012-07-26 21:24:44 PDT
Eric Seidel (no email)
Comment 6 2012-08-07 15:56:06 PDT
When was this a problem? What bug is this testing?
James Robinson
Comment 7 2012-08-07 15:58:07 PDT
I can't think of any bugs this would have caught in the compositor bindings code and I don't that this test provides much value.
Simon Fraser (smfr)
Comment 8 2012-08-07 16:13:08 PDT
(In reply to comment #7) > I can't think of any bugs this would have caught in the compositor bindings code and I don't that this test provides much value. Agreed.
Eric Seidel (no email)
Comment 9 2012-08-07 16:14:29 PDT
Thanks for the patch, but based on above comments looks like this test isn't needed at this time!
Dongseong Hwang
Comment 10 2012-08-07 19:20:10 PDT
Thank you for your comments. I submitted this patch because I thought increasing test coverage is better. When I surveyed how 'display: none' and 'visibility: hidden' affect accelerated compositing, I found various visibility tests (i.e. compositing/visibility/visibility-image-layers-dynamic.html) but there was no 'display: none' test. So, I made this test, which tests 'display:none', similar to visibility-image-layers-dynamic.html, which tests 'visibility'.
Eric Seidel (no email)
Comment 11 2012-08-12 03:01:38 PDT
Comment on attachment 154831 [details] Patch Cleared review? from attachment 154831 [details] so that this bug does not appear in http://webkit.org/pending-review. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).
Note You need to log in before you can comment on or make changes to this bug.