Resize inputs now only handle numerical input.

BUG=https://github.com/jackhou-chromium/bitmapper/issues/24
R=tapted@chromium.org

Review URL: https://codereview.appspot.com/192870043