BBC News articles render with doubled content




19 years ago
19 years ago


(Reporter: cks+mozilla, Assigned: harishd)



Firefox Tracking Flags

(Not tracked)




(2 attachments)



19 years ago
Build ID: a current CVS build.

 Many articles on the BBC News website now appear to render with a second
copy of the article below the original copy. Sometimes, for no apparent
reason, this doesn't happen. I believe that there may be other layout
glitches; certainly the font styling seems to have changed from what I
would expect and what I saw before.

 This problem has appeared since last night's CVS build. If one does a
File | Edit Page, the editor displays the page un-doubled (although the
font oddness is still there).

- go to
- pick a news article
- scroll down. most of the time you'll find another copy of the article
  below the first one.

Comment 1

19 years ago
Do you still see this?  I am using 2000070220 on Linux and I cannot reproduce

Comment 2

19 years ago
I can't reproduce this either, using CVS from noon PDT 07/03. Marking WFM.
Last Resolved: 19 years ago
Resolution: --- → WORKSFORME

Comment 3

19 years ago
 This seems to have vanished in today's CVS build. (There are whacky
font look problems, which I will file as a separate bug.)

Comment 4

19 years ago
Chris, can you check this page?
It seems to be the problem you mention (same build as before.) Still can't get
the BBC pages to do it, however. Reopening for now, hopefully you can confirm
yes or no.
Resolution: WORKSFORME → ---

Comment 5

19 years ago
 Unfortunately, the build that has the problems with doubled BBC web pages
shows nothing wrong on

Comment 6

19 years ago
Confirmed on Linux 2000070308.

Oddly enough, I wget'ed this page and was unable to reproduce from a local
file:// address.'s validator comes up with lots of ickyness, I'm not sure if this is
related though.
Ever confirmed: true

Comment 7

19 years ago
Forgot to CC: myself.

Comment 8

19 years ago
Pierre, can you please triage.
Assignee: clayton → pierre

Comment 9

19 years ago
I cannot repro this on a fresh Linux or WinNT build...

Comment 10

19 years ago
I still see this on 2000070708, Linux. Clean ~/.mozilla and everything.

Comment 11

19 years ago
I still see this with the 2000-07-08 08:00 build at e.g.:
so marking OS as 'All'.

Note that the whole of the content is not repeated, just that inside the first 
big <table> which spans most of the document (lines 29-398 on the url above).

The <FORM ACTION="/scripts/query.idq" METHOD=GET> between lines 276-84 isn't at 
all properly nested, which shows up on the W3C validator.  There's also a great 
chunk of javascript in the table, but I'm not sure what the problem there would 

I, too, can't reproduce the bug from a saved copy of the page.

As for the font issue, it looks like the style sheet isn't being applied.  
Perhaps for compatibility because the whole page is in a table?

Anyway, I now have a tidied-up version of the page if that would help anybody.
OS: Linux → All

Comment 12

19 years ago
Alistair Vining, you forgot to mention what OS you tested on to prove that this
is an OS: All bug. We need to see it reproduced on at least three OSes (Win,
Linux, Mac) before marking all.

I've tried using a local copy of a completely tidy'ed and valid version of the
page and the problem doesn't show up. As I previously mentioned, I also tried
using an exact duplicate wget'ed from the site.

Is this Networking or something?

Comment 13

19 years ago
Apologies, I was using Win98 SE.  That's All OS on the PC platform ;)

I agree it doesn't work locally, but if I put a copy of the page up on my 
website it does recur.

I take that back, it recurs intermittently.  It seems to be related to the cache 
- clear the disk cache and the next reload will show the bug.  So it doesn't 
seem to show however the page is loaded from disk.  So Networking...?

Comment 14

19 years ago
HOORAY!!! Don't ask me how I found out but to reproduce the bug, all you need is:
- a loose.dtd or strict.dtd DOCTYPE.
- a <MAP> in the <HEAD> (even an empty <MAP> is fine).
- a file larger than a certain size: around 9400 bytes on the web or around 44K 
for a local file (even tons of HTML comments is fine).

As Alistair pointed out, to see the bug you need to reload a fresh copy of the 
file each time. For local files, it means that you always have to clear the disk 
cache. For remote files, select "Compare the page in the cache to the page on the 
network -> Every time I view the page" in the prefs and it should do the trick 
most of the time. When in doubt, clear the disk cache manually before doing a 

