Add a testcase for a tiled layer inside an iframe
https://bugs.webkit.org/show_bug.cgi?id=124159
Reviewed by Tim Horton.
Add a test for a tiled compositing layer inside an iframe.
* compositing/tiling/resources/tiled-layer-tall.html: Added.
* compositing/tiling/tiled-in-iframe.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159060 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 16cd7cf..7b439e9 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,15 @@
+2013-11-11 Simon Fraser <simon.fraser@apple.com>
+
+ Add a testcase for a tiled layer inside an iframe
+ https://bugs.webkit.org/show_bug.cgi?id=124159
+
+ Reviewed by Tim Horton.
+
+ Add a test for a tiled compositing layer inside an iframe.
+
+ * compositing/tiling/resources/tiled-layer-tall.html: Added.
+ * compositing/tiling/tiled-in-iframe.html: Added.
+
2013-11-11 Javier Fernandez <jfernandez@igalia.com>
[CSS Regions] Selection focusNode set to the "region" block, instead of the "source" block
diff --git a/LayoutTests/compositing/tiling/resources/tiled-layer-tall.html b/LayoutTests/compositing/tiling/resources/tiled-layer-tall.html
new file mode 100644
index 0000000..6878467
--- /dev/null
+++ b/LayoutTests/compositing/tiling/resources/tiled-layer-tall.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+ <style>
+ .box {
+ width: 300px;
+ height: 3000px;
+ background-image: repeating-linear-gradient(to bottom, silver, white 200px);
+ }
+
+ .composited {
+ -webkit-transform: translateZ(0);
+ }
+ </style>
+</head>
+<body>
+ <div class="composited box"></div>
+</body>
+</html>
diff --git a/LayoutTests/compositing/tiling/tiled-in-iframe.html b/LayoutTests/compositing/tiling/tiled-in-iframe.html
new file mode 100644
index 0000000..8aed495
--- /dev/null
+++ b/LayoutTests/compositing/tiling/tiled-in-iframe.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+ <style>
+ iframe {
+ height: 400px;
+ width: 400px;
+ }
+ </style>
+</head>
+<body>
+ <iframe src="resources/tiled-layer-tall.html"></iframe>
+</body>
+</html>