Closed
Bug 156634
Opened 23 years ago
Closed 22 years ago
Inline elements bottom padding and border affects table cell height [INLINE]
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: ian, Assigned: dbaron)
References
()
Details
A cell containing an inline element with top border or padding correctly ignores
the top border or padding when sizing the cell:
http://www.hixie.ch/tests/adhoc/css/box/table/013.xml (works)
However, any bottom border or padding is taken into account and makes the cell
bigger, instead of letting the inline's vertical box model overflow:
http://www.hixie.ch/tests/adhoc/css/box/table/012.xml (THIS IS THE TEST CASE)
The same doesn't happen with blocks or floats:
http://www.hixie.ch/tests/adhoc/css/box/block/008.xml (works)
http://www.hixie.ch/tests/adhoc/css/box/float/024.xml (works)
| Assignee | ||
Comment 1•23 years ago
|
||
We really have 2 or 3 other bugs like this. The basic problem is that tables
use the overflow area for sizing, which is really a concept that should only be
used for painting and event handling optimizations and for the extent of scrollbars.
The table code should be using the size of its children and the YMost of the
space manager.
| Assignee | ||
Comment 2•23 years ago
|
||
Similar bugs: bug 46983, bug 118940, and at least one other that I can't find
right now.
Updated•23 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
| Assignee | ||
Comment 4•22 years ago
|
||
Fixed by checkin of bug 172896.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•