﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking 10413,"width, innerWidth, innerHeight, outerWidth, outerHeight are inaccurate for a ""box-sizing: border-box"" child of hidden parent",mikesherov,mikesherov,"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. Basically, the fallback (that uses the css width/height instead of the javascript offsetWidth/Height to calculate dimensions) is applied, and assumes that the css width doesn't contain padding and border. However, when box-sizing is border-box, the css width is the same as offsetWidth/Height, in that it accounts for padding and border. The fix is simple, apply the same logic that is applied to offsetWidth/Height to the fallback version if boxSizing is border box.",bug,closed,low,1.8,css,1.6.4,fixed,1.8-discuss,,,7986