AppleInsider AppleInsider Forums


Go Back   AppleInsider > Applications
Register Members List New Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 02-07-2008, 11:17 AM   #1
AppleInsider
Kasper's Automated Slave
 
Join Date: Nov 1997
Posts: 6,159
Apple's Safari 3.1 to support downloadable web fonts, more

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.



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.



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.



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.
AppleInsider is offline   Reply With Quote
Old 02-07-2008, 11:25 AM   #2
CREB
Registered User
 
Join Date: Apr 2004
Posts: 271
What year will Apple be releasing Safari 3.1?
CREB is offline   Reply With Quote
Old 02-07-2008, 11:27 AM   #3
teckstud
Registered User
 
Join Date: Oct 2007
Posts: 6,172
Why does Firefox still work better & faster than Safari?
teckstud is offline   Reply With Quote
Old 02-07-2008, 11:32 AM   #4
TenoBell
Registered User
 
Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 5,257
Quote:
Why does Firefox still work better & faster than Safari?
Is this a known fact or one man's opinion?

I've found Firefox makes your whole computer run slower.
TenoBell is online now   Reply With Quote
Old 02-07-2008, 11:35 AM   #5
TednDi
Registered User
 
Join Date: Jun 2004
Location: Earth
Posts: 1,729
3.1 by summer!



seriously,

This is all wonderful news to rendering speeds for the iphone.
TednDi is offline   Reply With Quote
Old 02-07-2008, 11:38 AM   #6
drjjones
Registered User
 
Join Date: Jul 2007
Posts: 155
Still a lot of bugs in the old safari. Started viewing this site today and safari unexpectedly quit. I get that a lot . Especially when i come here to read the articles. It quits about 30 seconds into reading.
It's like Apple doesn't like the site . And that is what they do on purpose .
drjjones is offline   Reply With Quote
Old 02-07-2008, 11:39 AM   #7
bobo28
Registered User
 
Join Date: Apr 2005
Posts: 57
Quote:
Originally Posted by TenoBell View Post
Is this a known fact or one man's opinion?

I've found Firefox makes your whole computer run slower.
If you're not a Safari fan, there are several better choices than Firefox ; Camino, SeaMonkey, Navagator 9. . . , Flock. Just to mention several good and free options .
bobo28 is offline   Reply With Quote
Old 02-07-2008, 11:41 AM   #8
Booga
Registered User
 
Join Date: Jun 2003
Location: Tinton Falls, NJ
Posts: 702
Although all these features are pretty much a "yawn" on the internet because no one will use them for years, I think the interesting part is when the iPhone and Touch will get these updates. Especially the local SQL could be really useful for some of the iPhone/Touch-targeted web pages.
Booga is offline   Reply With Quote
Old 02-07-2008, 11:48 AM   #9
bluedalmatian
Registered User
 
Join Date: Oct 2003
Location: GB
Posts: 97
Quote:
Originally Posted by teckstud View Post
Why does Firefox still work better & faster than Safari?
Possibly because Apple has never got the hang of putting network transmission & UI updating under the control of separate threads.

As another example...try using Finder to connect to a file server which is down or on a slow network....Finder hangs for several minutes until the network connection times out.
bluedalmatian is offline   Reply With Quote
Old 02-07-2008, 11:49 AM   #10
ken the macster
Registered User
 
Join Date: Feb 2008
Posts: 1
Just make Safari work, please

I'm happy that Safari is continuing development.

However, all I really want is for it to just work. There are soooo many sites that have a problem. For example, t-Mobile, many banks and airlines. You can't apply online for lots of jobs. You cannot even get student loan info from the US government. It's embarrassing.
ken the macster is offline   Reply With Quote
Old 02-07-2008, 11:49 AM   #11
GQB
Registered User
 
Join Date: Mar 2007
Posts: 728
Quote:
Originally Posted by TenoBell View Post
Is this a known fact or one man's opinion?

I've found Firefox makes your whole computer run slower.
We run our Mac in multi-user mode, and 9 times out of 10, when returning to my desktop, Firefox is frozen solid, requiring a 'force quit'.
I need to bite the bullet and switch to Safari as soon as I take the time to figure out how to xfer my bookmarks.
GQB is offline   Reply With Quote
Old 02-07-2008, 11:53 AM   #12
johnhood
Registered User
 
Join Date: Apr 2003
Location: UK
Posts: 24
Would've been cool to have seen Safari 3.1 rolled into 10.5.2! Certainly Safari is less stable in Mac OS X 10.5!


johnhood is offline   Reply With Quote
Old 02-07-2008, 11:58 AM   #13
solipsism
Registered User
 
