This commit is contained in:
rbs%maths.uq.edu.au 2002-01-25 21:57:47 +00:00
Родитель 154a18a398
Коммит 61659dd1f4
2 изменённых файлов: 7 добавлений и 7 удалений

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

@ -231,11 +231,11 @@ MapAttributesInto(nsIPresContext* aPresContext,
}
}
else {
// set the special -moz-math-rowindex to annotate that we are on the first row
// set the special -moz-math-firstrow to annotate that we are on the first row
hasChanged = PR_TRUE;
aCellContent->SetAttr(kNameSpaceID_None, nsMathMLAtoms::firstrow, trueStr, PR_FALSE);
}
// if we are on the last row, set the special -moz-math-rowindex
// if we are on the last row, set the special -moz-math-lastrow
sibling = ((nsTableFrame*)tableFrame)->GetCellFrameAt(rowIndex+1, colIndex);
if (!sibling) {
hasChanged = PR_TRUE;
@ -275,11 +275,11 @@ MapAttributesInto(nsIPresContext* aPresContext,
}
}
else {
// set the special -moz-math-columnindex to annotate that we are on the first column
// set the special -moz-math-firstcolumn to annotate that we are on the first column
hasChanged = PR_TRUE;
aCellContent->SetAttr(kNameSpaceID_None, nsMathMLAtoms::firstcolumn, trueStr, PR_FALSE);
}
// if we are on the last column, set the special -moz-math-columnindex
// if we are on the last column, set the special -moz-math-lastcolumn
sibling = ((nsTableFrame*)tableFrame)->GetCellFrameAt(rowIndex, colIndex+1);
if (!sibling) {
hasChanged = PR_TRUE;

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

@ -213,10 +213,10 @@ mtd[-moz-math-firstrow="true"] {
padding-top: 0ex;
}
mtd[-moz-math-lastrow="true"] {
padding-bottom: 0em;
padding-bottom: 0ex;
}
mtd[-moz-math-firstcolumn="true"] {
padding-left: 0ex;
padding-left: 0em;
}
mtd[-moz-math-lastcolumn="true"] {
padding-right: 0em;
@ -242,7 +242,7 @@ mtable[frame="dashed"] > mtr > mtd[-moz-math-lastcolumn="true"] {
/**********************************************************************/
/* internal settings to support 'rowlines' and 'columnlines'. To
achieve the recommended behavior, the back-end code will avoid setting
unsuitable rules on the cells on the first row and the the first column.
unsuitable rules on the cells on the first row and the first column.
In general, however, authors can use the 'border' property of CSS to
achieve varying effects down to the level of the table cell. */
mtd[-moz-math-rowline="none"] {