diff --git a/mozilla/content/html/content/src/nsHTMLOptionElement.cpp b/mozilla/content/html/content/src/nsHTMLOptionElement.cpp index c90f6925200..6f144ec0088 100644 --- a/mozilla/content/html/content/src/nsHTMLOptionElement.cpp +++ b/mozilla/content/html/content/src/nsHTMLOptionElement.cpp @@ -568,6 +568,9 @@ nsHTMLOptionElement::SetText(const nsAString& aText) result = domText->SetData(aText); if (NS_SUCCEEDED(result)) { + // If we used an existing node, the notification will not happen (the + // notification typically happens in AppendChildTo). + NotifyTextChanged(); usedExistingTextNode = PR_TRUE; }