diff options
author | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-24 17:39:49 +0000 |
---|---|---|
committer | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-24 17:39:49 +0000 |
commit | b9eeba6713325a0fc67d6aeabc8475b5a2b37e0f (patch) | |
tree | 090ad08471e34369a644d7bcc5c0e4d4881bf30d /chrome/browser/resources/new_new_tab.css | |
parent | f08f8a20f786ea60745fbb3fce5a15dc1fbc6ed0 (diff) | |
download | chromium_src-b9eeba6713325a0fc67d6aeabc8475b5a2b37e0f.zip chromium_src-b9eeba6713325a0fc67d6aeabc8475b5a2b37e0f.tar.gz chromium_src-b9eeba6713325a0fc67d6aeabc8475b5a2b37e0f.tar.bz2 |
Make the options menu keyboard navigatable. Hide the menu when the
button is clicked a second time.
BUG=14959, 15067
TEST=Tab to the options button. Try pressing the down arrow, up arrow
or enter. These should show the menu. Try pressing esc to hide the
menu. Try pressing enter to execute the item. Try opening the menu,
both using the mouse and keyboard and make sure that it is hidden as
expected.
Review URL: http://codereview.chromium.org/147071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19141 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_new_tab.css')
-rw-r--r-- | chrome/browser/resources/new_new_tab.css | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/resources/new_new_tab.css b/chrome/browser/resources/new_new_tab.css index 77e380b..80e71c6 100644 --- a/chrome/browser/resources/new_new_tab.css +++ b/chrome/browser/resources/new_new_tab.css @@ -633,7 +633,6 @@ html[dir='rtl'] #view-toolbar { cursor: default; pointer-events: all; min-width: 175px; - outline: 0; } html[dir='rtl'] #option-menu { @@ -647,9 +646,7 @@ html[dir='rtl'] #option-menu { text-overflow: ellipsis; } -#option-menu > div:hover, -#option-menu > div:focus { +#option-menu > [selected] { background-color: hsla(213, 66%, 57%, 1); color: white; - outline: none; } |