Closed Bug 176449 Opened 23 years ago Closed 21 years ago

Cannot link to anchors between TR and TD in table

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: gary_d_carnell, Assigned: harishd)

References

()

Details

(Keywords: compat, Whiteboard: WONTFIX?)

Attachments

(1 file, 2 obsolete files)

I have a table and on each row I have <a name="uniqueref">. I have a link from another page like <a href=page.php?var1=val1&var2=val2#uniqueref>. When this is followed the browser jumps to the top of the table and not the row in the table. It seems to work in ie and opera and I'd like it to work on all browsers.
Please include your build id.
... and a testcase if you can.
In an email from the reporter: >Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910 Your build is over a month old. Please try with a newer build and attach a testcase, otherwise the bug will be resolved as INVALID.
Attached file PHP test file contains the back link (obsolete) —
The build is now 2002101612, downloaded Friday 25th Oct. Problem still occurs. I've attached two files which can be used to demonstrate the problem. One includes general.php, this just provides the database password and can be done away with. The example requires a database with an orders table and two fields reference_no and ex_country.
The problem is that the <a name="blah"></a> is between the <tr> and the <td>. Move the <a name="blah"></a> to the first <td> and it works ok.
Attachment #104362 - Attachment is obsolete: true
Attachment #104363 - Attachment is obsolete: true
Cannot find a dupe, so marking new (although probably invalid) + updating summary. ->Layout??
Assignee: asa → other
Status: UNCONFIRMED → NEW
Component: Browser-General → Layout
Ever confirmed: true
QA Contact: asa → ian
Summary: <a name="something"> within a table → Cannot link to anchors between TR and TD in table
Priority: -- → P3
Target Milestone: --- → Future
->Parser. DOM Inspector shows that all the anchors wind up at the top of the document, which is rather bizarre, but it's rather bizarre HTML.
Assignee: other → harishd
Component: Layout → Parser
Keywords: compat
QA Contact: ian → moied
Whiteboard: WONTFIX?
We're seeing this problem also with pages like this: http://www.oreilly.com/pub/q/book_syngress_title_asc The letter links at the top won't jump to the anchors within the table. (Letters that don't have any corresponding book title don't work at all, and we know and expect that. But the link around the letter "P", for example, should jump to the first book title that starts with "P")
DUPEing to a bug with a better testcase. *** This bug has been marked as a duplicate of 265768 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
*** Bug 291961 has been marked as a duplicate of this bug. ***
Resolution: DUPLICATE → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: