offsetHeight (and other heights) wrong in JS for display: table
Reported by
sebastia...@gmail.com,
Aug 7 2017
|
||||
Issue description
Chrome Version : 59.0.3071.115
OS Version: 10.0
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Firefox 54.0.1: FAIL
Edge 40.15063.0.0: OK
What steps will reproduce the problem?
1. Have an element (I used a label) that has the css tag "display: table"
2. Use the JS "document.querySelectorAll(...)" to find that element
3. Retrieve the offsetHeight/clientHeight/scrollHeight properties.
What is the expected result?
To return the display heights of the elements on the page
What happens instead of that?
0 is returned
Please provide any additional information below. Attach a screenshot if
possible.
UserAgentString: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
,
Aug 9 2017
@ sebastiannmalton -- Thanks for reporting the issue. Could you also please provide the sample HTML file to reproduce the issue. That would help us to test and triage the issue further. Before that could you please try updating your Chrome to latest stable version #60.0.3112.90 and by removing the extensions and creating a new profile to verify if the issue still persists. Thanks in advance.
,
Oct 11 2017
Adding proper component for someone from the respective team for more inputs on this.
,
Oct 31 2017
Closing due to lack of feedback.
,
Oct 31 2017
|
||||
►
Sign in to add a comment |
||||
Comment 1 by nyerramilli@chromium.org
, Aug 8 2017