$bbtitle
AAPL: 183.66 ( -1.40 ) AppleInsider RSS Feed
Search:
AppleInsider.com Archives Reviews Anonymous Mailer Submit Story AppleInsider Forums Polls Advertise on AppleInsider Contact AppleInsider
MacMall: $75 and $100 rebates on the new Penryn MacBooks and $150 rebates on the new Penryn MacBook Pros
Thursday, February 7, 2008

Apple's Safari 3.1 to support downloadable web fonts, more

By Katie Marsal

Published: 11:00 AM EST

The ability to download and immediately render non-standard web fonts is just one of several advancements Apple Inc. has planned for Safari 3.1, a small but significant update to its share-gaining web browser for both the Mac and Windows PCs.

The release, which underwent private testing this week, will tie in a number of other enhancements, most of which have been under constant development as part of the company's WebKit open source application framework since last fall. They aim to provide Web developers a means of writing more dynamic and customizable web pages and iPhone apps, which will in turn provide surfers with a more feature-rich and enjoyable experience.

For example, CSS Transforms and CSS Animations will join web downloadable fonts in allowing Safari 3.1 and iPhone users to render web pages and web apps with enhanced design messages and real-time visual effects. By applying Transforms, developers can author trigger actions that scale, rotate, skew and translate HTML boxes in real time. Similarly, Animations offer a quicker route to DHTML/JavaScript effects, such as fading out an HTML element, or increasing the border of a box when hovered over.

Another significant addition to Safari 3.1 will be support of HTML5's SQL storage application programming interface (API), which is a client-side database storage programming interface that will allow a future array of web applications to store structured data locally on a user's machine using SQL. The API is asynchronous, according to Apple, and uses callback functions to track the results of a database query.

Safari 3


Also on tap for the new version of the Apple browser is support for video and audio tags as outlined in the draft specification of HTML5, which add native support for embedding video and audio content in web pages. Additionally, they provide a rich scripting (API) that will allow developers tailor playback controls.

Safari 3


Among the other features expected as part of Safari 3.1 are enhanced web page debugging tools, a database browser tool that's been built into the Web Inspector for use alongside the new SQL storage API, and a native version of the getElementsByClassName JavaScript function.

The latter is one of the more common functions requested by JavaScript programmers, and often added via clunky JavaScript libraries that serve only to bog down page loads. It works along the same lines as getElementsByTagName and getElementById in looking up elements of a web page by their properties.

Safari 3


According to Apple, the native version of the function provides many advantages, chief among them "blindingly fast" speed. For testing purposes, company engineers wrote a simple benchmark to pit the native version of their function against those using both XPath and a straight JavaScript/DOM implementation. The native function executed 10,000 iterations of the getElementsByClassName benchmark in 155ms, compared to 4,728ms and 13,053ms for the XPath and JavaScript/DOM versions, respectively.

Filed under : Software, Mac OS X 79 Comments ] 
Story topics: Safari  [ Tell a Friend ] [ Print ] [ Story Link ] 

$150 rebates on all the new
Penryn-based MacBook Pros
$75-$100 rebates on all the new
Penryn-based MacBooks
$75-$125 rebates on all the new
MacBook Air sub-notebook
$50-$100 rebates on all the most
recent iMac desktops
Mac Poker players can play Full Tilt Poker for Mac and get 100% to $600 free with bonus code MP600, courtesy of Online Poker Mac
AppleInsider Features
Hot Forum Topics

Recent Articles
Job listings hint at multi-carrier iPhone in Australia, Brazil
Briefly: Mac OS X 10.5.3; AT&T iPhone hotspot access; Vista sales
Apple developing 3D gaming controller for Apple TV
O2 says Apple's iPhone "no longer available" [updated x2]
NBC prefers Zune DRM [U]; VMware beta; iMac's 10th birthday
America Movil to sell Apple's next-gen iPhone in Mexico
Briefly: Spain, Poland iPhone talk; iPhone SDK beta 5; AT&T memo
Flash Wars: Adobe Fights for AIR with the Open Screen Project [Part 3 of 3]
NBC at iTunes UK; Caris and Piper outlooks; new '3G iPhone' photo
Apple to begin selling 3G iPhone in late June?
More unofficial Mac clones up for sale on eBay
Flash Wars: The Many Enemies and Obstacles of Flash [Part 2 of 3]
Apple to offer iPhone in Italy through multiple carriers
Vodafone inks deal with Apple to sell iPhone in ten countries
Boston's flagship store set to open May 16th
RBC sees 3G, new carrier model driving iPhone sales of 14M
Apple's cash; new 10.5.3 seed; 3G iPhone photos; Boston store size
AmTech's Wu pulls 180, reinstates Buy rating on Apple shares
Handwriting recognition interface appears in iPhone Software 2.0
iPhone SDK goes international, T-Mobile on 3G iPhone in Austria
Flash Wars: Adobe in the History and Future of Flash [Part 1 of 3]
Microsoft steps back from Yahoo bid
iTunes movies sold at loss; MBP display stripes; Microsoft and Yahoo
Video speed test: 2.5G EDGE iPhone vs. mock 3G HSDPA iPhone
UK's Carphone Warehouse now completely out of iPhones
iPhone Optus rumor; Apple TV allows movie sales; Mac web share
Apple on MacBook Air, Jobs' plane, leases, R&D, NAND flash, more...
Safari for Windows market share triples following SW Update push
Piper Jaffray addresses 15 more 'unanswered Apple questions'
Apple announces same day as DVD release iTunes movie sales [u]
iPhone redesign details; washed out MBP screens; free AT&T Wi-Fi
Apple's bionic ARM to muscle advanced gaming graphics into iPhones
MacBook Pro with custom 128GB SSD upgrade benchmarked
WWDC extension; Radeon HD 3870; MacBook Air EVDO hack
10.5.3 Server details; Apple updates; iPhone exclusivity in question
Apple plans retail tweaks as Fenway teaser appears in Boston
Paper: 3G iPhone smaller, lighter than existing model [u]
BlackBerry maker in "confidential" hunt for iPhone developers
It's official: Rogers to bring iPhone to Canada later this year
Patent lawsuit targets Apple's Dock Connector in iPod nano, touch

AppleInsider Market Place

Sell your Laptop - working or not. Free shipping.: Get an instant online quote and sell your laptop today !

Believe in Office: Save Up To 25% on Office 2004 For Mac. Visit Our Site for Details!

IBackup - SMB Online Backup: IBackup is the preferred online storage and backup service of choice for SMBs for its ease of use, security and value. Offers automated backup and restore, file selection and securiy.

Download free software - everyday updated freeware files

 
Advertisements







AppleInsider RSS Feed
AppleInsider © 1997-2008
Please review our Privacy Policy.
Written/Edited/Compiled by the AppleInsider Staff.