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

Unified Diff: third_party/WebKit/LayoutTests/plugins/resources/iframe-with-webview-plugin.html

Issue 1510083002: Fix window rect for plugins to map up to the root frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: third_party/WebKit/LayoutTests/plugins/resources/iframe-with-webview-plugin.html
diff --git a/third_party/WebKit/LayoutTests/plugins/resources/iframe-with-webview-plugin.html b/third_party/WebKit/LayoutTests/plugins/resources/iframe-with-webview-plugin.html
new file mode 100644
index 0000000000000000000000000000000000000000..615bc030e065964647e7f0774ffdf49915fc635f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/plugins/resources/iframe-with-webview-plugin.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<div style="height: 40px"></div>
+<embed id="plugin" type="application/x-plugin-placeholder-test"></embed>
+<div style="height: 3000px"></div>
+<script>
+onload = function() {
+ window.scrollBy(0, 50);
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698