Join Date: Apr 2006
Location: The Ansible
Posts: 11,855
Quote:
Originally Posted by TenoBell View Post
Is this a known fact or one man's opinion?

I've found Firefox makes your whole computer run slower.
Me too.

Quote:
Originally Posted by bobo28 View Post
If you're not a Safari fan, there are several better choices than Firefox ; Camino, SeaMonkey, Navagator 9. . . , Flock. Just to mention several good and free options.
Firefox's add-ons are huge plus to many.

Quote:
Originally Posted by drjjones View Post
Still a lot of bugs in the old safari. Started viewing this site today and safari unexpectedly quit. I get that a lot . Especially when i come here to read the articles. It quits about 30 seconds into reading.
It's like Apple doesn't like the site . And that is what they do on purpose .
hehe I can't recall Safari quitting once while using 3.0. That is, until today while trying to read this article on Safari 3.1.
solipsism is online now   Reply With Quote
Old 02-07-2008, 12:02 PM   #14
.mac
Registered User
 
Join Date: Jan 2008
Posts: 32
L0ve safari :d
.mac is offline   Reply With Quote
Old 02-07-2008, 12:14 PM   #15
macanoid™
Registered User
 
Join Date: Nov 2001
Location: macsterdam
Posts: 338
as nice as this is, and as nice as safari is, I wish they'd put more effort into making Safari less resource-hungry. it gobbles up memory like there's no tomorrow.
macanoid™ is offline   Reply With Quote
Old 02-07-2008, 12:14 PM   #16
JeffDM
Global Moderator
 
Join Date: Jun 2004
Location: .US
Posts: 9,127
Quote:
Originally Posted by teckstud View Post
Why does Firefox still work better & faster than Safari?
At least there's a choice.

I can't get Firefox to last longer than three days without requiring a restart, with the latest versions of 1.5 and 2.0. But I wouldn't use Safari or Camino long term, they're too inflexible.
JeffDM is offline   Reply With Quote
Old 02-07-2008, 12:16 PM   #17
abilstein
Registered User
 
Join Date: Jan 2005
Posts: 61
I'm curious - are those of you having problems with Safari running any plugins? I find Safari to be faster than Firefox and very stable. This was not the case with Safari 2, but Safari 3 has been a huge improvement to me. It has replaced Firefox as my default browser for personal use, although I still use FF for development.

I realize this is all anecdotal but I'm still curious.
abilstein is offline   Reply With Quote
Old 02-07-2008, 12:18 PM   #18
teckstud
Registered User
 
Join Date: Oct 2007
Posts: 6,172
Quote:
Originally Posted by JeffDM View Post
At least there's a choice.

I can't get Firefox to last longer than three days without requiring a restart, with the latest versions of 1.5 and 2.0. But I wouldn't use Safari or Camino long term, they're too inflexible.
So what do you use? I find Safari hangs on some sites forever especially one's with imageing whereas Firefox just snaps. I still use Safari as my default because I prefer the interface but it does has issues.
teckstud is offline   Reply With Quote
Old 02-07-2008, 12:19 PM   #19
abilstein
Registered User
 
Join Date: Jan 2005
Posts: 61
I also disagree that developers won't use the HTML5 features for years. I'll begin using them immediately in cases where they will offer a better user experience under the principles of progressive enhancement. Downloadable fonts come immediately to mind.
abilstein is offline   Reply With Quote
Old 02-07-2008, 12:21 PM   #20
teckstud
Registered User
 
Join Date: Oct 2007
Posts: 6,172
Quote:
Originally Posted by TenoBell View Post
Is this a known fact or one man's opinion?

I've found Firefox makes your whole computer run slower.
It's obviously more than one man's opinion as you can see more than one man's complaint today.
teckstud is offline   Reply With Quote
Old 02-07-2008, 12:22 PM   #21
Buck
Registered User
 
Join Date: Aug 2006
Posts: 257
Quote:
Originally Posted by ken the macster View Post
I'm happy that Safari is continuing development.

However, all I really want is for it to just work. There are soooo many sites that have a problem. For example, t-Mobile, many banks and airlines. You can't apply online for lots of jobs. You cannot even get student loan info from the US government. It's embarrassing.
Talk to the webmasters so they can have their websites fixed. 95% of the time that happens because they don't want/know how to follow the web standards. If nobody acts on that nothing will ever change.
Buck is offline   Reply With Quote
Old 02-07-2008, 12:23 PM   #22
hmurchison
Global Moderator
 
