width, innerWidth, innerHeight, outerWidth, outerHeight are inaccurate for a "box-sizing: border-box" child of hidden parent
|Reported by:||mikesherov||Owned by:||mikesherov|
Description (last modified by )
This is very similar to #9441, except this is specifically when a child (that has the box-sizing:border-box style) of a hidden div is queried.
The fix is simple, apply the same logic that is applied to offsetWidth/Height to the fallback version if boxSizing is border box.
Change History (23)
comment:1 Changed 6 years ago by
|Component:||unfiled → css|
|Owner:||set to mikesherov|
|Priority:||undecided → low|
|Status:||new → pending|