Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract the logic for computing the dirty rows / columns out of Rende…
…rTableSection::paintObject https://bugs.webkit.org/show_bug.cgi?id=79580 Reviewed by Eric Seidel. Refactoring only. * rendering/RenderTableSection.h: (CellSpan): (WebCore::CellSpan::CellSpan): (WebCore::CellSpan::start): (WebCore::CellSpan::end): Added this class to hold the span information. (WebCore::RenderTableSection::fullTableRowSpan): (WebCore::RenderTableSection::fullTableColumnSpan): Those functions return the span corresponding to the full table. * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::dirtiedRows): (WebCore::RenderTableSection::dirtiedColumns): Those functions compute the rows / columns impacted by a |damageRect|. On the slow painting path, they return the full table span. (WebCore::RenderTableSection::paintObject): Updated this function to call the new ones. Also we now inflate the local rectangle with the outlineSize. This wasn't done previously and we had to manually patch some size comparison to account for the outline. Canonical link: https://commits.webkit.org/96806@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Julien Chaffraix
committed
Feb 28, 2012
1 parent
39f9cf3
commit 0a1be38
Showing
3 changed files
with
125 additions
and
53 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