Closed Bug 1942 Opened 26 years ago Closed 26 years ago

Resize crashes viewer when body has overflow set to hidden

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect, P2)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: rods, Assigned: troy)

Details

Load the HTML listed below and then resize the viewer. It crashes on an assert -------------------------------------------------------------------------- NTDLL! 77f76148() nsDebug::Assertion(char * 0x00669c8c, char * 0x00669c60, char * 0x00669c28, int 464) line 95 + 13 bytes nsContainerFrame::DeleteChildsNextInFlow(nsIPresContext & {...}, nsIFrame * 0x01283860) line 464 + 38 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x01283860, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 410 nsTableFrame::ReflowMappedChildren(nsTableFrame * const 0x01283cc0, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, InnerTableReflowState & {...}, unsigned int & 0) line 2496 + 31 bytes nsTableFrame::ResizeReflowPass2(nsTableFrame * const 0x01283cc0, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1801 + 31 bytes nsTableFrame::Reflow(nsTableFrame * const 0x01283cc4, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1610 + 35 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x01283cc0, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 392 + 28 bytes nsTableOuterFrame::Reflow(nsTableOuterFrame * const 0x01283c44, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 990 + 37 bytes nsBlockReflowContext::ReflowBlock(nsIFrame * 0x01283c40, const nsRect & {...}, int 1, unsigned int & 0) line 153 + 33 bytes nsBaseIBFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox * 0x012c0500, int & 1) line 2190 + 41 bytes nsBaseIBFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x012c0500, int & 1) line 1651 + 20 bytes nsBaseIBFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 1380 + 26 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 4627 nsBaseIBFrame::Reflow(nsBaseIBFrame * const 0x01270954, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 676 + 25 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x01270954, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 4253 + 25 bytes nsBodyFrame::Reflow(nsBodyFrame * const 0x01270954, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 259 + 25 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x01270950, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 392 + 28 bytes RootFrame::Reflow(RootFrame * const 0x01270584, nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 209 PresShell::ResizeReflow(PresShell * const 0x0125e980, int 9180, int 4395) line 683 PresShell::ResizeReflow(PresShell * const 0x0125e984, nsIView * 0x0125e680, int 9180, int 4395) line 1306 nsViewManager::SetWindowDimensions(nsViewManager * const 0x0125e580, int 9180, int 4395) line 239 nsViewManager::DispatchEvent(nsViewManager * const 0x0125e580, nsGUIEvent * 0x0012f8d8, nsEventStatus & nsEventStatus_eIgnore) line 727 HandleEvent(nsGUIEvent * 0x0012f8d8) line 64 nsWindow::DispatchEvent(nsWindow * const 0x0125e750, nsGUIEvent * 0x0012f8d8, nsEventStatus & nsEventStatus_eIgnore) line 355 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012f8d8) line 371 nsWindow::OnResize(nsRect & {...}) line 1808 + 15 bytes nsWindow::ProcessMessage(unsigned int 71, unsigned int 0, long 1243760, long * 0x0012fa04) line 1515 + 21 bytes nsWindow::WindowProc(void * 0x005b08be, unsigned int 71, unsigned int 0, long 1243760) line 414 + 27 bytes USER32! 77e71ab7() USER32! 77e72fbe() NTDLL! 77f7624f() DocumentViewerImpl::SetBounds(DocumentViewerImpl * const 0x012db420, const nsRect & {...}) line 437 nsWebShell::SetBounds(nsWebShell * const 0x011fd6c0, int 0, int 42, int 612, int 293) line 780 nsBrowserWindow::Layout(int 612, int 359) line 1400 HandleBrowserEvent(nsGUIEvent * 0x0012fbd0) line 294 nsWindow::DispatchEvent(nsWindow * const 0x011fd130, nsGUIEvent * 0x0012fbd0, nsEventStatus & nsEventStatus_eIgnore) line 355 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012fbd0) line 371 nsWindow::OnResize(nsRect & {...}) line 1808 + 15 bytes nsWindow::ProcessMessage(unsigned int 71, unsigned int 0, long 1244520, long * 0x0012fcfc) line 1515 + 21 bytes nsWindow::WindowProc(void * 0x01430782, unsigned int 71, unsigned int 0, long 1244520) line 414 + 27 bytes USER32! 77e71ab7() USER32! 77e72fbe() NTDLL! 77f7624f() USER32! 77e7288d() USER32! 77e72918() nsWindow::WindowProc(void * 0x01430782, unsigned int 274, unsigned int 61446, long 25952592) line 426 USER32! 77e71ab7() USER32! 77e71a77() NTDLL! 77f7624f() USER32! 77e7288d() USER32! 77e72918() nsWindow::WindowProc(void * 0x01430782, unsigned int 161, unsigned int 15, long 25952592) line 426 USER32! 77e71250() ---------------------------------------------------------- <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#C0C0C0" style="overflow: hidden;"> <style type="text/css"> /* This style sheet should be in a seperate file */ FIELDSET { background-color: rgb(192, 192, 192); border: 2px groove rgb(192, 192, 192); display: inline; margin-left: 10px; padding: 2px; } LEGEND { background-color:rgb(192, 192, 192); border: none ; padding: 2px; } BODY,TD { font-family: Sans-Serif; background-color: #C0C0C0; } LABEL { background-color: #C0C0C0; margin: 0px 0px 0px 0px; padding-left: 0px; padding-right: 0px; } BODY,TD,INPUT { font-size: 9pt; } BODY { margin: 0px 0px 0px 0px; } </style> <FORM> <TABLE bgcolor="#C0C0C0"> <tr> <td NOWRAP > <fieldset > <legend align=left>&nbsp;Page Options&nbsp;</legend> <TABLE width="100%"> <TR> <TD NOWRAP> <LABEL><input type=checkbox id="bevellines" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Bevel Lines</LABEL> </TD> </TR> <TR> <TD NOWRAP> <input type=checkbox id="blacktext" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Black Text</TD> </TR> <TR> <TD NOWRAP> <input type=checkbox id="blacklines" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Black Lines</TD> </TR> <TR> <TD NOWRAP> <input type=checkbox id="lastpagefirst" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Last Page First</TD> </TR> <TR> <TD NOWRAP> <input type=checkbox id="printbg" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Print Backgrounds</TD> </TR> </TABLE> </fieldset> </td> <td> <fieldset > <legend align=left>&nbsp;Sample (8.5 x 11.00)&nbsp;</legend> <P style="width:100%;height:70px;">&nbsp;</P> </fieldset> </td> </tr> <tr> <TD colspan=2> <TABLE width="100%" height="100%" bgcolor="#C0C0C0"> <TR> <TD> <fieldset > <legend align=left>&nbsp;Orientation&nbsp;</legend> <TABLE width="100%" height="100%"> <TR> <TD NOWRAP><input type=radio name="orientation" id="portrait" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Portrait</TD> </TR> <TR> <TD NOWRAP><input type=radio name="orientation" id="landscape" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Landscape</TD> </TR> </TABLE> </fieldset> </TD> <TD> <fieldset width="100%" height="100%" > <legend align=left>&nbsp;Margins&nbsp;</legend> <TABLE width="100%" height="100%"> <TR> <TD>Top:</TD> <TD width="30" ><input type="text" id="toptext" style="width:40;"></TD> <TD><P style="width:5px;">&nbsp;</P></TD> <TD>Left:</TD> <TD><input type="text" id="lefttext" style="width:40;"></TD> </TR> <TR> <TD>Bottom:</TD> <TD><input type="text" id="bottomtext" style="width:40;"></TD> <TD><P style="width:5px;">&nbsp;</P></TD> <TD>Right:</TD> <TD><input type="text" id="righttext" style="width:40;"></TD> </TR> </TABLE> </fieldset> </TD> </TR> </TABLE> </TD> </tr> <tr> <td NOWRAP colspan=2> <fieldset > <legend align=left>&nbsp;Header&nbsp;</legend> <TABLE width="100%"> <TR> <TD NOWRAP><input type=checkbox id="doctitle" size=15 maxlength=80 style="margin-right:0px; background-color: rgb(190, 190, 190);">Document Title&nbsp;&nbsp;</TD> <TD NOWRAP><input type=checkbox id="docloc" size=15 maxlength=80 style="margin-right:0px; background-color: rgb(190, 190, 190);">Document Location (URL)&nbsp;&nbsp;</TD> </TR> <TR> <TD colspan=2><input type="text" id="headertext" width="100%"></TD> </TR> </TABLE> </fieldset> </td> </tr> <tr> <td NOWRAP colspan=2> <fieldset > <legend align=left>&nbsp;Footer&nbsp;</legend> <TABLE width="100%"> <TR> <TD NOWRAP style="vertical-align:middle;"><input type=checkbox id="pagenum" size=15 maxlength=80 style="margin-right:0px; background-color: rgb(190, 190, 190);">Page Number&nbsp;&nbsp;</TD> <TD NOWRAP><input type=checkbox id="pagetotal" size=15 maxlength=80 style="margin-right:0px; background-color: rgb(190, 190, 190);">Page Total&nbsp;&nbsp;</TD> <TD NOWRAP><input type=checkbox id="dateprinted" size=15 maxlength=80 style="margin-right:0px; background-color: rgb(190, 190, 190);">Date Printed&nbsp;&nbsp;</TD> </TR> <TR> <TD colspan=3><input type="text" id="footertext" width="100%"></TD> </TR> </TABLE> </fieldset> </td> </tr> </TABLE> <TABLE WIDTH="100%"><TR> <TD><P style="width:40px;">&nbsp;</P></TD> <TD><CENTER><input type="button" id="ok" value="OK" style="width:80;"></CENTER></TD> <TD><CENTER><input type="button" id="cancel" value="Cancel" style="width:80;"></CENTER></TD> <TD><P style="width:40px;">&nbsp;</P></TD> </TR> </TABLE> </FORM> <p>&nbsp; </p> </body> </html>
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
QA Contact: 4120
Status: RESOLVED → VERIFIED
QA Contact: 4120 → 4082
Verified fixed in march 19 builds. Cited HTML loads and can be resized at will.
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.