Open Bug 256880 Opened 20 years ago Updated 2 years ago

huge table heights should clamp (at 0x40000000 twips)

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: chris, Unassigned)

References

()

Details

(Keywords: testcase, Whiteboard: DUPEME)

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7) Gecko/20040707 Firefox/0.9.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7) Gecko/20040707 Firefox/0.9.2

as the following example shows, a table larger than width="9999999" and
height="9999999" doesn't display correctly. the tiled background image should
cover the whole screen.
http://students.fh-joanneum.at/zagler/ui/welt.htm

in internet explorer the table is displayed correctly even with a
27-digits-width and height.

Reproducible: Always
Steps to Reproduce:
1. just create a table of width="99999999" and height="99999999"
2. set a small table background image
3. display the page in firefox

Actual Results:  
the table background image that should be displayed tiled over the whole table
is just shown once on the top left corner. note that there are no scroll-bars
neither horizontal nor vertical.

Expected Results:  
it should have shown the whole table and let me scroll all over it like in
internet explorer.
please let me say why the hell I need to display such a big page:
I'm working on a project doing the largest webpage in the world. and therefore I
would like it to work in firefox as well! private people, institutions and small
companies should be allowed to buy sections on the page and be respresentet that
way. so I offer you a large piece of land on this page if you manage to display
my width="999999999999999999999999999" table!
Usual units issue.... roc, do we have something reasonable to dup this to?
Whiteboard: DUPEME
This one's a bit unusual. I don't know of any bugs that ask us to support very
large values like this.
reporter could you please attach a testcase to the bug?
Attached file test of error (obsolete) —
Depends on: pixels
Keywords: testcase
the previous attachment does not belong to this bug
Attachment #238291 - Attachment is obsolete: true
its the last 9 that makes this happening
Status: UNCONFIRMED → NEW
Ever confirmed: true
the behavior changes at 17895697 px which on my machine corresponds to 0x3FFFFFFC (60 twips) above this we do not clamp to 0x40000000 like we do for width but use the reminder over nscoord_MAX (which is 0x40000000)
Summary: table width and height doesn't support more than 7 digits, so that a table with width="99999999" doesn't display at all. → huge table heights should clamp (at 0x40000000 twips)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: