diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 22:27:52 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 22:27:52 +0000 |
commit | cff9d17531b80a28bb94f9cb0b9ea55d2eeff16d (patch) | |
tree | 19c3acd54b1070240ba28352dbdbf04021747bcd | |
parent | 95ff616dc931e8ff3e0f9ac7470251dbc61e346d (diff) | |
download | chromium_src-cff9d17531b80a28bb94f9cb0b9ea55d2eeff16d.zip chromium_src-cff9d17531b80a28bb94f9cb0b9ea55d2eeff16d.tar.gz chromium_src-cff9d17531b80a28bb94f9cb0b9ea55d2eeff16d.tar.bz2 |
Merge 56103 - Fix some issues with the New Tab Page:
* In RTL, the options dropmarker button was still on the right (overlaying the Chrome logo and opposite where the dropdown menu would actually appear)
* Missing a <head> tag
* Made the "attribution" block at the bottom corner of the NTP be at the end rather than always on the right
BUG=none
TEST=Use NTP with --lang=he and check dropmarker and custom theme attribution position
Review URL: http://codereview.chromium.org/3122015
TBR=pkasting@chromium.org
Review URL: http://codereview.chromium.org/3135017
git-svn-id: svn://svn.chromium.org/chrome/branches/472/src@56104 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/resources/new_new_tab.css | 2 | ||||
-rw-r--r-- | chrome/browser/resources/new_new_tab.html | 2 | ||||
-rw-r--r-- | chrome/browser/resources/new_tab_theme.css | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/resources/new_new_tab.css b/chrome/browser/resources/new_new_tab.css index bc04233..80d991c 100644 --- a/chrome/browser/resources/new_new_tab.css +++ b/chrome/browser/resources/new_new_tab.css @@ -263,6 +263,7 @@ html[dir=rtl] .item { height: 17px; position: absolute; right: 0; + left: auto; top: 20px; border: 0; padding: 0; @@ -289,6 +290,7 @@ html[dir=rtl] .item { min-width: 175px; } +html[dir=rtl] #option-button, html[dir=rtl] #option-menu { right: auto; left: 0; diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html index 3064678..c8a01b5 100644 --- a/chrome/browser/resources/new_new_tab.html +++ b/chrome/browser/resources/new_new_tab.html @@ -6,7 +6,7 @@ anim:anim; syncispresent:syncispresent; has_3d:has_3d"> - +<head> <meta charset="utf-8"> <title i18n-content="title"></title> <script> diff --git a/chrome/browser/resources/new_tab_theme.css b/chrome/browser/resources/new_tab_theme.css index ae39264..150d3be 100644 --- a/chrome/browser/resources/new_tab_theme.css +++ b/chrome/browser/resources/new_tab_theme.css @@ -90,7 +90,7 @@ body { #attribution { display: $$5; color: $9; /* COLOR_NTP_LINK */ - text-align: right; + text-align: end; } #tip-line { |