Current

Saturday, February 14, 2009

Google's Chrome is a big pile of shit

Posted by Devil's Kitchen at 2/14/2009 06:59:00 PM

Google recently decided to get into the browser game by releasing Chrome on Windows. Chrome is a Webkit-based browser, like many that I mentioned here, but Google have managed to fuck up the way in which it renders pages.

Let me explain, via the medium of this divs displayed below...

What you will see using various browsers is a grey box, and then a near-black box within it. Plus:
  • Safari, Webkit, Cruz, Shiira, Stainless or any other Webkit-based browser*: you will see rounded corners and they will be smooth (anti-aliased), and you will see a smooth, grey drop shadow.

  • Firefox 3: you will see rounded corners and they will be smooth (anti-aliased).

  • Firefox 2: you will see rounded corners, but they will look fairly pixellated.

  • Internet Exploder: you will see neither rounded corners nor drop-shadow, just a box with normal, square corners.

  • *Chrome: unlike other Webkit-based browsers, you will see pixellated looking corners and the drop-shadow will not fade out to the background colour, but will have ugly white surrounds.

    UPDATE: actually, the drop shadow does seem to be working, but the rounded corners are not. On the interface that we are currently working on, we definitely see the rounded corners but the drop-shadow fades to white, not the background colour. Bizarre.


Webkit is the rendering engine that Chrome is based on: it is open source and, as far as Cascading Style Sheets (CSS) is concerned, one of the... sorry... the most advanced browser in the world.

And Google have managed to take the provided rendering engine and fuck it up.

But worse than that, they haven't managed to fuck it up properly. If a particular property is not supported properly—as, for instance, neither border-radius nor box-shadow are in IE—then the browser should ignore those properties.

Chrome recognises the properties and then comprehensively fucks them up. This is a serious issue, especially for the UI that I am working on, which makes extensive use of rounded corners and drop shadows.

Normally, I could introduce a piece of Javascript that would "sniff" out which browser was accessing the page, but Chrome is a Webkit browser and it is Webkit properties that it is fucking up.

It's a bit of a nightmare. Seriously, Google, get a fucking grip...

Labels: , , , , , , ,


Posted by Devil's Kitchen at 2/14/2009 06:59:00 PM


23 Blogger Comments:

Blogger Simon Dyda said...

I'm using Chrome at the moment. Hopefully they'll get these things sorted out. My main gripe up until now has been that Chrome doesn't work with Evernote.

2/14/2009 08:26:00 PM  
Blogger Roger Thornhill said...

Sounds like Google have begun to be infected with the same malaise that Microsoft had when it came in contact with HTML and Java.

Arrogance borne from monopoly, p'raps?

2/14/2009 08:42:00 PM  
Anonymous Anonymous said...

'*Chrome: unlike other Webkit-based browsers, you will see pixellated looking corners and the drop-shadow will not fade out to the background colour, but will have ugly white surrounds.'

There are no smoothed corners (as the rounded corners have black right angle points) and the drop shadow does in fact fade to the background colour.
what ugly white surrounds?

2/14/2009 08:43:00 PM  
Blogger bm said...

I see a drop shadow on Chrome but not on FF3. Chrome has square corners that mess up the pattern a bit, but I think the box looks better on Chrome than FF.

I will say, though, that I hate Chrome immensely. Like most browsers, the default settings are just plain stupid, but unlike other browsers, there's no way to change any of the settings that matter.

2/14/2009 08:57:00 PM  
Blogger Henry North London said...

I use firefox 3

My whole address book has been harvested by this stupid Yaari thing

Please ignore it or suffer the same consequences

Shit thats the last time I do that

2/14/2009 08:59:00 PM  
Blogger Deadbeat Dad said...

Who gives a fuck about rounded corners or drop shadows, really? Web developers would be better advised to focus their attention on ergonomics and performance.

Webkit may well have a great future but, here and now (in the real world), Firefox and its myriad extensions leave everything else trailing by a country mile in terms of functionality and security.

2/14/2009 09:14:00 PM  
Blogger Devil's Kitchen said...

DD,

"Who gives a fuck about rounded corners or drop shadows, really? Web developers would be better advised to focus their attention on ergonomics and performance."

1) At my company, we are concentrating extremely hard on "ergonomics and performance".

