Unconditionally remove repaint damage for table cells/rows/rgs

This commit is contained in:
Manish Goregaokar 2018-02-16 13:56:52 -08:00
parent c2de3eb9ac
commit 180b29ae66
4 changed files with 15 additions and 8 deletions

View file

@ -1147,6 +1147,8 @@ impl<'table> Iterator for TableCellStyleIterator<'table> {
impl<'table> TableCellStyleInfo<'table> {
fn build_display_list(&self, mut state: &mut DisplayListBuildState) {
use style::computed_values::visibility::T as Visibility;
if !self.cell.visible || self.cell.block_flow.fragment.style()
.get_inheritedbox().visibility != Visibility::Visible {
return