     @textarea.css
       border: 0
       background: 'transparent'
-      display: 'block'
       'overflow-y': 'hidden'
       width: width
       height: height

      fontWeight: 'inherit'
      fontStyle: 'inherit'
      color: 'inherit'
    @element.addClass(Mercury.config.regions.className)
    @element.empty().append(@textarea)




  build: ->
    if @element.css('display') == 'block'
      width = '100%'
      height = @element.height()
    else
      width = @element.width()
      height = @element.height() # 'auto'

    value = @element.text()
    @element.removeClass(Mercury.config.regions.className)
