зеркало из https://github.com/mozilla/pjs.git
[XForms] Add support for submission standalone attr for serialization. Bug 377888, p=sspeiche r=doronr+aaronr
This commit is contained in:
Родитель
5a9ce3b5b2
Коммит
35c579ded7
|
@ -1176,6 +1176,9 @@ nsXFormsSubmissionElement::CreatePurgedDoc(nsIDOMNode *source,
|
|||
encoding +
|
||||
NS_LITERAL_STRING("\"");
|
||||
|
||||
if (GetBooleanAttr(NS_LITERAL_STRING("standalone"), PR_FALSE))
|
||||
buf += NS_LITERAL_STRING(" standalone=\"yes\"");
|
||||
|
||||
nsCOMPtr<nsIDOMProcessingInstruction> pi;
|
||||
doc->CreateProcessingInstruction(NS_LITERAL_STRING("xml"), buf,
|
||||
getter_AddRefs(pi));
|
||||
|
|
Загрузка…
Ссылка в новой задаче