[Webkit-unassigned] [Bug 14274] Right border missing from table with colspan and collapsing border

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 22 07:21:50 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=14274





--- Comment #13 from Konstantin Shcheglov <scheglov at google.com>  2011-09-22 07:21:49 PST ---
Nothing prevents overflow here and in other places.
Actually once you set span a little greater than 1 billion (actually >= 2^30) we get overflow somewhere else (may be in appendColumn()) and span value in m_columns becomes invalid.


So yes, there is problem.
I'd say that all cells locations arithmetic should be done using unsigned just because this seems logical. But even in this case there still place for overflow.

I'm not sure how to solve this, except of may be adding some limitation on "span" value and number of columns, like maxColSpan=10000 and maxColCount=100000. Alternative approach is using longer number, or even number with unlimited precision. But I don't think that we should go so far.

In any case, this sounds as separate enhancement, unrelated with this bug.
Do you want me open new one?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list