-
Notifications
You must be signed in to change notification settings - Fork 20.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table row height reported incorrectly in Edge #4490
Comments
Thanks for the issue & the test case! I recreated it on JS Bin as CodePen doesn't support IE: https://output.jsbin.com/xusurij/1. The issue exists on IE |
The issue is that |
|
whats the problem here guys |
@hichemsmairia @mgol describes the issue above. IE10, 11, and Edge report the wrong value using |
This comment has been minimized.
This comment has been minimized.
PR for |
Description
When css height is specified on
tr
element (<tr id="myrow" style="height:1px;">
).height()
returns this height instead of actual height. The problem is present in Microsoft 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-pre 50871a5)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 in Edge.Link to test case
https://codepen.io/TPIvan/pen/aboxZaQ
The text was updated successfully, but these errors were encountered: