Closed Bug 459555 Opened 16 years ago Closed 16 years ago

HTML "pre" with CSS "overflow" set to auto or scroll triggers rendering bug

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 215055

People

(Reporter: betheking, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729)

If you have a page with a big "pre" block for which the CSS overflow is set to auto or scroll aren't rendered properly. After a little more than 2000 lines, the text becomes invisible, for the remainder of the pre block. On this test page, it turns all black:

http://svn.rockbox.org/viewvc.cgi/trunk/apps/playlist.c?revision=18743&view=markup

In the attached test case, it turns all white.


Reproducible: Always

Steps to Reproduce:
1. Create a page with a long pre block.
2. Set CSS style overflow for the pre block to auto.
3. Load the page.
Actual Results:  
After about 2000 lines, the a solid block of color is rendered. The text can still be selected and copied - at least when using the keyboard; if using the mouse, when entering the "invisible" area, the page sometimes jumps to the top.

Expected Results:  
The page is fully visible. Text can be selected without problems.

The script block to generate the content is just to keep the test case small. It happens for fully static pages too.

Also tested with the official build for October 11, 2008, and it at least had the same rendering problem.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: