Zoramite/ExpandingTextareas — comment on commit 596aad31406d540b1c16157b329a585cd94568d3
File:  line 0
By bgrins:

OK, I think I have a good solution for both problems. I only set the css value if they are different. This way, if the percentage is set it won't override it with a pixel value, and I also added in margins and paddings so the rules can be applied to textareas if desired. Note: percentage values still need to be applied to .textareaClone along with textarea, but pixel values no longer need to be set on both.

See this commit. https://github.com/bgrins/ExpandingTextareas/commit/bc377b49e968021166b0ed218aa0ac61012fcc17