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

Unified Diff: third_party/WebKit/LayoutTests/compositing/plugins/invalidate_rect.html

Issue 1840893002: Remove compositing/plugins/invalidate_rect.html and plugins/form-value.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/plugins/invalidate_rect.html
diff --git a/third_party/WebKit/LayoutTests/compositing/plugins/invalidate_rect.html b/third_party/WebKit/LayoutTests/compositing/plugins/invalidate_rect.html
deleted file mode 100644
index c9a9690b4e0f23e2dabe835eee5d7c5186d0c8e6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/compositing/plugins/invalidate_rect.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
-
- <style type="text/css">
- #transform {
- transform: rotateZ(0deg) rotateX(0deg) rotateY(0deg);
- }
- </style>
-
- <script src="../../resources/run-after-layout-and-paint.js"></script>
- <script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- var paintCount = 0;
-
- function onLoad()
- {
- runAfterLayoutAndPaint(function() {
- paintCount = 0;
- document.getElementById('testPlugin').invalidateRect(0, 0, 200, 200);
- runAfterLayoutAndPaint(function() {
- if (paintCount > 0)
- document.getElementById('result').innerHTML = "SUCCESS";
- if (window.testRunner)
- testRunner.notifyDone();
- });
- });
- }
-
- function didPaint()
- {
- paintCount++;
- }
- </script>
-</head>
-<body onload="onLoad();">
- This tests that NPN_InvalidateRect works correctly.
-
- <div id="result">FAILURE</div>
-
- <!-- force this page to be composited -->
- <div id="transform">
- </div>
-
- <!-- Move the plugin to the middle of the page. This ensures that invalidate() will invalidate the correct region. -->
- <div style="position: absolute; left: 300px; top: 300px; height: 400px; width: 400px; padding: 1em;">
-
- <embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" height="200" onpaintevent="didPaint()" windowedPlugin="false"></embed>
-
- </div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698