зеркало из https://github.com/mozilla/pjs.git
bug 84378 - make whitespace:normal the default for tables (back the way it was before recent style changes), a=asa, sr=attinasi, r=alexsavulov
This commit is contained in:
Родитель
bfd9157e60
Коммит
66975c3122
|
@ -226,9 +226,9 @@ th {
|
|||
*|*:table-cell {
|
||||
display: table-cell;
|
||||
padding: 1px;
|
||||
white-space: inherit;
|
||||
}
|
||||
|
||||
|
||||
/* inlines */
|
||||
|
||||
q:before {
|
||||
|
|
|
@ -81,6 +81,7 @@ table, caption {
|
|||
|
||||
table {
|
||||
text-align: -moz-initial;
|
||||
white-space: normal; /* compatible with IE & spec */
|
||||
}
|
||||
|
||||
/* Quirk: make sure backgrounds are inherited in tables */
|
||||
|
|
|
@ -147,6 +147,7 @@ void nsTableCellFrame::SetPass1MaxElementSize(nscoord aMaxWidth,
|
|||
{
|
||||
mPass1MaxElementSize.height = aMaxElementSize.height;
|
||||
nscoord maxElemWidth = aMaxElementSize.width;
|
||||
// the following can be removed when blocks handle nowrap - use regression test bug57828 after removing
|
||||
// the max elem width needs to take into account a cell that is NOWRAP
|
||||
const nsStyleText* styleText;
|
||||
GetStyleData(eStyleStruct_Text, (const nsStyleStruct*&) styleText);
|
||||
|
|
|
@ -226,9 +226,9 @@ th {
|
|||
*|*:table-cell {
|
||||
display: table-cell;
|
||||
padding: 1px;
|
||||
white-space: inherit;
|
||||
}
|
||||
|
||||
|
||||
/* inlines */
|
||||
|
||||
q:before {
|
||||
|
|
|
@ -81,6 +81,7 @@ table, caption {
|
|||
|
||||
table {
|
||||
text-align: -moz-initial;
|
||||
white-space: normal; /* compatible with IE & spec */
|
||||
}
|
||||
|
||||
/* Quirk: make sure backgrounds are inherited in tables */
|
||||
|
|
|
@ -147,6 +147,7 @@ void nsTableCellFrame::SetPass1MaxElementSize(nscoord aMaxWidth,
|
|||
{
|
||||
mPass1MaxElementSize.height = aMaxElementSize.height;
|
||||
nscoord maxElemWidth = aMaxElementSize.width;
|
||||
// the following can be removed when blocks handle nowrap - use regression test bug57828 after removing
|
||||
// the max elem width needs to take into account a cell that is NOWRAP
|
||||
const nsStyleText* styleText;
|
||||
GetStyleData(eStyleStruct_Text, (const nsStyleStruct*&) styleText);
|
||||
|
|
Загрузка…
Ссылка в новой задаче