Arjunsos / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

EXHIBIT: Some bubbles get drawn off-screen / truncated #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
 For some bubbles rendered by SimileAjax.Graphics.createBubbleForPoint, a
disproportionately huge div gets built.

Example: I ask for a 400 by 160 pixel bubble, and the div generated to hold
it ends up 473 by 3316040 pixels instead, which renders either as just the
bubble "handle", if the top of the div was positioned off-screen above the
viewport, or as a bubble whose bottom part is truncated, if it was the
bottom part that ended up off-screen.

A test case that shows this phenomenon is available here; click "LISTA" and
"Linköping" (in the tile view) for an example of truncated-below bubbles,
and "Budapest" or "Verbania" for an example of just-a-handle (truncated above):

http://ecmanaut.googlepages.com/choir-events.html
 Description    
   For some bubbles rendered by SimileAjax.Graphics.createBubbleForPoint, a
disproportionately huge div gets built. Example: I ask for a 400 by 160
pixel bubble, and the div generated to hold it ends up 473 by 3316040
pixels instead, which renders either as just the bubble "handle", if the
top of the div was positioned off-screen above the viewport, or as a bubble
whose bottom part is truncated, if it was the bottom part that ended up
off-screen. A test case that shows this phenomenon is available here; click
"LISTA" and "Linköping" (in the tile view) for an example of
truncated-below bubbles, and "Budapest" or "Verbania" for an example of
just-a-handle (truncated above):
http://ecmanaut.googlepages.com/choir-events.html
    Show »
Firefox 2.0.0.1/mactel

Original issue reported on code.google.com by GabrielR...@googlemail.com on 3 Apr 2009 at 6:04

GoogleCodeExporter commented 8 years ago

Original comment by stefano.mazzocchi@gmail.com on 3 Apr 2009 at 8:17