Create continuing line frames

This commit is contained in:
kipp%netscape.com 1999-04-20 00:28:58 +00:00
parent 1ada64d1cd
commit 211ca77ef3
2 changed files with 18 additions and 2 deletions

View File

@ -324,7 +324,7 @@ nsCSSFrameConstructor::CreateGeneratedFrameFor(nsIPresContext* aPresContex
}
} else {
contentString = '"';
contentString = '\"';
}
}
break;
@ -5127,6 +5127,14 @@ nsCSSFrameConstructor::CreateContinuingFrame(nsIPresContext* aPresContext,
styleContext, PR_FALSE);
}
} else if (nsHTMLAtoms::lineFrame == frameType) {
rv = NS_NewFirstLineFrame(&newFrame);
if (NS_SUCCEEDED(rv)) {
newFrame->Init(*aPresContext, content, aParentFrame, styleContext, aFrame);
nsHTMLContainerFrame::CreateViewForFrame(*aPresContext, newFrame,
styleContext, PR_FALSE);
}
} else if (nsHTMLAtoms::blockFrame == frameType) {
rv = NS_NewBlockFrame(newFrame, 0);
if (NS_SUCCEEDED(rv)) {

View File

@ -324,7 +324,7 @@ nsCSSFrameConstructor::CreateGeneratedFrameFor(nsIPresContext* aPresContex
}
} else {
contentString = '"';
contentString = '\"';
}
}
break;
@ -5127,6 +5127,14 @@ nsCSSFrameConstructor::CreateContinuingFrame(nsIPresContext* aPresContext,
styleContext, PR_FALSE);
}
} else if (nsHTMLAtoms::lineFrame == frameType) {
rv = NS_NewFirstLineFrame(&newFrame);
if (NS_SUCCEEDED(rv)) {
newFrame->Init(*aPresContext, content, aParentFrame, styleContext, aFrame);
nsHTMLContainerFrame::CreateViewForFrame(*aPresContext, newFrame,
styleContext, PR_FALSE);
}
} else if (nsHTMLAtoms::blockFrame == frameType) {
rv = NS_NewBlockFrame(newFrame, 0);
if (NS_SUCCEEDED(rv)) {