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

Side by Side Diff: third_party/WebKit/LayoutTests/iframe.html

Issue 2658513002: sdf
Patch Set: sdf Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style type="text/css" media="screen">
5 body {
6 margin: 0;
7 }
8
9 iframe {
10 height: 200px;
11 width: 200px;
12 margin: 0px;
13 padding: 0px;
14 border: none;
15 transform: translateX(100px);
16 }
17
18 .container {
19 position: absolute;
20 top: 100px;
21 transform: translateZ(0);
22 }
23 </style>
24 <script type="text/javascript" charset="utf-8">
25 function doTest()
26 {
27 var iframe = document.getElementsByTagName('iframe')[0];
28 iframe.contentWindow.scrollTo(0, 200);
29
30 if (window.testRunner)
31 testRunner.notifyDone();
32 }
33
34 window.addEventListener('load', doTest, false);
35 </script>
36 </head>
37 <div class="container">
38 <iframe srcdoc="<!doctype html><style>body {margin: 0;}</style><div style='width :200px; height:200px; background:red;'></div><div style='width:200px; height:200 px; background:-webkit-linear-gradient(green, blue);;'></div>" scrolling="no"></ iframe>
39 </div>
40 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698