- Notifications
You must be signed in to change notification settings - Fork20.6k
Closed
Description
Description
When css height is specified ontr
element (<tr>
).height()
returns this height instead of actual height. The problem is present inMicrosoft Edge (42.17134, 44.18362) but not present in Google Chrome ( 77.0.3865.90 ) and Mozilla Firefox (69.0.1). The problem is present since jquery 3.3.0 and was reproduced on earlier versions. And is present on current git version (4.0.0-pre50871a5)
How to reproduce. Create a table with one row (tr
) and one cell (td
) with text in the cell. Set the row height to 1px (style="height:1px;"
). JQuery .height() on the row should return at least font height but actually returns 1 inEdge.