martin wrote:
My question is: is it possible to show a webpage as
a 'thumbnail'. I'm sure this isn't clear enough so here's a little
explanation: I would like to display a webpage using mozilla rendering
engine whit custom proportions, so if the page was originaly eg.
1000px wide, now I want to have it 500px wide and every element of
that page will resize to be half-wide and so will the height according
to ratio.

Yeah. You can either paint the page into a canvas or set the zoom scale on the webpage or stick it in a frame inside an SVG element that scales it. Those will all behave slightly differently, so pick one depending on what you really need here.

-Boris
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to