Workaround for browser bugs in Range.prototype.getClientRects and Range.prototype.getBoundingClientRect.
rangefix.js
in package filesUse short data URI for test image to avoid duplicate network request.
Expose isBroken for the demo, and fix Chrome 55 bug detection to not mark IE11/Edge as broken.
UMD improvements
Use UMD
Detect more broken browsers: Firefox and Chrome 55