bug 152329: inserting a text node in a textarea displays the text twice. r+sr=bzbarsky a=asa

git-svn-id: svn://10.0.0.236/trunk@174572 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mrbkap%gmail.com
2005-06-14 17:19:53 +00:00
parent 2f48176f59
commit ff1007bfc5

View File

@@ -8496,8 +8496,10 @@ nsCSSFrameConstructor::ContentAppended(nsIContent* aContainer,
nsIAtom* frameType = parentFrame->GetType();
if (frameType == nsLayoutAtoms::objectFrame ||
frameType == nsLayoutAtoms::tableColFrame ||
frameType == nsLayoutAtoms::HTMLCanvasFrame) {
// This handles APPLET, EMBED, OBJECT, COL, and CANVAS
frameType == nsLayoutAtoms::HTMLCanvasFrame ||
frameType == nsLayoutAtoms::textInputFrame) {
// This handles APPLET, EMBED, OBJECT, COL, CANVAS, TEXTAREA and
// <INPUT TYPE=text>
return NS_OK;
}
// Deal with inner/outer tables, fieldsets
@@ -9084,8 +9086,10 @@ nsCSSFrameConstructor::ContentInserted(nsIContent* aContainer,
nsIAtom* frameType = parentFrame->GetType();
if (frameType == nsLayoutAtoms::objectFrame ||
frameType == nsLayoutAtoms::tableColFrame ||
frameType == nsLayoutAtoms::HTMLCanvasFrame) {
// This handles APPLET, EMBED, OBJECT, COL, and CANVAS
frameType == nsLayoutAtoms::HTMLCanvasFrame ||
frameType == nsLayoutAtoms::textInputFrame) {
// This handles APPLET, EMBED, OBJECT, COL, CANVAS, TEXTAREA, and
// <INPUT TYPE=text>
return NS_OK;
}
// Deal with inner/outer tables, fieldsets