I have some js code to toggle "overflow" property at runtime and get size information for inner elements which are using "width:100%". See here: jsFiddle Demo URL.
$('#container').css('overflow', 'hidden');
$('#size1').text('Inner element size at runtime: ' + $('#content').width());
What I found is, when "overflow" is changed from "auto" to "hidden" at runtime, IE10 and Firefox would change the inner elements size. But in Chrome, the size wouldn't be changed.
Any idea about how to tell Chrome to update the size of inner element? Thanks.