Closed Bug 4521 Opened 26 years ago Closed 26 years ago

[M4] type, hit Enter, get asserts that look serious

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: buster, Assigned: sfraser_bugs)

Details

I'm getting lots of assertions in nsLineLayout::ForgetWordFrame(). all I do is open a simple document with one line of attributed text (mixed plain, bold, italic, underline) and type for a while, then hit Enter. I'm using viewer debug build on WinNT. I put my selection at the third character and type a couple of characters then hit Enter. If I don't type any characters, the assertion is not triggered. ========== TEST CASE =========== <html><body> <p>plain<I>italic1<B>bold1<U>underline</U>bold2</B>italic2</I>plain2 </body></html>
Summary: type, hit Enter, get asserts that look serious → [M4] type, hit Enter, get asserts that look serious
Target Milestone: M4
added Kipp to cc list. I see the same assert occassionally by attributing and unattributing text, haven't nailed down specific test senarios yet.
try this for another test case: make a bunch of text bold in the editor, so that your selection spans several lines. now select a subset of the bold text that still spans several lines and make it italic. assert.
Assignee: mjudge → kin
Status: NEW → ASSIGNED
Bug reassigned from mjudge@netscape.com to kin@netscape.com. Status changed to assign.
Assignee: kin → sfraser
Status: ASSIGNED → NEW
Reassigning to sfraser@netscape.com
Status: NEW → ASSIGNED
Target Milestone: M4 → M5
These asserts will not show up in the optimized build, and there is no crash or bad behaviour. I'll fix this for M5.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This has been fixed.
Status: RESOLVED → VERIFIED
verified in 4/20 build.
You need to log in before you can comment on or make changes to this bug.