зеркало из https://github.com/mozilla/gecko-dev.git
typos
This commit is contained in:
Родитель
2af0669711
Коммит
8c3fe11744
|
@ -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"] {
|
||||
|
|
Загрузка…
Ссылка в новой задаче