зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 0a2d8e926a66 (bug 1224251)
This commit is contained in:
Родитель
681c0ef404
Коммит
a1a34b4afa
|
@ -854,21 +854,6 @@ RestyleManager::ProcessRestyledFrames(nsStyleChangeList& aChangeList)
|
|||
didReflowThisFrame = true;
|
||||
}
|
||||
|
||||
if ((hint & nsChangeHint_UpdateUsesOpacity) &&
|
||||
frame->IsFrameOfType(nsIFrame::eTablePart)) {
|
||||
NS_ASSERTION(hint & nsChangeHint_UpdateOpacityLayer,
|
||||
"should only return UpdateUsesOpacity hint "
|
||||
"when also returning UpdateOpacityLayer hint");
|
||||
// When an internal table part (including cells) changes between
|
||||
// having opacity 1 and non-1, it changes whether its
|
||||
// backgrounds (and those of table parts inside of it) are
|
||||
// painted as part of the table's nsDisplayTableBorderBackground
|
||||
// display item, or part of its own display item. That requires
|
||||
// invalidation, so change UpdateOpacityLayer to RepaintFrame.
|
||||
hint &= ~nsChangeHint_UpdateOpacityLayer;
|
||||
hint |= nsChangeHint_RepaintFrame;
|
||||
}
|
||||
|
||||
if (hint & (nsChangeHint_RepaintFrame | nsChangeHint_SyncFrameView |
|
||||
nsChangeHint_UpdateOpacityLayer | nsChangeHint_UpdateTransformLayer |
|
||||
nsChangeHint_ChildrenOnlyTransform | nsChangeHint_SchedulePaint)) {
|
||||
|
|
|
@ -58,5 +58,5 @@ skip-if(B2G||Mulet) == border-separate-opacity-table.html border-separate-opacit
|
|||
== scrollable-rowgroup-separate-border.html scrollable-rowgroup-separate-notref.html # scrolling rowgroups were removed in bug 28800
|
||||
== empty-cells-default-1.html empty-cells-default-1-ref.html
|
||||
== empty-cells-default-2.html empty-cells-default-2-ref.html
|
||||
== table-row-opacity-dynamic-1.html table-row-opacity-dynamic-1-ref.html
|
||||
== table-row-opacity-dynamic-2.html table-row-opacity-dynamic-2-ref.html
|
||||
fails == table-row-opacity-dynamic-1.html table-row-opacity-dynamic-1-ref.html # bug 1224253
|
||||
fails == table-row-opacity-dynamic-2.html table-row-opacity-dynamic-2-ref.html # bug 1224251
|
||||
|
|
Загрузка…
Ссылка в новой задаче