Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: LayoutTests/compositing/visible-rect/scrolled.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <style>
6 body {
7 height: 1500px;
8 width: 1500px;
9 }
10
11 .container {
12 position: relative;
13 height: 200px;
14 width: 500px;
15 border: 1px solid black;
16 overflow: hidden;
17 z-index: 0;
18 }
19
20 .box {
21 position: absolute;
22 width: 200px;
23 height: 500px;
24 background-color: blue;
25 }
26
27 .composited {
28 -webkit-transform: translateZ(1px);
29 }
30
31 pre {
32 margin-top: 500px;
33 }
34 </style>
35 <script>
36 if (window.testRunner)
37 testRunner.dumpAsText();
38
39 function dumpLayers()
40 {
41 window.scrollTo(25, 200);
42 if (window.internals)
43 document.getElementById('layers').innerText = internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS)
44 }
45 window.addEventListener('load', dumpLayers, false);
46 </script>
47 </head>
48 <body>
49
50 <div class="composited box" style="top: 0;"></div>
51
52 <pre id="layers">Layer tree goes here when testing</pre>
53 </body>
54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698