Closed Bug 101148 Opened 23 years ago Closed 23 years ago

[quirks]Page content is repeated

Categories

(Core :: Layout: Tables, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME
mozilla0.9.9

People

(Reporter: kherron+mozilla, Assigned: karnaze)

References

()

Details

(Keywords: compat, testcase, Whiteboard: [awd:tbl][p3])

Attachments

(5 files)

The browser displays two copies of most of the page's content. The two copies are displayed one following the other. The page footer isn't duplicated and only appears once at the end. The vertical scrollbar works and lets you scroll between the two duplicate content sections; the page doesn't invisibly fix itself when part of it is scrolled offscreen. Occasionally (maybe 5% of the time) the page will render correctly (ie only one copy of everything). How to reproduce: Load the above URL. Try the "previous" or "next" link to see the link-following problem. If you don't get the doubling behavior on the first page you load, try clicking the "next" link a few times. The page is a single message from a web forum; any message in the forum displays the same problem for me. Actual results: See above. All of the content from the top of the page to a footer section is repeated. The footer, starting with the "search" box, doesn't seem to be repeated. Also, when you first load the page and get the duplicate content, the links in the top copy of the page don't work correctly. Instead of taking you to a new page, clicking on a link just causes the page to scroll until the second copy of the link is displayed. Then, you can click on either copy of the link and the browser will load the new URL. Expected results: There should be only one copy of the content. As far as I can see, the content isn't in the HTML source twice, and as I noted, the browser occasionally renders one of these pages with only one copy of the content. Build date & platform: Mozilla nightlies since at least Aug. 18; I switched from NS 4.x to mozilla shortly before 0.9.3, and have seen the behavior the entire time. I'm on linux at the moment, but I believe the same thing happens on Solaris. It doesn't happen with NS 4.x. Additional information: I normally browse through a proxy that filters out ad graphics; the problem happens whether using the proxy or not.
Verified this morning that the latest Solaris nightly also has the same problem. I'm running Nightly 2001092322 on a Sparc ultra 5 running Solaris 8 (recently patched), using a beta version of the Gnome desktop released by Sun.
I see this on Win2K too. Attaching source of page that causes the repeat.
Status: NEW → ASSIGNED
OS: Linux → All
I reduced this a great deal - probably could go further. The content model looks sane, but there are duplicated frames. Removing the first <FONT> fixes it, but it is unclear what is happening exactly.
OK, I decided to try and pare it down further and I think I have the minimal now. It looks like a table with a BR between the TD and the TR (illegal, btw) is causing frame construction problems if surrounded by a FONT tag. This could be part of the table frame construction code or possibly the code that handles block-stuff in inlines. Assigning to karnaze for an initial look at tables - Chris, please send back if you find this is not in tables. Thanks.
Assignee: attinasi → karnaze
Status: ASSIGNED → NEW
*** Bug 102001 has been marked as a duplicate of this bug. ***
The HTML 4.01 Transitional DTD doesn't allow tables in <font>...
Summary: Page content is repeated → [quirks]Page content is repeated
*** Bug 101983 has been marked as a duplicate of this bug. ***
*** Bug 104563 has been marked as a duplicate of this bug. ***
*** Bug 105213 has been marked as a duplicate of this bug. ***
Taking: looks like a line problem not a table problem (the line that contains the table is getting duplicated). I susect a problem with the code that handles insertion of a block frame into an inline frame, but that is just a SWAG.
Assignee: karnaze → attinasi
*** Bug 105347 has been marked as a duplicate of this bug. ***
*** Bug 106706 has been marked as a duplicate of this bug. ***
*** Bug 106777 has been marked as a duplicate of this bug. ***
See also 106811, possibly a dupe of this. Very odd stuff there.
*** Bug 107211 has been marked as a duplicate of this bug. ***
Be aware that Ragingbull seems to have fixed their HTML so that Mozilla is not duplicating the content. If you want to test any fixes, don't rely on Ragingbull's site anymore.
Note sure if I should update the URL, but a real world site that still exhibits the problem is at: http://www.letsautomate.com/clipsal.cfm?cfid=6097&cftoken=76889324
The duplicates contain test URLs, too. For instance, my own at eBay.de: http://forums.ebay.de/dws?14@1002976466291@.ee7bca5
*** Bug 108252 has been marked as a duplicate of this bug. ***
*** Bug 108610 has been marked as a duplicate of this bug. ***
*** Bug 108468 has been marked as a duplicate of this bug. ***
I can reproduce the problem with todays cvs trunk build on WINNT.
Target Milestone: --- → mozilla0.9.8
Keywords: compat, testcase
*** Bug 23255 has been marked as a duplicate of this bug. ***
I am also having the same problem with content I have written. I cannot find what may be causing the problem, exactly, but here's the page: http://www.herriges.net/current.shtml There's also a problem with the first <h3> tag, which may be unrelated to the doubling problem. Only occurs in the main page table (nested table). Thanks, johnny p.
*** Bug 111846 has been marked as a duplicate of this bug. ***
This looks like a parser bug. ->Parser
Assignee: attinasi → harishd
Component: Layout → Parser
QA Contact: petersen → moied
hwaara: Why do you think this is a parser bug? When I did "Dump Content" in viewer on attachment 50563 [details], attachment 56562 [details], and attachment 59131 [details], the content model did not show duplication (although it was a bit strange for attachment 56562 [details]). However, in all 3 cases "Dump Frames" showed a frame model with duplication. That means this is probably a bug in the table frame construction code. ->HTMLTables
Assignee: harishd → karnaze
Component: Parser → HTMLTables
QA Contact: moied → amar
*** Bug 115626 has been marked as a duplicate of this bug. ***
There is a Free WebMail package (Open WebMail) that also triggers this bug when used with Mozilla. http://turtle.ee.ncku.edu.tw/openwebmail/
Note that it's impossible to select any of the repeated content. Try pressing CTRL-A in any testcase.
Also, when using the mouse cursor to select inside the duplicate text, the selection appears inside the original text.
*** Bug 110414 has been marked as a duplicate of this bug. ***
*** Bug 118350 has been marked as a duplicate of this bug. ***
Very simple testcase from duped bug 118350: http://bugzilla.mozilla.org/attachment.cgi?id=63664&action=view In the above testcase, the text does not appear twice when there is a space/newline between the <font> and the <table>. Testcase from duped bug 110414: http://bugzilla.mozilla.org/attachment.cgi?id=62772&action=view
Whiteboard: [awd:tbl][p3]
->m099
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Checked all testcases and URLs in all duplicates - no problems found. WORKSFORME, nightly build 2002-01-17-03 (trunk) on Windows 98 SE.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
All the testcases and URL works fine on 2002031803 build. WIN2K
Status: RESOLVED → VERIFIED
Works for me (Mozilla 0.9.9/Linux/i386)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: