Backing out the fix for bug 73605 now that bug 17003 is fixed (was fixed quite some time ago). r=jonas@sicking.cc, sr=jst@mozilla.org.

This commit is contained in:
jst%mozilla.jstenback.com 2004-10-19 22:56:30 +00:00
Родитель 624d7dd122
Коммит b26833d3f2
1 изменённых файлов: 0 добавлений и 17 удалений

Просмотреть файл

@ -598,14 +598,6 @@ nsHTMLContentSerializer::SerializeAttributes(nsIContent* aContent,
continue; continue;
} }
// XXX: This special cased textarea code should be
// removed when bug #17003 is fixed.
if ((aTagName == nsHTMLAtoms::textarea) &&
((attrName == nsHTMLAtoms::value) ||
(attrName == nsHTMLAtoms::defaultvalue))){
continue;
}
if (mIsCopying && mIsFirstChildOfOL && (aTagName == nsHTMLAtoms::li) && if (mIsCopying && mIsFirstChildOfOL && (aTagName == nsHTMLAtoms::li) &&
(attrName == nsHTMLAtoms::value)){ (attrName == nsHTMLAtoms::value)){
// This is handled separately in SerializeLIValueAttribute() // This is handled separately in SerializeLIValueAttribute()
@ -763,15 +755,6 @@ nsHTMLContentSerializer::AppendElementStart(nsIDOMElement *aElement,
mColPos = 0; mColPos = 0;
} }
// XXX: This special cased textarea code should be
// removed when bug #17003 is fixed.
if (name == nsHTMLAtoms::textarea)
{
nsAutoString valueStr;
content->GetAttr(kNameSpaceID_None, nsHTMLAtoms::value, valueStr);
AppendToString(valueStr, aStr);
}
if (name == nsHTMLAtoms::script || if (name == nsHTMLAtoms::script ||
name == nsHTMLAtoms::style || name == nsHTMLAtoms::style ||
name == nsHTMLAtoms::noscript || name == nsHTMLAtoms::noscript ||