Surprisingly, I could not reproduce it on the Mac at all.

I understand that this bug is related in some way to the Network library and the 
different buffer sizes depending on the transport methods however too many things 
point to the Parser so I'm reassigning it to Harish.

Also, it would be a good idea to test whether this bug is yet another regression 
introduced between 06/28 and 06/30.

I'm going to attach a testcase. If it doesn't show the bug when browsed on 
Bugzilla because of differences in network configurations with what I have been 
using until now, I may have a attach a bigger file.
Assignee: pierre → harishd
Component: Layout → Parser

Comment 15

19 years ago
Created attachment 11675 [details]

Comment 16

19 years ago
The testcase shows the problem on my machine (Win98, build 2000/07/14) when I 
click on the link above.

I'm going to attach a similar (just bigger) testcase that you can store as a 
local file to reproduce the bug. But then don't forget to clear the cache each 

Comment 17

19 years ago
Created attachment 11676 [details]
testcase that can be used as a local file

Comment 18

19 years ago
Hmm, not able to reproduce at all.  Pierre, since you're seeing the problem (
which I think could be network related ) could you please attach the content model
of the test case?  It would give us some more direction. Thanx

Comment 19

19 years ago
I can't dump the content model: the bug can't be reproduced with Viewer.

To reproduce:
- Download the lastest daily build (2000-07-21).
- Launch and clear the Disk Cache.
- Go to (it's the 
"testcase that can be used as a local file": use it as a remote file and you are 
almost guaranteed to see the problem).

If you still can't reproduce it, try the same thing from home.

Comment 20

19 years ago
Chris, Eliot, Alistair: if you can reproduce the bug with Viewer in your debug 
builds, and using one of my 2 testcases, could you please attach the content 

Comment 21

19 years ago
Pierre - Can you point me to somewhere about how to dump a content model? I'm
not familiar with that and no one on #mozillazine knew either.

Comment 22

19 years ago

*** This bug has been marked as a duplicate of 44759 ***
Last Resolved: 19 years ago19 years ago
Resolution: --- → DUPLICATE

Comment 23

19 years ago
Reopening... Harish, you can't close as dup a bug that you can't reproduce. If 
you want, you can reassign it to me after you check in the fix for bug 44759.

Eliot: Viewer has a Dump Content menu command.
Resolution: DUPLICATE → ---

Comment 24

19 years ago
Sorry!.  Pierre, could you apply the patch in 44759 and verify if this bug goes 
away. Thanx

Comment 25

19 years ago
Harish, big problem: I can only reproduce this problem at home where I have Win98 
running on a Macintosh with VirtualPC. I tried at the office yesterday with both 
a debug build from a fresh pull and the latest daily build but could not 
reproduce it. I tried again at home with today's build (2000-07-26-08) and the 
bug is still there with the 2 testcases above.

Since it is probably related to conditions inside the network layers, could you 
try to reproduce it at the office on a Win98 instead of WinNT, and if possible 
ona slow machine? I'm afraid I won't be able to investigate any further: it's not 
realistic to install the devlopment tools and build a tree on the configuration I 
have at home.

EVERYBODY (Chris, Eliot, Al): Do you have a debug build? Can you reproduce the 
bug with it? Clear the cache and go to the 2 testcases:
Harish, please have a look at bug 46167, I think that is a dup of this and it is
reproduceable on my WinNT system, every time I've tried so far, if you think it's
dup of this bug then please mark as such.

Comment 27

19 years ago
*** Bug 46167 has been marked as a duplicate of this bug. ***

Comment 28

19 years ago
Shoot,  bug 46167 is not a dup of this ( there's one other bug ).

Comment 29

19 years ago
*** Bug 46694 has been marked as a duplicate of this bug. ***

Comment 30

19 years ago
*** Bug 46742 has been marked as a duplicate of this bug. ***

Comment 31

19 years ago
I can neither reproduce the problem on this bug nor on the dups. Marking 
Last Resolved: 19 years ago19 years ago
Resolution: --- → WORKSFORME

Comment 32

19 years ago
Verified as WORKSFORME on Linux 2000080804.

I, too, checked all the testcases and various links on BBC news.

Was that magic or did a specific patch get put in for this issue?

Comment 33

19 years ago
*** Bug 48026 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.