Closed Bug 60201 Opened 25 years ago Closed 25 years ago

Portions of the W3C MarkUp page fail to render

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kinmoz, Assigned: buster)

References

()

Details

I tried loading http://www.w3.org/MarkUp/ in the Win32 version of Netscape6, and the page fails to render any of the page below the "What is HTML?". I then tried to load the page in my 11/14/00 Mozilla Trunk build, and noticed that I hit the nsLineLayout::ReflowFrame() assertion NS_ASSERTION(metrics.width>=0, "bad width"); eight times, and when the page was done loading, the middle portion of the page did not render, and the scrollbar indicated that the document was way longer than it should be. Here's the stack trace to the assertion that was hit 8 times: NTDLL! 77f7629c() nsDebug::Assertion(const char * 0x01bd4490, const char * 0x01bd447c, const char * 0x01bd4448, int 1025) line 254 + 13 bytes nsLineLayout::ReflowFrame(nsIFrame * 0x00da5df0, nsIFrame * * 0x0012cc54, unsigned int & 1, nsHTMLReflowMetrics * 0x00000000, int & 0) line 1025 + 35 bytes nsInlineFrame::ReflowInlineFrame(nsIPresContext * 0x0656f0a0, const nsHTMLReflowState & {...}, nsInlineFrame::InlineReflowState & {...}, nsIFrame * 0x00da5df0, unsigned int & 1) line 598 + 26 bytes nsInlineFrame::ReflowFrames(nsIPresContext * 0x0656f0a0, const nsHTMLReflowState & {...}, nsInlineFrame::InlineReflowState & {...}, nsHTMLReflowMetrics & {...}, unsigned int & 1) line 412 + 28 bytes nsInlineFrame::Reflow(nsInlineFrame * const 0x00da5d28, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 1) line 323 + 28 bytes nsLineLayout::ReflowFrame(nsIFrame * 0x00da5d28, nsIFrame * * 0x0012d91c, unsigned int & 1, nsHTMLReflowMetrics * 0x00000000, int & 0) line 921 nsBlockFrame::ReflowInlineFrame(nsBlockReflowState & {...}, nsLineLayout & {...}, nsLineBox * 0x00da6128, nsIFrame * 0x00da5d28, unsigned char * 0x0012ce94) line 4363 + 29 bytes nsBlockFrame::DoReflowInlineFrames(nsBlockReflowState & {...}, nsLineLayout & {...}, nsLineBox * 0x00da6128, int * 0x0012d510, unsigned char * 0x0012d358, int 0, int 0) line 4247 + 28 bytes nsBlockFrame::DoReflowInlineFramesAuto(nsBlockReflowState & {...}, nsLineBox * 0x00da6128, int * 0x0012d510, unsigned char * 0x0012d358, int 0, int 0) line 4181 + 42 bytes nsBlockFrame::ReflowInlineFrames(nsBlockReflowState & {...}, nsLineBox * 0x00da6128, int * 0x0012d510, int 0, int 0) line 4126 + 32 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x00da6128, int * 0x0012d510, int 0) line 3260 + 29 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2949 + 27 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x00da5ca0, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1740 + 15 bytes nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState & {...}, nsReflowReason eReflowReason_Initial, nsIFrame * 0x00da5ca0, const nsRect & {...}, int 1, int 299, int 0, nsMargin & {...}, unsigned int & 0) line 561 + 36 bytes nsBlockReflowContext::ReflowBlock(nsIFrame * 0x00da5ca0, const nsRect & {...}, int 1, int 299, int 0, nsMargin & {...}, unsigned int & 0) line 331 + 50 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox * 0x03e9f8d4, int * 0x0012e048) line 3879 + 56 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x03e9f8d4, int * 0x0012e048, int 1) line 3142 + 23 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2949 + 27 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x03e2b050, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1740 + 15 bytes nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState & {...}, nsReflowReason eReflowReason_Incremental, nsIFrame * 0x03e2b050, const nsRect & {...}, int 1, int 0, int 1, nsMargin & {...}, unsigned int & 0) line 561 + 36 bytes nsBlockReflowContext::ReflowBlock(nsIFrame * 0x03e2b050, const nsRect & {...}, int 1, int 0, int 1, nsMargin & {...}, unsigned int & 0) line 331 + 50 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox * 0x03e2b0c4, int * 0x0012eb80) line 3879 + 56 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x03e2b0c4, int * 0x0012eb80, int 1) line 3142 + 23 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2949 + 27 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x03fbd1d8, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1740 + 15 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x03fbd1d8, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, int 0, unsigned int 0, unsigned int & 0) line 693 + 31 bytes CanvasFrame::Reflow(CanvasFrame * const 0x03fbc2e4, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 306 nsBoxToBlockAdaptor::Reflow(nsBoxLayoutState & {...}, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0, int 0, int 0, int 15975, int 10365, int 1) line 868 nsBoxToBlockAdaptor::DoLayout(nsBoxToBlockAdaptor * const 0x03fbd16c, nsBoxLayoutState & {...}) line 525 + 52 bytes nsBox::Layout(nsBox * const 0x03fbd16c, nsBoxLayoutState & {...}) line 1002 nsScrollBoxFrame::DoLayout(nsScrollBoxFrame * const 0x03fbc3fc, nsBoxLayoutState & {...}) line 379 nsBox::Layout(nsBox * const 0x03fbc3fc, nsBoxLayoutState & {...}) line 1002 nsContainerBox::LayoutChildAt(nsBoxLayoutState & {...}, nsIBox * 0x03fbc3fc, const nsRect & {...}) line 593 + 16 bytes nsGfxScrollFrameInner::LayoutBox(nsBoxLayoutState & {...}, nsIBox * 0x03fbc3fc, const nsRect & {...}) line 1029 + 17 bytes nsGfxScrollFrameInner::Layout(nsBoxLayoutState & {...}) line 1112 nsGfxScrollFrame::DoLayout(nsGfxScrollFrame * const 0x03fbc354, nsBoxLayoutState & {...}) line 1037 + 15 bytes nsBox::Layout(nsBox * const 0x03fbc354, nsBoxLayoutState & {...}) line 1002 nsBoxFrame::Reflow(nsBoxFrame * const 0x03fbc31c, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 789 nsGfxScrollFrame::Reflow(nsGfxScrollFrame * const 0x03fbc31c, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 741 + 25 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x03fbc31c, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, int 0, unsigned int 0, unsigned int & 0) line 693 + 31 bytes ViewportFrame::Reflow(ViewportFrame * const 0x03fbc2a8, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 546 nsHTMLReflowCommand::Dispatch(nsHTMLReflowCommand * const 0x05e570f0, nsIPresContext * 0x0656f0a0, nsHTMLReflowMetrics & {...}, const nsSize & {...}, nsIRenderingContext & {...}) line 146 PresShell::ProcessReflowCommands(int 1) line 5106 ReflowEvent::HandleEvent() line 4989 HandlePLEvent(ReflowEvent * 0x05e53050) line 5003 PL_HandleEvent(PLEvent * 0x05e53050) line 576 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00a7fe30) line 509 + 9 bytes _md_EventReceiverProc(HWND__ * 0x1bda05e0, unsigned int 49374, unsigned int 0, long 11009584) line 1054 + 9 bytes USER32! 77e71820() 00a7fe30()
This page seems to load fine in the 2001-01-18-08 nightly on Linux.
Marking WorksForMe. Seems to load fine now in NS6 and in latest mozilla debug build on Win32. A fix for some other bug must have cleared this up.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.