 # https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input
 
 
-{defineModule, log, merge, select, inspect, wordsArray, timeout} = require 'art-standard-lib'
+{defineModule, log, merge, select, inspect, wordsArray, timeout, max} = require 'art-standard-lib'
 {rgbColor, point} = require 'art-atomic'
 
 Foundation = require 'art-foundation'

        border:           '0px'
        color:            rgbColor(options.color || "black").toString()
        fontFamily:       options.fontFamily || "Arial"
        fontSize:         "#{options.fontSize || 16}px"
        margin:           "0"
        outline:          "0"
        padding:          "0"


  # returns childrenSize
  nonChildrenLayoutFirstPass: ->
    point @domElement.scrollWidth,
      max @getPendingFontSize() * 1.25, @domElement.scrollHeight

  preprocessEventHandlers: (handlerMap) ->
    merge super,
