Bug 2052629 - Remove unused nsSelectsAreaFrame from FrameClasses.py r=layout-reviewers,emilio

Differential Revision: https://phabricator.services.mozilla.com/D320627
This commit is contained in:
mayankleoboy1
2026-08-22 18:24:59 +00:00
committed by ealvarez@mozilla.com
parent f1a38aa08e
commit 60b973acdc
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ void nsListControlFrame::Reflow(nsPresContext* aPresContext,
mMightNeedSecondPass = false;
// Now see whether we need a second pass. If we do, our
// nsSelectsAreaFrame will have suppressed the scrollbar update.
// scrolled frame will have suppressed the scrollbar update.
if (mBSizeOfARow == oldBSizeOfARow) {
return;
}
+1 -1
View File
@@ -87,7 +87,7 @@ class nsListControlFrame final : public mozilla::ScrollContainerFrame {
bool IsFocused() const;
/**
* Function to paint the focus rect when our nsSelectsAreaFrame is painting.
* Function to paint the focus rect when our scrolled frame is painting.
* @param aPt the offset of this frame, relative to the rendering reference
* frame
*/
-1
View File
@@ -109,7 +109,6 @@ FRAME_CLASSES = [
Frame("SimpleXULLeafFrame", "SimpleXULLeaf", COMMON | LEAF),
Frame("nsScrollbarButtonFrame", "SimpleXULLeaf", COMMON | LEAF),
Frame("nsScrollbarFrame", "Scrollbar", COMMON),
Frame("nsSelectsAreaFrame", "Block", BLOCK | BFC),
Frame("nsPageSequenceFrame", "PageSequence", COMMON),
Frame("nsSliderFrame", "Slider", COMMON),
Frame("nsSplitterFrame", "SimpleXULLeaf", COMMON | LEAF),
+1 -1
View File
@@ -539,7 +539,7 @@ static bool IsFontSizeInflationContainer(nsIFrame* aFrame,
frameType == LayoutFrameType::Letter) ||
// Given multiple frames for the same node, only the
// outer one should be considered a container.
// (Important, e.g., for nsSelectsAreaFrame.)
// (Important, e.g., for scrolled frames.)
(aFrame->GetParent()->GetContent() == content) ||
(content &&
// Form controls shouldn't become inflation containers.