Closed
Bug 1696
Opened 26 years ago
Closed 26 years ago
assert in frame code
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: buster, Assigned: karnaze)
References
()
Details
the code is wrong in nsHTMLFramesetFrame::GetBorderWidth. It assumes that if
the content has the border attribute, it must be either pixel or int value. In
this case, it's eHTMLUnit_Empty.
here's the relevant part of the stack:
nsDebug::Assertion() line 95 + 13 bytes
nsHTMLValue::GetIntValue() line 96 + 59 bytes
nsHTMLFramesetFrame::GetBorderWidth() line 314 + 8 bytes
nsHTMLFramesetFrame::Reflow() line 857 + 12 bytes
nsHTMLFramesetFrame::Reflow() line 802 + 37 bytes
nsContainerFrame::ReflowChild() line 411 + 28 bytes
RootFrame::Reflow() line 217
PresShell::InitialReflow() line 551
HTMLContentSink::StartLayout() line 1837
HTMLContentSink::CloseFrameset() line 1686
CNavDTD::CloseFrameset() line 2711 + 22 bytes
CNavDTD::CloseContainer() line 2826 + 12 bytes
CNavDTD::CloseContainersTo() line 2864 + 20 bytes
CNavDTD::OpenBody() line 2583 + 20 bytes
CNavDTD::OpenContainer() line 2739 + 12 bytes
CNavDTD::HandleDefaultStartToken() line 844 + 14 bytes
CNavDTD::HandleStartToken() line 931 + 23 bytes
NavDispatchTokenHandler() line 445 + 12 bytes
here's the frameset source:
<html>
<head>
<title>Brooker's: Legal Information</title>
<meta name="description" content="Links to the catalogue of products relevant to
legal practitioners, also to the Locate a Lawyer facility, and to Judgments">
<meta name="keywords" content="Lawyer, Legal, Locate a Lawyer, Find,
Practitioner, Locate, Directory, Lawyers, Legislation, Judgment, Judgments,
Judgement, Judgements, Court of Appeal, Court, Appeal, Order, Search, Barrister,
Solicitor">
<meta name="html-design" content=" The Web Limited
http://web.co.nz/
mailto:info@web.co.nz
PO Box 15-175
Wellington, New Zealand
+64-4-495-8250">
<script language="JavaScript">
<!--
function FsFocusContent() {
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if ((bName == "Netscape" && bVer >= 3) || (bName == "Microsoft Internet
Explorer" && bVer >= 4))
self.content.focus();
}
// -->
</script>
</head>
<frameset framespacing="0" border="false" frameborder="0"
onLoad="FsFocusContent()" rows="50,*">
<frame name="nav" src="default_n.htm" scrolling="no" noresize marginwidth="0"
marginheight="0">
<frame name="content" src="default_c.htm" scrolling="auto">
<noframes>
<body link="#660000" vlink="#330099" alink="#336600">
<table border="0" cellpadding="0" cellspacing="0" width="550">
<tr>
<td valign="top" align="right" width="280" colspan="3"><a
name="top"></a><img src="images/legal.gif" alt="Legal Information" WIDTH="150"
HEIGHT="48"></td>
<td valign="top" align="left" width="0270"></td>
</tr>
<tr>
<td valign="top" align="left" width="245" colspan="2" rowspan="4"><img
src="images/people1.gif" alt="" border="0" WIDTH="80" HEIGHT="112"><img
src="images/people2.gif" alt="" border="0" WIDTH="165" HEIGHT="112"><br>
<img src="images/ru.gif" alt="Recent Updates" border="0" WIDTH="80"
HEIGHT="65"><img src="images/people3.gif" alt="" border="0" WIDTH="165"
HEIGHT="65"></td>
<td valign="top" align="left" width="305" colspan="2"><img
src="images/information.gif" alt="Legal Information" WIDTH="155"
HEIGHT="22"><br>
<a href="directory/default.htm" target="_top"><img src="images/locate.gif"
alt="Locate a Lawyer" border="0" WIDTH="155" HEIGHT="20"></a><table border="0"
cellpadding="0" cellspacing="0" width="300">
<tr>
<td valign="top" align="left" width="035"><img
src="../images/nav/space025.gif" ALT="" WIDTH="25" HEIGHT="1"></td>
<td valign="top" align="left" width="10">–</td>
<td valign="top" align="left" width="0255"><a target="_top"
href="directory/default.htm">Search
for a Lawyer</a> with our Directory Service</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="left" width="305" colspan="2"><br>
<a href="judgments/default.htm" target="_top"><img
src="images/judgments.gif" alt="Judgments" border="0" WIDTH="155"
HEIGHT="20"></a><table border="0" cellpadding="0" cellspacing="0" width="300">
<tr>
<td width="035"><img src="../images/nav/space025.gif" ALT="" WIDTH="25"
HEIGHT="1"></td>
<td valign="top" align="left" width="10">–</td>
<td valign="top" align="left" width="0255"><a
href="judgments/default.htm" target="_top">Court
of Appeal Judgments</a></td>
</tr>
<tr>
<td width="035"><img src="../images/nav/space025.gif" ALT="" WIDTH="25"
HEIGHT="1"></td>
<td valign="top" align="left" width="10">–</td>
<td valign="top" align="left" width="0255"><a
href="mailto:service@brookers.co.nz">Order a
Judgment</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="left" width="305" colspan="2"><br>
<a href="catalogue/default.htm" target="_top"><img
src="images/catalogue.gif" alt="Legal Catalogue" border="0" WIDTH="155"
HEIGHT="20"></a><table border="0" cellpadding="0" cellspacing="0" width="300">
<tr>
<td valign="top" align="left" width="035"><img
src="../images/nav/space025.gif" ALT="" WIDTH="25" HEIGHT="1"></td>
<td valign="top" align="left" width="10">–</td>
<td valign="top" align="left" width="0255">Browse by <a
href="catalogue/subject.asp">Subject</a>,
<a href="catalogue/legislation.asp">Legislation</a>, <a
href="catalogue/title.asp">Title</a>
or by the <a href="../catalogue/search.asp?cat=legal">Search</a>
function.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="left" width="305" colspan="2"><br>
<a href="../insite/default.htm" target="_top"><img src="images/insite.gif"
alt="Brooker's Legal InSite" border="0" WIDTH="177" HEIGHT="21"></a><table
border="0" cellpadding="0" cellspacing="0" width="300">
<tr>
<td valign="top" align="left" width="035"><img
src="../images/nav/space025.gif" ALT="" WIDTH="25" HEIGHT="1"></td>
<td valign="top" align="left" width="10">–</td>
<td valign="top" align="left" width="0255"><a
href="../insite/default.htm" target="_top">Browse
the relevant Legal headlines</a> through the InSite Service.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="left" width="80"></td>
<td valign="top" align="left" width="0165"></td>
<td valign="top" align="left" width="305" colspan="2">
<p><br>
<small><a href="directory/default.htm" target="_top">Locate a Lawyer</a> |
<a href="judgments/default.htm" target="_top">Judgments</a> | <a
href="catalogue/default.htm" target="_top">Legal Catalogue</a></small><br>
<a href="../insite/default.htm" target="_top"><small>Brooker's Legal
InSite</small></a></p>
</td>
</tr>
<tr>
<td valign="top" align="left" width="80"></td>
<td valign="top" align="left" width="0165"></td>
<td valign="top" align="left" width="305" colspan="2">
<p><br>
<small><a target="_top" href="default.htm">Legal</a> | <a target="_top"
href="../tax/default.htm">Tax</a> | <a target="_top"
href="../business/default.htm">Accounting</a>
| <a target="_top" href="../service/default.htm">Training, Service &
Support</a></small><br>
<small><a href="../intro/default.htm" target="_top">Introducing Brooker's</a> |
<a href="../insite/default.htm" target="_top">InSite</a> | <a
href="../catalogue/default.htm" target="_top">Catalogue</a><br>
<a target="_top" href="../default.htm">Home</a> | <a href="../find/default.htm"
target="_top">Site Search</a> | <a target="_top"
href="../contact/default.htm">Contact Us</a></small></p>
<p> </p>
<p> </p>
<p> </p>
</td>
</tr>
<tr>
<td valign="top" align="left" width="80"></td>
<td valign="top" align="left" width="0165"></td>
<td valign="top" align="left" width="35"></td>
<td valign="top" align="left" width="0270"></td>
</tr>
</table>
</body>
</noframes>
</frameset>
</html>
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
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.
Description
•