On Oct 13, 2005, at 11:39 PM, Jerome Foucher wrote:
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.
I'm afraid I don't know the cause of the bug off-hand, but we'd
appreciate a bug report, either via RadarWeb, or in the WebKit open
source project bug tracker, Bugzilla:
It will help a lot if the bug report includes a way to reproduce the
bug, such as possibly a stripped-down version of your plug-in.
You might also have more luck asking on email@hidden,
where there are many people knowledgable about the WebKit source code.
We do handle anchor scrolling properly in most cases, so I am not
sure why it would go wrong when triggered by a plug-in.
Regards,
Maciej
_______________________________________________
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