A definite table-cell 'height' is used as the percentage basis for its children
Categories
(Core :: Layout: Tables, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | wontfix |
firefox66 | --- | wontfix |
firefox67 | --- | fix-optional |
firefox68 | --- | affected |
People
(Reporter: alice0775, Unassigned)
References
()
Details
(4 keywords)
Attachments
(3 files)
Steps To Reproduce:
Actual Results:
Image and text overlap
Expected Results:
Text should be placed below image as Chrome and Edge
Reporter | ||
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Workaround:
remove 'height: 1em;' from css selector '.popular-spots-box li'
Comment 3•6 years ago
|
||
Updated•6 years ago
|
Comment 4•6 years ago
|
||
So, I guess since the height
property is just a "minimum height hint"
or something for table cells we shouldn't use it as a percentage basis?
My memory is that it's more complicated than that -- although I think it's the height of the row that's used as a percentage basis, in rather complicated conditions that were a function of WebKit reverse engineering Gecko which badly reverse-engineered IE. (I'd hoped to redo the table height code in ~2007 to be more faithful to what IE6 did, which made more sense, but it's too late for that now...)
I think the when does/doesn't a table row serve as a basis for percentage heights rules are pretty complicated -- but I'd at least hope it's always the row height that matters and not particular specified table cell heights.
(There's also the question of which specified heights matter as a percentage basis in the first-pass layout that's used to determine the height of the row, which might be different!)
Comment 6•6 years ago
|
||
Bulk moving bugs that have been triaged P4 to P5 (P4 is reserved for WPT bugs).
Updated•2 years ago
|
Comment 7•23 days ago
|
||
Based on discussion above, I'm pretty sure this is the same as bug 1461852.
Description
•