On the off chance you want to add more dynamic sensing of element size changes, you may find this helpful: http://www.backalleycoder.com/2013/03/18/cross-browser-event-based-element-resize-detection/
Activity
marcj commentedon Jul 2, 2013
You could copy&paste it from my element query polyfill here https://github.com/marcj/css-element-queries.