Dear All,

Zoom to fit in iPhone is very attractive and I'm learning how to
implement this feature.

But there is 2 questions puzzled me a lot:
1. How could I know the demision of an element, say, image, if width
and height is not provided in HTML source?
One common case is something like: <img src="xxxxxx">
2. How could I know origin's coordinate(screenX, screenY) of the node
double clicked? It's easy to know where the
mouse clicked, but how could I know, if I double click on a image, the
image's origin's coordinate?

Best Regards,

enrico
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to