Bug 527343 - Switch about:crashes to use :-moz-locale-dir, r=dao

This commit is contained in:
Phil Ringnalda 2009-11-08 13:33:17 -08:00
Родитель 5e0f3e1796
Коммит c933b5b652
1 изменённых файлов: 5 добавлений и 8 удалений

Просмотреть файл

@ -18,12 +18,9 @@ table {
padding-bottom: 2em; padding-bottom: 2em;
} }
th { th {
text-align: left; text-align: start;
white-space: nowrap; white-space: nowrap;
} }
th[chromedir="rtl"] {
text-align: right;
}
/* name */ /* name */
th:first-child { th:first-child {
-moz-padding-end: 2em; -moz-padding-end: 2em;
@ -47,7 +44,7 @@ td:last-child {
#clear-reports { #clear-reports {
float: right; float: right;
} }
#clear-reports[chromedir="rtl"] { #clear-reports:-moz-locale-dir(rtl) {
float: left; float: left;
} }
@ -63,15 +60,15 @@ td:last-child {
<title>&crashes.title;</title> <title>&crashes.title;</title>
</head><body onload="init()" dir="&locale.dir;"> </head><body onload="init()" dir="&locale.dir;">
<button chromedir="&locale.dir;" id="clear-reports" <button id="clear-reports"
onclick="clearReports()">&clearAllReports.label;</button> onclick="clearReports()">&clearAllReports.label;</button>
<h1>&crashes.title;</h1> <h1>&crashes.title;</h1>
<div id="reportList"> <div id="reportList">
<table> <table>
<thead> <thead>
<tr> <tr>
<th chromedir="&locale.dir;">&id.heading;</th> <th>&id.heading;</th>
<th chromedir="&locale.dir;" colspan="2">&date.heading;</th> <th colspan="2">&date.heading;</th>
</tr> </tr>
</thead> </thead>
<tbody id="tbody"> <tbody id="tbody">