diff options
author | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-19 00:06:55 +0000 |
---|---|---|
committer | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-19 00:06:55 +0000 |
commit | 280d93e7786a2f10b4d25990fafd3cfe3b830ba9 (patch) | |
tree | ff5a8c6260e98117888ea860efb5e5e25be91421 /chrome | |
parent | 18f28af685174e43546a1faabae2aceded313ea2 (diff) | |
download | chromium_src-280d93e7786a2f10b4d25990fafd3cfe3b830ba9.zip chromium_src-280d93e7786a2f10b4d25990fafd3cfe3b830ba9.tar.gz chromium_src-280d93e7786a2f10b4d25990fafd3cfe3b830ba9.tar.bz2 |
Remove button padding work around now that WebKit has been fixed.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/1128005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42035 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/resources/new_new_tab.css | 4 | ||||
-rw-r--r-- | chrome/browser/resources/new_new_tab.js | 7 |
2 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/resources/new_new_tab.css b/chrome/browser/resources/new_new_tab.css index 756e95d..ba371e5 100644 --- a/chrome/browser/resources/new_new_tab.css +++ b/chrome/browser/resources/new_new_tab.css @@ -734,10 +734,6 @@ html[dir='rtl'] #option-menu > [command='hide']:before { font-family: inherit; } -.win-button-padding-bug .sync-button { - margin: 0 -3px; -} - #footer { position: absolute; bottom: 0; diff --git a/chrome/browser/resources/new_new_tab.js b/chrome/browser/resources/new_new_tab.js index 6a741fe7..a3136d5 100644 --- a/chrome/browser/resources/new_new_tab.js +++ b/chrome/browser/resources/new_new_tab.js @@ -1655,10 +1655,3 @@ function setUpPromoMessage() { syncButton.onclick = syncSectionLinkClicked; fixLinkUnderlines($('promo-message')); } - -// A Windows-specific Webkit bug adds padding to buttons and will push the -// bookmark sync button in the promo message too far to the right unless we -// use this fix. See https://bugs.webkit.org/show_bug.cgi?id=31703 -if (navigator.platform == 'Win32') { - addClass(document.body, 'win-button-padding-bug'); -} |