Skip to content
Christoph Burgmer edited this page Mar 15, 2015 · 27 revisions

Limitations of rasterizeHTML.js due to implementation details or browser bugs. Also see issues for open issues. Brower issues that have a workaround implemented are listed under Browser issues.

General

  • All resources (HTML page, CSS, images, fonts and JS) that are needed for drawing the page can only be loaded if from the same origin, unless techniques like CORS are used.
  • External resources created through JavaScript are not loaded (e.g. "lazy-loaded" images). To work around these resources could be provided inline instead.
  • Options hover, active, focus will only apply user specified pseudo-class styles and not user-agent specific presets. This e.g. includes the button outline in Chrome or the padding-left offset in Firefox on active state.

Yet unsupported HTML

Browser issues

All

  • Background set on HTML or BODY are generally propagated up to be set on the whole canvas. This currently is not applied to documents inside foreignObject and thus the background is only applied to the element themselves (only spanning the size of the actual HTML/BODY element). (Firefox issue https://bugzilla.mozilla.org/show_bug.cgi?id=1143405)

Firefox

Webkit origin

Chrome

Safari

IE

Clone this wiki locally