r52478 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52477‎ | r52478 | r52479 >
Date:22:55, 26 June 2009
Author:tparscal
Status:ok
Tags:
Comment:
More browser compatibility fixes.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.css (modified) (history)
  • /trunk/phase3/skins/vector/main.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/vector/main.css
@@ -156,24 +156,33 @@
157157 padding-left: 0;
158158 padding-right: 1px;
159159 }
 160+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
160161 div#namespaces ul,
161162 div#views ul {
162163 float: left;
 164+ height: 100%;
163165 }
164166 /* IGNORED BY IE6 */
165167 body.rtl div#left-navigation > div#namespaces ul,
166168 body.rtl div#right-navigation > div#views ul {
167169 float: right;
168170 }
169 - div#namespaces li,
170 - div#views li {
 171+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
 172+ div#namespaces ul li,
 173+ div#views ul li {
 174+ display: inline-block;
171175 float: left;
172 - height: 3em;
 176+ height: 100%;
173177 background-image: url(images/tab-normal-fade.png);
174178 background-position: bottom left;
175179 background-repeat: repeat-x;
176180 }
177181 /* IGNORED BY IE6 */
 182+ div#namespaces ul > li,
 183+ div#views ul > li {
 184+ display: block;
 185+ }
 186+ /* IGNORED BY IE6 */
178187 body.rtl div#namespaces > ul > li,
179188 body.rtl div#views > ul > li {
180189 float: right;
@@ -183,8 +192,9 @@
184193 div#views li.selected {
185194 background-image: url(images/tab-current-fade.png);
186195 }
187 - div#namespaces a,
188 - div#views a {
 196+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
 197+ div#namespaces li a,
 198+ div#views li a {
189199 display: inline-block;
190200 height: 3em;
191201 padding-left: 0.5em;
@@ -194,10 +204,16 @@
195205 background-repeat: no-repeat;
196206 }
197207 /* IGNORED BY IE6 */
 208+ div#namespaces li > a,
 209+ div#views li > a {
 210+ display: block;
 211+ }
 212+ /* IGNORED BY IE6 */
198213 body.rtl div#namespaces li > a,
199214 body.rtl div#views li > a {
200215 background-position: bottom left;
201216 }
 217+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
202218 div#namespaces a span,
203219 div#views a span {
204220 color: #0645ad;
@@ -205,6 +221,12 @@
206222 padding-top: 1.25em;
207223 cursor: pointer;
208224 }
 225+ /* IGNORED BY IE6 */
 226+ div#namespaces a > span,
 227+ div#views a > span {
 228+ float: left;
 229+ display: block;
 230+ }
209231 div#namespaces li.selected a span,
210232 div#views li.selected a:visited span {
211233 color: #333333;
@@ -237,6 +259,7 @@
238260 body.rtl div#actions > h5 {
239261 float: right;
240262 }
 263+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
241264 div#variants h5 a,
242265 div#actions h5 a {
243266 display: inline-block;
@@ -248,6 +271,11 @@
249272 background-repeat: no-repeat;
250273 }
251274 /* IGNORED BY IE6 */
 275+ div#variants h5 > a,
 276+ div#actions h5 > a {
 277+ display: block;
 278+ }
 279+ /* IGNORED BY IE6 */
252280 body.rtl div#variants > h5 a,
253281 body.rtl div#actions > h5 a {
254282 display: inline-block;
@@ -284,11 +312,17 @@
285313 margin-left: 0;
286314 margin-right: -1px;
287315 }
 316+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
288317 div#variants:hover li a,
289318 div#actions li a {
290319 display: inline-block;
291320 padding: 0.5em;
292321 }
 322+ /* IGNORED BY IE6 */
 323+ div#variants:hover li > a,
 324+ div#actions li > a {
 325+ display: block;
 326+ }
293327 /* Search */
294328 div#search {
295329 float: left;
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.css
@@ -21,6 +21,7 @@
2222 border: solid silver 1px;
2323 border-bottom-width: 0;
2424 background-color: #F3F3F3;
 25+ height: 32px;
2526 }
2627
2728 /* Sections */
@@ -36,7 +37,11 @@
3738 display: none;
3839 float: left;
3940 width: 100%;
 41+ margin-left: -1px;
4042 border-top: solid 1px #DDDDDD;
 43+ border-left: solid silver 1px;
 44+ border-right: solid silver 1px;
 45+ background-color: #F3F3F3;
4146 }
4247 body.rtl div#edittoolbar div.sections div.section {
4348 float: right;

Status & tagging log