gecko-dev/layout/forms
Frédéric Wang f14fe86c4a Bug 1874823 - Make nsBlockFrame::Init set NS_BLOCK_STATIC_BFC by checking classes. r=layout-reviewers,AlaskanEmily
The following classes deriving from nsBlockFrame always set
NS_BLOCK_STATIC_BFC in their constructors or initializers:

- nsComboboxControlFrame
- nsFileControlFrame
- nsSelectsAreaFrame
- ColumnSetWrapperFrame
- nsMathMLmathBlockFrame

Do that in nsBlockFrame::Init instead. Behavior is unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D199097
2024-01-24 12:13:42 +00:00
..
crashtests Bug 1873802: Make nsRangeFrame place the thumb at the minimum position if it happens to get reflowed before its element is done being created. r=emilio 2024-01-16 17:38:30 +00:00
test
HTMLSelectEventListener.cpp Bug 1850295 - Update :user-{valid,invalid} to follow the spec. r=smaug 2024-01-16 11:09:01 +00:00
HTMLSelectEventListener.h
ListMutationObserver.cpp
ListMutationObserver.h
moz.build
nsButtonFrameRenderer.cpp
nsButtonFrameRenderer.h
nsCheckboxRadioFrame.cpp
nsCheckboxRadioFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsColorControlFrame.cpp
nsColorControlFrame.h
nsComboboxControlFrame.cpp Bug 1874823 - Make nsBlockFrame::Init set NS_BLOCK_STATIC_BFC by checking classes. r=layout-reviewers,AlaskanEmily 2024-01-24 12:13:42 +00:00
nsComboboxControlFrame.h Bug 1765615 - Remove flags parameter from NS_NewComboboxControlFrame/NS_NewSelectsAreaFrame. r=layout-reviewers,emilio 2024-01-15 15:35:50 +00:00
nsDateTimeControlFrame.cpp Bug 1874336 Part 1 - Use ApplyMinMaxBSize() and ApplyMinMaxISize() more. r=layout-reviewers,jfkthame 2024-01-12 21:25:39 +00:00
nsDateTimeControlFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsFieldSetFrame.cpp Bug 1765615 - Introduce NS_BLOCK_DYNAMIC_BFC state bit. r=layout-reviewers,emilio 2024-01-16 07:58:47 +00:00
nsFieldSetFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsFileControlFrame.cpp Bug 1874823 - Make nsBlockFrame::Init set NS_BLOCK_STATIC_BFC by checking classes. r=layout-reviewers,AlaskanEmily 2024-01-24 12:13:42 +00:00
nsFileControlFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsGfxButtonControlFrame.cpp
nsGfxButtonControlFrame.h Bug 1800077 - Make <input type=button> magic clip not magic. r=jwatt,zcorpan 2023-12-21 22:30:50 +01:00
nsHTMLButtonControlFrame.cpp Bug 1874336 Part 1 - Use ApplyMinMaxBSize() and ApplyMinMaxISize() more. r=layout-reviewers,jfkthame 2024-01-12 21:25:39 +00:00
nsHTMLButtonControlFrame.h Bug 1800077 - Make <input type=button> magic clip not magic. r=jwatt,zcorpan 2023-12-21 22:30:50 +01:00
nsIFormControlFrame.h
nsImageControlFrame.cpp
nsISelectControlFrame.h
nsITextControlFrame.h
nsListControlFrame.cpp
nsListControlFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsMeterFrame.cpp Bug 1860666 - Add pref-gated ::slider-* pseudo-elements, and some tests. r=layout-reviewers,jfkthame 2023-10-30 15:15:24 +00:00
nsMeterFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsNumberControlFrame.cpp
nsNumberControlFrame.h
nsProgressFrame.cpp Bug 1860666 - Add pref-gated ::slider-* pseudo-elements, and some tests. r=layout-reviewers,jfkthame 2023-10-30 15:15:24 +00:00
nsProgressFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsRangeFrame.cpp Bug 1873802: Make nsRangeFrame place the thumb at the minimum position if it happens to get reflowed before its element is done being created. r=emilio 2024-01-16 17:38:30 +00:00
nsRangeFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsSearchControlFrame.cpp
nsSearchControlFrame.h
nsSelectsAreaFrame.cpp Bug 1874823 - Make nsBlockFrame::Init set NS_BLOCK_STATIC_BFC by checking classes. r=layout-reviewers,AlaskanEmily 2024-01-24 12:13:42 +00:00
nsSelectsAreaFrame.h Bug 1874823 - Make nsBlockFrame::Init set NS_BLOCK_STATIC_BFC by checking classes. r=layout-reviewers,AlaskanEmily 2024-01-24 12:13:42 +00:00
nsTextControlFrame.cpp Bug 1875600 - Use nsIFrame::PresShell() to simply some callers. r=layout-reviewers,emilio 2024-01-23 00:30:53 +00:00
nsTextControlFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00