Probably we just need to remove the `mContent.IsNone` checks (for sizing and painting purposes): https://searchfox.org/mozilla-central/rev/45aff2630491c295fc6c28198b629ff2de14e637/layout/forms/nsComboboxControlFrame.cpp#169-170,177 ```cpp nscoord nsComboboxControlFrame::IntrinsicISize(const IntrinsicSizeInput& aInput, IntrinsicISizeType aType) { ... if (!containISize && !StyleContent()->mContent.IsNone()) { ``` https://searchfox.org/mozilla-central/rev/45aff2630491c295fc6c28198b629ff2de14e637/layout/forms/nsComboboxControlFrame.cpp#304,310 ```cpp void nsComboboxControlFrame::GetLabelText(nsAString& aLabel) { ... if (mDisplayedIndex != -1 && !StyleContent()->mContent.IsNone()) { ```
Bug 1979755 Comment 3 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Probably we just need to remove the `&& !StyleContent()->mContent.IsNone()` checks (for sizing and painting purposes): https://searchfox.org/mozilla-central/rev/45aff2630491c295fc6c28198b629ff2de14e637/layout/forms/nsComboboxControlFrame.cpp#169-170,177 ```cpp nscoord nsComboboxControlFrame::IntrinsicISize(const IntrinsicSizeInput& aInput, IntrinsicISizeType aType) { ... if (!containISize && !StyleContent()->mContent.IsNone()) { ``` https://searchfox.org/mozilla-central/rev/45aff2630491c295fc6c28198b629ff2de14e637/layout/forms/nsComboboxControlFrame.cpp#304,310 ```cpp void nsComboboxControlFrame::GetLabelText(nsAString& aLabel) { ... if (mDisplayedIndex != -1 && !StyleContent()->mContent.IsNone()) { ```