Bug 1271549 - Remove details and summary preference.

Tag UXP Issue #1344
This commit is contained in:
Gaming4JC 2020-01-07 20:27:27 -05:00 committed by Roy Tam
commit a2e1955dc6
20 changed files with 21 additions and 121 deletions

View file

@ -1890,12 +1890,10 @@ nsContainerFrame::RenumberFrameAndDescendants(int32_t* aOrdinal,
}
// Do not renumber list for summary elements.
if (HTMLDetailsElement::IsDetailsEnabled()) {
HTMLSummaryElement* summary =
HTMLSummaryElement::FromContent(kid->GetContent());
if (summary && summary->IsMainSummary()) {
return false;
}
HTMLSummaryElement* summary =
HTMLSummaryElement::FromContent(kid->GetContent());
if (summary && summary->IsMainSummary()) {
return false;
}
bool kidRenumberedABullet = false;