Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about the NetscapePlugin implementation in WebKit



Hi there,

I have developed a Netscape-style internet plugin that has a problem in Safari

The plugin supports hrefs. So when the user clicks on an image in my plugin view, the browser is sent to the link given by the href parameter, just like it was a regular text or image link.

To open a link, I use the browser API browser->geturl()
Everything works fine until I tried with anchored-urls.

For instance :
- http://mysite.com/index.html gets loaded in the browser's window and contains an instance of my plugin
- when the user clicks on the plugin's view, I call :
browser->geturl(instance, "index.html#bottom" target="_self")


What happens is that the page reloads completely and moreover does not scroll to the #bottom anchor.

This same code works fine in other browsers (FireFox, Mozilla, Camino and Opera).

I tried looking into the WebKit sources, but could not find any particular bug. This was my first look at these sources, so I'm reporting my problem here in hope someone more familiar with WebKit might find the bug / a solution / a workaround.

Any help is appreciated,
Thanks
Jérome _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.