Remove obsolete IE 6 & 7 specific comments
Bug: T234582 Change-Id: I9c29ba771d7963492d9cc231069a5283c1ee7760
This commit is contained in:
parent
93643275a0
commit
05bd4c6aa5
3 changed files with 1 additions and 13 deletions
|
|
@ -18,8 +18,7 @@ body {
|
|||
}
|
||||
|
||||
/**
|
||||
* Looks like you have to specify the width of #menu
|
||||
* or IE5 Mac stretches it all the way across the div, and
|
||||
* Looks like you have to specify the width of #menu as
|
||||
* Opera streches it half way.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -60,10 +60,6 @@ a,
|
|||
a.external,
|
||||
a.new,
|
||||
a.stub {
|
||||
/* IE 6 & 7 don't understand `inherit` */
|
||||
color: #000 !important; /* stylelint-disable-line declaration-no-important */
|
||||
text-decoration: none !important; /* stylelint-disable-line declaration-no-important */
|
||||
/* Modern browser will apply this, IE 6 & 7 ignore the unknown */
|
||||
color: inherit !important; /* stylelint-disable-line declaration-block-no-duplicate-properties, declaration-no-important */
|
||||
text-decoration: inherit !important; /* stylelint-disable-line declaration-block-no-duplicate-properties, declaration-no-important */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,14 +23,8 @@
|
|||
*
|
||||
* We use display:table. Even though it should only contain other table-* display
|
||||
* elements, there are no known problems with using this.
|
||||
*
|
||||
* Because IE < 8 and other older browsers don't support display:table, we fallback to
|
||||
* using inline-block mode, which features at least intrinsic width, but won't clear preceding
|
||||
* inline elements. In practice inline elements surrounding the TOC are uncommon enough that
|
||||
* this is an acceptable sacrifice.
|
||||
*/
|
||||
.toc {
|
||||
display: inline-block;
|
||||
display: table;
|
||||
padding: 7px;
|
||||
}
|
||||
|
|
@ -70,7 +64,6 @@ table.toc td {
|
|||
}
|
||||
|
||||
/* Separate columns for tocnumber and toctext */
|
||||
/* Ignored by IE7 and lower */
|
||||
.tocnumber,
|
||||
.toctext {
|
||||
display: table-cell;
|
||||
|
|
|
|||
Loading…
Reference in a new issue