added polling to check for DOM paint completion
increased interval to very conservative value; not an ironclad fix but should work in most cases
use css keyframe animation to detect paint completion - not supported in IE9 but wanted a copy of the code in repo for future reference
eliminated need to wait for repaint on initial display
minimized dependency on CSS layout delay
more reliable detection of layout completion
Merge remote-tracking branch 'stephen/docpreview' into docpreview
Included test document
set width of zoomed pages to avoid excess horizontal scrolling; apply styles via CSS rather than JavaScript
Merge remote-tracking branch 'stephen/docpreview' into docpreview
removed test document
Merge remote-tracking branch 'stephen/docpreview' into docpreview
Fix spacing in documentviewer.html, add nl_NL translations to the document viewer, close div tag