from getting selected. Use e.preventDefault instead of adding and removing
classes on mousedown and mouseup. This keeps the browser from having to
potentially recacluate style on mousedown and mouseup events.
* Implement basic field_number type
* Add whole number and positive number
* Remove bad arguments for showEditor_
* Basic implementation and styling of num-pad
* Remove virtual keyboards; add selection and read-only
* Add editing for the number pad
* Add backspace button to number pad
* Fix text padding for font-weight and extra magic
* Don't show decimal point for integers
* Re-update default WeDo numbers
* Refactor and improve documentation of field_number
* Animate the font-size of text fields
* Allow WidgetDiv to hide immediately, no animation
And add calls to this where the div animation may become out of sync with the field itself.
* Fix CSS colour substitution to replace all
* Add box-shadow to text field
* Fix padding on blocklyHtmlInput
* Add utility for measuring text using canvas
* Grow the input textbox based on the text size
* Fix the text field width to a maximum depending on render mode
* Fix text input field height for scaling
* Position text input field based width
* Animate out width, height, margin of text input
* Fix scale of marginLeft and extra 1px
* Fix height, padding, font-weight on text input field
* Make input field text smaller on truncation per spec
* Re-apply change to Blockly.WidgetDiv.disposeAnimationTimer_
* Add comment to Blockly.Field.maxDisplayLength
* Add helper to detect if the browser supports 3d transform
* Update getRelativeXY_ to add translate3d coordinates
* Drag surface uses 3d translate
* Enable using translate3d during drags, turn on/off
* Fix group translate during drag
* Fix translate function and remove group logic
* Update Blockly.getRelativeXY_ to be more clear
* Split out add/remove transform/style to a function
* Move cache3dSupported_ above functions
css to mark text as unselectable instead. I can't prove this is
significantly faster with numbers since the call to setup the time out
costs ~.1ms and the call when the timer fires is ~.05. This happens on almost
every mouse event though. Plus, it seems to remove a flicker of highlighting when
frames are skipped and keeps scrolling via the scrollbar from highlighting.