Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: LayoutTests/compositing/will-change/gpu-rasterization-hint-suppresses-compositing.html

Issue 270383002: Remove will-change: contents GPU rasterization hint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/compositing/will-change/gpu-rasterization-hint-suppresses-compositing.html
diff --git a/LayoutTests/compositing/will-change/gpu-rasterization-hint-suppresses-compositing.html b/LayoutTests/compositing/will-change/gpu-rasterization-hint-suppresses-compositing.html
deleted file mode 100644
index 28a803f0b458734bd9169a5f5a4e7ae217cca8a4..0000000000000000000000000000000000000000
--- a/LayoutTests/compositing/will-change/gpu-rasterization-hint-suppresses-compositing.html
+++ /dev/null
@@ -1,91 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <style>
- #container {
- will-change: contents;
- z-index: 0;
- position: absolute;
- top: 0px;
- left: 0px;
- }
-
- .shouldNotComposite {
- position: absolute;
- width: 50px;
- height: 50px;
- background-color: blue;
- }
-
- #willChangeOpacity {
- will-change: opacity;
- top: 0px;
- left: 0px;
- }
-
- #willChangeContents {
- will-change: contents;
- top: 0px;
- left: 60px;
- }
-
- #willChangeTop {
- will-change: top;
- top: 0px;
- left: 120px;
- }
-
- #willChangeTransform {
- will-change: -webkit-transform;
- top: 60px;
- left: 0px;
- }
-
- #animateOpacity {
-
- top: 60px;
- left: 60px;
- -webkit-animation: fade-in-out 0.1s linear infinite alternate;
- }
-
- @-webkit-keyframes fade-in-out { from { opacity: 0.3; } to { opacity: 0.9; } }
-
- </style>
-
- <script>
- if (window.internals) {
- window.internals.settings.setAcceleratedCompositingForGpuRasterizationHintEnabled(true);
- // Force an update of the compositing triggers.
- window.internals.forceCompositingUpdate(document);
- }
-
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- function animationEventListener() {
- if (window.testRunner) {
- document.getElementById("layertree").innerText = window.internals.layerTreeAsText(document);
- testRunner.notifyDone();
- }
- }
-
- window.addEventListener('load', function() {
- document.getElementById("animateOpacity").addEventListener('webkitAnimationIteration', animationEventListener);
- }, false);
- </script>
-</head>
-<body>
- <div id="container">
- <div id="willChangeOpacity" class="shouldNotComposite">
- <div id="willChangeTransform" class="shouldNotComposite"></div>
- </div>
- <div id="willChangeContents" class="shouldNotComposite"></div>
- <div id="willChangeTop" class="shouldNotComposite"></div>
- <div id="animateOpacity" class="shouldNotComposite"></div>
- </div>
-
- <pre id="layertree"></pre>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698