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

Unified Diff: third_party/WebKit/LayoutTests/compositing/repaint/layer-repaint-rects.html

Issue 2327223002: Move all remaining fast/repaint tests to paint/invalidation (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/LayoutTests/compositing/repaint/layer-repaint-rects.html
diff --git a/third_party/WebKit/LayoutTests/compositing/repaint/layer-repaint-rects.html b/third_party/WebKit/LayoutTests/compositing/repaint/layer-repaint-rects.html
deleted file mode 100644
index 917b45a48d730486753b14068d393083d8a7638f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/compositing/repaint/layer-repaint-rects.html
+++ /dev/null
@@ -1,82 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
-<html>
- <head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
- <title>Layer repaint</title>
- <style type="text/css" media="screen">
- body {
- margin: 0;
- }
-
- #container {
- position: absolute;
- top: 100px;
- height: 230px;
- width: 400px;
- border: 1px solid black;
- }
-
- #container > div {
- position: absolute;
- background-color: #8888FF;
- width: 200px;
- height: 100px;
- }
-
- #translate {
- top: 10px;
- }
- #container.over #translate {
- transform: translate(200px, 0px);
- -webkit-transition-property: -webkit-transform;
- -webkit-transition-duration: 0.1s;
- }
- #widen {
- top: 120px;
- background-color: red !important;
- }
- #container.over #widen {
- width: 400px;
- -webkit-transition-property: width;
- -webkit-transition-duration: 0.1s;
- }
-
- #tester {
- position: absolute;
- background-color: green;
- width: 200px;
- height: 100px;
- top: 221px;
- left: 1px;
- }
- </style>
- <script type="text/javascript" charset="utf-8">
-
- if (window.testRunner)
- testRunner.waitUntilDone();
-
- function startTest()
- {
- var container = document.getElementById('container');
- container.addEventListener('webkitTransitionEnd', function() {
- container.className = '';
- if (window.testRunner)
- testRunner.notifyDone();
- });
- container.className = 'over';
- }
- window.addEventListener('load', startTest, false);
- </script>
- </head>
- <body>
-
- <p>Tests repaint after a layer stops compositing. You should see no red below after the end of the transition.</p>
- <div id="container">
- <div id="translate"></div>
- <div id="widen"></div>
- </div>
-
- <div id="tester"></div>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698