Closed Bug 182499 Opened 22 years ago Closed 22 years ago

<td>|<tr> onClick= and :hover does not work if <caption> ist defined

Categories

(Core :: Layout: Tables, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED
mozilla1.3alpha

People

(Reporter: Erich.Aigner, Assigned: bernd_mozilla)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files, 2 obsolete files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126

If you delete the <caption> in the following expamle, everything works fine!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>testing css</TITLE>
<style type="text/css">
td:hover { background-color: #FF0000; }
</style>
</HEAD>
<BODY>
<table>
<caption></caption>
<tbody>
<tr><td onClick="alert('Hello World')"></td><td>AAAAAAAAAAAAA</td></tr>
<tr><td>AAAAAAAAAAAAAAAAAA</td></tr>
</tbody>
</table>
</BODY>
</HTML>

Reproducible: Always

Steps to Reproduce:
1. try the example
2.
3.
confirmed with linux trunk build 20021127
regression between linux trunk builds 2002102322 and 2002102508 (bug 164313)

==> Tables
Assignee: asa → table
Status: UNCONFIRMED → NEW
Component: Browser-General → Layout: Tables
Ever confirmed: true
Keywords: regression, testcase
QA Contact: asa → amar
mine
Assignee: table → bernd.mielke
Attached patch patch (obsolete) — Splinter Review
hmm, considering yourself twice  seems to be bad style also in the layout world
setting milestone
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.3alpha
Attachment #107729 - Attachment is obsolete: true
Attachment #107764 - Flags: superreview?(dbaron)
Attachment #107764 - Flags: review?(karnaze)
Comment on attachment 107764 [details] [diff] [review]
patch + CallQueryInterface  cleanup

I'm not sure whether it's generally safe to assume that QueryInterface will
fill in null when it returns NS_NOINTERFACE.  However, these QIs look like they
should never fail, right?
Attachment #107764 - Flags: superreview?(dbaron) → superreview+
Attachment #107769 - Flags: review+
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Attachment #107764 - Attachment is obsolete: true
Comment on attachment 107764 [details] [diff] [review]
patch + CallQueryInterface  cleanup

this request tracker is so stupid
Attachment #107764 - Flags: review?(karnaze)
*** Bug 183707 has been marked as a duplicate of this bug. ***
*** Bug 195018 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: