On 29/04/12 22:43, lkcl luke wrote:
>
>   ok, what i've done is taken this a step further: i looked up how to
> do base64-encoded images, andhttp://css-tricks.com/data-uris/  yaay!
>
>   then i did a platform-override for TreeItem.mshtml.py (and identical
> code for TreeItem.ie6.py - must sort that out some day, make a
> TreeItem.trident.py platform which both those derive from)
>
>   so, for safari, firefox and opera, base64-encoded embedded images
> will be used.  oh, and for pythonwebkit and xulrunner (if anyone can
> get it to bloody well work *sigh*) as well.  but for mshtml
> (ie6,7,8.9) gwtcanvas will be used.
>
>   thanks for kicking this off, phil.
>
>   does anyone want to deploy the same trick for the remaining images?
> there is the vertical bar and horizontal bar thing on the split panel,
> as well as the separator.
>
>   hmmm... i wooonderrrrr.... i wonder if gwtcanvas could be tricked
> into accepting image data from the same css string that's used to
> create an<image>  element?  we've already got base64 decode in pyjs,
> so.. in theeorryyyy... if the image was a simple format like BMP it
> could be decoded in python and done one pixel at a time!  eeuw, eeuw
> :)
>
>   l.
>    
L,  Exciting stuff! Seems to work fine for me on both W7 and Debian but 
MSHTML and IE8 still have the problem with where you can click and get a 
response. I'll investigate further when I have time.
P.

Reply via email to