Push-Nachrichten von MacTechNews.de
Würden Sie gerne aktuelle Nachrichten aus der Apple-Welt direkt über Push-Nachrichten erhalten?
Forum>Software>Dave Hyatt (Safari Entwickler) schreibt was zu Safari 1.3 ...

Dave Hyatt (Safari Entwickler) schreibt was zu Safari 1.3 ...

Aronnax16.04.0512:46


Safari 1.3
Posted at 10:35 PM

Those of you running Panther can now update to 10.3.9. This update includes Safari 1.3 and new versions of WebKit, WebCore, and JavaScriptCore that contain thousands of improvements we've made to the engine since Safari 1.2.

What you are getting is all of the new standards support, new WebKit capabilites, site compatibility fixes and performance optimizations that are also present in Safari 2.0 for Tiger. The layout engines for the two are virtually identical.

Here are some of the highlights:

Page Load Performance
Safari 1.3 loads pages overall 35% faster than 1.2 as measured by IBench. In addition to improving the overall page load, Safari 1.3 will display content sooner than 1.2 did, so that subresources don't hold up the initial display of the page.

JavaScript Performance
We have substantially improved the performance of the JavaScript engine in Safari. I encourage you to check out Safari 1.3 on this benchmark for example to see the improvement relative to 1.2.

HTML Editing
Safari 1.3 supports HTML editing, both at the Objective-C WebKit API level and using contenteditable and designMode in a Web page. The new Mail app in Tiger uses WebKit for message composition. You can write apps that make use of WebKit's editing technology and deploy them on Panther and Tiger.

Compatibility and Security
Compatibility and security are our number one priority in WebCore, and Safari 1.3 has many important compatibility fixes. For example, percentage heights on blocks, tables and cells now work much better in Safari 1.3. min/max-width/height support has been added. More of the table-related CSS properties are now supported. DOM methods like getComputedStyle are now supported.

The DOM Exposed
The entire level 2 DOM has been exposed a public API in Objective-C. This means various holes have been filled in Safari's DOM level 2 support. In addition to exposing the DOM to Objective-C, the JS objects that wrap DOM objects can also be accessed from Objective-C, allowing you to examine and edit the JS objects themselves to inject properties onto them that can then be accessed from your Web page.

XSLT
Safari 1.3 on Panther now supports XSLT. 10.3.9 includes libxslt, and Safari uses this excellent library to handle XSLT processing instructions it encounters in Web pages.

Plugin Extensions
For those of you writing WebKit apps, a new Objective-C WebKit plugin API is supported that lets you put Cocoa widgetry into the Web page more easily. In addition enhancements to the Netscape Plugin API (made in conjunction with Mozilla Foundation) have been implemented for plugins that require cross-browser compatibility.

Did I mention it's really really fast?

In case you're curious about differences between the Tiger and Panther versions of the engine, they mostly have to deal with frameworks that changed underneath WebKit. For example we have new faster image decoders on Tiger (that also handle PNGs correctly), so you'll find that Tiger fixes some of the PNG gamma issues that will still exist on Panther. In addition the new decoders are incredibly fast and are now run on a separate thread on multi-processor machines on Tiger.

The network layer has also been improved on Tiger, so this may be another source of differences in behavior between the two operating systems. Overall, however, it's likely that content and applications you develop with WebKit will behave identically on the two operating systems.

Let us know what you think.
0

Kommentare

grendel68
grendel6816.04.0512:53
Er hatte sich bereits am 7.4. zurück gemeldet, und zwar aus der Paralleldimension namens WoW

0
Pinguin16.04.0513:35
mal zu Hyatts Blog:
wie macht der das, dass da oben unter "Safari News & Updates" so ein verlauf ist, dass die Schrift überlagert, dass es aussieht als ob die Schrift verblassen würde?
0
darkzida16.04.0513:49
Wo ist denn das HTML-Editing Feature? Oder hab ich was falsch verstanden?
0
Aronnax16.04.0513:50
@Pinguin

unter der "Clean" Design Variante meinst du?

Der Kopfbereich ist mit CSS fest positioniert
und dann hat er ein PNG mit Verlauf eingebaut.
Dieses bei der blauen Variante:

und der Text läuft unter diesem Bild.

P.S.
wenn man es auf anderen Seiten übernehmen will - sollte mal bedenken, dass der Dosen IE beides nicht kann - aber mit einigen Hacks kann man es dem IE ebenfalls beibringen
0
Aronnax16.04.0513:55
@darkzida
"Wo ist denn das HTML-Editing Feature? Oder hab ich was falsch verstanden?"

Das sind Funktionen, die Webseiten benutzen können (im der Rendering Engine) - insbesondere CMS Systeme benutzen sie - als Safari Funktion an sich, gibt es da nichts zu finden.
in alten Beiträgen schreibt er übrigens ebenfalls was dazu.
0
MetallSnake
MetallSnake21.04.0520:35
thorben
Typo3 hat ne Browserweiche, die nur bei IE/win den RTE freischaltet ... kann sich Safari irgendwie als IE/win ausgeben?

Ja im Debug Menü unter User Agent. Um das Debug Menü zu aktivieren gibts genug Software, siehe hier:
„Das Schöne an der KI ist, dass wir endlich einen Weg gefunden haben, wie die Wirtschaft weiter wachsen kann, nachdem sie jeden Einzelnen von uns getötet hat.“
0
oliver kurlvink
oliver kurlvink16.04.0516:05
Also sowohl in Typo3 als auch in webEdition kriege ich die WYSIWYG-Editoren auch mit dem neuesten Safari nicht zum Laufen. Muss ich da was besonderes einstellen oder so?
0
Thorben21.04.0520:30
Typo3 hat ne Browserweiche, die nur bei IE/win den RTE freischaltet ... kann sich Safari irgendwie als IE/win ausgeben?
0
Thorben21.04.0520:44
danke, hab das gerade gemacht ... bringt leider nicht den gewünschten Effekt! Typo3 versucht zwar den RTE anzuzeigen, das klappt aber nich ganz!
<br>
<br>Anscheinend ist die Implementierung in Safari doch anders als im IE/win ... also bleibt IE/win weiterhin der einzige Browser auf dem der Typo3 RTE funzt!
0
HOMBRESINIESTRO16.04.0512:48
Ach menno, das wollte ich auch gerade posten. Er ist wohl gestern unter seinem Stein hervor gekrochen.
0

Kommentieren

Diese Diskussion ist bereits mehr als 3 Monate alt und kann daher nicht mehr kommentiert werden.