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

Unified Diff: third_party/WebKit/LayoutTests/compositing/repaint/opacity-between-absolute.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/opacity-between-absolute.html
diff --git a/third_party/WebKit/LayoutTests/compositing/repaint/opacity-between-absolute.html b/third_party/WebKit/LayoutTests/compositing/repaint/opacity-between-absolute.html
deleted file mode 100644
index 04d987a5a449c1e78435007cbd8d0d569e3b3fff..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/compositing/repaint/opacity-between-absolute.html
+++ /dev/null
@@ -1,74 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-
-<html lang="en">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Opacity between absolutes</title>
- <style type="text/css" media="screen">
- .container {
- position: relative;
- height: 200px;
- width: 200px;
- border: 1px solid black;
- transform: translateZ(0);
- -webkit-transform-style: preserve-3d;
- }
-
- .fader {
- height: 50px;
- width: 50px;
- margin: 20px;
- border: 1px solid black;
- -webkit-transition: opacity 100s;
- }
-
- .container:hover .fader {
- opacity: 0.5;
- }
-
- .inner {
- position: absolute;
- left: 100px;
- top: 100px;
- height: 80px;
- width: 80px;
- background-color: gray;
- }
-
- .inner:hover {
- background-color: orange;
- }
- </style>
- <script type="text/javascript" charset="utf-8">
- if (window.testRunner)
- testRunner.waitUntilDone();
-
- function runTest()
- {
- // Kick off an opacity fade to make .fader into a compositing layer
- var container = document.querySelectorAll('.fader')[0];
- container.style.opacity = 0.99;
- window.setTimeout(function() {
- // Now test redraw on .inner
- var inner = document.querySelectorAll('.inner')[0];
- inner.style.backgroundColor = 'green';
- if (window.testRunner)
- testRunner.notifyDone();
- }, 0);
- }
-
- window.addEventListener('load', runTest, false)
- </script>
-</head>
-<body>
-<p>This test should not assert, and you should see a fully green square.</p>
-<div class="container">
- <div class="fader">
- <div class="inner">
- </div>
- </div>
-</div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698