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

Issue 9318009: [uber page] Fix the missing cancel button on the settings search field. (Closed)

Created:
8 years, 10 months ago by csilv
Modified:
8 years, 10 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

[uber page] Fix the missing cancel button on the settings search field. On Mac, the search field's cancel button appeared to be missing. This was caused by applying a transformX() to header elements to allow them to side-scroll properly. This CL changes to use margin-left instead. The behavior is the same, but now the cancel button appears properly. I will be filing a WebKit but since this is probably a core issue with the search control. BUG=112046 TEST=Verify that search field displays a cancel button when not empty. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=119999

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix for RTL #

Total comments: 4

Patch Set 3 : Tweak tweak... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M chrome/browser/resources/options2/options_page.js View 1 2 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
csilv
+dbeam for review
8 years, 10 months ago (2012-01-31 21:51:35 UTC) #1
Dan Beam
https://chromiumcodereview.appspot.com/9318009/diff/1/chrome/browser/resources/options2/options_page.js File chrome/browser/resources/options2/options_page.js (right): https://chromiumcodereview.appspot.com/9318009/diff/1/chrome/browser/resources/options2/options_page.js#newcode730 chrome/browser/resources/options2/options_page.js:730: var marginLeft = (document.body.scrollLeft * -1) + 'px'; rtl
8 years, 10 months ago (2012-01-31 22:08:39 UTC) #2
csilv
https://chromiumcodereview.appspot.com/9318009/diff/1/chrome/browser/resources/options2/options_page.js File chrome/browser/resources/options2/options_page.js (right): https://chromiumcodereview.appspot.com/9318009/diff/1/chrome/browser/resources/options2/options_page.js#newcode730 chrome/browser/resources/options2/options_page.js:730: var marginLeft = (document.body.scrollLeft * -1) + 'px'; On ...
8 years, 10 months ago (2012-01-31 22:43:28 UTC) #3
Dan Beam
https://chromiumcodereview.appspot.com/9318009/diff/5001/chrome/browser/resources/options2/options_page.js File chrome/browser/resources/options2/options_page.js (right): https://chromiumcodereview.appspot.com/9318009/diff/5001/chrome/browser/resources/options2/options_page.js#newcode730 chrome/browser/resources/options2/options_page.js:730: var adjust = document.documentElement.dir == 'rtl' ? 1 : ...
8 years, 10 months ago (2012-01-31 22:49:49 UTC) #4
csilv
https://chromiumcodereview.appspot.com/9318009/diff/5001/chrome/browser/resources/options2/options_page.js File chrome/browser/resources/options2/options_page.js (right): https://chromiumcodereview.appspot.com/9318009/diff/5001/chrome/browser/resources/options2/options_page.js#newcode730 chrome/browser/resources/options2/options_page.js:730: var adjust = document.documentElement.dir == 'rtl' ? 1 : ...
8 years, 10 months ago (2012-01-31 23:45:18 UTC) #5
Dan Beam
8 years, 10 months ago (2012-01-31 23:50:22 UTC) #6
lgtm, thanks for updating comments and my hypocritical code, :D (I didn't know
about isRTL() 'til later, thanks for spotting)

Powered by Google App Engine
This is Rietveld 408576698