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

Unified Diff: chrome/test/data/extensions/api_test/automation/tests/location_scaled/buttons.html

Issue 2911553002: Fix automation API bounding boxes on high-dpi devices (Closed)
Patch Set: Add comment about mutating cache Created 3 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/api_test/automation/tests/location_scaled/buttons.html
diff --git a/chrome/test/data/extensions/api_test/automation/tests/location_scaled/buttons.html b/chrome/test/data/extensions/api_test/automation/tests/location_scaled/buttons.html
new file mode 100644
index 0000000000000000000000000000000000000000..4e55b9dcdd68b11217114fc69e3f2b538a0a0764
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/automation/tests/location_scaled/buttons.html
@@ -0,0 +1,29 @@
+<html>
+ <head>
+ <title>Page with some absolute-positioned buttons</title>
+ <style>
+ body {
+ margin: 0;
+ padding: 0;
+ }
+ button {
+ position: absolute;
+ width: 200px;
+ height: 100px;
+ outline: 1px solid #000;
+ }
+ .first {
+ left: 0px;
+ top: 0px;
+ }
+ .second {
+ left: 225px;
+ top: 25px;
+ }
+ </style>
+ </head>
+ <body>
+ <button class="first">First</button>
+ <button class="second">Second</button>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698