Create continuing line frames
git-svn-id: svn://10.0.0.236/trunk@28187 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
49227cd8d6
commit
d8e793f4ff
@ -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)) {
|
||||
|
||||
@ -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)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user