Bug 95732 - [chromium] Dynamically removing preserve-3d from a layer has no effect
Summary: [chromium] Dynamically removing preserve-3d from a layer has no effect
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sami Kyöstilä
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-04 04:28 PDT by Sami Kyöstilä
Modified: 2012-09-07 12:54 PDT (History)
6 users (show)

See Also:


Attachments
Patch (5.60 KB, patch)
2012-09-04 05:55 PDT, Sami Kyöstilä
no flags Details | Formatted Diff | Diff
Patch (5.38 KB, patch)
2012-09-05 02:31 PDT, Sami Kyöstilä
no flags Details | Formatted Diff | Diff
Patch (5.58 KB, patch)
2012-09-07 03:58 PDT, Sami Kyöstilä
no flags Details | Formatted Diff | Diff
Patch (6.58 KB, patch)
2012-09-07 06:59 PDT, Sami Kyöstilä
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Kyöstilä 2012-09-04 04:28:25 PDT
http://trac.webkit.org/changeset/126378 accidentally broke the logic for removing preserve-3d in GraphicsLayerChromium::updateLayerPreserves3D().
Comment 1 Sami Kyöstilä 2012-09-04 05:55:12 PDT
Created attachment 162025 [details]
Patch
Comment 2 James Robinson 2012-09-04 11:16:29 PDT
Comment on attachment 162025 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=162025&action=review

D'oh! Thanks for adding the test, but why is it in platform/chromium? This should work anywhere, shouldn't it?

> LayoutTests/platform/chromium/compositing/preserve-3d-toggle.html:52
> +      }, 0);

why the setTimeout?
Comment 3 Sami Kyostila 2012-09-05 01:21:50 PDT
Thanks for the review.

(In reply to comment #2)
> (From update of attachment 162025 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=162025&action=review
> 
> D'oh! Thanks for adding the test, but why is it in platform/chromium? This should work anywhere, shouldn't it?

Right, I just put it there because this was a chromium bug. I'll make it a shared test.

> > LayoutTests/platform/chromium/compositing/preserve-3d-toggle.html:52
> > +      }, 0);
> 
> why the setTimeout?

It's needed so that we first do a commit cycle with preserve-3d enabled and then another one with it disabled. Otherwise we won't hit bug in question, since there needs to be an existing layer with preserve-3d turned on.
Comment 4 Sami Kyöstilä 2012-09-05 02:31:25 PDT
Created attachment 162195 [details]
Patch
Comment 5 WebKit Review Bot 2012-09-05 07:13:38 PDT
Comment on attachment 162195 [details]
Patch

Attachment 162195 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13740936

New failing tests:
http/tests/cache/subresource-expiration-1.html
http/tests/cache/stopped-revalidation.html
Comment 6 James Robinson 2012-09-05 09:19:16 PDT
Comment on attachment 162195 [details]
Patch

Silly cq, let's try again
Comment 7 WebKit Review Bot 2012-09-05 13:54:57 PDT
Comment on attachment 162195 [details]
Patch

Rejecting attachment 162195 [details] from commit-queue.

New failing tests:
http/tests/cache/subresource-expiration-1.html
http/tests/cache/stopped-revalidation.html
Full output: http://queues.webkit.org/results/13768069
Comment 8 Sami Kyöstilä 2012-09-07 03:57:01 PDT
Not seeing those failures locally, so let's give it another go...
Comment 9 Sami Kyöstilä 2012-09-07 03:58:21 PDT
Created attachment 162734 [details]
Patch
Comment 10 WebKit Review Bot 2012-09-07 05:23:42 PDT
Comment on attachment 162734 [details]
Patch

Rejecting attachment 162734 [details] from commit-queue.

New failing tests:
inspector/styles/protocol-css-regions-commands.html
Full output: http://queues.webkit.org/results/13774726
Comment 11 WebKit Review Bot 2012-09-07 06:37:09 PDT
Comment on attachment 162734 [details]
Patch

Clearing flags on attachment: 162734

Committed r127865: <http://trac.webkit.org/changeset/127865>
Comment 12 WebKit Review Bot 2012-09-07 06:37:12 PDT
All reviewed patches have been landed.  Closing bug.
Comment 13 Sami Kyöstilä 2012-09-07 06:51:49 PDT
D'oh, looks like I picked up the wrong version of this patch when rebasing which still had the tests in platform/chromium/compositing instead of compositing/. Let's fix that...
Comment 14 Sami Kyöstilä 2012-09-07 06:59:33 PDT
Created attachment 162760 [details]
Patch

Move tests to correct directory.
Comment 15 WebKit Review Bot 2012-09-07 12:54:08 PDT
Comment on attachment 162760 [details]
Patch

Clearing flags on attachment: 162760

Committed r127908: <http://trac.webkit.org/changeset/127908>
Comment 16 WebKit Review Bot 2012-09-07 12:54:12 PDT
All reviewed patches have been landed.  Closing bug.