Join Date: Nov 2001
Location: Seattle, WA
Posts: 10,464
Firefox is not faster on my computer. It "is" more flexible though.

I welcome further advancements for Safari. Since Leopard I've been relatively happy with it.


Mac mini - 2 , iPod Nano- 1
G4 Cube - 5 , iPod Shuffle -1
Bloggity Blog
hmurchison is offline   Reply With Quote
Old 02-07-2008, 12:26 PM   #23
teckstud
Registered User
 
Join Date: Oct 2007
Posts: 6,172
Quote:
Originally Posted by Buck View Post
Talk to the webmasters so they can have their websites fixed. 95% of the time that happens because they don't want/know how to follow the web standards. If nobody acts on that nothing will ever change.
Are you serious? Then why do they work on Firefox, etal? That's like asking the water company to slow down their pressure in order to fix your leaking faucet.
teckstud is offline   Reply With Quote
Old 02-07-2008, 12:29 PM   #24
fahlman
Registered User
 
Join Date: Jun 2002
Posts: 625
Firefox 3b2

For you Firefox users, Mozilla released a second beta version of Firefox 3.0 with a Mac-like theme. The beta can be downloaded here –> http://www.mozilla.com/en-US/firefox/all-beta.html. The theme can be found here –> https://addons.mozilla.org/en-US/firefox/addon/6050.


NOTICE: While every effort has been made to ensure the accuracy of the information supplied herein, fahlman cannot be held responsible for any errors or omissions. Unless otherwise indicated, opinions expressed herein are those of fahlman and do not necessarily represent the views of AppleInsider.com
fahlman is offline   Reply With Quote
Old 02-07-2008, 12:44 PM   #25
MariusX86
Registered User
 
Join Date: Feb 2008
Posts: 4
Opera?

I won't say Opera never crashes or that all websites display fine with it, but mostly I notice that if I identify as any other browser they do work, and if not than use unicode UTF-8 and bang. I've been using Opera for years, since win2k, through Linux and now OS X, admitedly side by side with IE, Mozilla and now Safari. But seriously, if you get used to tabs, which they've had long before Safari, Firefox or IE, mouse gestures, and pretty speedy rendering, how can you switch back?

here, my first 2 € cents...
MariusX86 is offline   Reply With Quote
Old 02-07-2008, 12:45 PM   #26
aegisdesign
Registered User
 
Join Date: Nov 2004
Posts: 2,914
Quote:
Originally Posted by bluedalmatian View Post
Possibly because Apple has never got the hang of putting network transmission & UI updating under the control of separate threads.

As another example...try using Finder to connect to a file server which is down or on a slow network....Finder hangs for several minutes until the network connection times out.
You've not upgraded to Leopard yet?


Quote:
Originally Posted by teckstud View Post
So what do you use? I find Safari hangs on some sites forever especially one's with imageing whereas Firefox just snaps. I still use Safari as my default because I prefer the interface but it does has issues.
Firefox is far from snappy by comparison to Safari v3. If anything is a bit slow it seems to be Adobe's Flash plugin lately. v9 seems to be slower than v8 for me causing occasional beachballs.



Quote:
Originally Posted by abilstein View Post
I also disagree that developers won't use the HTML5 features for years. I'll begin using them immediately in cases where they will offer a better user experience under the principles of progressive enhancement. Downloadable fonts come immediately to mind.
Exactly. It's why I've been using text-shadow and other Safari only CSS features for years. CSS transforms and animations are also a nice one to use since Safari users will get the nice effects whereas other users will get plain old CSS until they upgrade to a better browser.

Client side SQL is a harder one though as that's not just a presentation layer thing.
aegisdesign is offline   Reply With Quote
Old 02-07-2008, 12:49 PM   #27
JeffDM
Global Moderator
 
Join Date: Jun 2004
Location: .US
Posts: 9,127
Quote:
Originally Posted by teckstud View Post
So what do you use? I find Safari hangs on some sites forever especially one's with imageing whereas Firefox just snaps. I still use Safari as my default because I prefer the interface but it does has issues.
I've been using Firefox despite its problems eventually locking up on my, then I force quit and start again.

I just started using Flock when someone mentioned it here, it's working pretty well so far.
JeffDM is offline   Reply With Quote
Old 02-07-2008, 12:51 PM   #28
aegisdesign
Registered User
 
Join Date: Nov 2004
Posts: 2,914
Quote:
Originally Posted by teckstud View Post
Are you serious? Then why do they work on Firefox, etal? That's like asking the water company to slow down their pressure in order to fix your leaking faucet.
It's quite possible to code a site to work on IE and Firefox and not on Safari or Opera by ignoring web standards or just sticking in stupid browser sniffers that only know about IE or Firefox.

