- # TODO test this
- @idoc.head.appendChild domify @idoc, link: rel: 'stylesheet', type: 'text/css', href: @options.css_file
+ istyle = domify @idoc, link: rel: 'stylesheet', type: 'text/css', href: @options.css_file + '?foo=baz'
+ istyle.onload = =>
+ @adjust_iframe_height()
+ @idoc.head.appendChild istyle