blob: 437d1deeec1d4cc7ae0f50311323e197ea5896e8 [file] [log] [blame]
bdakin@apple.combdb59942012-10-25 00:19:35 +00001<!DOCTYPE html>
2
3<html>
4<head>
5 <style>
6 .box {
7 height: 100px;
8 width: 100px;
bdakin@apple.com56992342012-11-05 23:31:58 +00009 background-image: -webkit-repeating-linear-gradient(red 10%, green 10%, green 30%);
10 background-attachment: fixed; /* At this time, background-attachment:fixed forces slow mode. */
bdakin@apple.combdb59942012-10-25 00:19:35 +000011 }
12 </style>
13 <script>
14 if (window.testRunner)
15 testRunner.dumpAsText();
16
17 function doTest()
18 {
19 if (window.internals) {
20 document.getElementById('layers').innerText = internals.layerTreeAsText(document,
21 internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
22 }
23 }
24 window.addEventListener('load', doTest, false);
25 </script>
26</head>
27<body>
28<div class="box">
29</div>
30<pre id="layers">Layer tree goes here</p>
31</body>
32</html>