Does all this relate to "WebKit vs. Safari"? Based on Cocoa observations,
I think Safari uses WebKit and doesn't add rendering features. I might
be wrong. In this case, could anybody forward a sample page? I'd
like to check against a Cocoa/WebKit project.

Am 27.04.2006 um 10:47 schrieb Peter De Berdt:

I'm using the HTMLViewer in an application I am creating and have noticed some interesting issues. I'm hoping someone can either validate them or provide alternative methods. These are on OS X 10.4.6 & RB2006r2.

- Some pages render slightly different. In Safari, they look OK. In the HTMLViewer they do not render properly.

Most of the times, this has to do with pages not validating again the doctype. It seems Safari is able to take out the errors before rendering.

- Javascript does not work correctly in the HTMLviewer. (ie: displaying a print dialog)

Javascript does work, as long as it doesn't hook back to something in the system (e.g. the print dialog). So, as long as you're doing DOM-manipulation etc. you won't experience any problems.

- Some graphics are overly large in the HTMLViewer whereas they are not in Safari.

Don't know about this one, but you can enlarge and scale the HTML page in Safari using "Make Text Larger/Smaller" in the View menu. To my knowledge (but it's been a long time since I looked at this), the font scaling is a hook in Webkit, so RS should be able to provide it as a method. However, the HTMLViewer is such a basic control (i.e. when it comes to exposed methods in Webkit), you'll have submit a feature request and cross your arms, as crossing your fingers probably won't be enough ;-)


Best regards

Peter De Berdt

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to