[Webkit-unassigned] [Bug 74636] td element ignores zero width/height input element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 20 08:22:30 PST 2011


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





--- Comment #5 from Florin Malita <fmalita at google.com>  2011-12-20 08:22:30 PST ---
(In reply to comment #4)
> There's still an off-by-one issue lurking (unless I'm missing some styling interference): the calculated enclosing <td> width seems to be 1.

Tracked it down to AutoTableLayout::recalcColumn():

                if (cell->colSpan() == 1) {
                    // A cell originates in this column.  Ensure we have
                    // a min/max width of at least 1px for this column now.
                    columnLayout.minLogicalWidth = max<int>(columnLayout.minLogicalWidth, cellHasContent ? 1 : 0);
                    columnLayout.maxLogicalWidth = max<int>(columnLayout.maxLogicalWidth, 1);


I can't say that I understand the reason, but it's definitely intentional so I'll leave it alone (unless someone thinks it's wrong). I'll work around it in the ref test.

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