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

Side by Side Diff: LayoutTests/compositing/visible-rect/iframe-no-layers.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 width: 200px;
22 height: 200px;
23 background-color: blue;
24 }
25
26 .composited {
27 -webkit-transform: translateZ(1px);
28 }
29
30 iframe {
31 margin: 10px;
32 }
33
34 </style>
35 <script>
36 if (window.testRunner)
37 testRunner.dumpAsText();
38
39 function dumpLayers()
40 {
41 window.scrollTo(40, 40);
42 if (window.internals) {
43 // Dump the iframe's layers.
44 var iframe = document.getElementById('iframe');
45 document.getElementById('layers').innerText = internals.layerTre eAsText(iframe.contentDocument, internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS)
46 }
47 }
48 window.addEventListener('load', dumpLayers, false);
49 </script>
50 </head>
51 <body>
52
53 <iframe id="iframe" src="resources/subframe-with-layers.html" scrolling="nad so"></iframe>
54
55 <pre id="layers">Layer tree goes here when testing</pre>
56 </body>
57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698