mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Issue #2499 - Part 3: Add CSS clip overflow support with serialization fixes
This commit is contained in:
parent
205ea844f4
commit
5e8e1208e7
40 changed files with 144 additions and 97 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue