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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/iframe.html
diff --git a/third_party/WebKit/LayoutTests/iframe.html b/third_party/WebKit/LayoutTests/iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..eebcb757f10a5691d866f713fbb7cb3f130b823f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/iframe.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style type="text/css" media="screen">
+ body {
+ margin: 0;
+ }
+
+ iframe {
+ height: 200px;
+ width: 200px;
+ margin: 0px;
+ padding: 0px;
+ border: none;
+ transform: translateX(100px);
+ }
+
+ .container {
+ position: absolute;
+ top: 100px;
+ transform: translateZ(0);
+ }
+ </style>
+ <script type="text/javascript" charset="utf-8">
+ function doTest()
+ {
+ var iframe = document.getElementsByTagName('iframe')[0];
+ iframe.contentWindow.scrollTo(0, 200);
+
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }
+
+ window.addEventListener('load', doTest, false);
+ </script>
+</head>
+<div class="container">
+<iframe srcdoc="<!doctype html><style>body {margin: 0;}</style><div style='width:200px; height:200px; background:red;'></div><div style='width:200px; height:200px; background:-webkit-linear-gradient(green, blue);;'></div>" scrolling="no"></iframe>
+</div>
+</html>
« 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