Rendering of table in border collapse mode (that has caption and any hover rule that affects caption) changes unexpectedly after hovering on it. Only on application/xhtml+xml type pages

RESOLVED WORKSFORME

Status

()

Core
Layout: Tables
RESOLVED WORKSFORME
11 years ago
10 years ago

People

(Reporter: Mariusz Nowak, Unassigned)

Tracking

1.8 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7

Following occurs only on pages with application/xhtml+xml mime type (text/html works ok).
Table has border collapse mode set to 'collapse', has a caption and css rule for hover of caption (or any of its parents but rule finally should address caption like 'table:hover caption').
That rule maybe left empty. It's not related to what this rule changes.
When we hover on caption (or it's parent if we've set hover on it as described above) table rendering changes:
1. Table background area expands and cover as well caption area
2. Columns widths changes

Reproducible: Always

Steps to Reproduce:
1.XHTML body content:
<table>
	<caption>CAPTION</caption>
	<tr>
		<td>First cell</td>
		<td>Second cell</td>
	</tr>
</table>
CSS Rules:
table {
	border-collapse:collapse;
	background:#ccc; /* just to see whats going on */
}
caption:hover {
}
Such page needs to be sent as application/xhtml-xml type
2. Hover on caption

Actual Results:  
Table rendering changed.

Expected Results:  
Nothing should happen.
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Version: unspecified → 1.8 Branch
(Reporter)

Comment 1

10 years ago
It's ok in rv:1.9b3
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED

Comment 2

10 years ago
No patch or bug referenced as the fix.

-> WORKSFORME
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.