Verified Commit 07698e51 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

Revert "Bug 42378: Apply spoof English to the default detail summary."

This reverts commit bdfc4f4c.
parent 12b60a12
Loading
Loading
Loading
Loading
+2 −3
Changes for dom/html/HTMLDetailsElement.cpp: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -105,9 +105,8 @@ void HTMLDetailsElement::SetupShadowTree() {
    }

    nsAutoString defaultSummaryText;
    nsContentUtils::GetMaybeLocalizedString(nsContentUtils::eFORMS_PROPERTIES,
                                            "DefaultSummary", OwnerDoc(),
                                            defaultSummaryText);
    nsContentUtils::GetLocalizedString(nsContentUtils::eFORMS_PROPERTIES,
                                       "DefaultSummary", defaultSummaryText);
    RefPtr<nsTextNode> description = new (nim) nsTextNode(nim);
    description->SetText(defaultSummaryText, kNotify);
    summary->AppendChildTo(description, kNotify, IgnoreErrors());