Actually, on second thoughts it is probably not a good idea to respect margins in the HTML files, that way would lead to lots of hard to debug-inconsistent rendering.
Instead probably better to just special case full page image markup, just like the viewer does. Open a bug report for it and I will get to it when I have a moment.
|