Is totally broken in Firefox 3.6?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I noticed serious problem in search results page today. Am I
the only one here?

Using Firefox 3.6, the logo for search results is a total
mess. It looks like a sprite that is displayed for the search results.

Firefox 3.6 has excellent support of web standards including CSS, so it
is unlikely to be the fault of that good browser. More likely any number
of the stupid things you'll see web developers doing.

The page throws the javascript error `a is undefined`

What did they (google) do wrong here?

The w3c validator reports:
"Errors found while checking this document as HTML5!"

Who is investing money on causing a broken user experience? I can't
imagine why they would keep whoever is doing this around for a second

They're code is obfuscated, so it is hard to see it. Probably Steve
Souders told them to do that to improve performance.

I do see some odd things in that obfuscated code, however:

| try{}catch(u){}


| <ol onmouseover="return true"


There are things that do make sense but are so naively broken that
nobody but a fool would use:

| google.getPageOffsetTop = function (a) {
|   return a.offsetTop + (a.offsetParent ?
|     google.getPageOffsetTop(a.offsetParent) : 0);
| }

That at least does *something*. Unfortunately, that trick, which I
learned eight years ago, doesn't work. Didn't work for Prototype JS in
2007. It sort of works in some browsers, though how it works depends on
the browser, its version, and rendering mode. if you added some
implementation-dependent "fudge factor" depending on the usage, of a few
pixels, it will provide the result you want. In a few browsers.

I still don't know why the page displays the sprite like that. Any
ideas? This may be a javascript-related issue; I really have no idea.

Anyway, it is too bad that a leading company such as google can pass of
obviously broken site to production.
comp.lang.javascript FAQ: /

Re: Is totally broken in Firefox 3.6?

Garrett Smith wrote:

Quoted text here. Click to load it

Perhaps.  You have not even posted a URL.
Quoted text here. Click to load it

looks fine in "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
Gecko/20100404 Iceweasel/3.6.3 (like Firefox/3.6.3) GTB7.0".

Quoted text here. Click to load it

Not here.
Quoted text here. Click to load it

That much is true.  However, HTML 5 is a WD without full support of the WG
(or the W3C membership), and the W3C Validator support of it is (must be)
experimental at this point (told you).

Nevertheless, they certainly forgot to escape `&' in CDATA attribute values
like `href'.  A rather ridiculous blunder, but then again the record shows
that the client side has never been Google's forté.

Quoted text here. Click to load it

Not here.  Looks like a proxy or add-on is interfering.

Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee

Re: Is totally broken in Firefox 3.6?

On Thu, 06 May 2010 15:59:57 -0700, Garrett Smith

Quoted text here. Click to load it

It's not a mess in Opera, but the style of the page has changed twice
in the past two days. Note that Google uses different styles in
different countries, and on different days, so this may well not be
the case for you.

Steve Swift

Site Timeline