Releases: niklasvh/html2canvas
Releases · niklasvh/html2canvas
v1.0.0-alpha.7
- Fix form input rendering (#1338)
- Improve word line breaking algorithm
v1.0.0-alpha.6
- Fix list-style: none (#1340)
- Extend supported values for pseudo element content
v1.0.0-alpha.5
- Fix underline positioning
- Fix canvas rendering on Chrome
- Fix overflow: auto
- Added support for rendering list-style
v1.0.0-alpha.4
v1.0.0-alpha.3
v1.0.0-alpha.2
v1.0.0-alpha.1
- Complete rewrite of library
Breaking Changes
- 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.
New featues / fixes
- 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
v0.5.0-beta4
0.5.0-beta4
0.5.0-alpha1
- 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)
v0.4.1 - 7.9.2013
- Added support for bower
- Improved z-index ordering
- Basic implementation for CSS transformations
- Fixed inline text in top element
- Basic implementation for text-shadow