Forgot to actually add these files in r122152
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jul 2012 02:14:10 +0000 (02:14 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jul 2012 02:14:10 +0000 (02:14 +0000)
* compositing/tile-cache-must-flatten-expected.html: Added.
* compositing/tile-cache-must-flatten.html: Added.

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

LayoutTests/compositing/tile-cache-must-flatten-expected.html [new file with mode: 0644]
LayoutTests/compositing/tile-cache-must-flatten.html [new file with mode: 0644]

diff --git a/LayoutTests/compositing/tile-cache-must-flatten-expected.html b/LayoutTests/compositing/tile-cache-must-flatten-expected.html
new file mode 100644 (file)
index 0000000..c7d906f
--- /dev/null
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style type="text/css">
+div {
+  width: 96px;
+  height: 96px;
+  background-color: green;
+  margin: 10px;
+}
+
+#one {
+  -webkit-transform: translateZ(1px);
+}
+
+#two {
+  -webkit-transform: translateZ(1px);
+}
+
+</style>
+</head>
+
+<body>
+  <!-- both should be visible - two green squares in the page -->
+  <div id="one"></div>
+  <div id="two"></div>
+</body>
+</html>
diff --git a/LayoutTests/compositing/tile-cache-must-flatten.html b/LayoutTests/compositing/tile-cache-must-flatten.html
new file mode 100644 (file)
index 0000000..47a9a10
--- /dev/null
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style type="text/css">
+div {
+  width: 96px;
+  height: 96px;
+  background-color: green;
+  margin: 10px;
+}
+
+#one {
+  -webkit-transform: translateZ(-1px); /* this moves the element "behind" the page */
+}
+
+#two {
+  -webkit-transform: translateZ(1px);
+}
+
+</style>
+</head>
+
+<body>
+  <!-- both should be visible - two green squares in the page -->
+  <div id="one"></div>
+  <div id="two"></div>
+</body>
+</html>