anchor.diff:      // copy font style from element
       _widthEl.style.font = _element.getComputedStyle().font;
       // put element value in hidden element
  -    _widthEl.text = _element.value;
  +    _widthEl.text = _element.value.trimRight();
   
       _logger.fine('widening to ${_element.clientWidth}');
       // increase length of text in width element until it is as wide as input box
  
positive.code:     }
      _logger.fine('calculated text is |${_widthEl.text}|');
      // if new text is longer, update the input element value
      if (_widthEl.text.length > _element.value.length + 1) {
        _logger.fine('setting value of actual text area');
        // set the new value of input element
        _element.value = _widthEl.text.substring(0, _widthEl.text.length - 1);
  
negative.code:           selectionMode: "start");
        return true;
      }, OverwriteEvent.EDIT));
  
      // fix whitespace on browser resize
      _resizeSub = window.onResize.listen(_changeEventFunction((e) {
        _logger.fine('resize handler, updating width');
        // pad contents
        _updateWidth();
        return true;
      }, OverwriteEvent.PAD));
    }
  
    /// The contents of the element
  