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

Unified Diff: chrome/browser/resources/omnibox_result.html

Issue 13375003: Fixing iframe jank in the local omnibox popup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing up/down. Created 7 years, 8 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/browser/resources/omnibox_result.html
diff --git a/chrome/browser/resources/omnibox_result.html b/chrome/browser/resources/omnibox_result.html
new file mode 100644
index 0000000000000000000000000000000000000000..0b1d06cb4e522d00b8594b1e1dc751b7dcffd068
--- /dev/null
+++ b/chrome/browser/resources/omnibox_result.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="chrome-search://suggestion/result.js"></script>
+<style>
+body {
+ -webkit-user-select: none;
+ cursor: default;
+ margin: 0;
+ overflow: hidden;
+ position: fixed;
+ width: 100%;
+}
+
+body > div {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.hide {
+ display: none;
+}
+</style>
+</head>
+<body>
+ <div>
+ <span id="contents"></span>
+ <span id="optional"> &ndash; <span id="title"></span></span>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698