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

Unified Diff: chrome/test/data/extensions/platform_apps/web_view/touch_accessibility/main.js

Issue 2009283002: Fix touch accessibility events in WebViews and iframes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable cross-site test temporarily Created 4 years, 7 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
Index: chrome/test/data/extensions/platform_apps/web_view/touch_accessibility/main.js
diff --git a/chrome/test/data/extensions/platform_apps/web_view/focus_accessibility/main.js b/chrome/test/data/extensions/platform_apps/web_view/touch_accessibility/main.js
similarity index 73%
copy from chrome/test/data/extensions/platform_apps/web_view/focus_accessibility/main.js
copy to chrome/test/data/extensions/platform_apps/web_view/touch_accessibility/main.js
index 9fe2ee1957629b6bd638ab83693340f65d9b3cfa..39c4c5273b1a52c6b16da661593c4db27c642473 100644
--- a/chrome/test/data/extensions/platform_apps/web_view/focus_accessibility/main.js
+++ b/chrome/test/data/extensions/platform_apps/web_view/touch_accessibility/main.js
@@ -18,7 +18,27 @@ function CreateWebViewAndGuest(callback) {
webview.removeEventListener('loadabort', onLoadAbort);
};
webview.src = 'data:text/html,' +
- '<html><body><button>Guest button</button></body></html>';
+ '<html>' +
+ '<head>' +
+ ' <style>' +
+ ' body {' +
+ ' border: 0;' +
+ ' margin: 0;' +
+ ' padding: 0;' +
+ ' }' +
+ ' button {' +
+ ' border: 0;' +
+ ' margin: 0;' +
+ ' padding: 0;' +
+ ' width: 200px;' +
+ ' height: 100px;' +
+ ' }' +
+ ' </style>' +
+ '</head>' +
+ '<body>' +
+ '<button>Guest button</button>'
+ '</body>'
+ '</html>';
return webview;
}

Powered by Google App Engine
This is Rietveld 408576698