2) Things such as rounded corners and drop shadows are important for UI design. In our app, a number of windows sit over others at times: a drop shadow is indispensible for indicating layering.

3) Using CSS to create drop shadows and rounded corners cuts -- massively -- the amount of code and images that need to be used: and this, you see, improves performance.

DK

2/14/2009 09:22:00 PM  
Anonymous Anonymous said...

wooooo...rounded corners

2/14/2009 09:31:00 PM  
Anonymous Anonymous said...

I would have put a styled p tag inside a div, but then that because I fucking hate nested divs

My own current dev site has only the number of divs absolutely essential to display the page, average of 5 NONE of which are nested. It's also fully strict xhtml and WCAG Level 2 compliant, a first for any UK newspaper.

So stick that in your webkit and smeek it.

2/14/2009 09:39:00 PM  
Anonymous Graeme Tote said...

Devil, if your blog is any representative of your design or ergonomic skills, chrome's ugly corners are the least your concerns.

But I'm quite positive your skills have improved immeasurably in the last four years.

Why not allow google's young product the same opportunity to improve?

2/15/2009 03:17:00 AM  
Blogger Charlotte Gore said...

On Chrome on my PC the problem seems to be that the top div doesn't have rounded corners which makes the rounded shadow look really stupid.

What you appear to have is a technique that only really works on Safari, so very few people are ever going to see the proper design as intended.

Is CSS 3 really stable and supported enough for this sort of implementation just now?

2/15/2009 10:15:00 AM  
Blogger Deadbeat Dad said...

Things such as rounded corners and drop shadows are important for UI design. In our app, a number of windows sit over others at times: a drop shadow is indispensible for indicating layering.

I wouldn't disagree: rounded corners and drop shadows are part of the basic vocabulary of visual design. In an ideal world, all browsers would support such standards. My point was that the prevailing realities of web design, in general, impose far more pressing issues. In any case, there are simple and effective ways of circumventing the limitations you describe. In three or four years' time -- perhaps sooner -- this argument will no doubt have been consigned to the dustbin of history.

Using CSS to create drop shadows and rounded corners cuts -- massively -- the amount of code and images that need to be used: and this, you see, improves performance.

Of course it does, and I am an ardent evangelist of Cascading Style Sheets (probably the most important innovation on the web since the invention of HTML itself). Nevertheless: I do recall a time, in the not-too-distant past (ca. 2007), when The Kitchen itself was so laden with scripts and 3rd party fripperies that it was virtually unusable. Or is my memory playing tricks on me?

For anybody whose computer needs extend beyond the limitations of their own desk, the web browser is the probably the most important piece of software outside of the operating system itself. In this respect -- balancing form against functionality -- nothing comes close to Firefox at the moment.

2/15/2009 01:17:00 PM  
Blogger Devil's Kitchen said...

Graeme,

"Devil, if your blog is any representative of your design or ergonomic skills, chrome's ugly corners are the least your concerns."

This blog does what it needs to do, i.e. people can read it. And whilst you might feel that the design is crap, I'm happy to point out that those who voted in the Witanagemot Club Awards don't agree: this has come first in the Best Blog Design category for the last two years.

It does need to be updated, sure, but I don't have the time at the moment.

"Why not allow google's young product the same opportunity to improve?"

The point that I was making was that the bits that are bust have evolved over years -- through Webkit's development. Why did Chrome take the existing engine and break it: the makers of Shiira, Cruz and Stainless (for instance) didn't feel the need to do that.

"My point was that the prevailing realities of web design, in general, impose far more pressing issues."

Sure; but I am working on an interface that needs to work through a web browser and my point was that rounded corners and shadows are important in that situation.

"In any case, there are simple and effective ways of circumventing the limitations you describe."

There are no simpler ways of making drop shadows or rounded corners. And the point is that targeting Chrome -- so that one can deploy said fixes -- is difficult.

"In three or four years' time -- perhaps sooner -- this argument will no doubt have been consigned to the dustbin of history."

Amen to that, brother.

"Nevertheless: I do recall a time, in the not-too-distant past (ca. 2007), when The Kitchen itself was so laden with scripts and 3rd party fripperies that it was virtually unusable."

That has, of course, nothing to do with CSS. However, you are right and many were stripped out; obviously, I have very little control over the performance of "third-party fripperies" and the one that was really slowing things up was Blogroll -- which, typically, was (and, for the moment, remains*) the one indispensable third party add-on I have.

