Bug 1277131 : Part 4 - rename -moz-table-outer to -moz-table-wrapper. r=heycam

MozReview-Commit-ID: CsalRdLLcbJ

--HG--
extra : rebase_source : 64c55289f599932b81058935b7896dbcb33ba557
This commit is contained in:
Astley Chen 2016-06-16 13:35:54 +01:00
Родитель 5bcbb06586
Коммит 188c2c3e1a
5 изменённых файлов: 5 добавлений и 5 удалений

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

@ -2558,7 +2558,7 @@ nsCSSOffsetState::InitOffsets(WritingMode aWM,
}
// The margin is inherited to the table wrapper frame via
// the ::-moz-table-outer rule in ua.css.
// the ::-moz-table-wrapper rule in ua.css.
ComputedPhysicalMargin().SizeTo(0, 0, 0, 0);
} else if (aFrameType == nsGkAtoms::scrollbarFrame) {
// scrollbars may have had their width or height smashed to zero

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

@ -52,7 +52,7 @@ CSS_ANON_BOX(table, ":-moz-table")
CSS_ANON_BOX(tableCell, ":-moz-table-cell")
CSS_ANON_BOX(tableColGroup, ":-moz-table-column-group")
CSS_ANON_BOX(tableCol, ":-moz-table-column")
CSS_ANON_BOX(tableWrapper, ":-moz-table-outer")
CSS_ANON_BOX(tableWrapper, ":-moz-table-wrapper")
CSS_ANON_BOX(tableRowGroup, ":-moz-table-row-group")
CSS_ANON_BOX(tableRow, ":-moz-table-row")

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

@ -21,7 +21,7 @@
box-sizing: border-box; /* XXX do we really want this? */
}
*|*::-moz-table-outer {
*|*::-moz-table-wrapper {
display: inherit !important; /* table or inline-table */
margin: inherit ! important;
padding: 0 ! important;

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

@ -2647,7 +2647,7 @@ nsTableFrame::GetUsedPadding() const
nsTableFrame::GetUsedMargin() const
{
// The margin is inherited to the table wrapper frame via
// the ::-moz-table-outer rule in ua.css.
// the ::-moz-table-wrapper rule in ua.css.
return nsMargin(0, 0, 0, 0);
}

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

@ -216,7 +216,7 @@ nsTableWrapperFrame::GetParentStyleContext(nsIFrame** aProviderFrame) const
// data by giving the table frame the style context associated with
// the table content node and creating a style context for the wrapper
// frame that is a *child* of the table frame's style context,
// matching the ::-moz-table-outer pseudo-element. html.css has a
// matching the ::-moz-table-wrapper pseudo-element. html.css has a
// rule that causes that pseudo-element (and thus the wrapper table)
// to inherit *some* style properties from the table frame. The
// children of the table inherit directly from the inner table, and