diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index 8a9f7aa968d..18df0822c76 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -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 + // 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 + // return NS_OK; } // Deal with inner/outer tables, fieldsets