"In this respect -- balancing form against functionality -- nothing comes close to Firefox at the moment."

I happen to disagree -- Firefox feels very clunky on my Mac (2 x 2GHz Dual Core Xeons) -- but I see your point. Unfortunately, this is often because application makers either put in too many features, or not enough.

Webkit's biggest problem, at present, is that the near-ubiquitous FCK Editor does not work on it...

DK


* When I finally get around to redesigning the blog, I shall probably adopt Blogger's linklist, but I haven't got time to convert my template to their new version. I am still running a "Classic" template.

2/15/2009 05:05:00 PM  
Blogger Devil's Kitchen said...

(Sorry, second part of my comment above was addressed to DD.)

Charlotte,

"Is CSS 3 really stable and supported enough for this sort of implementation just now?"

Well, that depends on the browser (by the way, the drop shadow works in Firefox 3.1, currently in Beta 2).

Personally, I prefer to use CSS3 by default, and then hack for browsers that don't support it.

If we -- designers, browser manufacturers and users -- do not push these boundaries, nothing will actually improve.

As such, I will always push for people to use a "modern" browser (Firefox or Webkit) as much as I can. The fact that so many are still using IE6, for instance, is unbelievably irritating; I would prefer to point out that they are missing out, and urge them to upgrade.

DK

2/15/2009 05:12:00 PM  
Blogger Charlotte Gore said...

True enough. Die, IE6, Die.

2/15/2009 05:13:00 PM  
Blogger Henry North London said...

Yes the poor NHS has to suffer with IE6 and no javascript Its a veritable disaster area

I used to load firefox on to every machine I could lay my hands on

2/15/2009 05:38:00 PM  
Blogger T said...

My install of Chrome doesn't fit your description. This is how it looks:

http://i41.tinypic.com/2ch2gjo.png

That's on Chrome 1.0.154.48

2/15/2009 08:19:00 PM  
Anonymous Anonymous said...

Well I'm using Firefox 3.0.5 and I don't see any drop-shadow.

Not that I care much.

I am not going within a mile of Chrome, since I heard that it phones home.

Until I know what it's up to, it is not coming near any of my systems.

2/15/2009 09:43:00 PM  
Blogger Abhinav K said...

I am using Firefox 3.5 RC3 and my experience is the same that I had on Safari. But it looks better than safari...

6/28/2009 08:48:00 PM  
Anonymous Anonymous said...

I ♥ Google Chrome
I don't see how a few little details are so bad in your opinion compared to the amazing loading/download speed. It's ridiculously faster than IE, Firefox and Safari on my pc.

9/19/2009 11:28:00 AM  
Anonymous Danny said...

Sorry, but there's absolutely nothing wrong with Chrome.

Most things you've mentioned - I'm not experiencing. The only thing I can say that we are both experiencing is a lack of anti aliasing (although I must say I only seem to be experiencing that on your page :) )

9/20/2009 08:45:00 AM  
Blogger cybacolt said...

so google releases a BETA browser, and you whinge that bleeding edge CSS3 stuff isnt working? pfft...

incidently, dont you need FF 3.5 to get reasonable CSS3 support working anyway? which i dont even think was around when you wrote this...

ps - 7 months later, this is all working fine... sure the corner aliasing still sucks, but its better than ANYTHING microsoft have released browser wise. ever.

9/30/2009 01:37:00 PM  
Blogger Devil's Kitchen said...

Cybacolt,

"so google releases a BETA browser, and you whinge that bleeding edge CSS3 stuff isnt working? pfft..."

The CSS rendering engine in Chrome is not written by Google—it is a rendering engine called Webkit which is, in fact, an Open Source project sponsored by Apple.

My objection is the fact that Google have taken the Webkit rendering engine—one that renders the above example correctly—and broken it.

They actually took a working engine and then broke it. Do you see the difference between this and them writing one from scratch?

"incidently, dont you need FF 3.5 to get reasonable CSS3 support working anyway? which i dont even think was around when you wrote this..."

No. Webkit is far more advanced in terms of CSS3 rendering (and beyond) than FF 3.5.

"ps - 7 months later, this is all working fine... sure the corner aliasing still sucks..."