Both IE and Firefox also have their proprietary crap too like ActiveX components and XUL which aren't available in other browsers.
aegisdesign is offline   Reply With Quote
Old 02-07-2008, 12:54 PM   #29
diskimage
Registered User
 
Join Date: Nov 2007
Location: South Dakota
Posts: 80
Does anyone know of a mac web browser that supports Single File Web Pages. I know IE 7 displays them but I was looking for something I could use on my mac.
diskimage is offline   Reply With Quote
Old 02-07-2008, 12:58 PM   #30
leee
Registered User
 
Join Date: Dec 2006
Posts: 6
I wish Safari 3.1 was at least as stable as Safari 2. S3 failed to impress me so far.
leee is offline   Reply With Quote
Old 02-07-2008, 01:07 PM   #31
eAi
Registered User
 
Join Date: Mar 2005
Posts: 366
You can try out Safari 3.1's nightly builds at http://nightly.webkit.org/
eAi is offline   Reply With Quote
Old 02-07-2008, 01:11 PM   #32
JeffDM
Global Moderator
 
Join Date: Jun 2004
Location: .US
Posts: 9,127
Quote:
Originally Posted by aegisdesign View Post
Both IE and Firefox also have their proprietary crap too like ActiveX components and XUL which aren't available in other browsers.
XUL isn't proprietary, and I've not seen a web page that demands loading one in order to use the site. I've not even seen a site request that I do. XUL works on Flock too, and I count four other browsers that support XUL to some extent.

As far as I've seen, there is no comparable architecture for Safari, Safari requires the use of unsupported back doors to allow the same type extensions that are available to the Gecko engine.


Last edited by JeffDM; 02-07-2008 at 01:29 PM..
JeffDM is offline   Reply With Quote
Old 02-07-2008, 01:20 PM   #33
lkrupp
Registered User
 
Join Date: Jan 2005
Posts: 261
Quote:
Originally Posted by teckstud View Post
Why does Firefox still work better & faster than Safari?
Why do you ask? Safari runs rings around Firefox on my system. And is more compatible too. I haven't launched Firefox in months. Have no need to.

Looking forward to the Safari update.
lkrupp is offline   Reply With Quote
Old 02-07-2008, 01:38 PM   #34
BlackPepper
Registered User
 
Join Date: Apr 2007
Location: Ohio
Posts: 20
So much work waiting...

I think the engineers are taking time for their fantasies... Although these are "great" enhancements, if the other browsers don't support them also, they will be useless since not many websites will implement to make use of these features.

They should try working on making Safari a better browser. Firefox is way more advanced and flexible comparing the Safari, and it is way more compatible with web sites than Safari. I can't use Safari for a lot of web sites. You have to accept to fact that you have a very marginal market share, and you can't just force your own standards, but you you have to comply with others'.

They didn't even put a 'New Tab' button on Safari 3. Safari is the only browser missing that "essential" button. They are just being stubborn, forcing you to use cmd-T, as always. That's what I don't like about Apple in general, and Safari in particular.
BlackPepper is offline   Reply With Quote
Old 02-07-2008, 01:41 PM   #35
mjtomlin
Registered User
 
Join Date: Jul 2004
Posts: 258
Every browser has problems, so your experiences may vary. Safari works fine on my system. Yeah it crashes from time to time, but so does Firefox. They are both just as quick at loading pages. So far I haven't had any issues with any specific sites as far not being able to render them. They both adhere to web standards.

The main reason I prefer Safari over Firefox is, rendered pages in Safari are much more beautiful to look at, especially form controls and fonts. Firefox is just butt-ugly. Maybe the new version will fix that?

Anyway, I guess we all have our opinions... can't wait for Safari 3.1
mjtomlin is offline   Reply With Quote
Old 02-07-2008, 01:43 PM   #36
Robin Huber
Registered User
 
Join Date: May 2002
Location: The OC
Posts: 181
3.0 Unstable under Leopard

I am a long time satisfied Safari user, but after upgrading to Leopard a couple of weeks ago Safari has become very crash-prone. It usually happens as I dig down into a website by following links. Then, this morning, a couple of long time bookmarks failed to work. Had to do a reset of Safari (including loss of all my cookies, auto fill, passwords, etc.) which was a major pain. Even that didn't work immediately, but after waiting a few minutes, it "took" and I could once again access the two websites which previously Safari told me it couldn't find the server. My PowerBook running Tiger found them just fine, so it wasn't the sites' fault. I don't think I am the only one having these kind of problems. Hope 3.1 will address them.
Robin Huber is offline   Reply With Quote
Old 02-07-2008, 01:44 PM   #37
NasserAE
Registered User
 
