Releases: cburgmer/rasterizeHTML.js
Releases · cburgmer/rasterizeHTML.js
1.3.1
1.3.0
- Use ES6 Promises instead of own Promise implementation (#154)
- Typescript type annotations (#197), by @orentrutner
- Drop workarounds as Chrome ships with fixes by now
- Media query workaround for em values
- CSSOM dropped as dependency
Bug fixes
- Blob fallback is now correctly triggered
- Fix incorrect canvas sizing when box-sizing is used (#187)
1.2.4
Change in all-in-one bundle only
- Fix background images failing to load from correct path under Chrome (inlineresources)
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
- A workaround is provided for a media query issue in Chrome/Safari where
em
values will be incorrectly applied (https://code.google.com/p/chromium/issues/detail?id=404470).
Bug fixes
- Fix empty space showing on the right side (issue #95) in browsers under Linux.
- Fix scrollbar showing on Chrome/Chromium under Linux.
1.0.0
- Reading back pixels from the canvas is now supported in Chrome (#88).
- Additionally provides the internal SVG with the render result (by @Venemo, #68).
- A focus event can now be simulated via option
focus
.
Bug fixes
- Fixes size of elements specified via rem (by @kevinoid, #75).
- Fixes uppercase type (HTML tag) CSS selectors (#63).
- Viewport size calculation incorrectly triggered the browser's quirks mode.
- Complex selectors with
:hover
/:active
would break when hover or active option was given. - Hover and active options now try to be as minimally invasive as possible to work around illegal selectors triggering Chrome to fail.
API changes
- The previous callback option was deprecated and has been removed.
- The
cache
option supported the boolean valuefalse
, this has now been removed.
Limitations
The list of limitations has been cleaned up and extended.