So, Google have still broken the Webkit rendering engine: in unbroken Webkit browsers the corners are smooth and properly anti-aliased.

So, Chrome is still broken: nice one, Google...

"... but its better than ANYTHING microsoft have released browser wise. ever."

You won't find me disagreeing with you there...

DK

You'll not find me disagreeing with you there.

DK

10/01/2009 08:16:00 PM  

Post a Comment

Links to this post:

Create a Link

<< Home

Testimonials

  • "The best British political/libertarian blog on the web. Consistently excellent but not for the squeamish."—Christopher Snowdon
  • "[He] runs the infamous and fantastically sweary Devil’s Kitchen blog, and because he’s one of the naughtiest geeks (second only to the incredibly, incredibly naughty Guido Fawkes) he’s right at the top of the evil dork hierarchy."—Charlotte Gore
  • "The Devil's Kitchen exposes hypocrisy everywhere, no holds barred."—Wrinkled Weasel
  • "People can still be controversial and influential whilst retaining integrity—Devil's Kitchen springs to mind—and attract frequent but intelligent comment."—Steve Shark, at B&D
  • "Sometimes too much, sometimes wrong, sometimes just too much but always worth a read. Not so much a blog as a force of nature."—The Nameless Libertarian
  • "The Devil's Kitchen—a terrifying blog that covers an astonishing range of subjects with an informed passion and a rage against the machine that leaves me in awe..."—Polaris
  • "He rants like no one else in the blogosphere. But it's ranting in an eloquent, if sweary, kind of way. Eton taught him a lot."—Iain Dale
  • "But for all that, he is a brilliant writer—incisive, fisker- extraordinaire and with an over developed sense of humour... And he can back up his sometimes extraordinary views with some good old fashioned intellectual rigour... I'm promoting him on my blogroll to a daily read."—Iain Dale
  • "... an intelligent guy and a brilliant writer..."—A Very British Dude
  • "... the glorious Devil's Kitchen blog—it's not for the squeamish or easily offended..."—Samizdata
  • "... a very, smart article... takes a pretty firm libertarian line on the matter."—Samizdata
  • "By the way, DK seems to be on fucking good form at the moment."—Brian Mickelthwait
  • "Perhaps the best paragraph ever written in the history of human creation. It's our Devil on fine form."—Vindico
  • "Devil's Kitchen is the big name on the free-market libertarian strand of the British blogosphere... Profane rants are the immediate stand-out feature of DK's blog, but the ranting is backed up by some formidable argument on a wide range of issues particularly relating to British and European parliamentary politics, economics, and civil liberties."—Question That
  • "... an excellent, intelligent UK political blog which includes a great deal of swearing."—Dr Aubrey Blumsohn
  • "I like the Devil's Kitchen. I think it's one of the best written and funniest blogs in the business."—Conservative Party Reptile
  • "The. Top. UK. Blogger."—My Vast Right-Wing Conspiracy
  • "For sheer intelligence, erudition and fun, Iain Dale's Diary, Cranmer and Devil's Kitchen are so far ahead of the rest I don't see how they can figure in a top ten. They are the Beatles, Stones and Who of the blog world; the Astair, Bogart and Marlon Brando of the blog world; the Gerswin, Porter and Novello of the blog world; the Dot Cotton, Pat Butcher, Bette Lynch of the blog world..."—Wrinkled Weasel
  • "It's the blogging equivalent of someone eating Ostrich Vindaloo, washed down by ten bottles of Jamaican hot pepper sauce and then proceeding to breathe very close to your face while talking about how lovely our politicians are... But there's much more to his writing than four letter words."—Tom Tyler
  • "God bless the Devil's Kitchen... Colourful as his invective is, I cannot fault his accuracy."—Tom Paine
  • "The Devil's Kitchen is a life-affirming, life-enhancing blog ... This particular post will also lead you to some of the best soldiers in the army of swearbloggers of which he is Field Marshal."—The Last Ditch
  • "... underneath all the ranting and swearing [DK]'s a very intelligent and thoughtful writer whom many people ... take seriously, despite disagreeing with much of what he says."—Not Saussure
  • "... the most foul-mouthed of bloggers, Devils Kitchen, was always likely to provoke (sometimes disgust, but more often admiration)."—The Times Online
  • "The always entertaining Mr Devil's Kitchen..."—The Times's Comment Central
  • "Frankly, this is ranting of the very highest calibre."—The Nameless Libertarian
  • "I don't mean it literally, or even metaphorically. I just find that his atheism aside, I agree with everything the Devil (of Kitchen fame...) says. I particularly enjoy his well crafted and sharp swearing, especially when addressed at self righteous lefties..."—The Tin Drummer
  • "Spot on accurate and delightful in its simplicity, Devil's Kitchen is one of the reasons that we're not ready to write off EUroweenie-land just yet. At least not until we get done evacuating the ones with brains."—Anti-Idiotarian Rottweiler
  • "This hugely entertaining, articulate, witty Scottish commentator is also one of the most foul-mouthed bloggers around. Gird up your loins and have a look. Essential reading."—Doctor Crippen
  • "The Devil's Kitchen is one of the foremost blogs in the UK. The DK is bawdy, foul-mouthed, tasteless, vulgar, offensive and frequently goes beyond all boundaries of taste and decency. So why on earth does Dr Crippen read the DK? Because he reduces me to a state of quivering, helpless laughter."—Doctor Crippen's Grand Rounds
  • "DK is a take-no-prisoners sort of libertarian. His blog is renowned for its propensity for foul-mouthed invective, which can be both amusing and tiresome by turns. Nevertheless, he is usually lucid, often scintillating and sometimes illuminating."—Dr Syn
  • "If you enjoy a superior anti-Left rant, albeit one with a heavy dash of cursing, you could do worse than visit the Devil's Kitchen. The Devil is an astute observer of the evils of NuLabour, that's for sure. I for one stand converted to the Devil and all his works."—Istanbul Tory
  • "... a sick individual."—Peter Briffa
  • "This fellow is sharp as a tack, funny as hell, and—when something pisses him off—meaner than a badger with a case of the bullhead clap."—Green Hell
  • "Foul-mouthed eloquence of the highest standard. In bad taste, offensive, immoderate and slanderous. F***ing brilliant!—Guest, No2ID Forum
  • "a powerfully written right-of-center blog..."—Mangan's Miscellany
  • "I tend to enjoy Devil's Kitchen not only because I disagree with him quite a lot of the time but because I actually have to use my brain to articulate why."—Rhetorically Speaking
  • "This blog is currently slamming. Politics certainly ain't all my own. But style and prose is tight, fierce, provocative. And funny. OK, I am a child—swear words still crack a laugh."—Qwan
  • "hedonistic, abrasive but usually good-natured..."—The G-Gnome
  • "10,000 words per hour blogging output... prolific or obsessive compulsive I have yet to decide..."—Europhobia
  • "a more favoured blog from the sensible Right..."—Great Britain...
  • "Devils Kitchen, a right thinking man indeed..."—EU Serf
  • "an excellent blog..."—Rottweiler Puppy
  • "Anyone can cuss. But to curse in an imaginative fashion takes work."—Liftport Staff Blog
  • "The Devil's Kitchen: really very funny political blog."—Ink & Incapability
  • "I've been laffing fit to burst at the unashamed sweariness of the Devil's Kitchen ~ certainly my favourite place recently."—SoupDragon
  • "You can't beat the writing and general I-may-not-know-about-being-polite-but-I-know-what-I-like attitude."—SoupDragon
  • "Best. Fisking. Ever. I'm still laughing."—LC Wes, Imperial Mohel
  • "Art."—Bob
  • "It made me laugh out loud, and laugh so hard—and I don't even get all the references... I hope his politics don't offend you, but he is very funny."—Furious, WoT Forum
  • "DK himself is unashamedly right-wing, vitriolic and foul mouthed, liberally scattering his posts with four-letter-words... Not to be read if you're easily offended, but highly entertaining and very much tongue in cheek..."—Everything Is Electric
  • "This blog is absolutely wasted here and should be on the front page of one of the broadsheets..."—Commenter at The Kitchen
  • "[This Labour government] is the most mendacious, dishonest, endemically corrupt, power-hungry, incompetent, illiberal fucking shower of shits that has ruled this country..."—DK

Blogroll

Campaign Links

All: Daily Reads (in no particular order)

Politics (in no particular order)

Climate Change (in no particular order)

General & Humour (in no particular order)

Mac,Design Tech & IT (in no particular order)