Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

Robert has been working with web developing, mostly interface coding, since 1998. His biggest interests lies in HTML, CSS and JavaScript, where especially JavaScript has been a love for quite some time. He regularly blogs at http://www.robertnyman.com about web developing, and is running/partaking in a number of open source projects (http://code.google.com/u/robnyman/). Robert is a DZone MVB and is not an employee of DZone and has posted 51 posts at DZone. You can read more from them at their website. View Full User Profile

Is WebKit too fast for its own good?

03.09.2010
Email
Views: 2589
  • submit to reddit

Let me start by saying I have the utmost respect for the WebKit team, and all the amazing things they have delivered with their rendering engine. Also, very important, for putting pressure on other rendering engine vendors and making them step up.

What I would like to talk about today is the rendering speed in WebKit. As we all know, it is very fast and has gotten very good standards support, combined with a number of new exciting features.

But, as of lately, when testing a couple of web sites I have worked on, I have experienced rendering glitches in both Google Chrome and Safari (both based on WebKit). Or rather, inconsistencies. It always loads very fast, but it’s just that things might look weird (as in things not positioned exactly where expected, miscalculated height values in script after the DOMContentLoaded event has fired (which naturally depends on each web browser’s JavaScript engine of choice) etc), and then after a reload, all those problems go away. It’s also hard to recreate these issues since they don’t happen every time, but just occasionally.

Let me be the first to say that it might just be my code that sucks, that I should try another approach in some scenarios and that there’s no more to it. However, these web sites/pages have never once shown any inconsistencies in Firefox or even Internet Explorer, which does makes me wonder.

Currently we have a performance war between web browsers, and we all know that rendering speed is a quite important part in creating a good end user experience. But, if this is at the cost of inconsistent rendering, I don’t want it, and it makes me wonder if the WebKit rendering is sometimes too fast for its own good?

Am I the only one who has experienced this, or have you seen this too?

References
Published at DZone with permission of Robert Nyman, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Jose Maria Arranz replied on Thu, 2010/03/11 - 5:31am

I agree with you sometimes obsession for performance bastardizes good software.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.