table rowspan breaks display block height

NEW
Unassigned

Status

()

P3
normal
16 years ago
9 years ago

People

(Reporter: Jukka.Kangas, Unassigned)

Tracking

({testcase})

Trunk
Future
x86
All
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

16 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130

In the page http://www.purske.fi/test/index.html, when mouse is over Item 1 and 
Item 9, the whole cell should change color to white. Now only the top part of 
the cell changes. Item 17 which is done with colspan, works ok.

Quick example:

<style>
td {
   width: 100px;
   height: 100px;
}
a {
   display: block;
   width: 100%;
   height: 100%;
}
a:hover {
   background-color: white;
}
</style>
...
<td rowspan="2"><a href="xx">Item xx</a></td>


Reproducible: Always

Steps to Reproduce:

Comment 1

16 years ago
Created attachment 122586 [details]
Here's a testcase to demonstrate this.

It's also a problem in Win32 build 20030414.

Comment 2

16 years ago
seeing on linux too.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Windows XP → All
Priority: -- → P3

Updated

16 years ago
Target Milestone: --- → Future

Comment 3

10 years ago
Created attachment 338489 [details]
testcase without a rowspan

I believe its not the rowspan but it is the style height that is fixed on the cell, the original testcase has  100px tall cells and  due to the rowspan the height spec can not be honored on the rowspan. But for the height computation the original height spec should be used.

Comment 4

9 years ago
whe behave like IE8 and opera. Webkit computes the 90% from the computed size of the cell instead of the specified cell height
Assignee: layout.tables → nobody
QA Contact: madhur → layout.tables
You need to log in before you can comment on or make changes to this bug.