Convert test fast/backgrounds/background-opaque-images-over-color.html to a ref test
authorjunov@google.com <junov@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Nov 2012 14:56:51 +0000 (14:56 +0000)
committerjunov@google.com <junov@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Nov 2012 14:56:51 +0000 (14:56 +0000)
https://bugs.webkit.org/show_bug.cgi?id=103275

Reviewed by Simon Fraser

Removing existing baselines, and adding an -expecte.html to make
fast/backgrounds/background-opaque-images-over-color.html a ref test

* fast/backgrounds/background-opaque-images-over-color-expected.html: Added.
* fast/backgrounds/background-opaque-images-over-color-expected.txt: Removed.
* fast/backgrounds/background-opaque-images-over-color.html:
* platform/chromium-mac/fast/backgrounds/background-opaque-images-over-color-expected.png: Removed.
* platform/chromium-win/fast/backgrounds/background-opaque-images-over-color-expected.png: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@135859 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/backgrounds/background-opaque-images-over-color-expected.html [new file with mode: 0644]
LayoutTests/fast/backgrounds/background-opaque-images-over-color-expected.txt [deleted file]
LayoutTests/fast/backgrounds/background-opaque-images-over-color.html
LayoutTests/platform/chromium-mac/fast/backgrounds/background-opaque-images-over-color-expected.png [deleted file]
LayoutTests/platform/chromium-win/fast/backgrounds/background-opaque-images-over-color-expected.png [deleted file]

index 681f8f6..3231410 100644 (file)
@@ -1,3 +1,19 @@
+2012-11-27  Justin Novosad  <junov@google.com>
+
+        Convert test fast/backgrounds/background-opaque-images-over-color.html to a ref test
+        https://bugs.webkit.org/show_bug.cgi?id=103275
+
+        Reviewed by Simon Fraser
+
+        Removing existing baselines, and adding an -expecte.html to make
+        fast/backgrounds/background-opaque-images-over-color.html a ref test
+
+        * fast/backgrounds/background-opaque-images-over-color-expected.html: Added.
+        * fast/backgrounds/background-opaque-images-over-color-expected.txt: Removed.
+        * fast/backgrounds/background-opaque-images-over-color.html:
+        * platform/chromium-mac/fast/backgrounds/background-opaque-images-over-color-expected.png: Removed.
+        * platform/chromium-win/fast/backgrounds/background-opaque-images-over-color-expected.png: Removed.
+
 2012-11-27  Jussi Kukkonen  <jussi.kukkonen@intel.com>
 
         [EFL] Mark tests flaky
diff --git a/LayoutTests/fast/backgrounds/background-opaque-images-over-color-expected.html b/LayoutTests/fast/backgrounds/background-opaque-images-over-color-expected.html
new file mode 100644 (file)
index 0000000..f3094e9
--- /dev/null
@@ -0,0 +1,17 @@
+<!doctype html>
+<html>
+<head>
+<style type="text/css" media="screen">
+     #greenBox {
+        width:400px;
+        height:100px;
+        display:block;
+        background-color: green;
+        float: left;
+    }
+</style>
+</head>
+<body>
+<div id="greenBox"></div>
+</body>
+</html>
diff --git a/LayoutTests/fast/backgrounds/background-opaque-images-over-color-expected.txt b/LayoutTests/fast/backgrounds/background-opaque-images-over-color-expected.txt
deleted file mode 100644 (file)
index aa4682f..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x108
-  RenderBlock {HTML} at (0,0) size 800x108
-    RenderBody {BODY} at (8,8) size 784x0
-      RenderBlock {DIV} at (0,0) size 784x0
-        RenderBlock (floating) {DIV} at (0,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (20,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (40,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (60,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (80,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (100,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (120,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (140,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (160,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (180,0) size 20x100 [bgcolor=#FF0000]
-      RenderBlock {DIV} at (0,0) size 784x0
-        RenderBlock (floating) {DIV} at (200,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (220,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (240,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (260,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (280,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (300,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (320,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (340,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (360,0) size 20x100 [bgcolor=#FF0000]
-        RenderBlock (floating) {DIV} at (380,0) size 20x100 [bgcolor=#FF0000]
index 4af1fc4..95a8283 100644 (file)
@@ -31,36 +31,3 @@ The fix for bug 102557 optimizes cases 1, 2, 3, 6, 7, and 8-->
 </div>
 </body>
 </html>
-<!doctype html>
-<html>
-<head>
-<!-- Test passes when a green rectangle is displayed.
-These are all drawing cases that can be optimized by occlusion culling
-The fix for bug 102557 optimizes cases 1, 2, 3, 6, 7, and 8-->
-<style type="text/css" media="screen">
-    .redBack {
-        width:20px;
-        height:100px;
-        display:block;
-        background-repeat: repeat;
-        background-color: red;
-        background-position:0px 0px, 0px 0px;
-        float: left;
-    }
-</style>
-</head>
-<body>
-<div>
-    <div id="case_1" class="redBack" style="background-image: url(../../http/tests/multipart/resources/green-100x100.png)"></div>
-    <div id="case_2" class="redBack" style="background-image: -webkit-linear-gradient(top, green, green)"></div>
-    <div id="case_3" class="redBack" style="background-image: -webkit-cross-fade(url(../../http/tests/multipart/resources/green-100x100.png), url(../../http/tests/multipart/resources/green-100x100.png), 50%)"></div>
-    <div id="case_4" class="redBack" style="background-repeat: no-repeat; background-image: url(../../http/tests/multipart/resources/green-100x100.png)"></div>
-    <div id="case_5" class="redBack" style="background-repeat: repeat-x; background-image: url(../../http/tests/multipart/resources/green-100x100.png)"></div>
-    <div id="case_6" class="redBack" style="background-image: url(../../http/tests/multipart/resources/green-100x100.png),url(resources/64x32-red.png)"></div>
-    <div id="case_7" class="redBack" style="background-image: -webkit-linear-gradient(top, green, green),url(resources/64x32-red.png)"></div>
-    <div id="case_8" class="redBack" style="background-image: -webkit-cross-fade(url(../../http/tests/multipart/resources/green-100x100.png),url(../../http/tests/multipart/resources/green-100x100.png), 50%),url(resources/64x32-red.png)"></div>
-    <div id="case_9" class="redBack" style="background-repeat: no-repeat; background-image: url(../../http/tests/multipart/resources/green-100x100.png),url(resources/64x32-red.png)"></div>
-    <div id="case_10" class="redBack" style="background-repeat: repeat-x; background-image: url(../../http/tests/multipart/resources/green-100x100.png),url(resources/64x32-red.png)"></div>
-</div>
-</body>
-</html>
diff --git a/LayoutTests/platform/chromium-mac/fast/backgrounds/background-opaque-images-over-color-expected.png b/LayoutTests/platform/chromium-mac/fast/backgrounds/background-opaque-images-over-color-expected.png
deleted file mode 100644 (file)
index 9dc8006..0000000
Binary files a/LayoutTests/platform/chromium-mac/fast/backgrounds/background-opaque-images-over-color-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/fast/backgrounds/background-opaque-images-over-color-expected.png b/LayoutTests/platform/chromium-win/fast/backgrounds/background-opaque-images-over-color-expected.png
deleted file mode 100644 (file)
index 1d05c1a..0000000
Binary files a/LayoutTests/platform/chromium-win/fast/backgrounds/background-opaque-images-over-color-expected.png and /dev/null differ