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

Unified Diff: chrome/browser/resources/options2/options_page.js

Issue 9318009: [uber page] Fix the missing cancel button on the settings search field. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options2/options_page.js
===================================================================
--- chrome/browser/resources/options2/options_page.js (revision 119926)
+++ chrome/browser/resources/options2/options_page.js (working copy)
@@ -723,13 +723,13 @@
};
/**
- * Update the left of all the position: fixed; header elements.
+ * Update the left margin of all the position: fixed; header elements.
* @private
*/
OptionsPage.updateAllHeaderElementPositions_ = function() {
- var translate = 'translateX(' + (document.body.scrollLeft * -1) + 'px)';
+ var marginLeft = (document.body.scrollLeft * -1) + 'px';
Dan Beam 2012/01/31 22:08:39 rtl
csilv 2012/01/31 22:43:28 Done.
for (var i = 0; i < this.fixedHeaders_.length; ++i)
- this.fixedHeaders_[i].style.webkitTransform = translate;
+ this.fixedHeaders_[i].style.marginLeft = marginLeft;
uber.invokeMethodOnParent('adjustToScroll', document.body.scrollLeft);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698