summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-31 04:53:20 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-31 04:53:20 +0000
commite0001c50836c2de0f95549fb901f4f23b4ab0a0b (patch)
treebaf4a0de123f31420e9313daf797eb408d8740e3
parentb7f5fe96df69326e1d142daf179a34e820bfeafe (diff)
downloadchromium_src-e0001c50836c2de0f95549fb901f4f23b4ab0a0b.zip
chromium_src-e0001c50836c2de0f95549fb901f4f23b4ab0a0b.tar.gz
chromium_src-e0001c50836c2de0f95549fb901f4f23b4ab0a0b.tar.bz2
[ntp] fix z-index bug
webkit must have fixed a stacking context bug which we relied on BUG=111743 TEST=manual Review URL: https://chromiumcodereview.appspot.com/9301017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119852 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/resources/ntp4/apps_page.css6
-rw-r--r--chrome/browser/resources/ntp4/most_visited_page.css3
-rw-r--r--chrome/browser/resources/ntp4/new_tab.css4
3 files changed, 7 insertions, 6 deletions
diff --git a/chrome/browser/resources/ntp4/apps_page.css b/chrome/browser/resources/ntp4/apps_page.css
index e8ab9b1..b7d570b 100644
--- a/chrome/browser/resources/ntp4/apps_page.css
+++ b/chrome/browser/resources/ntp4/apps_page.css
@@ -1,7 +1,6 @@
-/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
+ * found in the LICENSE file. */
.app {
outline: none;
@@ -56,6 +55,7 @@
margin-right: auto;
position: relative;
vertical-align: middle;
+ z-index: 0;
-webkit-box-align: center;
-webkit-box-pack: center;
}
diff --git a/chrome/browser/resources/ntp4/most_visited_page.css b/chrome/browser/resources/ntp4/most_visited_page.css
index fd62457..271aa95 100644
--- a/chrome/browser/resources/ntp4/most_visited_page.css
+++ b/chrome/browser/resources/ntp4/most_visited_page.css
@@ -5,6 +5,7 @@
.most-visited {
position: absolute;
+ z-index: 0;
}
.most-visited {
@@ -85,7 +86,7 @@ html[dir='rtl'] .most-visited .favicon {
margin-bottom: 8px;
position: absolute;
width: 100%;
- z-index: 100;
+ z-index: 10;
}
.most-visited .title {
diff --git a/chrome/browser/resources/ntp4/new_tab.css b/chrome/browser/resources/ntp4/new_tab.css
index df916ad..aa027c0 100644
--- a/chrome/browser/resources/ntp4/new_tab.css
+++ b/chrome/browser/resources/ntp4/new_tab.css
@@ -34,7 +34,7 @@ body {
margin-top: 2px;
position: relative;
text-align: center;
- z-index: 100;
+ z-index: 15;
}
#notification-container.inactive {
@@ -186,7 +186,7 @@ html[dir='rtl'] #attribution {
right: 0;
text-align: right;
top: 0;
- z-index: 100;
+ z-index: 10;
}
html[dir='rtl'] #login-container {