diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-07 20:27:27 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:08 -0500 |
commit | bc8543bf793b5c203600c57565214b5e20f54592 (patch) | |
tree | ba44f39310bb1eb1304a36ab60a82bc031306b78 /layout/generic/nsContainerFrame.cpp | |
parent | ce285b6f2d48ce945b194fd7982cd6a5a306e939 (diff) | |
download | uxp-bc8543bf793b5c203600c57565214b5e20f54592.tar.gz |
Bug 1271549 - Remove details and summary preference.
Tag UXP Issue #1344
Diffstat (limited to 'layout/generic/nsContainerFrame.cpp')
-rw-r--r-- | layout/generic/nsContainerFrame.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/layout/generic/nsContainerFrame.cpp b/layout/generic/nsContainerFrame.cpp index abf687c9bd..afc4ed96f4 100644 --- a/layout/generic/nsContainerFrame.cpp +++ b/layout/generic/nsContainerFrame.cpp @@ -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; |