Title: [132436] trunk/LayoutTests
- Revision
- 132436
- Author
- [email protected]
- Date
- 2012-10-24 17:50:02 -0700 (Wed, 24 Oct 2012)
Log Message
Add two more tiled scrolling tests
https://bugs.webkit.org/show_bug.cgi?id=100314
Reviewed by Beth Dakin.
Two new tests for TileCache tile coverage after scrolling.
* platform/mac/tiled-drawing/tile-coverage-after-scroll-expected.txt: Added.
* platform/mac/tiled-drawing/tile-coverage-after-scroll.html: Added.
* platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt: Added.
* platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (132435 => 132436)
--- trunk/LayoutTests/ChangeLog 2012-10-25 00:49:44 UTC (rev 132435)
+++ trunk/LayoutTests/ChangeLog 2012-10-25 00:50:02 UTC (rev 132436)
@@ -1,3 +1,17 @@
+2012-10-24 Simon Fraser <[email protected]>
+
+ Add two more tiled scrolling tests
+ https://bugs.webkit.org/show_bug.cgi?id=100314
+
+ Reviewed by Beth Dakin.
+
+ Two new tests for TileCache tile coverage after scrolling.
+
+ * platform/mac/tiled-drawing/tile-coverage-after-scroll-expected.txt: Added.
+ * platform/mac/tiled-drawing/tile-coverage-after-scroll.html: Added.
+ * platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt: Added.
+ * platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom.html: Added.
+
2012-10-24 Beth Dakin <[email protected]>
Updated results for https://bugs.webkit.org/show_bug.cgi?id=100312
Added: trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-after-scroll-expected.txt (0 => 132436)
--- trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-after-scroll-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-after-scroll-expected.txt 2012-10-25 00:50:02 UTC (rev 132436)
@@ -0,0 +1,19 @@
+(GraphicsLayer
+ (bounds 785.00 5021.00)
+ (visible rect 0.00, 3000.00 785.00 x 600.00)
+ (children 1
+ (GraphicsLayer
+ (bounds 785.00 5021.00)
+ (drawsContent 1)
+ (backgroundColor #FFFFFF)
+ (visible rect 0.00, 3000.00 785.00 x 600.00)
+ (tile cache coverage 0, 2048 785 x 2560)
+ (children 1
+ (GraphicsLayer
+ (visible rect 0.00, 0.00 0.00 x 0.00)
+ )
+ )
+ )
+ )
+)
+
Property changes on: trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-after-scroll-expected.txt
___________________________________________________________________
Added: svn:mime-type
Added: svn:keywords
Added: svn:eol-style
Added: trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-after-scroll.html (0 => 132436)
--- trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-after-scroll.html (rev 0)
+++ trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-after-scroll.html 2012-10-25 00:50:02 UTC (rev 132436)
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+ <style>
+ body {
+ height: 5000px;
+ }
+ </style>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function doTest()
+ {
+ window.scrollTo(0, 3000);
+ if (window.internals) {
+ document.getElementById('layers').innerText = internals.layerTreeAsText(document,
+ internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
+ }
+ }
+ window.addEventListener('load', doTest, false);
+ </script>
+</head>
+<body>
+<pre id="layers">Layer tree goes here</p>
+</body>
+</html>
Property changes on: trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-after-scroll.html
___________________________________________________________________
Added: svn:mime-type
Added: svn:keywords
Added: svn:eol-style
Added: trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt (0 => 132436)
--- trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt 2012-10-25 00:50:02 UTC (rev 132436)
@@ -0,0 +1,19 @@
+(GraphicsLayer
+ (bounds 785.00 5021.00)
+ (visible rect 0.00, 5000.00 785.00 x 21.00)
+ (children 1
+ (GraphicsLayer
+ (bounds 785.00 5021.00)
+ (drawsContent 1)
+ (backgroundColor #FFFFFF)
+ (visible rect 0.00, 5000.00 785.00 x 21.00)
+ (tile cache coverage 0, 4096 785 x 925)
+ (children 1
+ (GraphicsLayer
+ (visible rect 0.00, 0.00 0.00 x 0.00)
+ )
+ )
+ )
+ )
+)
+
Property changes on: trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt
___________________________________________________________________
Added: svn:mime-type
Added: svn:keywords
Added: svn:eol-style
Added: trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom.html (0 => 132436)
--- trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom.html (rev 0)
+++ trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom.html 2012-10-25 00:50:02 UTC (rev 132436)
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+ <style>
+ body {
+ height: 5000px;
+ }
+ </style>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function doTest()
+ {
+ window.scrollTo(0, 5000);
+ if (window.internals) {
+ document.getElementById('layers').innerText = internals.layerTreeAsText(document,
+ internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
+ }
+ }
+ window.addEventListener('load', doTest, false);
+ </script>
+</head>
+<body>
+<pre id="layers">Layer tree goes here</p>
+</body>
+</html>
Property changes on: trunk/LayoutTests/platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom.html
___________________________________________________________________
Added: svn:mime-type
Added: svn:keywords
Added: svn:eol-style
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes