Bug 96849 - A table cell rowspan cannot span more than 8190 rows
Summary: A table cell rowspan cannot span more than 8190 rows
Status: RESOLVED DUPLICATE of bug 68714
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Nobody
URL:
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2012-09-14 19:09 PDT by Julien Chaffraix
Modified: 2012-10-05 17:29 PDT (History)
3 users (show)

See Also:


Attachments
Test case (198.23 KB, text/html)
2012-09-14 19:09 PDT, Julien Chaffraix
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 2012-09-14 19:09:59 PDT
Created attachment 164261 [details]
Test case

See HTMLTableCellElement.cpp:

// Clamp rowspan at 8k to match Firefox.
static const int maxRowspan = 8190;

The limit was bumped up on other browsers including FF and we now have the lowest limit. Not sure why the limit is kept this low  the rendering code should be able to handle higher values for rowspans.

I haven't tried to determine what would be a better limit and that would need to be investigated.
Comment 1 Pravin D 2012-09-15 01:44:25 PDT
FF currently uses 2^16 - 2 as the max value for rowspan. This value is chosen due a limitation in there impl of cell maps. 
http://mxr.mozilla.org/mozilla-central/source/layout/tables/celldata.h#17
Comment 2 Pablo Flouret 2012-10-03 16:26:38 PDT
There's bug 68714 for this too.
Comment 3 Julien Chaffraix 2012-10-05 17:29:52 PDT
Please just duplicate as appropriate.

*** This bug has been marked as a duplicate of bug 68714 ***