Bug 96849

Summary: A table cell rowspan cannot span more than 8190 rows
Product: WebKit Reporter: Julien Chaffraix <jchaffraix>
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: pf, pravind.2k4, robert
Priority: P3 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test case none

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 ***