зеркало из https://github.com/mozilla/gecko-dev.git
Make floated tables non-floated so they print correctly (temporary hack). b=74738, r=kmcclusk sr=waterson a=waterson
Follow-Up bug to remove temporary hack is bug 85768
This commit is contained in:
Родитель
785d64e876
Коммит
6c90a145e2
|
@ -462,3 +462,19 @@ noembed, noscript, param, *|*:-moz-comment, *|*:-moz-pi {
|
|||
clip: inherit;
|
||||
-moz-opacity: inherit;
|
||||
}
|
||||
|
||||
|
||||
/* PRINT ONLY rules follow */
|
||||
|
||||
@media print {
|
||||
|
||||
/* undo floats on aligned tables since we cannot print them correctly: see bug 74738 and bug 85768 */
|
||||
table[align="left"] {
|
||||
float: none;
|
||||
}
|
||||
|
||||
table[align="right"] {
|
||||
float: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -462,3 +462,19 @@ noembed, noscript, param, *|*:-moz-comment, *|*:-moz-pi {
|
|||
clip: inherit;
|
||||
-moz-opacity: inherit;
|
||||
}
|
||||
|
||||
|
||||
/* PRINT ONLY rules follow */
|
||||
|
||||
@media print {
|
||||
|
||||
/* undo floats on aligned tables since we cannot print them correctly: see bug 74738 and bug 85768 */
|
||||
table[align="left"] {
|
||||
float: none;
|
||||
}
|
||||
|
||||
table[align="right"] {
|
||||
float: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче