Closed
Bug 280948
Opened 20 years ago
Closed 20 years ago
Link in table at top of page does not cause window to scroll to location link points to
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 232895
People
(Reporter: rob.roy, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
On a web page containing tables with links to other tables further down the
page, clicking the link does not cause the window to scroll down to the table
pointed to by the link.
Copy this HTML code to a file to see the problem occur:
<html>
<style type="text/css">
body {
font:normal 68% verdana,arial,helvetica;
color:#000000;
}
table tr td, table tr th {
font-size: 68%;
}
table.details tr th{
font-weight: bold;
text-align:left;
background:#a6caf0;
}
table.details tr td{
background:#eeeee0;
}
p {
line-height:1.5em;
margin-top:0.5em; margin-bottom:1.0em;
}
h1 {
margin: 0px 0px 5px; font: 165% verdana,arial,helvetica
}
h2 {
margin-top: 1em; margin-bottom: 0.5em; font: bold 125%
verdana,arial,helvetica
}
h3 {
margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica
}
h4 {
margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
}
h5 {
margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
}
h6 {
margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
}
.Error {
font-weight:bold; color:red;
}
.Failure {
font-weight:bold; color:purple;
}
.Properties {
text-align:right;
}
</style>
<body>
<h1>Link Navigation in Tables</h1>
<table border="0" cellpadding="5" cellspacing="2" width="95%" class="details">
<tbody valign="top">
<tr>
<th>Change</th><th>Date</th><th>Author</th><th>Description</th>
</tr>
<tr>
<td><a href="#17808">17808</a></td><td>2005/02/03</td><td>Pete</td><td
colspan="3">Fixed path bug</td>
</tr>
<tr>
<td><a href="#17804">17804</a></td><td>2005/02/03</td><td>Sam</td><td
colspan="3">Fixed spelling error</td>
</tr>
<tr>
<td><a href="#17803">17803</a></td><td>2005/02/03</td><td>Pete</td><td
colspan="3">Latest build</td>
</tr>
<tr>
<td><a href="#17802">17802</a></td><td>2005/02/03</td><td>Pete</td><td
colspan="3">Fixed a bunch of SPRS</td>
</tr>
<tr>
<td><a href="#17801">17801</a></td><td>2005/02/03</td><td>Pete</td><td
colspan="3">Fixed the RDS logging into ADS issue</td>
</tr>
<tr>
<td><a href="#17800">17800</a></td><td>2005/02/03</td><td>Sam</td><td
colspan="3">Made changes to deal with boolean values</td>
</tr>
<tr>
<td><a href="#17799">17799</a></td><td>2005/02/03</td><td>Jim</td><td
colspan="3">Change title</td>
</tr>
<tr>
<td><a href="#17797">17797</a></td><td>2005/02/03</td><td>Jim</td><td
colspan="3">Modified setVisible</td>
</tr>
</tbody>
</table>
<hr size="1">
<h2>Details of Changes</h2>
<table border="0" cellpadding="5" cellspacing="2" width="95%" class="details">
<tbody valign="top">
<tr>
<th>Change</th><td><a name="#17808">17808</a></td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="5" cellspacing="2" width="95%" class="details">
<tbody valign="top">
<tr>
<th>Change</th><td><a name="#17804">17804</a></td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="5" cellspacing="2" width="95%" class="details">
<tbody valign="top">
<tr>
<th>Change</th><td><a name="#17803">17803</a></td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="5" cellspacing="2" width="95%" class="details">
<tbody valign="top">
<tr>
<th>Change</th><td><a name="#17802">17802</a></td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="5" cellspacing="2" width="95%" class="details">
<tbody valign="top">
<tr>
<th>Change</th><td><a name="#17801">17801</a></td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="5" cellspacing="2" width="95%" class="details">
<tbody valign="top">
<tr>
<th>Change</th><td><a name="#17800">17800</a></td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="5" cellspacing="2" width="95%" class="details">
<tbody valign="top">
<tr>
<th>Change</th><td><a name="#17799">17799</a></td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="5" cellspacing="2" width="95%" class="details">
<tbody valign="top">
<tr>
<th>Change</th><td><a name="#17797">17797</a></td>
</tr>
</tbody>
</table>
</body>
</html>
Reproducible: Always
Steps to Reproduce:
1. Create an HTML file with the code found in the Details section.
2. Open the file in Firefox and reduce the window size to get a vertical scrollbar
3. Click on one of the links in the table
Actual Results:
The window did not scroll the linked location into view.
Expected Results:
The window should have scrolled down to the linked location.
Comment 1•20 years ago
|
||
This is not a bug. The anchors are defined with <a name="something">, not <a
name="#something">. Please ask at forums, e.g.
<http://forums.mozillazine.org/viewforum.php?f=25>, if you're unsure about
something. Thanks.
*** This bug has been marked as a duplicate of 232895 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•