Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2025-07-16 15:39:18 +08:00
commit b59402a1f9
44 changed files with 507 additions and 118 deletions

View file

@ -1809,7 +1809,7 @@ nsTextEditorState::InitializeRootNode()
if (!IsSingleLineTextControl()) {
// We can't just inherit the overflow because setting visible overflow will
// crash when the number of lines exceeds the height of the textarea and
// setting -moz-hidden-unscrollable overflow (NS_STYLE_OVERFLOW_CLIP)
// setting clip overflow (NS_STYLE_OVERFLOW_CLIP)
// doesn't paint the caret for some reason.
const nsStyleDisplay* disp = mBoundFrame->StyleDisplay();
if (disp->mOverflowX != NS_STYLE_OVERFLOW_VISIBLE &&