[Webkit-unassigned] [Bug 52185] Cell heights are disproportional when a row-spanning cell contains a block element that determines the height of the rows
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 2 22:45:16 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=52185
Dave Hyatt <hyatt at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #200387|review?, commit-queue? |review-, commit-queue-
Flag| |
--- Comment #28 from Dave Hyatt <hyatt at apple.com> 2013-05-02 22:43:36 PST ---
(From update of attachment 200387)
View in context: https://bugs.webkit.org/attachment.cgi?id=200387&action=review
Looks pretty good. A couple of comments.
> Source/WebCore/rendering/RenderTableSection.cpp:279
> + Vector<RenderTableCell*> rowspanCells;
This should be rowSpanCells (capitalize the S).
I imagine this is empty or small most of the time, so maybe give it a small inline capacity, e.g.,
Vector<RenderTableCell*, 2> rowSpanCells;
> Source/WebCore/rendering/RenderTableSection.cpp:346
> + if (rowspanCells.size() > 0) {
We should pull all this code into a helper function rather than making calcRowLogicalHeight so much bigger and just call the helper function if rowspanCells is non-empty.
if (!rowSpanCells.isEmpty())
callHelperFunction(rowSpanCells);
--
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