Join Date: Jan 2008
Location: USA
Posts: 1,067
Does that mean that I will be able to read complex fonts such as Hebrew and Arabic on my iPhone Safari?


Nasser
NasserAE is offline   Reply With Quote
Old 02-07-2008, 01:55 PM   #38
mjtomlin
Registered User
 
Join Date: Jul 2004
Posts: 258
Quote:
Originally Posted by BlackPepper View Post
you can't just force your own standards, but you you have to comply with others'.
These features aren't Apple's standards, these are upcoming web standards; CSS3, HTML5... And speaking of "having" to comply with standards... uh, no you don't, it's just better if you do.


Quote:
Originally Posted by BlackPepper View Post
They didn't even put a 'New Tab' button on Safari 3. Safari is the only browser missing that "essential" button.
I'd hardly call that an "essential" button, but you're always free to make suggestions to Apple about it.
mjtomlin is offline   Reply With Quote
Old 02-07-2008, 02:00 PM   #39
hmurchison
Global Moderator
 
Join Date: Nov 2001
Location: Seattle, WA
Posts: 10,464
Quote:
Originally Posted by BlackPepper View Post
I think the engineers are taking time for their fantasies... Although these are "great" enhancements, if the other browsers don't support them also, they will be useless since not many websites will implement to make use of these features.

They should try working on making Safari a better browser. Firefox is way more advanced and flexible comparing the Safari, and it is way more compatible with web sites than Safari. I can't use Safari for a lot of web sites. You have to accept to fact that you have a very marginal market share, and you can't just force your own standards, but you you have to comply with others'.

They didn't even put a 'New Tab' button on Safari 3. Safari is the only browser missing that "essential" button. They are just being stubborn, forcing you to use cmd-T, as always. That's what I don't like about Apple in general, and Safari in particular.
Your post is a bit illogical. The Engineers are not adding fantasies they're adding support for features that are open and standard. Adding more functionality to CSS and Java is certainly not a fantasy endeavor. Preparing for HTML5 is not a fantasty feature either.

You cannot expect web authors to utilize features until the Browsers can support such features. While some may say Apple is jumping the gun here in reality they are not.

http://www.whatwg.org/

Quote:
What is the WHATWG?

The WHATWG is a growing community of people interested in evolving the Web. It focuses primarily on the development of HTML and APIs needed for Web applications.

The WHATWG was founded by individuals of Apple, the Mozilla Foundation, and Opera Software in 2004, after a W3C workshop. Apple, Mozilla and Opera were becoming increasingly concerned about the W3C’s direction with XHTML, lack of interest in HTML and apparent disregard for the needs of real-world authors. So, in response, these organisations set out with a mission to address these concerns and the Web Hypertext Application Technology Working Group was born.
Note Mozilla and Opera. Assuming that nextgen feature will not be supported in other browsers is folly. Assuming that improvements to browsers and adding new features is somehow mutually exclusive is short sighted IMO.

I think you probably need to work a bit harder at understanding who and what are the evolving web standards before you launch into assumptive misinformation. Apple is not forcing any standards that Mozilla, Opera and plenty of other web companies don't have access to.


Mac mini - 2 , iPod Nano- 1
G4 Cube - 5 , iPod Shuffle -1
Bloggity Blog
hmurchison is offline   Reply With Quote
Old 02-07-2008, 02:03 PM   #40
solipsism
Registered User
 
Join Date: Apr 2006
Location: The Ansible
Posts: 11,855
Quote:
Originally Posted by BlackPepper View Post
I think the engineers are taking time for their fantasies... Although these are "great" enhancements, if the other browsers don't support them also, they will be useless since not many websites will implement to make use of these features.

They should try working on making Safari a better browser. Firefox is way more advanced and flexible comparing the Safari, and it is way more compatible with web sites than Safari. I can't use Safari for a lot of web sites. You have to accept to fact that you have a very marginal market share, and you can't just force your own standards, but you you have to comply with others'.

They didn't even put a 'New Tab' button on Safari 3. Safari is the only browser missing that "essential" button. They are just being stubborn, forcing you to use cmd-T, as always. That's what I don't like about Apple in general, and Safari in particular.
I would just like to reiterate what mjtomlin stated about following standards. Safari follows more open standards than Firefox or IE.

Also, there is no GUI button for a new tab but the simple Command+T will create a new tab.
solipsism is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.