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

Unified Diff: third_party/WebKit/LayoutTests/plugins/webview-plugin-scroll.html

Issue 1466393003: Adjust windowRect of plugins for root frame scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 5 years, 1 month 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/webview-plugin-scroll.html
diff --git a/third_party/WebKit/LayoutTests/plugins/webview-plugin-lifecycle.html b/third_party/WebKit/LayoutTests/plugins/webview-plugin-scroll.html
similarity index 82%
copy from third_party/WebKit/LayoutTests/plugins/webview-plugin-lifecycle.html
copy to third_party/WebKit/LayoutTests/plugins/webview-plugin-scroll.html
index 4175edc795b3c8f266ccdc246c2146c6963403b2..c7c297d1b4b75cb6c6ccdd5dba51ad379cfc900a 100644
--- a/third_party/WebKit/LayoutTests/plugins/webview-plugin-lifecycle.html
+++ b/third_party/WebKit/LayoutTests/plugins/webview-plugin-scroll.html
@@ -1,14 +1,14 @@
<!doctype HTML>
+<embed id="plugin" type="application/x-plugin-placeholder-test"></embed>
+<div style="height: 3000px"></div>
<style>
- #plugin {
- width: 150px;
- height: 150px;
- border: 1px solid black;
- }
+::-webkit-scrollbar {
+ -webkit-appearance: none;
+}
</style>
-<embed id="plugin" type="application/x-plugin-placeholder-test"></embed>
<script>
onload = function() {
+ window.scrollBy(0, 50);
if (window.testRunner) {
window.testRunner.waitUntilDone();
// Need to paint two frames in order to allow the plugin to properly load.

Powered by Google App Engine
This is Rietveld 408576698