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:
karnaze%netscape.com 2001-06-13 02:32:26 +00:00
Родитель bfd9157e60
Коммит 66975c3122
6 изменённых файлов: 6 добавлений и 2 удалений

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

@ -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);