Title: [100318] trunk/LayoutTests
Revision
100318
Author
[email protected]
Date
2011-11-15 14:12:51 -0800 (Tue, 15 Nov 2011)

Log Message

Move plugins/invalidate_rect.html to the compositing directory since it is a compositor test
https://bugs.webkit.org/show_bug.cgi?id=72410

Patch by James Robinson <[email protected]> on 2011-11-15
Reviewed by Simon Fraser.

* compositing/plugins/invalidate_rect-expected.txt: Renamed from LayoutTests/plugins/invalidate_rect-expected.txt.
* compositing/plugins/invalidate_rect.html: Renamed from LayoutTests/plugins/invalidate_rect.html.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (100317 => 100318)


--- trunk/LayoutTests/ChangeLog	2011-11-15 22:00:35 UTC (rev 100317)
+++ trunk/LayoutTests/ChangeLog	2011-11-15 22:12:51 UTC (rev 100318)
@@ -1,3 +1,13 @@
+2011-11-15  James Robinson  <[email protected]>
+
+        Move plugins/invalidate_rect.html to the compositing directory since it is a compositor test
+        https://bugs.webkit.org/show_bug.cgi?id=72410
+
+        Reviewed by Simon Fraser.
+
+        * compositing/plugins/invalidate_rect-expected.txt: Renamed from LayoutTests/plugins/invalidate_rect-expected.txt.
+        * compositing/plugins/invalidate_rect.html: Renamed from LayoutTests/plugins/invalidate_rect.html.
+
 2011-11-15  Tony Chang  <[email protected]>
 
         [chromium] enable regions and exclusions tests, the compile flag was removed a long time ago

Copied: trunk/LayoutTests/compositing/plugins/invalidate_rect-expected.txt (from rev 100317, trunk/LayoutTests/plugins/invalidate_rect-expected.txt) (0 => 100318)


--- trunk/LayoutTests/compositing/plugins/invalidate_rect-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/compositing/plugins/invalidate_rect-expected.txt	2011-11-15 22:12:51 UTC (rev 100318)
@@ -0,0 +1,3 @@
+This tests that NPN_InvalidateRect works correctly.
+SUCCESS
+

Copied: trunk/LayoutTests/compositing/plugins/invalidate_rect.html (from rev 100317, trunk/LayoutTests/plugins/invalidate_rect.html) (0 => 100318)


--- trunk/LayoutTests/compositing/plugins/invalidate_rect.html	                        (rev 0)
+++ trunk/LayoutTests/compositing/plugins/invalidate_rect.html	2011-11-15 22:12:51 UTC (rev 100318)
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+
+  <style type="text/css">
+    #transform {
+      -webkit-transform: rotateZ(0deg) rotateX(0deg) rotateY(0deg);
+    }
+  </style>
+
+  <script>
+    if (window.layoutTestController)
+        layoutTestController.dumpAsText();
+
+    var paintCount = 0;
+
+    function onLoad()
+    {
+      layoutTestController.display();
+      paintCount = 0;
+      document.getElementById('testPlugin').invalidateRect(0, 0, 200, 200);
+      layoutTestController.displayInvalidatedRegion();
+      if (paintCount > 0)
+          document.getElementById('result').innerHTML = "SUCCESS";
+    }
+
+    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>

Deleted: trunk/LayoutTests/plugins/invalidate_rect-expected.txt (100317 => 100318)


--- trunk/LayoutTests/plugins/invalidate_rect-expected.txt	2011-11-15 22:00:35 UTC (rev 100317)
+++ trunk/LayoutTests/plugins/invalidate_rect-expected.txt	2011-11-15 22:12:51 UTC (rev 100318)
@@ -1,3 +0,0 @@
-This tests that NPN_InvalidateRect works correctly.
-SUCCESS
-

Deleted: trunk/LayoutTests/plugins/invalidate_rect.html (100317 => 100318)


--- trunk/LayoutTests/plugins/invalidate_rect.html	2011-11-15 22:00:35 UTC (rev 100317)
+++ trunk/LayoutTests/plugins/invalidate_rect.html	2011-11-15 22:12:51 UTC (rev 100318)
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
-
-  <style type="text/css">
-    #transform {
-      -webkit-transform: rotateZ(0deg) rotateX(0deg) rotateY(0deg);
-    }
-  </style>
-
-  <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
-
-    var paintCount = 0;
-
-    function onLoad()
-    {
-      layoutTestController.display();
-      paintCount = 0;
-      document.getElementById('testPlugin').invalidateRect(0, 0, 200, 200);
-      layoutTestController.displayInvalidatedRegion();
-      if (paintCount > 0)
-          document.getElementById('result').innerHTML = "SUCCESS";
-    }
-
-    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>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to