Need a better way to resize layers instead of changing width/height in the DOM In the spec, it says "When an element is resized by the user, the user agent keeps track of a resize factor (which is initially 1.0) for the width and height, which it then applies to the computed width and height as part of determining the used width and height. The element's contents (and surroundings) are reformatted as necessary." http://www.w3.org/TR/2004/CR-css3-ui-20040511/#resize
There are plenty of way of resizing the layers.