Open Bug 204606 Opened 22 years ago Updated 2 years ago

table rowspan breaks display block height

Categories

(Core :: Layout: Tables, defect, P3)

x86
All
defect

Tracking

()

Future

People

(Reporter: Jukka.Kangas, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

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:
It's also a problem in Win32 build 20030414.
seeing on linux too.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Windows XP → All
Priority: -- → P3
Target Milestone: --- → Future
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.
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
Severity: normal → S3

I just came across this bug, here is a simple test test online:
http://odvarko.com/tests/webcompat/table-cell-size/

Chrome and Safari work the same, Firefox works differently

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: