Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Clean-up RenderTableSection::calcRowLogicalHeight
https://bugs.webkit.org/show_bug.cgi?id=77705 Reviewed by Nikolas Zimmermann. Refactoring / simplication of the code. This change removes some variables that were unneeded and were hiding what the code was really doing. Also some of the code was split and moved down to RenderTableCell. * rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::logicalHeightForRowSizing): * rendering/RenderTableCell.h: (RenderTableCell): Added the previous helper function to calculate the cell's adjusted logical height. * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::calcRowLogicalHeight): Removed some variables, simplified the rowspan logic to be clearer (and added a comment about how we handle rowspans). Canonical link: https://commits.webkit.org/96684@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@108914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Julien Chaffraix
committed
Feb 26, 2012
1 parent
6cac030
commit b8368eef0cdeb795b5e4965cbf3c0e5d7e7c6c11
Showing
4 changed files
with
64 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters