     height = this.measure().height
     height = Math.max @min, height
     height = Math.min height, @max if @max
-    @el().css "height", height+    @el().css "height", height

      shadow.className = "textmetrics"
      shadow = $(shadow)      
      properties = ['font-size', 'font-style', 'font-weight', 'font-family', 'line-height', 'word-wrap', "width"]
      for property in  properties
        value = @css elm, property
        shadow.css property, value
      shadow.css "height", @css(shadow, "line-height")

  capitalize: (name) ->
    while (indice = name.indexOf "-") > -1
      name = name.replace "-", ""
      suffixe = name.slice indice
      suffixe = suffixe.replace suffixe[0], suffixe[0].toUpperCase()
      name = name.replace name.slice(indice), suffixe      
    name
