- Re-introduce
onclone
option (Fix #1434) - Add
ignoreElements
predicate function option - Fix version console logging
- Fix dynamic style sheets
- Fix > 50% border-radius values
- Use correct doctype in cloned Document (Fix #1298)
- Fix individual border rendering (Fix #1349)
- Fix form input rendering (#1338)
- Improve word line breaking algorithm
- Fix list-style: none (#1340)
- Extend supported values for pseudo element content
- Fix underline positioning
- Fix canvas rendering on Chrome
- Fix overflow: auto
- Added support for rendering list-style
- Fix rendering with multiple fonts defined (Fix #796)
- Add support for radial-gradients
- Fix logging option (#1302)
- Add support for rendering webgl canvas content (#646)
- Fix external SVG loading with proxies (#802)
- Disable
foreignObjectRendering
by default (#1295) - Fix background-size when using background-origin and background-size: cover/contain (#1299)
- Added support for background-origin: content-box (#1299)
- Fix scroll positions for CanvasRenderer (#1259)
- Fix
data-html2canvas-ignore
attribute (#1253) - Fix decimal
letter-spacing
values (#1293)
- Complete rewrite of library
- Remove deprecated onrendered callback, calling
html2canvas
returns aPromise<HTMLCanvasElement>
- Removed option
type
, same results can be achieved by assigningx
,y
,scrollX
,scrollY
,width
andheight
properties.
- Add support for scaling canvas (defaults to device pixel ratio)
- Add support for multiple text-shadows
- Add support for multiple text-decorations
- Add support for text-decoration-color
- Add support for percentage values for border-radius
- Correctly handle px and percentage values in linear-gradients
- Correctly support all angle types for linear-gradients
- Add support for multiple values for background-repeat, background-position and background-size
- Fix logger requiring access to window object
- Derequire browserify build
- Fix rendering of specific elements when window is scrolled and
type
isn't set toview
- Handle color names in linear gradients
- Remove Promise polyfill (use native or provide it yourself)
- Fix bug with unmatched color stops in gradients
- Fix scrolling issues with iOS
- Correctly handle named colors in gradients
- Accept matrix3d transforms
- Fix transparent colors breaking gradients
- Preserve scrolling positions on render
- Switch to using browserify for building
- Fix (#517) Chrome stretches background images with 'auto' or single attributes
- Complete rewrite of library
- Switched interface to return Promise
- Uses hidden iframe window to perform rendering, allowing async rendering and doesn't force the viewport to be scrolled to the top anymore.
- Better support for unicode
- Checkbox/radio button rendering
- SVG rendering
- iframe rendering
- Changed format for proxy requests, permitting binary responses with CORS headers as well
- Fixed many layering issues (see z-index tests)
- Added support for bower
- Improved z-index ordering
- Basic implementation for CSS transformations
- Fixed inline text in top element
- Basic implementation for text-shadow
- Added rendering tests with webdriver
- Switched to using grunt for building
- Removed support for IE<9, including any FlashCanvas bits
- Support for border-radius
- Support for multiple background images, size, and clipping
- Support for :before and :after pseudo elements
- Support for placeholder rendering
- Reformatted all tests to small units to test specific features
- Removed (last?) jQuery dependencies (niklasvh)
- SVG-powered rendering (niklasvh)
- Radial gradients (SunboX)
- Split renderers to their own objects (niklasvh)
- Simplified API, cleaned up code (niklasvh)