Jump to content

What's wrong with this cache page


briansnat

Recommended Posts

Posted

Huh, interesting.

 

No maps, no description, and sidebar and stuff are at the bottom.

 

I'm running FF 3.0.18 and its not quite right on there either.

Posted

Huh, interesting.

 

No maps, no description, and sidebar and stuff are at the bottom.

 

I'm running FF 3.0.18 and its not quite right on there either.

 

Getting the same in 3.5.8

Posted (edited)

I've seen this error on other cache pages as well, but I have not seen a pattern to when and why it appears besides Firefox being the only affected browser. There's something seriously wrong with the generated HTML, but there's no telling whether it's a server side or client side error.

Edited by McB'
Posted

The source shows that FF somehow misses the en of comment:

<!-- Description Written By: t--bone -->

<div class="UserSuppliedContent">

....

 

So all of short and long description are as comments! It might have something to do with the owner's nick "t--bone"

Posted

We can also see that the "Navigation" div is located inside the "yui-main" and "Content" divs, where it normally resides outside and on the same level as "yui-main".

Posted (edited)
The source shows that FF somehow misses the en of comment:

<!-- Description Written By: t--bone -->

<div class="UserSuppliedContent">

....

 

So all of short and long description are as comments! It might have something to do with the owner's nick "t--bone"

Actually, it's Firefox that's getting it right and all the other browsers are getting it wrong. Technically, according to the spec, the -- in the middle of t--bone is the end of the comment. Most browsers look for --> as the end of the comment, but that's wrong. Firefox is obeying the spec and using the first -- it finds.

 

The 2nd -- (right before the > ) is the beginning of a new comment.

Edited by Lil Devil
Posted

Based on Lil Devil's explanation I have done a little minor magic and "fixed" it for FF and it still shows right in IE8. I will get with Nate Monday and explain to him what I did so we can pass it along to the Dev team.

Guest
This topic is now closed to further replies.
×
×
  • Create New...