Backed out 2 changesets (bug 1865172) for causing wpt failures in page-name-unnamed-trailing-001-print.html.
Backed out changeset fc1f91bbfd85 (bug 1865172) Backed out changeset 17019e03e97c (bug 1865172)
This commit is contained in:
@@ -8042,20 +8042,6 @@ nsIFrame* nsCSSFrameConstructor::CreateContinuingFrame(
|
||||
return newFrame;
|
||||
}
|
||||
|
||||
void nsCSSFrameConstructor::MaybeSetNextPageContentFramePageName(
|
||||
const nsIFrame* aFrame) {
|
||||
MOZ_ASSERT(aFrame, "Frame should not be null");
|
||||
// No parent means the root frame, which isn't what this funciton is for.
|
||||
MOZ_ASSERT(aFrame->GetParent(),
|
||||
"Frame should be the first child placed on a new page, not the "
|
||||
"root frame.");
|
||||
if (mNextPageContentFramePageName) {
|
||||
return;
|
||||
}
|
||||
const nsAtom* const autoValue = aFrame->GetParent()->GetAutoPageValue();
|
||||
mNextPageContentFramePageName = aFrame->ComputePageValue(autoValue);
|
||||
}
|
||||
|
||||
nsresult nsCSSFrameConstructor::ReplicateFixedFrames(
|
||||
nsPageContentFrame* aParentFrame) {
|
||||
// Now deal with fixed-pos things.... They should appear on all pages,
|
||||
|
||||
Reference in New Issue
Block a user