mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Check visibility beforehand
This commit is contained in:
parent
f796823b94
commit
c2de3eb9ac
1 changed files with 2 additions and 1 deletions
|
@ -1147,7 +1147,8 @@ impl<'table> Iterator for TableCellStyleIterator<'table> {
|
|||
|
||||
impl<'table> TableCellStyleInfo<'table> {
|
||||
fn build_display_list(&self, mut state: &mut DisplayListBuildState) {
|
||||
if !self.cell.visible {
|
||||
if !self.cell.visible || self.cell.block_flow.fragment.style()
|
||||
.get_inheritedbox().visibility != Visibility::Visible {
|
||||
return
|
||||
}
|
||||
let border_painting_mode = match self.cell.block_flow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue