Closed Bug 48297 Opened 25 years ago Closed 25 years ago

some edit operations do not scroll selection into view

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: mozeditor, Assigned: mozeditor)

Details

(Whiteboard: [nsbeta3+])

Any edit operations that don't go through the listener (examples: cut, undo, insert hr, ...) do not trigger a call to ScrollSelectionIntoView(). So if you scroll your selection off the page, and then cut, for instance, you don't see anything happen, since what you cut is off the page.
nominating for b3. beth: this is an easy fix. recommend p3.
Status: NEW → ASSIGNED
Keywords: correctness, nsbeta3
setting to nsbeta3+
Whiteboard: [nsbeta3+]
forgot the milestone -- and joe can you add the priority, thanks
Target Milestone: --- → M18
fixed. sometimes it doesnt scroll far enough, but thats a selection bug, and i'm holding off filing a bug for now because my tree is out of date. i'll talk to mike about it this week. sujay, to verify bring up composer, shrink the window down pretty small, type enough lines of text that the top few lines are scrolled off, go back to the top and select the top line, scroll back down to the bottom, and choose "Cut" from the edit menu. You should now scroll up to the top. if it doesnt scroll at all then I haven't fixed it. If it scrolls but doesnt get the top line quite into view then thats a different bug and I'll file it against mike.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified in 8/16 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.