зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
624d7dd122
Коммит
b26833d3f2
|
@ -598,14 +598,6 @@ nsHTMLContentSerializer::SerializeAttributes(nsIContent* aContent,
|
|||
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) &&
|
||||
(attrName == nsHTMLAtoms::value)){
|
||||
// This is handled separately in SerializeLIValueAttribute()
|
||||
|
@ -763,15 +755,6 @@ nsHTMLContentSerializer::AppendElementStart(nsIDOMElement *aElement,
|
|||
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 ||
|
||||
name == nsHTMLAtoms::style ||
|
||||
name == nsHTMLAtoms::noscript ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче