Skip to content

Releases: cburgmer/rasterizeHTML.js

1.3.1

16 Jan 20:52
Compare
Choose a tag to compare

Bug fixes

  • Fix issue with errors in Chrome when simulating pseudo-class selectors hover/active/focus/target if executeJs set to true #219

All in one bundle

  • inlineresources dependency bumped to 1.0.1

1.3.0

18 Mar 19:10
Compare
Choose a tag to compare
  • 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

30 Oct 02:14
Compare
Choose a tag to compare

Change in all-in-one bundle only

  • Fix background images failing to load from correct path under Chrome (inlineresources)

1.2.3

13 Oct 16:18
Compare
Choose a tag to compare

Bug fixes

  • Work around issue in Safari, where <style> elements inside SVGs have their sheet attribute undefined (#158, by @akarienta )

1.2.2

23 Feb 14:20
Compare
Choose a tag to compare

Bug fixes

  • Bump dependencies for allinone build
    • Fixes issue where CSS in a background tab is flaky.
    • @font-face rules in newer Chrome versions would result in an empty url().

1.2.1

26 Nov 11:12
Compare
Choose a tag to compare

Bug fixes

  • Module names for AMD did not reflect their names in npm as required by webpack (#106)
  • Chrome and Safari would not correctly zoom elements with position: relative (#109)

Both fixes thanks to @QingWei-Li

1.2.0

03 Oct 06:47
Compare
Choose a tag to compare
  • Support for :target selector activation.
  • On parsing errors the originalError is going to be provided for detailed information (see API, #102).

Bug fixes

  • Fix issue with media queries under Microsoft Edge.
  • Fix :focus action incorrectly being cascaded up the DOM tree.

1.1.0

26 Mar 21:28
Compare
Choose a tag to compare

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

01 Mar 16:33
Compare
Choose a tag to compare
  • 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 value false, this has now been removed.

Limitations

The list of limitations has been cleaned up and extended.

0.9.3

26 Aug 19:25
Compare
Choose a tag to compare

The same release as 0.9.2.

Version bump to trigger the artifact deployment.